aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorDidier Roche <didrocks@ubuntu.com>2011-09-13 12:20:29 +0200
committerPackage Import Robot <package-import@ubuntu.com>2011-09-13 12:20:29 +0200
commit22c7d6a1bfd61a4f5e81279d4b01063a096f19e0 (patch)
tree478abffce952d0262fac71485745dcd9a7733135 /src/transport-widget.c
parentd13e523b7aa582734b3d4bc06735cfa00fb318e3 (diff)
parent886588b78ecf730719b5f5686e7a277dde27515d (diff)
downloadayatana-indicator-sound-22c7d6a1bfd61a4f5e81279d4b01063a096f19e0.tar.gz
ayatana-indicator-sound-22c7d6a1bfd61a4f5e81279d4b01063a096f19e0.tar.bz2
ayatana-indicator-sound-22c7d6a1bfd61a4f5e81279d4b01063a096f19e0.zip
* New upstream release
* add 01_fix_FTBFS.patch for needed -lm link
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 22e3b2a..c535e00 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -181,10 +181,10 @@ 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 , "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);
+ gint pos = gtk_widget_path_append_type (spinner_widget_path, GTK_TYPE_SPINNER);
+ gtk_widget_path_iter_set_name (spinner_widget_path, pos, "IndicatorSoundSpinner");
/* create style context and append path */
spinner_style_context = gtk_style_context_new();
@@ -1800,8 +1800,8 @@ draw (GtkWidget* button, cairo_t *cr)
#if GTK_CHECK_VERSION(3, 0, 0)
else if(priv->current_state == TRANSPORT_STATE_LAUNCHING)
{
-
- gtk_render_activity (spinner_style_context, cr, 106, 6 , 30, 30);
+ // the spinner is not aligned, why? because the play button has odd width/height numbers
+ gtk_render_activity (spinner_style_context, cr, 106, 6, 30, 30);
}
#endif
return FALSE;