diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/filesel.c | 6 |
3 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-12-20 + + * src/filesel.c: filesel_select_file_full(): fixed preselected + directory with GTK+ 2.8. + 2005-12-19 * src/subscribedialog.c: popup main window when the dialog is closed. diff --git a/ChangeLog.ja b/ChangeLog.ja index 40bb67f9..6afb15fd 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2005-12-20 + + * src/filesel.c: filesel_select_file_full(): GTK+ 2.8 で事前に選択 + されるディレクトリを修正。 + 2005-12-19 * src/subscribedialog.c: ダイアログを閉じたらメインウィンドウを前面に diff --git a/src/filesel.c b/src/filesel.c index c9087b8e..f20ab5b5 100644 --- a/src/filesel.c +++ b/src/filesel.c @@ -89,9 +89,6 @@ static GSList *filesel_select_file_full(const gchar *title, const gchar *file, dialog = filesel_create(title, action); - change_dir(prev_dir); - g_free(prev_dir); - manage_window_set_transient(GTK_WINDOW(dialog)); if (file) @@ -108,6 +105,9 @@ static GSList *filesel_select_file_full(const gchar *title, const gchar *file, gtk_widget_show(dialog); + change_dir(prev_dir); + g_free(prev_dir); + if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) { list = gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(dialog)); if (list) { |