From a8d3d0955f5d9a334ed6440be3a0361be9958246 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 8 Jan 2010 01:44:48 +0100 Subject: [PATCH] Remove empty button from the Extensions panel --- panels/midori-extensions.c | 4 ---- 1 file changed, 4 deletions(-) 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; }