Public Member Functions | |
| BackupDeviceBox (Gtk.Window _parent_window) | |
| void | refresh () |
Private Member Functions | |
| void | init_device_list () |
| void | add_device_row (Device dev, string kind) |
| void | update_selected_rows () |
| void | init_infobar_location () |
| void | try_change_device (Device dev) |
| void | change_backup_device (Device pi) |
| bool | check_backup_location () |
| void | device_list_refresh () |
| void | append_child_volumes (Device parent) |
| void | add_smb_row (SmbShare share) |
| void | on_add_smb_share_clicked () |
| void | try_change_smb_share (SmbShare share) |
Private Attributes | |
| Gtk.ListBox | device_list |
| Gtk.Box | infobar_location |
| Gtk.Label | lbl_infobar_location |
| Gtk.Label | lbl_common |
| Gtk.Window | parent_window |
Definition at line 16 of file BackupDeviceBox.vala.
|
inline |
Definition at line 24 of file BackupDeviceBox.vala.
References _, TeeJee.GtkHelper.add_label(), App, Main.btrfs_mode, init_device_list(), init_infobar_location(), TeeJee.Logging.log_debug(), on_add_smb_share_clicked(), parent_window, refresh(), and Main.update_partitions().
Referenced by BackupWindow.build_pages(), SettingsWindow.build_pages(), and SetupWizardWindow.build_pages().
|
inlineprivate |
Definition at line 138 of file BackupDeviceBox.vala.
References _, Device.description(), device_list, TeeJee.FileSystem.format_file_size(), Device.free_bytes, Device.fstype, IconManager.ICON_HARDDRIVE, Device.kname, IconManager.lookup_image(), Device.model, Device.partlabel, Device.size_bytes, Device.type, Device.uuid, and Device.vendor.
Referenced by append_child_volumes(), and device_list_refresh().
|
inlineprivate |
Definition at line 431 of file BackupDeviceBox.vala.
References _, device_list, SmbShare.display_name, TeeJee.FileSystem.format_file_size(), Device.get_disk_space_using_df(), IconManager.lookup_image(), and SmbShare.mount_point.
Referenced by device_list_refresh().
|
inlineprivate |
Definition at line 398 of file BackupDeviceBox.vala.
References add_device_row(), App, append_child_volumes(), Main.btrfs_mode, Device.Device(), and Main.partitions.
Referenced by append_child_volumes(), and device_list_refresh().
|
inlineprivate |
Definition at line 282 of file BackupDeviceBox.vala.
References App, Main.btrfs_mode, check_backup_location(), Device.device, SnapshotRepo.device, device_list_refresh(), Device.find_device_in_list(), SnapshotRepo.from_device(), Device.fstype, TeeJee.GtkHelper.gtk_set_busy(), TeeJee.Logging.log_msg(), parent_window, Main.partitions, Main.repo, Main.update_partitions(), update_selected_rows(), and Device.uuid.
Referenced by try_change_device().
|
inlineprivate |
Definition at line 303 of file BackupDeviceBox.vala.
References _, App, SnapshotRepo.check_status(), TeeJee.Misc.escape_html(), infobar_location, Main.live_system(), Main.repo, SnapshotRepo.status_code, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Referenced by change_backup_device(), refresh(), and try_change_smb_share().
|
inlineprivate |
Definition at line 374 of file BackupDeviceBox.vala.
References _, add_device_row(), add_smb_row(), App, append_child_volumes(), Main.btrfs_mode, device_list, SmbMount.list_active_mounts(), Main.partitions, Main.update_partitions(), and update_selected_rows().
Referenced by change_backup_device(), and refresh().
|
inlineprivate |
Definition at line 108 of file BackupDeviceBox.vala.
References device_list, try_change_device(), try_change_smb_share(), and update_selected_rows().
Referenced by BackupDeviceBox().
|
inlineprivate |
Definition at line 219 of file BackupDeviceBox.vala.
References TeeJee.GtkHelper.add_label(), infobar_location, lbl_common, and lbl_infobar_location.
Referenced by BackupDeviceBox().
|
inlineprivate |
Definition at line 484 of file BackupDeviceBox.vala.
References _, SmbMount.is_available(), parent_window, refresh(), SmbShareDialog.run_dialog(), try_change_smb_share(), and update_selected_rows().
Referenced by BackupDeviceBox().
|
inline |
Definition at line 87 of file BackupDeviceBox.vala.
References _, App, Main.btrfs_mode, check_backup_location(), and device_list_refresh().
Referenced by BackupDeviceBox(), SettingsWindow.connect_signals(), BackupWindow.initialize_tab(), SetupWizardWindow.initialize_tab(), and on_add_smb_share_clicked().
|
inlineprivate |
Definition at line 247 of file BackupDeviceBox.vala.
References _, App, Main.btrfs_mode, change_backup_device(), Device.children, Device.device, Device.fstype, Device.has_children(), Device.has_linux_filesystem(), infobar_location, TeeJee.Logging.log_debug(), and Device.type.
Referenced by init_device_list().
|
inlineprivate |
Definition at line 502 of file BackupDeviceBox.vala.
References App, Main.btrfs_mode, check_backup_location(), TeeJee.FileSystem.dir_create(), SnapshotRepo.from_path(), TeeJee.GtkHelper.gtk_set_busy(), TeeJee.Logging.log_debug(), SmbShare.mount_point, parent_window, TeeJee.FileSystem.path_combine(), SmbShare.subpath, and SmbShare.unc_path.
Referenced by init_device_list(), and on_add_smb_share_clicked().
|
inlineprivate |
Definition at line 184 of file BackupDeviceBox.vala.
References App, SnapshotRepo.device, device_list, Main.repo, and Device.uuid.
Referenced by change_backup_device(), device_list_refresh(), init_device_list(), and on_add_smb_share_clicked().
|
private |
Definition at line 18 of file BackupDeviceBox.vala.
Referenced by add_device_row(), add_smb_row(), device_list_refresh(), init_device_list(), and update_selected_rows().
|
private |
Definition at line 19 of file BackupDeviceBox.vala.
Referenced by check_backup_location(), init_infobar_location(), and try_change_device().
|
private |
Definition at line 21 of file BackupDeviceBox.vala.
Referenced by init_infobar_location().
|
private |
Definition at line 20 of file BackupDeviceBox.vala.
Referenced by init_infobar_location().
|
private |
Definition at line 22 of file BackupDeviceBox.vala.
Referenced by BackupDeviceBox(), change_backup_device(), on_add_smb_share_clicked(), and try_change_smb_share().