Mercurial > pidgin
changeset 19167:42fc16a234ec
Deleting profile is now from the entry.
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Fri, 13 Jul 2007 18:19:55 +0000 |
parents | 7781dcecbd47 |
children | f63e38e33811 |
files | finch/gntsound.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntsound.c Fri Jul 13 18:07:56 2007 +0000 +++ b/finch/gntsound.c Fri Jul 13 18:19:55 2007 +0000 @@ -799,7 +799,7 @@ prof_del_cb(GntWidget *button, gpointer null) { - gchar * profile = gnt_tree_get_selection_data(GNT_TREE(pref_dialog->profiles)); + const char * profile = gnt_entry_get_text(GNT_ENTRY(pref_dialog->new_profile)); gchar * pref; if (!strcmp(profile, DEFAULT_PROFILE)) @@ -817,7 +817,7 @@ if(!strcmp(profile,finch_sound_get_active_profile())) reload_pref_window(DEFAULT_PROFILE); - gnt_tree_remove(GNT_TREE(pref_dialog->profiles), profile); + gnt_tree_remove(GNT_TREE(pref_dialog->profiles),(gchar *) profile); } static void