aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-27 12:11:32 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-27 12:11:32 -0600
commitb6b241d47f33a67b6f61f9860a278a6582113835 (patch)
treeeaf53d145990befd253821a6b7763b17737ddcfb /src
parent1529af0e1224f04616054095742b698d8814cec4 (diff)
downloadayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.tar.gz
ayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.tar.bz2
ayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.zip
button flickering fixed
Diffstat (limited to 'src')
-rw-r--r--src/sound-service.c4
-rw-r--r--src/transport-widget.c6
2 files changed, 3 insertions, 7 deletions
diff --git a/src/sound-service.c b/src/sound-service.c
index 2cb33d3..c1bb9b4 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -40,8 +40,8 @@ service_shutdown (IndicatorService *service, gpointer user_data)
{
if (mainloop != NULL) {
g_debug("Service shutdown !");
- close_pulse_activites();
- g_main_loop_quit(mainloop);
+ //close_pulse_activites();
+ //g_main_loop_quit(mainloop);
}
return;
}
diff --git a/src/transport-widget.c b/src/transport-widget.c
index a276a31..6ddd4bc 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -289,11 +289,7 @@ transport_widget_motion_notify_event (GtkWidget *menuitem,
event);
priv->motion_event = result;
- cairo_t *cr;
- cr = gdk_cairo_create (menuitem->window);
- draw ( menuitem, cr );
- cairo_destroy ( cr );
-
+ gtk_widget_queue_draw (menuitem);
return TRUE;
}