aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-15 22:56:27 -0600
committerTed Gould <ted@canonical.com>2009-02-15 22:56:27 -0600
commit8336b570cdea01988168ee3efc0147a3af12ce76 (patch)
treedd3b68f808892b0301ab5f1f8d4d35ed2a294aa3
parent6012d3370cd2d8c39a01f1e8fca226d4ba1be887 (diff)
downloadlibayatana-indicator-8336b570cdea01988168ee3efc0147a3af12ce76.tar.gz
libayatana-indicator-8336b570cdea01988168ee3efc0147a3af12ce76.tar.bz2
libayatana-indicator-8336b570cdea01988168ee3efc0147a3af12ce76.zip
This function seems to set up the widget correctly with the background. It's undocumented, but most other applets seem to do it.
-rw-r--r--src/applet-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index 027c697..57dc6b3 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -127,6 +127,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
gtk_container_set_border_width(GTK_CONTAINER(menubar), 0);
gtk_container_add(GTK_CONTAINER(applet), menubar);
+ panel_applet_set_background_widget(applet, menubar);
gtk_widget_show(menubar);
/* load 'em */