aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-07-10 01:39:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 15:54:57 +0800
commit505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5 (patch)
tree22e19f31725491a3ff70dfcd363899549de52d35 /libempathy-gtk
parentb17b7bcb810f293a2de4515bbc7239b786189293 (diff)
downloadgsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar.gz
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar.bz2
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar.lz
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar.xz
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.tar.zst
gsoc2013-empathy-505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5.zip
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>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 3511add4c..caabdeb04 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1361,7 +1361,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 */
{
@@ -1587,8 +1587,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 */
}