aboutsummaryrefslogtreecommitdiff
path: root/src/play-button.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-28 18:11:17 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-28 18:11:17 +0100
commit095cfa5b70783a0937c1a1272e5fdd59fd24e69a (patch)
tree02a0f314a0abe233cc27d61de5971c9f559465ff /src/play-button.c
parent2f8ec1ef668da07f3b74140b8db3b12f87d2cde0 (diff)
downloadayatana-indicator-sound-095cfa5b70783a0937c1a1272e5fdd59fd24e69a.tar.gz
ayatana-indicator-sound-095cfa5b70783a0937c1a1272e5fdd59fd24e69a.tar.bz2
ayatana-indicator-sound-095cfa5b70783a0937c1a1272e5fdd59fd24e69a.zip
tidied
Diffstat (limited to 'src/play-button.c')
-rw-r--r--src/play-button.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/play-button.c b/src/play-button.c
index d15b139..2a73030 100644
--- a/src/play-button.c
+++ b/src/play-button.c
@@ -371,6 +371,7 @@ play_button_init (PlayButton *self)
next_list);
gtk_widget_set_size_request(GTK_WIDGET(self), 200, 50);
+ GtkA
gtk_event_box_set_visible_window (GTK_EVENT_BOX(self), FALSE);
}
@@ -393,11 +394,15 @@ play_button_expose (GtkWidget *button, GdkEventExpose *event)
cairo_t *cr;
cr = gdk_cairo_create (button->window);
- /*cairo_rectangle (cr,
+ //GtkAllocation alloc;
+ //gtk_widget_get_allocation (metadata, &alloc);
+
+ g_debug("In the playbutton's expose method, x = %i, y=%i and width: %i and height: %i'")
+ cairo_rectangle (cr,
event->area.x, event->area.y,
event->area.width, event->area.height);
- cairo_clip(cr);*/
+ cairo_clip(cr);
draw (button, cr);
cairo_destroy (cr);