Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/library.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-03-02 04:17:35 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-02 14:45:13 (GMT)
commitb478acb502f53c000c000cfce45dcc1853fccd71 (patch)
tree17134c2ffa9a386de36a77ffb1f3c30a7b9c4d06 /library.py
parent7eeb3fd5bd894b12126a5022c0f303024427a626 (diff)
User alert to notify about existed wiki article
Diffstat (limited to 'library.py')
-rw-r--r--library.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/library.py b/library.py
index 360ae4b..211135d 100644
--- a/library.py
+++ b/library.py
@@ -212,8 +212,9 @@ class Toolbar(gtk.Toolbar):
return
if book.wiki.find('%s (from %s)' % (title, wiki))[0]:
- self.library.progress.set_label(_('"%s" article already exists') % title)
- Timer(10, self._clear_progress).start()
+ self.activity.notify_alert(
+ _('Exists'),
+ _('"%s" article already exists') % title)
else:
Timer(0, self._download, [title, wiki]).start()