diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 04:55:52 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 04:55:52 +0000 |
commit | 4c2aee3cf95ec99d367b9e003cf7ee0da42f1ccb (patch) | |
tree | cd54167ae32f112fb9d9a34ae173cc65ac3ec88d /src/inc.c | |
parent | 308d6594df4088ed00e41a7c533377521da8928a (diff) |
disable --compose, --receive, --send remote commands when a modal dialog exists.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1584 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r-- | src/inc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -204,6 +204,7 @@ void inc_mail(MainWindow *mainwin) gint new_msgs = 0; if (inc_lock_count) return; + if (inc_is_active()) return; if (!main_window_toggle_online_if_offline(mainwin)) return; @@ -378,6 +379,7 @@ gint inc_account_mail(MainWindow *mainwin, PrefsAccount *account) gint new_msgs; if (inc_lock_count) return 0; + if (inc_is_active()) return 0; if (!main_window_toggle_online_if_offline(mainwin)) return 0; @@ -402,6 +404,7 @@ void inc_all_account_mail(MainWindow *mainwin, gboolean autocheck) gint new_msgs = 0; if (inc_lock_count) return; + if (inc_is_active()) return; if (!main_window_toggle_online_if_offline(mainwin)) return; |