Public Types | |
| enum | Tabs { IMPORT_TIMESHIFT = 0 , SNAPSHOT_BACKEND = 1 , ESTIMATE = 2 , BACKUP_DEVICE = 3 , SCHEDULE = 4 , USERS = 5 , FINISH = 6 } |
Public Member Functions | |
| signal void | request_close () |
| SetupWizardWindow (bool embedded=false) | |
| Gtk.Widget | detach_root_widget () |
| void | reload_themed_icons () |
Private Member Functions | |
| void | build_ui () |
| void | build_sidebar () |
| Gtk.Button | make_nav_button (string icon_name, string label_text) |
| void | build_content () |
| void | build_pages () |
| void | build_timeshift_page () |
| Gtk.Widget | wrap_page (Gtk.Widget child) |
| void | detect_timeshift_state () |
| int | probe_timeshift_snapshots_from_mounts () |
| int | probe_timeshift_snapshot_count (string config_path) |
| void | refresh_timeshift_page () |
| bool | should_import_timeshift () |
| bool | run_timeshift_import () |
| void | create_actions () |
| void | action_buttons_set_initial_visibility (bool visible) |
| bool | init_delayed () |
| bool | on_close_request () |
| void | save_changes () |
| void | go_first () |
| void | go_prev () |
| void | go_next () |
| void | initialize_tab () |
| bool | validate_current_tab () |
| void | set_page (Tabs tab) |
| Tabs | get_current_tab () |
| void | update_sidebar_state () |
| void | update_page_title () |
| void | clear_sidebar_selection () |
| void | set_sidebar_active (Gtk.Button btn) |
| Gtk.Image | themed_icon (string icon_name, int size) |
Definition at line 30 of file SetupWizardWindow.vala.
| Enumerator | |
|---|---|
| IMPORT_TIMESHIFT | |
| SNAPSHOT_BACKEND | |
| ESTIMATE | |
| BACKUP_DEVICE | |
| SCHEDULE | |
| USERS | |
| FINISH | |
Definition at line 1070 of file SetupWizardWindow.vala.
|
inline |
Definition at line 98 of file SetupWizardWindow.vala.
References _, App, build_pages(), build_ui(), create_actions(), HeaderFactory.create_main_headerbar(), def_height, def_width, embedded_mode, Main.first_run, init_delayed(), TeeJee.Logging.log_debug(), on_close_request(), schedule_accepted, and tmr_init.
Referenced by MainWindow.init_wizard_page().
|
inlineprivate |
Definition at line 688 of file SetupWizardWindow.vala.
Referenced by create_actions().
|
inlineprivate |
Definition at line 242 of file SetupWizardWindow.vala.
References _, body_box, content_box, header_box, lbl_page_title, and stack.
Referenced by build_ui().
|
inlineprivate |
Definition at line 285 of file SetupWizardWindow.vala.
References backend_box, backup_dev_box, BackupDeviceBox.BackupDeviceBox(), build_timeshift_page(), estimate_box, EstimateBox.EstimateBox(), exclude_box, ExcludeBox.ExcludeBox(), finish_box, FinishBox.FinishBox(), schedule_box, ScheduleBox.ScheduleBox(), SnapshotBackendBox.SnapshotBackendBox(), stack, timeshift_page_box, users_box, UsersBox.UsersBox(), and wrap_page().
Referenced by SetupWizardWindow().
|
inlineprivate |
Definition at line 155 of file SetupWizardWindow.vala.
References _, btn_nav_backend, btn_nav_estimate, btn_nav_finish, btn_nav_import, btn_nav_location, btn_nav_schedule, btn_nav_users, Error, IconManager.lookup(), make_nav_button(), sidebar, and themed_icon().
Referenced by build_ui().
|
inlineprivate |
Definition at line 343 of file SetupWizardWindow.vala.
References _, lbl_timeshift_desc, lbl_timeshift_found, lbl_timeshift_note, lbl_timeshift_path, lbl_timeshift_title, radio_import_no, radio_import_yes, and timeshift_page_box.
Referenced by build_pages().
|
inlineprivate |
Definition at line 139 of file SetupWizardWindow.vala.
References build_content(), build_sidebar(), content_box, root_box, and sidebar.
Referenced by SetupWizardWindow().
|
inlineprivate |
Definition at line 1055 of file SetupWizardWindow.vala.
References btn_nav_backend, btn_nav_estimate, btn_nav_finish, btn_nav_import, btn_nav_location, btn_nav_schedule, and btn_nav_users.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 639 of file SetupWizardWindow.vala.
References _, action_buttons_set_initial_visibility(), actions_box, App, btn_cancel, btn_close, btn_next, btn_prev, content_box, embedded_mode, go_next(), go_prev(), request_close(), save_changes(), AsyncTask.stop(), and Main.task.
Referenced by SetupWizardWindow().
|
inline |
Definition at line 733 of file SetupWizardWindow.vala.
References root_box.
Referenced by MainWindow.init_wizard_page().
|
inlineprivate |
Definition at line 412 of file SetupWizardWindow.vala.
References TeeJee.FileSystem.file_exists(), probe_timeshift_snapshot_count(), probe_timeshift_snapshots_from_mounts(), timeshift_available, timeshift_backup_count, and timeshift_config_path.
Referenced by init_delayed().
|
inlineprivate |
Definition at line 996 of file SetupWizardWindow.vala.
References current_tab.
Referenced by go_next(), go_prev(), initialize_tab(), and validate_current_tab().
|
inlineprivate |
Definition at line 741 of file SetupWizardWindow.vala.
References initialize_tab(), and set_page().
Referenced by init_delayed().
|
inlineprivate |
Definition at line 779 of file SetupWizardWindow.vala.
References App, Main.btrfs_mode, get_current_tab(), initialize_tab(), Main.live_system(), run_timeshift_import(), schedule_accepted, set_page(), and validate_current_tab().
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 746 of file SetupWizardWindow.vala.
References App, Main.btrfs_mode, get_current_tab(), initialize_tab(), and set_page().
Referenced by create_actions().
|
inlineprivate |
Definition at line 698 of file SetupWizardWindow.vala.
References def_height, def_width, detect_timeshift_state(), go_first(), refresh_timeshift_page(), and tmr_init.
Referenced by SetupWizardWindow().
|
inlineprivate |
Definition at line 833 of file SetupWizardWindow.vala.
References App, backend_box, backup_dev_box, btn_cancel, btn_close, btn_next, btn_prev, Main.btrfs_mode, estimate_box, EstimateBox.estimate_system_size(), finish_box, get_current_tab(), go_next(), BackupDeviceBox.refresh(), FinishBox.refresh(), SnapshotBackendBox.refresh(), UsersBox.refresh(), refresh_timeshift_page(), schedule_box, update_page_title(), update_sidebar_state(), ScheduleBox.update_statusbar(), and users_box.
Referenced by go_first(), go_next(), and go_prev().
|
inlineprivate |
Definition at line 213 of file SetupWizardWindow.vala.
References sidebar, and themed_icon().
Referenced by build_sidebar().
|
inlineprivate |
Definition at line 714 of file SetupWizardWindow.vala.
References App, Main.first_run, save_changes(), and schedule_accepted.
Referenced by SetupWizardWindow().
|
inlineprivate |
Definition at line 495 of file SetupWizardWindow.vala.
References Error, SnapshotRepo.from_uuid(), TeeJee.JsonHelper.json_get_bool(), TeeJee.JsonHelper.json_get_string(), SnapshotRepo.load_snapshots(), TeeJee.Logging.log_error(), and SnapshotRepo.snapshots.
Referenced by detect_timeshift_state().
|
inlineprivate |
Definition at line 442 of file SetupWizardWindow.vala.
References App, Main.backup_uuid, TeeJee.FileSystem.dir_exists(), SnapshotRepo.from_uuid(), Device.get_block_devices_using_lsblk(), and TeeJee.FileSystem.path_combine().
Referenced by detect_timeshift_state().
|
inlineprivate |
Definition at line 530 of file SetupWizardWindow.vala.
References _, App, Main.backup_uuid, timeshift_available, timeshift_backup_count, timeshift_config_path, and timeshift_import_done.
Referenced by init_delayed(), and initialize_tab().
|
inline |
Definition at line 1089 of file SetupWizardWindow.vala.
References IconManager.lookup(), themed_img_list, themed_img_name, and themed_img_size.
Referenced by MainWindow.reload_themed_icons().
| signal void SetupWizardWindow.request_close | ( | ) |
Referenced by create_actions(), and MainWindow.init_wizard_page().
|
inlineprivate |
Definition at line 581 of file SetupWizardWindow.vala.
References _, App, Main.import_timeshift_config_if_available(), Main.initialize_repo(), SnapshotRepo.load_snapshots(), Main.repo, should_import_timeshift(), timeshift_config_path, and timeshift_import_done.
Referenced by go_next().
|
inlineprivate |
Definition at line 728 of file SetupWizardWindow.vala.
References App, and Main.cron_job_update().
Referenced by create_actions(), and on_close_request().
|
inlineprivate |
Definition at line 968 of file SetupWizardWindow.vala.
References current_tab, and stack.
Referenced by go_first(), go_next(), and go_prev().
|
inlineprivate |
Definition at line 1065 of file SetupWizardWindow.vala.
References current_nav_btn.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 577 of file SetupWizardWindow.vala.
References radio_import_yes, and timeshift_available.
Referenced by run_timeshift_import().
|
inlineprivate |
Definition at line 1081 of file SetupWizardWindow.vala.
References IconManager.lookup_image(), themed_img_list, themed_img_name, and themed_img_size.
Referenced by build_sidebar(), and make_nav_button().
|
inlineprivate |
Definition at line 1029 of file SetupWizardWindow.vala.
References _, and current_tab.
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 1000 of file SetupWizardWindow.vala.
References btn_nav_backend, btn_nav_estimate, btn_nav_finish, btn_nav_import, btn_nav_location, btn_nav_schedule, btn_nav_users, clear_sidebar_selection(), current_tab, and set_sidebar_active().
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 940 of file SetupWizardWindow.vala.
References App, SnapshotRepo.available(), get_current_tab(), SnapshotRepo.has_space(), Main.repo, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Referenced by go_next().
|
inlineprivate |
Definition at line 396 of file SetupWizardWindow.vala.
Referenced by build_pages().
|
private |
Definition at line 40 of file SetupWizardWindow.vala.
Referenced by create_actions().
|
private |
Definition at line 72 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 74 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 39 of file SetupWizardWindow.vala.
Referenced by build_content().
|
private |
Definition at line 83 of file SetupWizardWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 84 of file SetupWizardWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 45 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 46 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 50 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 44 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 47 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 48 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 49 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 82 of file SetupWizardWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 81 of file SetupWizardWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 37 of file SetupWizardWindow.vala.
Referenced by build_content(), build_ui(), and create_actions().
|
private |
Definition at line 51 of file SetupWizardWindow.vala.
Referenced by set_sidebar_active().
|
private |
Definition at line 966 of file SetupWizardWindow.vala.
Referenced by get_current_tab(), set_page(), update_page_title(), and update_sidebar_state().
|
private |
Definition at line 91 of file SetupWizardWindow.vala.
Referenced by init_delayed(), and SetupWizardWindow().
|
private |
Definition at line 90 of file SetupWizardWindow.vala.
Referenced by init_delayed(), and SetupWizardWindow().
|
private |
Definition at line 87 of file SetupWizardWindow.vala.
Referenced by create_actions(), and SetupWizardWindow().
|
private |
Definition at line 73 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 78 of file SetupWizardWindow.vala.
Referenced by build_pages().
|
private |
Definition at line 75 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 38 of file SetupWizardWindow.vala.
Referenced by build_content().
|
private |
Definition at line 54 of file SetupWizardWindow.vala.
Referenced by build_content().
|
private |
Definition at line 59 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 60 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 64 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 63 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 58 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 62 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page().
|
private |
Definition at line 61 of file SetupWizardWindow.vala.
Referenced by build_timeshift_page(), and should_import_timeshift().
|
private |
Definition at line 35 of file SetupWizardWindow.vala.
Referenced by build_ui(), and detach_root_widget().
|
private |
Definition at line 86 of file SetupWizardWindow.vala.
Referenced by go_next(), on_close_request(), and SetupWizardWindow().
|
private |
Definition at line 76 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 36 of file SetupWizardWindow.vala.
Referenced by build_sidebar(), build_ui(), and make_nav_button().
|
private |
Definition at line 41 of file SetupWizardWindow.vala.
Referenced by build_content(), build_pages(), and set_page().
|
private |
Definition at line 94 of file SetupWizardWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 95 of file SetupWizardWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 96 of file SetupWizardWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 66 of file SetupWizardWindow.vala.
Referenced by detect_timeshift_state(), refresh_timeshift_page(), and should_import_timeshift().
|
private |
Definition at line 68 of file SetupWizardWindow.vala.
Referenced by detect_timeshift_state(), and refresh_timeshift_page().
|
private |
Definition at line 69 of file SetupWizardWindow.vala.
Referenced by detect_timeshift_state(), refresh_timeshift_page(), and run_timeshift_import().
|
private |
Definition at line 67 of file SetupWizardWindow.vala.
Referenced by refresh_timeshift_page(), and run_timeshift_import().
|
private |
Definition at line 57 of file SetupWizardWindow.vala.
Referenced by build_pages(), and build_timeshift_page().
|
private |
Definition at line 89 of file SetupWizardWindow.vala.
Referenced by init_delayed(), and SetupWizardWindow().
|
private |
Definition at line 77 of file SetupWizardWindow.vala.
Referenced by build_pages(), and initialize_tab().