Public Member Functions | |
| signal void | delete_selected () |
| signal void | mark_selected () |
| signal void | browse_selected () |
| signal void | view_snapshot_log (bool show_restore_log) |
| SnapshotListBox (Gtk.Window _parent_window) | |
| void | hide_context_menu () |
| void | refresh () |
| Gee.ArrayList< Snapshot > | selected_snapshots () |
Public Attributes | |
| Gtk.ListBox | treeview |
Private Member Functions | |
| void | build_ui () |
| void | add_sort_button (string label, int column, bool default_desc) |
| void | clear_rows () |
Private Attributes | |
| Gtk.Window | parent_window |
| Gtk.ListBox | listbox |
| Gtk.ScrolledWindow | scrolled |
| Gtk.Box | header_actions |
| int | sort_column_index = 0 |
| bool | sort_desc = true |
Definition at line 114 of file SnapshotListBox.vala.
|
inline |
Definition at line 128 of file SnapshotListBox.vala.
References build_ui(), parent_window, and refresh().
Referenced by DeleteWindow.DeleteWindow(), and MainWindow.init_snapshots_page().
|
inlineprivate |
Definition at line 200 of file SnapshotListBox.vala.
References header_actions, refresh(), sort_column_index, and sort_desc.
Referenced by build_ui().
| signal void SnapshotListBox.browse_selected | ( | ) |
Referenced by build_ui(), and MainWindow.init_snapshots_page().
|
inlineprivate |
Definition at line 139 of file SnapshotListBox.vala.
References _, add_sort_button(), App, browse_selected(), Main.btrfs_mode, delete_selected(), header_actions, listbox, mark_selected(), scrolled, treeview, and view_snapshot_log().
Referenced by SnapshotListBox().
|
inlineprivate |
| signal void SnapshotListBox.delete_selected | ( | ) |
Referenced by build_ui(), and MainWindow.init_snapshots_page().
|
inline |
Definition at line 214 of file SnapshotListBox.vala.
Referenced by DeleteWindow.DeleteWindow().
| signal void SnapshotListBox.mark_selected | ( | ) |
Referenced by build_ui(), and MainWindow.init_snapshots_page().
|
inline |
Definition at line 227 of file SnapshotListBox.vala.
References App, SnapshotRepo.available(), clear_rows(), listbox, SnapshotRepo.load_snapshots(), Main.repo, SnapshotRow.SnapshotRow(), SnapshotRepo.snapshots, sort_column_index, and sort_desc.
Referenced by add_sort_button(), DeleteWindow.initialize_tab(), MainWindow.mark_selected(), MainWindow.refresh_all(), and SnapshotListBox().
|
inline |
Definition at line 261 of file SnapshotListBox.vala.
References listbox.
Referenced by MainWindow.browse_selected(), MainWindow.delete_selected(), DeleteWindow.go_next(), MainWindow.mark_selected(), MainWindow.restore(), DeleteWindow.validate_current_tab(), and MainWindow.view_snapshot_log().
| signal void SnapshotListBox.view_snapshot_log | ( | bool | show_restore_log | ) |
Referenced by build_ui(), and MainWindow.init_snapshots_page().
|
private |
Definition at line 119 of file SnapshotListBox.vala.
Referenced by add_sort_button(), and build_ui().
|
private |
Definition at line 117 of file SnapshotListBox.vala.
Referenced by build_ui(), clear_rows(), refresh(), and selected_snapshots().
|
private |
Definition at line 116 of file SnapshotListBox.vala.
Referenced by SnapshotListBox().
|
private |
Definition at line 118 of file SnapshotListBox.vala.
Referenced by build_ui().
|
private |
Definition at line 120 of file SnapshotListBox.vala.
Referenced by add_sort_button(), and refresh().
|
private |
Definition at line 121 of file SnapshotListBox.vala.
Referenced by add_sort_button(), and refresh().
| Gtk.ListBox SnapshotListBox.treeview |
Definition at line 115 of file SnapshotListBox.vala.
Referenced by build_ui().