[gitg] Put the icon cell renderer in the name column
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gitg] Put the icon cell renderer in the name column
- Date: Sun, 17 Jan 2010 13:47:56 +0000 (UTC)
commit 1e5a7b972246007185db68a606b844ccf5db4467
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Jan 17 14:19:25 2010 +0100
Put the icon cell renderer in the name column
gitg/gitg-repository-dialog.c | 2 +-
gitg/gitg-repository.ui | 8 ++------
2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gitg/gitg-repository-dialog.c b/gitg/gitg-repository-dialog.c
index 7c3ee2c..b412861 100644
--- a/gitg/gitg-repository-dialog.c
+++ b/gitg/gitg-repository-dialog.c
@@ -425,8 +425,8 @@ create_repository_dialog (GitgWindow *window)
repository_dialog->priv->button_fetch_remote = GTK_BUTTON(gtk_builder_get_object(b, "button_fetch_remote"));
repository_dialog->priv->image_fetch_remote = GTK_IMAGE(gtk_builder_get_object(b, "image_fetch_remote"));
+ GObject *column = gtk_builder_get_object(b, "tree_view_remotes_column_name");
GObject *renderer = gtk_builder_get_object(b, "tree_view_remotes_renderer_icon");
- GObject *column = gtk_builder_get_object(b, "tree_view_remotes_column_icon");
gtk_tree_view_column_set_cell_data_func (GTK_TREE_VIEW_COLUMN (column),
GTK_CELL_RENDERER (renderer),
diff --git a/gitg/gitg-repository.ui b/gitg/gitg-repository.ui
index 61c8afd..b2b1075 100644
--- a/gitg/gitg-repository.ui
+++ b/gitg/gitg-repository.ui
@@ -48,16 +48,12 @@
<property name="model">list_store_remotes</property>
<property name="rules_hint">True</property>
<child>
- <object class="GtkTreeViewColumn" id="tree_view_remotes_column_icon">
+ <object class="GtkTreeViewColumn" id="tree_view_remotes_column_name">
+ <property name="title" translatable="yes">Name</property>
<child>
<object class="GtkCellRendererPixbuf" id="tree_view_remotes_renderer_icon">
</object>
</child>
- </object>
- </child>
- <child>
- <object class="GtkTreeViewColumn" id="tree_view_remotes_column_name">
- <property name="title" translatable="yes">Name</property>
<child>
<object class="GtkCellRendererText" id="tree_view_remotes_renderer_name">
<property name="editable">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]