diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-11-02 11:56:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-11-02 11:56:07 +0000 |
commit | bddb4823743f012b5905f553cbe4f3c6575361b4 (patch) | |
tree | 6d33787943262104fd4df86aa13e1c16b1b7babd /libsylph | |
parent | 68379640644a6ba3870e2e230687d6a19946e008 (diff) |
merged plug-in update check and automatic update patch.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2707 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/defs.h | 3 | ||||
-rw-r--r-- | libsylph/sylmain.c | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libsylph/defs.h b/libsylph/defs.h index c3790a18..8786fb27 100644 --- a/libsylph/defs.h +++ b/libsylph/defs.h @@ -72,7 +72,10 @@ #define MANUAL_HTML_INDEX "sylpheed.html" #define FAQ_HTML_INDEX "sylpheed-faq.html" #define HOMEPAGE_URI "http://sylpheed.sraoss.jp/" +#define DOWNLOAD_URI "http://sylpheed.sraoss.jp/download.php" #define VERSION_URI "http://sylpheed.sraoss.jp/version.txt" +#define PLUGIN_HOMEPAGE_URI "http://sylpheed.sraoss.jp/en/plugin.html" +#define PLUGIN_VERSION_URI "http://sylpheed.sraoss.jp/plugin_version.txt" #define FOLDER_LIST "folderlist.xml" #define CACHE_FILE ".sylpheed_cache" #define MARK_FILE ".sylpheed_mark" diff --git a/libsylph/sylmain.c b/libsylph/sylmain.c index bcd677b1..b753b3c4 100644 --- a/libsylph/sylmain.c +++ b/libsylph/sylmain.c @@ -57,6 +57,7 @@ G_DEFINE_TYPE(SylApp, syl_app, G_TYPE_OBJECT); enum { INIT_DONE, APP_EXIT, + APP_FORCE_EXIT, ADD_MSG, REMOVE_MSG, REMOVE_ALL_MSG, @@ -98,6 +99,15 @@ static void syl_app_class_init(SylAppClass *klass) syl_marshal_VOID__VOID, G_TYPE_NONE, 0); + app_signals[APP_FORCE_EXIT] = + g_signal_new("app-force-exit", + G_TYPE_FROM_CLASS(gobject_class), + G_SIGNAL_RUN_FIRST, + 0, + NULL, NULL, + syl_marshal_VOID__VOID, + G_TYPE_NONE, + 0); app_signals[ADD_MSG] = g_signal_new("add-msg", G_TYPE_FROM_CLASS(gobject_class), |