aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_template.c
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/prefs_template.c
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/prefs_template.c')
-rw-r--r--src/prefs_template.c3
1 files changed, 3 insertions, 0 deletions
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();
}