diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-09-15 19:16:32 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-09-15 19:16:32 +0100 |
commit | 71d4bfea9ec4dfa95c25727dccb6bca5799dff6d (patch) | |
tree | 938191948462b23c619c7073e37cd60ab1442423 /src/play-button.c | |
parent | 16e74443cc9f2806f4ef0a0d142f93d921f4aa27 (diff) | |
parent | 746d97ef9c7b08acf2cf6a6a7699638a780a2ef1 (diff) | |
download | ayatana-indicator-sound-71d4bfea9ec4dfa95c25727dccb6bca5799dff6d.tar.gz ayatana-indicator-sound-71d4bfea9ec4dfa95c25727dccb6bca5799dff6d.tar.bz2 ayatana-indicator-sound-71d4bfea9ec4dfa95c25727dccb6bca5799dff6d.zip |
merged menu close button reset fix
Diffstat (limited to 'src/play-button.c')
-rw-r--r-- | src/play-button.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/play-button.c b/src/play-button.c index 2ab5fc8..5e8a90d 100644 --- a/src/play-button.c +++ b/src/play-button.c @@ -99,6 +99,7 @@ static void play_button_dispose (GObject *object); static void play_button_finalize (GObject *object); static gboolean play_button_expose (GtkWidget *button, GdkEventExpose *event); + static void draw (GtkWidget* button, cairo_t *cr); G_DEFINE_TYPE (PlayButton, play_button, GTK_TYPE_DRAWING_AREA); @@ -370,6 +371,7 @@ play_button_init (PlayButton *self) next_list); gtk_widget_set_size_request(GTK_WIDGET(self), 200, 50); + } static void @@ -395,6 +397,7 @@ play_button_expose (GtkWidget *button, GdkEventExpose *event) event->area.width, event->area.height); cairo_clip(cr); + draw (button, cr); cairo_destroy (cr); return FALSE; |