diff options
author | Ted Gould <ted@canonical.com> | 2009-02-15 22:59:20 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-02-15 22:59:20 -0600 |
commit | 3e126a2cd425c74d1c277dfb7ce30a3d071ae4b8 (patch) | |
tree | e6b2e99a74b7d9d097bf68ad8ed043146dbdd45d /src/applet-main.c | |
parent | e424f778f6feab9aa406b79596825bc5bd82a5cf (diff) | |
parent | 8336b570cdea01988168ee3efc0147a3af12ce76 (diff) | |
download | libayatana-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.c | 3 |
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 */ |