aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Jagdish Patel <neil.patel@canonical.com>2009-02-04 14:54:56 +0100
committerNeil Jagdish Patel <neil.patel@canonical.com>2009-02-04 14:54:56 +0100
commiteae7dfc09c05436a138cbf0585d6f45e07e46969 (patch)
treec914ae0757569fe4f421234a3c6a749803244dfa
parent663d92661c8eecc51728b8e4d2c9c3886864d2ca (diff)
downloadlibayatana-indicator-eae7dfc09c05436a138cbf0585d6f45e07e46969.tar.gz
libayatana-indicator-eae7dfc09c05436a138cbf0585d6f45e07e46969.tar.bz2
libayatana-indicator-eae7dfc09c05436a138cbf0585d6f45e07e46969.zip
Set the widget name on the applet rather than the menubar, to make sure
it's picked up globally.
-rw-r--r--debian/changelog7
-rw-r--r--src/applet-main.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index a6372f0..e34e79c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+indicator-applet (0.1~ppa25) intrepid; urgency=low
+
+ * Set the widget name on the applet rather than the menubar, to make sure
+ it's picked up globally.
+
+ -- Neil J. Patel <neil.patel@canonical.com> Wed, 04 Feb 2009 14:53:41 +0100
+
indicator-applet (0.1~ppa24) intrepid; urgency=low
* Adding a conflicts and a replaces to get rid of errors.
diff --git a/src/applet-main.c b/src/applet-main.c
index e1f1f03..11d85f1 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -96,11 +96,11 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
" GtkWidget::focus-padding = 0\n"
"}\n"
"widget \"*.indicator-applet-menubar\" style \"indicator-applet-style\"");
-
+ gtk_widget_set_name(GTK_WIDGET (applet), "indicator-applet-menubar");
+
/* Build menubar */
menubar = gtk_menu_bar_new();
GTK_WIDGET_SET_FLAGS (menubar, GTK_WIDGET_FLAGS(menubar) | GTK_CAN_FOCUS);
- gtk_widget_set_name(GTK_WIDGET (menubar), "indicator-applet-menubar");
g_signal_connect_after(menubar, "expose-event", G_CALLBACK(menubar_on_expose), menubar);
gtk_container_set_border_width(GTK_CONTAINER(menubar), 0);