From: Christian Dywan Date: Fri, 8 Jan 2010 00:44:48 +0000 (+0100) Subject: Remove empty button from the Extensions panel X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8d3d0955f5d9a334ed6440be3a0361be9958246;p=midori Remove empty button from the Extensions panel --- diff --git a/panels/midori-extensions.c b/panels/midori-extensions.c index 8f267585..6fe8fb75 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; }