diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-09 08:55:03 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-09 08:55:03 +0000 |
commit | f77547af4fded2ba2dc6189978c14b5cc5a012de (patch) | |
tree | 8ac5cb0ee9ab4691fc3de6bd111f06005e98cb0a /src | |
parent | 6d37549cb31c4b58481ab4b6385232e21d3f481c (diff) |
win32: fixed window focus problem on account dialog and filter dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@730 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/account_dialog.c | 2 | ||||
-rw-r--r-- | src/prefs_filter.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/account_dialog.c b/src/account_dialog.c index 04d9cf8c..910e35c1 100644 --- a/src/account_dialog.c +++ b/src/account_dialog.c @@ -159,6 +159,7 @@ void account_add(void) PrefsAccount *ac_prefs; ac_prefs = prefs_account_open(NULL); + gtk_window_present(GTK_WINDOW(edit_account.window)); if (!ac_prefs) return; @@ -206,6 +207,7 @@ void account_open(PrefsAccount *ac_prefs) return); prefs_account_open(ac_prefs); + gtk_window_present(GTK_WINDOW(edit_account.window)); if (!prev_default && ac_prefs->is_default) account_set_as_default(ac_prefs); diff --git a/src/prefs_filter.c b/src/prefs_filter.c index 0fcf7c92..6e737d21 100644 --- a/src/prefs_filter.c +++ b/src/prefs_filter.c @@ -151,6 +151,7 @@ void prefs_filter_open(MsgInfo *msginfo, const gchar *header) FilterRule *rule; rule = prefs_filter_edit_open(NULL, header); + gtk_window_present(GTK_WINDOW(rule_list_window.window)); if (rule) { prefs_filter_set_list_row(NULL, rule, TRUE); @@ -618,6 +619,7 @@ static void prefs_filter_add_cb(void) FilterRule *rule; rule = prefs_filter_edit_open(NULL, NULL); + gtk_window_present(GTK_WINDOW(rule_list_window.window)); if (rule) { prefs_filter_set_list_row(NULL, rule, TRUE); @@ -639,6 +641,7 @@ static void prefs_filter_edit_cb(void) g_return_if_fail(rule != NULL); new_rule = prefs_filter_edit_open(rule, NULL); + gtk_window_present(GTK_WINDOW(rule_list_window.window)); if (new_rule) { prefs_filter_set_list_row(&iter, new_rule, TRUE); @@ -660,6 +663,7 @@ static void prefs_filter_copy_cb(void) g_return_if_fail(rule != NULL); new_rule = prefs_filter_edit_open(rule, NULL); + gtk_window_present(GTK_WINDOW(rule_list_window.window)); if (new_rule) { prefs_filter_set_list_row(NULL, new_rule, TRUE); |