Public Types | |
| enum | Tabs { TARGET_DEVICE = 0 , RESTORE_EXCLUDE = 1 , EXCLUDE_APPS = 2 , CHECK = 3 , SHOW_LOG = 4 , USERS = 5 , SUMMARY = 6 , RESTORE = 7 , FINISH = 8 } |
Public Member Functions | |
| signal void | request_close () |
| RestoreWindow (bool embedded=false) | |
| Gtk.Widget | detach_root_widget () |
| void | reload_themed_icons () |
Public Attributes | |
| bool | check_before_restore = true |
Private Member Functions | |
| void | build_ui () |
| void | build_sidebar () |
| Gtk.Button | make_nav_button (string icon_name, string label_text) |
| void | build_content () |
| Gtk.Widget | wrap_page (Gtk.Widget child) |
| void | build_pages () |
| bool | init_delayed () |
| bool | on_close_request () |
| void | save_changes () |
| void | create_actions () |
| void | action_buttons_set_initial_visibility (bool visible) |
| void | go_first () |
| void | go_prev () |
| void | go_next () |
| void | initialize_tab () |
| bool | validate_current_tab () |
| void | clear_sidebar_selection () |
| void | set_sidebar_active (Gtk.Button btn) |
| void | update_sidebar_state () |
| void | update_page_title () |
| void | set_page (int page) |
| Gtk.Image | themed_icon (string icon_name, int size) |
Definition at line 34 of file RestoreWindow.vala.
| enum RestoreWindow.Tabs |
| Enumerator | |
|---|---|
| TARGET_DEVICE | |
| RESTORE_EXCLUDE | |
| EXCLUDE_APPS | |
| CHECK | |
| SHOW_LOG | |
| USERS | |
| SUMMARY | |
| RESTORE | |
| FINISH | |
Definition at line 793 of file RestoreWindow.vala.
|
inline |
Definition at line 84 of file RestoreWindow.vala.
References _, build_pages(), build_ui(), create_actions(), HeaderFactory.create_main_headerbar(), def_height, def_width, embedded_mode, TeeJee.GtkHelper.gtk_do_events(), init_delayed(), TeeJee.Logging.log_debug(), on_close_request(), and tmr_init.
Referenced by MainWindow.open_restore_flow().
|
inlineprivate |
Definition at line 444 of file RestoreWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 209 of file RestoreWindow.vala.
References _, body_box, content_box, header_box, lbl_page_title, and page_stack.
Referenced by build_ui().
|
inlineprivate |
Definition at line 261 of file RestoreWindow.vala.
References _, check_box, exclude_apps_box, ExcludeAppsBox.ExcludeAppsBox(), ExcludeBox.ExcludeBox(), log_box, page_stack, restore_box, restore_device_box, restore_exclude_box, restore_finish_box, RestoreBox.RestoreBox(), RestoreDeviceBox.RestoreDeviceBox(), RestoreExcludeBox.RestoreExcludeBox(), RestoreFinishBox.RestoreFinishBox(), RestoreSummaryBox.RestoreSummaryBox(), RsyncLogBox.RsyncLogBox(), summary_box, users_box, UsersBox.UsersBox(), and wrap_page().
Referenced by RestoreWindow().
|
inlineprivate |
Definition at line 128 of file RestoreWindow.vala.
References _, btn_nav_check, btn_nav_finish, btn_nav_log, btn_nav_restore, btn_nav_summary, btn_nav_target, btn_nav_users, Error, IconManager.lookup(), make_nav_button(), sidebar, and themed_icon().
Referenced by build_ui().
|
inlineprivate |
Definition at line 112 of file RestoreWindow.vala.
References build_content(), build_sidebar(), content_box, root_box, and sidebar.
Referenced by RestoreWindow().
|
inlineprivate |
Definition at line 683 of file RestoreWindow.vala.
References btn_nav_check, btn_nav_finish, btn_nav_log, btn_nav_restore, btn_nav_summary, btn_nav_target, and btn_nav_users.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 361 of file RestoreWindow.vala.
References _, action_buttons_set_initial_visibility(), App, bbox_action, btn_cancel, btn_close, btn_next, btn_prev, content_box, CustomMessageDialog.CustomMessageDialog(), Main.dry_run, embedded_mode, go_next(), go_prev(), TeeJee.GtkHelper.gtk_dialog_run(), TeeJee.GtkHelper.gtk_do_events(), TeeJee.GtkHelper.gtk_set_busy(), request_close(), save_changes(), AsyncTask.stop(), and Main.task.
Referenced by RestoreWindow().
|
inline |
Definition at line 806 of file RestoreWindow.vala.
References root_box.
|
inlineprivate |
Definition at line 453 of file RestoreWindow.vala.
References App, Main.btrfs_mode, initialize_tab(), set_page(), Main.snapshot_to_restore, and Snapshot.subvolumes.
Referenced by init_delayed().
|
inlineprivate |
Definition at line 510 of file RestoreWindow.vala.
References App, Main.btrfs_mode, check_before_restore, current_page, TeeJee.GtkHelper.gtk_do_events(), initialize_tab(), set_page(), and validate_current_tab().
Referenced by create_actions(), and initialize_tab().
|
inlineprivate |
Definition at line 470 of file RestoreWindow.vala.
References App, Main.btrfs_mode, check_before_restore, current_page, initialize_tab(), set_page(), Main.snapshot_to_restore, and Snapshot.subvolumes.
Referenced by create_actions().
|
inlineprivate |
Definition at line 339 of file RestoreWindow.vala.
References def_height, def_width, go_first(), and tmr_init.
Referenced by RestoreWindow().
|
inlineprivate |
Definition at line 555 of file RestoreWindow.vala.
References _, action_buttons_set_initial_visibility(), App, btn_cancel, btn_close, btn_next, btn_prev, check_box, current_page, exclude_apps_box, TeeJee.FileSystem.file_exists(), go_next(), TeeJee.GtkHelper.gtk_do_events(), initialize_tab(), log_box, TeeJee.Logging.log_debug(), RsyncLogBox.open_log(), ExcludeAppsBox.refresh(), RestoreDeviceBox.refresh(), RestoreExcludeBox.refresh(), RestoreSummaryBox.refresh(), UsersBox.refresh(), RestoreBox.restore(), restore_box, restore_device_box, restore_exclude_box, restore_finish_box, Snapshot.rsync_restore_log_file, set_page(), Main.snapshot_to_restore, success, summary_box, RestoreFinishBox.update_message(), update_page_title(), update_sidebar_state(), and users_box.
Referenced by go_first(), go_next(), go_prev(), and initialize_tab().
|
inlineprivate |
Definition at line 180 of file RestoreWindow.vala.
References sidebar, and themed_icon().
Referenced by build_sidebar().
|
inlineprivate |
Definition at line 352 of file RestoreWindow.vala.
References save_changes().
Referenced by RestoreWindow().
|
inline |
Definition at line 824 of file RestoreWindow.vala.
References IconManager.lookup(), themed_img_list, themed_img_name, and themed_img_size.
| signal void RestoreWindow.request_close | ( | ) |
Referenced by create_actions().
|
inlineprivate |
Definition at line 357 of file RestoreWindow.vala.
References App, and Main.cron_job_update().
Referenced by create_actions(), and on_close_request().
|
inlineprivate |
Definition at line 760 of file RestoreWindow.vala.
References current_page, and page_stack.
Referenced by go_first(), go_next(), go_prev(), and initialize_tab().
|
inlineprivate |
Definition at line 693 of file RestoreWindow.vala.
References current_nav_btn.
Referenced by update_sidebar_state().
|
inlineprivate |
Definition at line 816 of file RestoreWindow.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 727 of file RestoreWindow.vala.
References _, and current_page.
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 698 of file RestoreWindow.vala.
References btn_nav_check, btn_nav_finish, btn_nav_log, btn_nav_restore, btn_nav_summary, btn_nav_target, btn_nav_users, clear_sidebar_selection(), current_page, and set_sidebar_active().
Referenced by initialize_tab().
|
inlineprivate |
Definition at line 661 of file RestoreWindow.vala.
References Main.add_app_exclude_entries(), App, RestoreDeviceBox.check_and_mount_devices(), current_page, restore_device_box, and Main.save_exclude_list_selections().
Referenced by go_next().
|
inlineprivate |
Definition at line 248 of file RestoreWindow.vala.
Referenced by build_pages().
|
private |
Definition at line 43 of file RestoreWindow.vala.
Referenced by create_actions().
|
private |
Definition at line 42 of file RestoreWindow.vala.
Referenced by build_content().
|
private |
Definition at line 73 of file RestoreWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 74 of file RestoreWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 49 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 54 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 50 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 53 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 52 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 48 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 51 of file RestoreWindow.vala.
Referenced by build_sidebar(), clear_sidebar_selection(), and update_sidebar_state().
|
private |
Definition at line 72 of file RestoreWindow.vala.
Referenced by create_actions(), and initialize_tab().
|
private |
Definition at line 71 of file RestoreWindow.vala.
Referenced by create_actions(), and initialize_tab().
| bool RestoreWindow.check_before_restore = true |
Definition at line 81 of file RestoreWindow.vala.
|
private |
Definition at line 64 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 40 of file RestoreWindow.vala.
Referenced by build_content(), build_ui(), and create_actions().
|
private |
Definition at line 55 of file RestoreWindow.vala.
Referenced by set_sidebar_active().
|
private |
Definition at line 45 of file RestoreWindow.vala.
Referenced by go_next(), go_prev(), initialize_tab(), set_page(), update_page_title(), update_sidebar_state(), and validate_current_tab().
|
private |
Definition at line 78 of file RestoreWindow.vala.
Referenced by init_delayed(), and RestoreWindow().
|
private |
Definition at line 77 of file RestoreWindow.vala.
Referenced by init_delayed(), and RestoreWindow().
|
private |
Definition at line 82 of file RestoreWindow.vala.
Referenced by create_actions(), and RestoreWindow().
|
private |
Definition at line 62 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 41 of file RestoreWindow.vala.
Referenced by build_content().
|
private |
Definition at line 57 of file RestoreWindow.vala.
Referenced by build_content().
|
private |
Definition at line 65 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 44 of file RestoreWindow.vala.
Referenced by build_content(), build_pages(), and set_page().
|
private |
Definition at line 66 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 60 of file RestoreWindow.vala.
Referenced by build_pages(), initialize_tab(), and validate_current_tab().
|
private |
Definition at line 61 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 68 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 38 of file RestoreWindow.vala.
Referenced by build_ui(), and detach_root_widget().
|
private |
Definition at line 39 of file RestoreWindow.vala.
Referenced by build_sidebar(), build_ui(), and make_nav_button().
|
private |
Definition at line 79 of file RestoreWindow.vala.
Referenced by initialize_tab().
|
private |
Definition at line 63 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().
|
private |
Definition at line 812 of file RestoreWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 813 of file RestoreWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 814 of file RestoreWindow.vala.
Referenced by reload_themed_icons(), and themed_icon().
|
private |
Definition at line 76 of file RestoreWindow.vala.
Referenced by init_delayed(), and RestoreWindow().
|
private |
Definition at line 67 of file RestoreWindow.vala.
Referenced by build_pages(), and initialize_tab().