aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-07 10:04:07 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-07 10:04:07 +0100
commit32442108b50ade909fa9076513139d73cde577a1 (patch)
treef43d4018dc327cd212c09c03c771905a27769753 /src/transport-widget.c
parent71f036ce6cbd106f3754d7008303d1b108433ae2 (diff)
downloadayatana-indicator-sound-32442108b50ade909fa9076513139d73cde577a1.tar.gz
ayatana-indicator-sound-32442108b50ade909fa9076513139d73cde577a1.tar.bz2
ayatana-indicator-sound-32442108b50ade909fa9076513139d73cde577a1.zip
button release outside of control now acts as it should do
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 4e7ea9c..979f6fd 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -162,9 +162,10 @@ transport_widget_button_release_event (GtkWidget *menuitem,
g_value_init(&value, G_TYPE_INT);
g_debug("TransportWidget::menu_press_event - going to send value %i", (int)result);
g_value_set_int(&value, (int)result);
- play_button_react_to_button_release(priv->play_button, result);
dbusmenu_menuitem_handle_event (priv->twin_item, "Transport state change", &value, 0);
- }
+ }
+ play_button_react_to_button_release(priv->play_button, result);
+
return TRUE;
}