From 1c5e07140eac1ee51cb0b6bd0949ed3cb6b2e04b Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 18 Jan 2012 07:52:40 +0000 Subject: added new plug-in signals for preferences dialogs (#30) git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3014 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_template.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/prefs_template.c') diff --git a/src/prefs_template.c b/src/prefs_template.c index 147ce29f..fb535744 100644 --- a/src/prefs_template.c +++ b/src/prefs_template.c @@ -1,7 +1,7 @@ /* * Sylpheed templates subsystem * Copyright (C) 2001 Alexander Barinov - * Copyright (C) 2001-2010 Hiroyuki Yamamoto + * Copyright (C) 2001-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 @@ -41,6 +41,7 @@ #include "mainwindow.h" #include "addr_compl.h" #include "quote_fmt.h" +#include "plugin.h" static struct Templates { GtkWidget *window; @@ -98,6 +99,8 @@ void prefs_template_open(void) prefs_template_window_setup(); gtk_widget_show(templates.window); + + syl_plugin_signal_emit("prefs-template-open", templates.window); } #define ADD_ENTRY(entry, str, row) \ -- cgit v1.2.3