aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-03 12:48:28 -0500
committerTed Gould <ted@canonical.com>2009-04-03 12:48:28 -0500
commit5e3c75a9a6c46bd2517de464b35ab776cae8f3ff (patch)
tree06fe7e1ce030d667ec9d0ce18b21883c325281a7 /src
parent9a1d935149a055969ae18dc5d80fb0ab11071f30 (diff)
parent05b5aa406f53d6146132f82ab872b40fd55cce0f (diff)
downloadlibayatana-indicator-5e3c75a9a6c46bd2517de464b35ab776cae8f3ff.tar.gz
libayatana-indicator-5e3c75a9a6c46bd2517de464b35ab776cae8f3ff.tar.bz2
libayatana-indicator-5e3c75a9a6c46bd2517de464b35ab776cae8f3ff.zip
Merge in from the Dev branch
Diffstat (limited to 'src')
-rw-r--r--src/applet-main.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/applet-main.c b/src/applet-main.c
index f6d5199..43125a0 100644
--- a/src/applet-main.c
+++ b/src/applet-main.c
@@ -220,13 +220,30 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data)
" GtkWidget::focus-line-width = 0\n"
" GtkWidget::focus-padding = 0\n"
"}\n"
- "widget \"*.fast-user-switch-applet\" style \"indicator-applet-style\"");
+ "style \"indicator-applet-menubar-style\"\n"
+ "{\n"
+ " GtkMenuBar::shadow-type = none\n"
+ " GtkMenuBar::internal-padding = 0\n"
+ " GtkWidget::focus-line-width = 0\n"
+ " GtkWidget::focus-padding = 0\n"
+ " GtkMenuItem::horizontal-padding = 0\n"
+ "}\n"
+ "style \"indicator-applet-menuitem-style\"\n"
+ "{\n"
+ " GtkWidget::focus-line-width = 0\n"
+ " GtkWidget::focus-padding = 0\n"
+ " GtkMenuItem::horizontal-padding = 0\n"
+ "}\n"
+ "widget \"*.fast-user-switch-applet\" style \"indicator-applet-style\""
+ "widget \"*.fast-user-switch-menuitem\" style \"indicator-applet-menuitem-style\""
+ "widget \"*.fast-user-switch-menubar\" style \"indicator-applet-menubar-style\"");
//gtk_widget_set_name(GTK_WIDGET (applet), "indicator-applet-menubar");
gtk_widget_set_name(GTK_WIDGET (applet), "fast-user-switch-applet");
/* 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), "fast-user-switch-menubar");
g_signal_connect(menubar, "button-press-event", G_CALLBACK(menubar_press), NULL);
g_signal_connect_after(menubar, "expose-event", G_CALLBACK(menubar_on_expose), menubar);
gtk_container_set_border_width(GTK_CONTAINER(menubar), 0);