[empathy/gnome-2-30] Fix activating [ ] Enabled with the keyboard.
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-30] Fix activating [ ] Enabled with the keyboard.
- Date: Mon, 12 Jul 2010 07:55:19 +0000 (UTC)
commit cc0520d61d93f8e34cb1fed6136c2f57ed69f028
Author: Will Thompson <will thompson collabora co uk>
Date: Fri Jul 9 18:39:48 2010 +0100
Fix activating [ ] Enabled with the keyboard.
The GtkToggleButton::released signal has been deprecated since Gtk+ 2.8.
And, is also wrong, because there are other ways to change the state of
this button besides using your mouse.
Fixes bug #623972.
Toggled-by: Jonny Lamb <jonny lamb collabora co uk>
libempathy-gtk/empathy-account-widget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index c91cb7d..e4567da 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1356,7 +1356,7 @@ account_widget_switch_flipped_cb (MxGtkLightSwitch *sw,
gboolean state,
gpointer user_data)
#else
-account_widget_enabled_released_cb (GtkToggleButton *toggle_button,
+account_widget_enabled_toggled_cb (GtkToggleButton *toggle_button,
gpointer user_data)
#endif /* HAVE_MEEGO */
{
@@ -1582,8 +1582,8 @@ add_enable_checkbox (EmpathyAccountWidget *self,
g_signal_connect (G_OBJECT (priv->enabled_checkbox), "switch-flipped",
G_CALLBACK (account_widget_switch_flipped_cb), self);
#else
- g_signal_connect (G_OBJECT (priv->enabled_checkbox), "released",
- G_CALLBACK (account_widget_enabled_released_cb), self);
+ g_signal_connect (G_OBJECT (priv->enabled_checkbox), "toggled",
+ G_CALLBACK (account_widget_enabled_toggled_cb), self);
#endif /* HAVE_MEEGO */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]