Commit 3103106b authored by Raph Levien's avatar Raph Levien

A simple patch to make the file sel dialog not always select the first

file in the directory.
parent ebce1f79
......@@ -405,7 +405,7 @@ gtk_file_selection_init (GtkFileSelection *filesel)
gtk_widget_show (listbox);
filesel->file_list = gtk_list_new ();
gtk_list_set_selection_mode (GTK_LIST (filesel->file_list), GTK_SELECTION_BROWSE);
gtk_list_set_selection_mode (GTK_LIST (filesel->file_list), GTK_SELECTION_SINGLE);
gtk_signal_connect (GTK_OBJECT (filesel->file_list), "button_press_event",
(GtkSignalFunc) gtk_file_selection_file_button, filesel);
key = gtk_signal_connect (GTK_OBJECT (filesel->file_list),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment