diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-02 20:04:15 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-02 20:04:15 +0100 |
commit | d79472daaf580062397ef688766cbe48b2cbd992 (patch) | |
tree | a6532eb6497641e330c1a97438a1c5c890728d84 /src/transport-widget.c | |
parent | b1d159ec617f067753cd3a012697e94c592e2b88 (diff) | |
download | ayatana-indicator-sound-d79472daaf580062397ef688766cbe48b2cbd992.tar.gz ayatana-indicator-sound-d79472daaf580062397ef688766cbe48b2cbd992.tar.bz2 ayatana-indicator-sound-d79472daaf580062397ef688766cbe48b2cbd992.zip |
cairo is taking some time
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r-- | src/transport-widget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c index 648370f..6d39a03 100644 --- a/src/transport-widget.c +++ b/src/transport-widget.c @@ -86,12 +86,12 @@ transport_widget_init (TransportWidget *self) hbox = gtk_hbox_new(TRUE, 2); - //GtkAllocation alloc; - //gtk_widget_get_allocation(GTK_WIDGET(self), &alloc); - //g_debug("allocation width for the transport widget %i", alloc.width); + GtkStyle* style = gtk_rc_get_style(GTK_WIDGET(self)); + priv->hbox = hbox; - priv->play_button = play_button_new(); + play_button_set_style(priv->play_button, style); + gtk_box_pack_start (GTK_BOX (priv->hbox), priv->play_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(twin_item), "property-changed", G_CALLBACK(transport_widget_property_update), self); |