diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 08:03:53 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 08:03:53 +0000 |
commit | 75fe2bf35e4a37e59845d6ba0cc2f70352f56e5c (patch) | |
tree | ab476b506d274c9fa51af50d7a33c6c5c37660b9 | |
parent | 4c2aee3cf95ec99d367b9e003cf7ee0da42f1ccb (diff) |
fixes unable to exit sylpheed in some case.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1585 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/main.c | 4 |
3 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2007-03-29 + * src/main.c: app_will_exit(): force process termination (fixes + unable to exit sylpheed in some case). + +2007-03-29 + * src/inc.c src/main.c: disable --compose, --receive, --send remote commands when a modal dialog exists. diff --git a/ChangeLog.ja b/ChangeLog.ja index 0a261e20..90daf3a6 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2007-03-29 + * src/main.c: app_will_exit(): 強制的にプロセスを終了するように + した(特定のケースで sylpheed が終了できなくなるのを修正)。 + +2007-03-29 + * src/inc.c src/main.c: モーダルダイアログが存在する場合は --compose, --receive, --send リモートコマンドを無効にした。 @@ -705,6 +705,8 @@ void app_will_exit(gboolean force) if (gtk_main_level() > 0) gtk_main_quit(); + + exit(0); } #if 0 @@ -1101,6 +1103,7 @@ static gboolean lock_socket_input_cb(GIOChannel *source, GIOCondition condition, g_free(status); if (folders) g_ptr_array_free(folders, TRUE); } else if (!strncmp(buf, "exit", 4)) { + fd_close(sock); app_will_exit(TRUE); } @@ -1153,7 +1156,6 @@ static void remote_command_exec(void) } if (cmd.exit) { app_will_exit(TRUE); - exit(0); } } |