mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-07-14 18:50:26 +03:00
Don't use the deprecated Gtk.TreeView.rules_hint feature (#201)
According to the Gtk documentation, the appearance of the ruled tree depends on the selected theme. Hence, if you need “zebra striping”, just use the related theme.
This commit is contained in:
parent
8818fc4218
commit
7ab8afc51b
@ -70,7 +70,6 @@ class ExcludeAppsBox : Gtk.Box{
|
||||
treeview = new TreeView();
|
||||
treeview.get_selection().mode = SelectionMode.MULTIPLE;
|
||||
treeview.headers_visible = false;
|
||||
treeview.rules_hint = true;
|
||||
treeview.reorderable = true;
|
||||
treeview.set_tooltip_column(2);
|
||||
//treeview.row_activated.connect(treeview_row_activated);
|
||||
|
@ -84,7 +84,6 @@ public class ExcludeMessageWindow : Gtk.Dialog{
|
||||
tv_exclude = new TreeView();
|
||||
tv_exclude.get_selection().mode = SelectionMode.MULTIPLE;
|
||||
tv_exclude.headers_visible = false;
|
||||
tv_exclude.set_rules_hint (true);
|
||||
|
||||
//sw_exclude
|
||||
sw_exclude = new ScrolledWindow(null, null);
|
||||
|
@ -447,7 +447,6 @@ public class RsyncLogBox : Gtk.Box {
|
||||
treeview.headers_clickable = true;
|
||||
treeview.rubber_banding = true;
|
||||
treeview.has_tooltip = true;
|
||||
treeview.set_rules_hint(true);
|
||||
treeview.show_expanders = false;
|
||||
|
||||
// scrolled
|
||||
|
@ -81,7 +81,6 @@ class SnapshotListBox : Gtk.Box{
|
||||
treeview.get_selection().mode = SelectionMode.MULTIPLE;
|
||||
treeview.headers_clickable = true;
|
||||
treeview.has_tooltip = true;
|
||||
treeview.set_rules_hint (true);
|
||||
|
||||
//sw_backups
|
||||
var sw_backups = new ScrolledWindow(null, null);
|
||||
|
@ -84,7 +84,6 @@ class UsersBox : Gtk.Box{
|
||||
treeview = new TreeView();
|
||||
treeview.get_selection().mode = SelectionMode.MULTIPLE;
|
||||
treeview.headers_visible = true;
|
||||
treeview.rules_hint = true;
|
||||
treeview.reorderable = false;
|
||||
treeview.set_tooltip_text(_("Click to edit. Drag and drop to re-order."));
|
||||
//treeview.row_activated.connect(treeview_row_activated);
|
||||
|
Loading…
Reference in New Issue
Block a user