comparison src/prefs.c @ 3429:1b18d4693d32

[gaim-migrate @ 3455] +???????sound selection dialog remembers what directory it was last in erradically committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 20:13:07 +0000
parents 8fa61405af2b
children d40f96a0169b
comparison
equal deleted inserted replaced
3428:0202b5e1af69 3429:1b18d4693d32
933 /* Close the window! It's getting cold in here! */ 933 /* Close the window! It's getting cold in here! */
934 close_sounddialog(NULL, sounddialog); 934 close_sounddialog(NULL, sounddialog);
935 935
936 if (last_sound_dir) 936 if (last_sound_dir)
937 g_free(last_sound_dir); 937 g_free(last_sound_dir);
938 last_sound_dir = g_dirname(sound_file[snd]); 938 last_sound_dir = g_dirname(sound_file_new[snd]);
939 } 939 }
940 940
941 static void sel_sound(GtkWidget *button, gpointer being_NULL_is_fun) 941 static void sel_sound(GtkWidget *button, gpointer being_NULL_is_fun)
942 { 942 {
943 char *buf = g_malloc(BUF_LEN); 943 char *buf = g_malloc(BUF_LEN);