[Xfce4-commits] <midori:master> Expand text column of the addons panel

Christian Dywan noreply at xfce.org
Sun Sep 9 22:36:04 CEST 2012


Updating branch refs/heads/master
         to dd90c2b65bc8ef80112df8c79b0e5b69dcc16f61 (commit)
       from 49da17badd863b0ec4facf7b605a4a9afbe86c2f (commit)

commit dd90c2b65bc8ef80112df8c79b0e5b69dcc16f61
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Sep 9 20:56:28 2012 +0200

    Expand text column of the addons panel

 extensions/addons.c       |    1 +
 panels/midori-transfers.c |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/addons.c b/extensions/addons.c
index f84d806..03212f8 100644
--- a/extensions/addons.c
+++ b/extensions/addons.c
@@ -1325,6 +1325,7 @@ addons_init (Addons* addons)
         G_CALLBACK (addons_cell_renderer_toggled_cb), addons);
     gtk_tree_view_append_column (GTK_TREE_VIEW (addons->treeview), column);
     column = gtk_tree_view_column_new ();
+    gtk_tree_view_column_set_expand (column, TRUE);
     renderer_text = gtk_cell_renderer_text_new ();
     gtk_tree_view_column_pack_start (column, renderer_text, FALSE);
     gtk_tree_view_column_set_cell_data_func (column, renderer_text,
diff --git a/panels/midori-transfers.c b/panels/midori-transfers.c
index b10953f..8eb5f05 100644
--- a/panels/midori-transfers.c
+++ b/panels/midori-transfers.c
@@ -497,7 +497,6 @@ midori_transfers_init (MidoriTransfers* transfers)
     gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (transfers->treeview), FALSE);
     column = gtk_tree_view_column_new ();
     gtk_tree_view_column_set_expand (column, TRUE);
-    gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
     renderer_pixbuf = gtk_cell_renderer_pixbuf_new ();
     gtk_tree_view_column_pack_start (column, renderer_pixbuf, FALSE);
     gtk_tree_view_column_set_cell_data_func (column, renderer_pixbuf,


More information about the Xfce4-commits mailing list