[kupfer] thunderbird: Fix botched previous spawn_async change
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] thunderbird: Fix botched previous spawn_async change
- Date: Fri, 1 Apr 2011 12:30:33 +0000 (UTC)
commit 7f3bd4cea05dc449f40dd61a07738c8cb7ede235
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Fri Apr 1 14:30:08 2011 +0200
thunderbird: Fix botched previous spawn_async change
When removing launch_commandline all over the plugins, it looks like I
was missing caffeine when updating thunderbird.
Launchpad-bug: https://bugs.launchpad.net/kupfer/+bug/747198
kupfer/plugin/thunderbird.py | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/kupfer/plugin/thunderbird.py b/kupfer/plugin/thunderbird.py
index d35e9b2..d50a7f1 100644
--- a/kupfer/plugin/thunderbird.py
+++ b/kupfer/plugin/thunderbird.py
@@ -29,10 +29,8 @@ class ComposeMail(RunnableLeaf):
RunnableLeaf.__init__(self, name=_("Compose New Email"))
def run(self):
- if (not utils.spawn_async_notify_as(
- 'thunderbird.desktop', ['thunderbird', '--compose'])):
- utils.spawn_async_notify_as(
- 'icedove.desktop', ['icedove', '--compose'])
+ if not utils.spawn_async(['thunderbird', '--compose']):
+ utils.spawn_async(['icedove', '--compose'])
def get_description(self):
return _("Compose a new message in Thunderbird")
@@ -51,10 +49,6 @@ class NewMailAction(Action):
if not utils.spawn_async(['thunderbird', 'mailto:%s' % email]):
utils.spawn_async(['icedove', 'mailto:%s' % email])
- if (not utils.spawn_async_notify_as(
- 'thunderbird.desktop', ['thunderbird', 'mailto:%s' % email])):
- utils.spawn_async_notify_as(
- 'icedove.desktop', ['icedove', 'mailto:%s' % email])
def get_icon_name(self):
return "mail-message-new"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]