aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Cimitan <andrea.cimitan@canonical.com>2011-08-24 17:21:52 +0200
committerAndrea Cimitan <andrea.cimitan@canonical.com>2011-08-24 17:21:52 +0200
commit334e4309729cc5591b7538dc8f40b2845224b09d (patch)
tree0ff7e1dd02895ff1ec7d9b38ded6a7a34278b1b6 /src
parent1e8fb454f4cb0762c60097a031fc5e833a9039d3 (diff)
downloadayatana-indicator-sound-334e4309729cc5591b7538dc8f40b2845224b09d.tar.gz
ayatana-indicator-sound-334e4309729cc5591b7538dc8f40b2845224b09d.tar.bz2
ayatana-indicator-sound-334e4309729cc5591b7538dc8f40b2845224b09d.zip
theme fix
Diffstat (limited to 'src')
-rw-r--r--src/transport-widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 564b76f..100c52c 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -181,13 +181,17 @@ transport_widget_init (TransportWidget *self)
/* create widget path */
spinner_widget_path = gtk_widget_path_new();
- gtk_widget_path_iter_set_name (spinner_widget_path, -1 , "IndicatorSoundSpinner");
+ gtk_widget_path_iter_set_name (spinner_widget_path, -1 , "IndicatorSound");
+ gtk_widget_path_append_type (spinner_widget_path, GTK_TYPE_MENU);
+ gtk_widget_path_append_type (spinner_widget_path, GTK_TYPE_MENU_ITEM);
gtk_widget_path_append_type (spinner_widget_path, GTK_TYPE_SPINNER);
/* create style context and append path */
spinner_style_context = gtk_style_context_new();
gtk_style_context_set_path (spinner_style_context, spinner_widget_path);
+ gtk_style_context_add_class (spinner_style_context, GTK_STYLE_CLASS_MENU);
+ gtk_style_context_add_class (spinner_style_context, GTK_STYLE_CLASS_MENUITEM);
gtk_style_context_add_class (spinner_style_context, GTK_STYLE_CLASS_SPINNER);
}
#endif