diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-12-17 07:44:06 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-12-17 07:44:06 +0000 |
commit | 7ac11e0103ee0ad8722bde30522895a9e6c2e712 (patch) | |
tree | 02b7cf633c4d952c0bfc5c34a15cb0ab4ad3d92c | |
parent | 1aaf8ce241d8700c4645e3090cfeccd4b20eee28 (diff) |
fixed focus problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2400 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/inputdialog.c | 4 |
2 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,13 @@ 2009-12-17 + * version 3.0.0beta4 + +2009-12-17 + + * src/inputdialog.c: win32: fixed focus problem. + +2009-12-17 + * src/inputdialog.[ch] src/filesel.c src/mainwindow.c: added select button to 'Add mailbox' dialog. diff --git a/src/inputdialog.c b/src/inputdialog.c index b967b805..37bfd76d 100644 --- a/src/inputdialog.c +++ b/src/inputdialog.c @@ -364,6 +364,8 @@ static void sel_btn_clicked(GtkButton *button, gpointer data) gchar *file; gchar *utf8_file; + g_signal_handlers_block_by_func(dialog, focus_out, NULL); + if (chooser_action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER) file = filesel_select_dir(NULL); else @@ -374,6 +376,8 @@ static void sel_btn_clicked(GtkButton *button, gpointer data) gtk_entry_set_text(GTK_ENTRY(entry), utf8_file); g_free(utf8_file); } + + g_signal_handlers_unblock_by_func(dialog, focus_out, NULL); } static gint focus_out(GtkWidget *widget, GdkEventFocus *event, gpointer data) |