aboutsummaryrefslogtreecommitdiff
path: root/src/applet-main.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-15 22:59:20 -0600
committerTed Gould <ted@canonical.com>2009-02-15 22:59:20 -0600
commit3e126a2cd425c74d1c277dfb7ce30a3d071ae4b8 (patch)
treee6b2e99a74b7d9d097bf68ad8ed043146dbdd45d /src/applet-main.c
parente424f778f6feab9aa406b79596825bc5bd82a5cf (diff)
parent8336b570cdea01988168ee3efc0147a3af12ce76 (diff)
downloadlibayatana-indicator-3e126a2cd425c74d1c277dfb7ce30a3d071ae4b8.tar.gz
libayatana-indicator-3e126a2cd425c74d1c277dfb7ce30a3d071ae4b8.tar.bz2
libayatana-indicator-3e126a2cd425c74d1c277dfb7ce30a3d071ae4b8.zip
* Putting on a handle
* Adding in a background function from panel-lib
Diffstat (limited to 'src/applet-main.c')
-rw-r--r--src/applet-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index c830230..57dc6b3 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -103,7 +103,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
/* Set panel options */
gtk_container_set_border_width(GTK_CONTAINER (applet), 0);
- panel_applet_set_flags(applet, PANEL_APPLET_EXPAND_MINOR);
+ panel_applet_set_flags(applet, PANEL_APPLET_EXPAND_MINOR | PANEL_APPLET_HAS_HANDLE);
/* Init some theme/icon stuff */
gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(),
@@ -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 */