aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-01 10:47:26 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-01 10:47:26 +0000
commit4052292f3853f71560da7c18df9bb8292cfb27c9 (patch)
tree2ed7caac80a4bc17baa7e11f875d0f9310d17702 /src
parente2c282962d73d21414e6358aec97dc308199c3c8 (diff)
fixed focus problem in win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@703 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/prefs_account_dialog.c1
-rw-r--r--src/prefs_actions.c2
-rw-r--r--src/prefs_common_dialog.c2
-rw-r--r--src/prefs_filter.c1
-rw-r--r--src/prefs_folder_item.c2
-rw-r--r--src/prefs_summary_column.c1
-rw-r--r--src/prefs_template.c3
7 files changed, 12 insertions, 0 deletions
diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c
index 66929de7..9cbd274a 100644
--- a/src/prefs_account_dialog.c
+++ b/src/prefs_account_dialog.c
@@ -475,6 +475,7 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs)
gtk_widget_show(dialog.window);
gtk_main();
gtk_widget_hide(dialog.window);
+ main_window_popup(main_window_get());
inc_unlock();
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index 6f994c9d..af33d40e 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -655,6 +655,7 @@ static void prefs_actions_cancel(GtkWidget *w, gpointer data)
{
prefs_actions_read_config();
gtk_widget_hide(actions.window);
+ main_window_popup(main_window_get());
inc_unlock();
}
@@ -667,6 +668,7 @@ static void prefs_actions_ok(GtkWidget *widget, gpointer data)
ifactory = gtk_item_factory_from_widget(mainwin->menubar);
action_update_mainwin_menu(ifactory, mainwin);
gtk_widget_hide(actions.window);
+ main_window_popup(main_window_get());
inc_unlock();
}
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index eedae1d3..12ffccd0 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -3522,6 +3522,7 @@ static void prefs_common_ok(void)
if (quote_desc_win && GTK_WIDGET_VISIBLE(quote_desc_win))
gtk_widget_hide(quote_desc_win);
+ main_window_popup(main_window_get());
inc_unlock();
}
@@ -3541,5 +3542,6 @@ static void prefs_common_apply(void)
static void prefs_common_cancel(void)
{
gtk_widget_hide(dialog.window);
+ main_window_popup(main_window_get());
inc_unlock();
}
diff --git a/src/prefs_filter.c b/src/prefs_filter.c
index e8b8b3f3..0fcf7c92 100644
--- a/src/prefs_filter.c
+++ b/src/prefs_filter.c
@@ -826,5 +826,6 @@ static void prefs_filter_close(void)
filter_write_config();
gtk_widget_hide(rule_list_window.window);
gtk_list_store_clear(rule_list_window.store);
+ main_window_popup(main_window_get());
inc_unlock();
}
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
index e14767ba..fefe44bc 100644
--- a/src/prefs_folder_item.c
+++ b/src/prefs_folder_item.c
@@ -36,6 +36,7 @@
#include "account.h"
#include "manage_window.h"
#include "folderview.h"
+#include "mainwindow.h"
#include "inc.h"
#include "menu.h"
@@ -489,6 +490,7 @@ void prefs_folder_item_destroy(PrefsFolderItemDialog *dialog)
g_free(dialog->dialog);
g_free(dialog);
+ main_window_popup(main_window_get());
inc_unlock();
}
diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c
index 334db41f..46ae20c8 100644
--- a/src/prefs_summary_column.c
+++ b/src/prefs_summary_column.c
@@ -133,6 +133,7 @@ void prefs_summary_column_open(void)
gtk_main_iteration();
gtk_widget_hide(summary_col.window);
+ main_window_popup(main_window_get());
inc_unlock();
}
diff --git a/src/prefs_template.c b/src/prefs_template.c
index f473cf84..b86ad195 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -38,6 +38,7 @@
#include "prefs_common.h"
#include "prefs_common_dialog.h"
#include "compose.h"
+#include "mainwindow.h"
#include "addr_compl.h"
#include "quote_fmt.h"
@@ -369,6 +370,7 @@ static void prefs_template_ok_cb(void)
compose_reflect_prefs_all();
gtk_clist_clear(GTK_CLIST(templates.clist_tmpls));
gtk_widget_hide(templates.window);
+ main_window_popup(main_window_get());
inc_unlock();
}
@@ -376,6 +378,7 @@ static void prefs_template_cancel_cb(void)
{
prefs_template_clear();
gtk_widget_hide(templates.window);
+ main_window_popup(main_window_get());
inc_unlock();
}