aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/account_dialog.c2
-rw-r--r--src/prefs_filter.c4
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);