aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2016-06-17 06:58:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2016-06-17 06:58:09 +0000
commit5b4a9f7089f4cfd4b37d477b9aaa42517238f9a2 (patch)
treec600ffa7eaebe64e1ff90214f397e36e5acc99b5
parentcac45b6ea16d01ad28d13a6f88a7f2dfc3077892 (diff)
added emission of toolbar changed signals.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3513 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/compose.c2
-rw-r--r--src/mainwindow.c3
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ef76822..29ff1cf0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2016-06-17
+ * src/compose.c
+ src/mainwindow.c: emit toolbar changed signals.
+
+2016-06-17
+
* autogen.sh
config.rpath
ltmain.sh
diff --git a/src/compose.c b/src/compose.c
index 3378a0cd..95374a67 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -7249,6 +7249,8 @@ static void toolbar_customize(GtkWidget *widget, gpointer data)
prefs_toolbar_get_name_list_from_item_list(item_list);
g_list_free(item_list);
prefs_common_write_config();
+
+ syl_plugin_signal_emit("compose-toolbar-changed", compose);
}
}
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 2dc03c66..d94ff973 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -98,6 +98,7 @@
#include "manual.h"
#include "update_check.h"
#include "setup.h"
+#include "plugin.h"
#include "version.h"
#define AC_LABEL_WIDTH 240
@@ -3030,6 +3031,8 @@ static void toolbar_customize(GtkWidget *widget, gpointer data)
prefs_toolbar_get_name_list_from_item_list(item_list);
g_list_free(item_list);
prefs_common_write_config();
+
+ syl_plugin_signal_emit("main-window-toolbar-changed");
}
}