aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-09-28 15:17:30 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-09-28 15:17:30 -0400
commite92bccafd8bc17ca37d48e78d497e1001dbaef80 (patch)
tree98e69ce3ea129c396840ef69a1feae40b01b5529 /src/transport-widget.c
parent8b55a10546bbdee8fe0fa0088d751f885068ca94 (diff)
parentbf90e843f9ecc907ab917d3d3b540014137d6964 (diff)
downloadayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.tar.gz
ayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.tar.bz2
ayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.zip
releasing version 0.7.8-0ubuntu1
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;