diff options
author | Gabriel Millaire <millaire.gabriel@gmail.com> | 2009-07-11 00:55:43 +0800 |
---|---|---|
committer | Gabriel Millaire <millaire.gabriel@gmail.com> | 2009-07-11 00:55:43 +0800 |
commit | 972532d4223b01ae12fcae945620615fbc9f5ccd (patch) | |
tree | 05662b359514e96702565666147df73325a6ff3d | |
parent | 3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4 (diff) | |
download | gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar.gz gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar.bz2 gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar.lz gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar.xz gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.tar.zst gsoc2013-empathy-972532d4223b01ae12fcae945620615fbc9f5ccd.zip |
Minor changes
-rw-r--r-- | src/empathy-main-window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 06238b2a4..4b1af853d 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -774,12 +774,9 @@ main_window_view_sort_contacts_cb (GtkRadioAction *action, g_warning ("No GEnumValue for EmpathyContactListSort with GtkRadioAction index:%d", g_slist_index (group, action)); } else { - const gchar *value_str; - value_str = enum_value->value_nick; - empathy_conf_set_string (empathy_conf_get (), EMPATHY_PREFS_CONTACTS_SORT_CRITERIUM, - value_str); + enum_value->value_nick); } empathy_contact_list_store_set_sort_criterium (window->list_store, value); } @@ -834,6 +831,9 @@ main_window_notify_contact_list_size_cb (EmpathyConf *conf, value = CONTACT_LIST_NORMAL_SIZE; } } + /* By changing the value of the GtkRadioAction, + it emits a signal that calls main_window_view_contacts_list_size_cb + which updates the contacts list */ gtk_radio_action_set_current_value (window->normal_with_avatars, value); } |