fix pressing enter to open more than one file in the open file dialog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@346 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
40690fc5d6
commit
6c17ed1d83
@ -1,3 +1,9 @@
|
||||
2006-05-20 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||
|
||||
* src/dialogs.c: fix pressing enter to open more than one file in
|
||||
the open file dialog
|
||||
|
||||
|
||||
2006-05-19 Enrico Troeger <enrico.troeger@uvena.de>
|
||||
|
||||
* src/sci_cb.c: fix a small bug in sci_cb_show_calltip() to prevent an
|
||||
|
@ -76,10 +76,12 @@ void dialogs_show_open_file ()
|
||||
gtk_widget_show(viewbtn);
|
||||
gtk_dialog_add_action_widget(GTK_DIALOG(app->open_filesel),
|
||||
viewbtn, GTK_RESPONSE_APPLY);
|
||||
|
||||
gtk_dialog_add_buttons(GTK_DIALOG(app->open_filesel),
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
|
||||
// set default Open, so pressing enter can open multiple files
|
||||
gtk_dialog_set_default_response(GTK_DIALOG(app->open_filesel),
|
||||
GTK_RESPONSE_ACCEPT);
|
||||
|
||||
gtk_widget_set_size_request(app->open_filesel, 520, 460);
|
||||
gtk_window_set_modal(GTK_WINDOW(app->open_filesel), TRUE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user