[Xfce4-commits] <midori:master> Remove empty button from the Extensions panel

Christian Dywan noreply at xfce.org
Fri Jan 8 01:46:02 CET 2010


Updating branch refs/heads/master
         to a8d3d0955f5d9a334ed6440be3a0361be9958246 (commit)
       from 9db458ba9ce83992ff289cafde9b48538ed23ffa (commit)

commit a8d3d0955f5d9a334ed6440be3a0361be9958246
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jan 8 01:44:48 2010 +0100

    Remove empty button from the Extensions panel

 panels/midori-extensions.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/panels/midori-extensions.c b/panels/midori-extensions.c
index 8f26758..6fe8fb7 100644
--- a/panels/midori-extensions.c
+++ b/panels/midori-extensions.c
@@ -103,14 +103,10 @@ midori_extensions_get_toolbar (MidoriViewable* extensions)
     if (!MIDORI_EXTENSIONS (extensions)->toolbar)
     {
         GtkWidget* toolbar;
-        GtkToolItem* toolitem;
 
         toolbar = gtk_toolbar_new ();
         gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_BOTH_HORIZ);
         gtk_toolbar_set_icon_size (GTK_TOOLBAR (toolbar), GTK_ICON_SIZE_BUTTON);
-        toolitem = gtk_tool_item_new ();
-        gtk_toolbar_insert (GTK_TOOLBAR (toolbar), toolitem, -1);
-        gtk_widget_show (GTK_WIDGET (toolitem));
 
         MIDORI_EXTENSIONS (extensions)->toolbar = toolbar;
     }



More information about the Xfce4-commits mailing list