diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-03 09:13:37 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-03 09:13:37 +0000 |
commit | 838b77481251f6e53da709dec1ce5e2d6f190d2e (patch) | |
tree | 4d12b152c04f935519303cc2066eb039e4c89c1b /src | |
parent | 45e0f3f3b6bc6b084219ef47f1822c3f666b9a58 (diff) | |
parent | 55c48f356f9969efbe2805daaedaf1e5db48cfce (diff) | |
download | ayatana-indicator-sound-838b77481251f6e53da709dec1ce5e2d6f190d2e.tar.gz ayatana-indicator-sound-838b77481251f6e53da709dec1ce5e2d6f190d2e.tar.bz2 ayatana-indicator-sound-838b77481251f6e53da709dec1ce5e2d6f190d2e.zip |
button title release
Diffstat (limited to 'src')
-rw-r--r-- | src/title-widget.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/title-widget.c b/src/title-widget.c index 675c59f..b8058b8 100644 --- a/src/title-widget.c +++ b/src/title-widget.c @@ -44,8 +44,8 @@ static void title_widget_dispose (GObject *object); static void title_widget_finalize (GObject *object); // keyevent consumers -static gboolean title_widget_button_press_event (GtkWidget *menuitem, - GdkEventButton *event); +static gboolean title_widget_button_release_event (GtkWidget *menuitem, + GdkEventButton *event); // Dbusmenuitem properties update callback static void title_widget_property_update(DbusmenuMenuitem* item, gchar* property, @@ -64,7 +64,7 @@ title_widget_class_init (TitleWidgetClass *klass) GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); - widget_class->button_press_event = title_widget_button_press_event; + widget_class->button_release_event = title_widget_button_release_event; g_type_class_add_private (klass, sizeof (TitleWidgetPrivate)); @@ -132,8 +132,8 @@ title_widget_finalize (GObject *object) /* Suppress/consume keyevents */ static gboolean -title_widget_button_press_event (GtkWidget *menuitem, - GdkEventButton *event) +title_widget_button_release_event (GtkWidget *menuitem, + GdkEventButton *event) { //g_debug("TitleWidget::menu_press_event"); TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(menuitem); @@ -147,8 +147,8 @@ title_widget_button_press_event (GtkWidget *menuitem, } static void -title_widget_property_update(DbusmenuMenuitem* item, gchar* property, - GVariant* value, gpointer userdata) +title_widget_property_update (DbusmenuMenuitem* item, gchar* property, + GVariant* value, gpointer userdata) { g_return_if_fail (IS_TITLE_WIDGET (userdata)); TitleWidget* mitem = TITLE_WIDGET(userdata); |