Small changes

This commit is contained in:
Techlive Zheng 2013-05-21 14:10:35 +08:00 committed by Ignacio Casal Quinteiro
parent dfab8f7d50
commit 92a410d1b1
2 changed files with 8 additions and 8 deletions

View file

@ -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)

View file

@ -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>