Mercurial > pidgin
changeset 19102:7f26e5b98b15
disapproval of revision 'd07595d436b95a0c21e8e5e26ffdf6c37af63915'
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Sun, 24 Jun 2007 02:55:54 +0000 |
parents | 6ccd66add326 |
children | 6de2e9ba0930 |
files | finch/gntprefs.c |
diffstat | 1 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntprefs.c Fri Jun 15 20:43:27 2007 +0000 +++ b/finch/gntprefs.c Sun Jun 24 02:55:54 2007 +0000 @@ -166,25 +166,6 @@ return field; } -static GList * -get_sound_methods() -{ - GList *list = NULL; - list = g_list_append(list,(char *)_("Console Beep")); - list = g_list_append(list,"beep"); - list = g_list_append(list,(char *)_("Automatic")); - list = g_list_append(list,"automatic"); - list = g_list_append(list,(char *)_("ESD")); - list = g_list_append(list,"esd"); - list = g_list_append(list,(char *)_("ALSA")); - list = g_list_append(list,"alsa"); - list = g_list_append(list,(char *)_("Command")); - list = g_list_append(list,"custome"); - list = g_list_append(list,(char *)_("No Sound")); - list = g_list_append(list,"none"); - return list; -} - static Prefs blist[] = { {PURPLE_PREF_BOOLEAN, "/finch/blist/idletime", N_("Show Idle Time"), NULL}, @@ -218,14 +199,6 @@ {PURPLE_PREF_NONE, NULL, NULL, NULL}, }; -static Prefs sound[] = -{ - {PURPLE_PREF_STRING, FINCH_PREFS_ROOT "/sound/method", "Method", get_sound_methods}, - {PURPLE_PREF_BOOLEAN, FINCH_PREFS_ROOT "/sound/mute", "Mute the Sound", NULL}, - {PURPLE_PREF_NONE, NULL, NULL, NULL}, -}; - - static void free_strings() { @@ -268,7 +241,6 @@ add_pref_group(fields, _("Conversations"), convs); add_pref_group(fields, _("Logging"), logging); add_pref_group(fields, _("Idle"), idle); - add_pref_group(fields, _("Sound"),sound); purple_request_fields(NULL, _("Preferences"), NULL, NULL, fields, _("Save"), G_CALLBACK(save_cb), _("Cancel"), free_strings,