aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_filter_edit.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-18 07:52:40 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-18 07:52:40 +0000
commit1c5e07140eac1ee51cb0b6bd0949ed3cb6b2e04b (patch)
treee4273659547e4c311115da99768b5cfcfb469f44 /src/prefs_filter_edit.c
parent4211f707092f099744ff2f37207c611e0305b99d (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_filter_edit.c')
-rw-r--r--src/prefs_filter_edit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c
index ce00fde3..64da3a99 100644
--- a/src/prefs_filter_edit.c
+++ b/src/prefs_filter_edit.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2008 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
@@ -49,6 +49,7 @@
#include "stock_pixmap.h"
#include "alertpanel.h"
#include "folder.h"
+#include "plugin.h"
static struct FilterRuleEditWindow {
GtkWidget *window;
@@ -171,6 +172,9 @@ FilterRule *prefs_filter_edit_open(FilterRule *rule, const gchar *header,
GTK_EVENTS_FLUSH();
gtk_widget_show(rule_edit_window.window);
+ syl_plugin_signal_emit("prefs-filter-edit-open", rule, header, key,
+ rule_edit_window.window);
+
rule_edit_window.new_rule = NULL;
rule_edit_window.edit_finished = FALSE;
while (rule_edit_window.edit_finished == FALSE)