diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-01-18 07:52:40 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-01-18 07:52:40 +0000 |
commit | 1c5e07140eac1ee51cb0b6bd0949ed3cb6b2e04b (patch) | |
tree | e4273659547e4c311115da99768b5cfcfb469f44 /src/prefs_account_dialog.c | |
parent | 4211f707092f099744ff2f37207c611e0305b99d (diff) |
added new plug-in signals for preferences dialogs (#30)
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3014 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_account_dialog.c')
-rw-r--r-- | src/prefs_account_dialog.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c index c560afc9..faf77734 100644 --- a/src/prefs_account_dialog.c +++ b/src/prefs_account_dialog.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,6 +52,7 @@ #include "alertpanel.h" #include "smtp.h" #include "imap.h" +#include "plugin.h" static gboolean cancelled; static gboolean new_account; @@ -550,7 +551,10 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs) } gtk_widget_show(dialog.window); + syl_plugin_signal_emit("prefs-account-open", new_account ? NULL : ac_prefs, dialog.window); + gtk_main(); + gtk_widget_hide(dialog.window); inc_unlock(); |