aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-05 17:58:57 +0100
committerTed Gould <ted@canonical.com>2009-02-05 17:58:57 +0100
commitc18cbee8cb5197d9e2bc024e792842be6588b8da (patch)
treeee6c0db91c33e24c973946277a1c93697b27b132 /src
parentc4db8e8c0c4978d70540d79df30d22c1afb7803f (diff)
parente6ff0d4856b0ffe1946332cd29d3a9683397c7bc (diff)
downloadlibayatana-indicator-c18cbee8cb5197d9e2bc024e792842be6588b8da.tar.gz
libayatana-indicator-c18cbee8cb5197d9e2bc024e792842be6588b8da.tar.bz2
libayatana-indicator-c18cbee8cb5197d9e2bc024e792842be6588b8da.zip
Merging in the trunk changes
Diffstat (limited to 'src')
-rw-r--r--src/applet-main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index e1f1f03..b1f1b0e 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -87,6 +87,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
/* Init some theme/icon stuff */
gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(),
ICONS_DIR);
+ g_debug("Icons directory: %s", ICONS_DIR);
gtk_rc_parse_string (
"style \"indicator-applet-style\"\n"
"{\n"
@@ -96,11 +97,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);