aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-24 19:36:07 -0500
committerTed Gould <ted@gould.cx>2011-08-24 19:36:07 -0500
commitb554cbc8162b9ec619c50544930c84f58cf659bd (patch)
treefacc863809fb340d04c37cb376511ca6d4738117 /src
parentbe50ba799449bb95360f73e841ec978c31323910 (diff)
downloadayatana-indicator-messages-b554cbc8162b9ec619c50544930c84f58cf659bd.tar.gz
ayatana-indicator-messages-b554cbc8162b9ec619c50544930c84f58cf659bd.tar.bz2
ayatana-indicator-messages-b554cbc8162b9ec619c50544930c84f58cf659bd.zip
Remove an unused hbox in the application menu item
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index f2baf83..8b99c18 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -584,8 +584,6 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
gint padding = 4;
gtk_widget_style_get(GTK_WIDGET(gmi), "horizontal-padding", &padding, NULL);
- GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
-
/* Set the minimum size, we always want it to take space */
gint width, height;
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
@@ -602,12 +600,10 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
/* Application name in a label */
GtkWidget * label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, APPLICATION_MENUITEM_PROP_NAME));
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, padding);
gtk_widget_show(label);
/* Insert the hbox */
- gtk_container_add(GTK_CONTAINER(gmi), hbox);
- gtk_widget_show(hbox);
+ gtk_container_add(GTK_CONTAINER(gmi), label);
/* Attach some of the standard GTK stuff */
dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);