# HG changeset patch # User Eric Polino # Date 1184350795 0 # Node ID 42fc16a234ec3c66741e4d600d999332eca4bfbc # Parent 7781dcecbd47a10f4accc3252674e1f299abe05c Deleting profile is now from the entry. diff -r 7781dcecbd47 -r 42fc16a234ec finch/gntsound.c --- 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