From: <enl...@li...> - 2002-06-10 18:35:33
|
Enlightenment CVS committal Author : atmosphere Project : e17 Module : apps/ebony Dir : e17/apps/ebony/src Modified Files: callbacks.c Log Message: Remember the last directory loaded images from. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/ebony/src/callbacks.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- callbacks.c 10 Jun 2002 07:47:00 -0000 1.15 +++ callbacks.c 10 Jun 2002 18:35:30 -0000 1.16 @@ -314,9 +314,9 @@ GtkWidget *fs; char buf[1024]; - snprintf(buf, 1024, "%s/", getenv("HOME")); fs = gtk_file_selection_new("Add Image File..."); - gtk_file_selection_set_filename(GTK_FILE_SELECTION(fs), buf); + gtk_file_selection_set_filename(GTK_FILE_SELECTION(fs), + image_fileselection_dir); gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fs)->cancel_button), "clicked", GTK_SIGNAL_FUNC(browse_file_cancel_clicked), (gpointer) fs); |