mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Small changes
This commit is contained in:
parent
dfab8f7d50
commit
92a410d1b1
|
@ -184,19 +184,19 @@ namespace GitgHistory
|
|||
"scrolled_window_commit_list",
|
||||
"commit_list_view",
|
||||
"renderer_commit_list_author",
|
||||
"renderer_commit_list_date");
|
||||
"renderer_commit_list_author_date");
|
||||
|
||||
d_main = ret["scrolled_window_commit_list"] as Gtk.Widget;
|
||||
|
||||
d_view = ret["commit_list_view"] as Gtk.TreeView;
|
||||
d_view.model = d_model;
|
||||
|
||||
(ret["renderer_commit_list_author"] as Gd.StyledTextRenderer).add_class("dim-label");
|
||||
(ret["renderer_commit_list_date"] as Gd.StyledTextRenderer).add_class("dim-label");
|
||||
|
||||
d_view.get_selection().changed.connect((sel) => {
|
||||
selection_changed();
|
||||
});
|
||||
|
||||
d_main = ret["scrolled_window_commit_list"] as Gtk.Widget;
|
||||
(ret["renderer_commit_list_author"] as Gd.StyledTextRenderer).add_class("dim-label");
|
||||
(ret["renderer_commit_list_author_date"] as Gd.StyledTextRenderer).add_class("dim-label");
|
||||
|
||||
}
|
||||
|
||||
private void update_walker(Navigation n, Gitg.Ref? head)
|
||||
|
|
|
@ -48,13 +48,13 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn" id="column_commit_list_date">
|
||||
<object class="GtkTreeViewColumn" id="column_commit_list_author_date">
|
||||
<property name="title" translatable="yes">Date</property>
|
||||
<property name="sizing">fixed</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="fixed-width">250</property>
|
||||
<child>
|
||||
<object class="GdStyledTextRenderer" id="renderer_commit_list_date">
|
||||
<object class="GdStyledTextRenderer" id="renderer_commit_list_author_date">
|
||||
<property name="ellipsize">end</property>
|
||||
</object>
|
||||
<attributes>
|
||||
|
|
Loading…
Reference in a new issue