~yasumoto7/five-a-day/icon_countdown

« back to all changes in this revision

Viewing changes to fiveadayapplet/controller.py

  • Committer: Joe Smith
  • Date: 2008-09-09 09:59:21 UTC
  • Revision ID: yasumoto7@gmail.com-20080909095921-4qzwmn6pbsha0cgj
A few small changes. Really close, starting to look at other applets for inspiration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
            self.view.show_notification("5-a-day", text)
92
92
        else:
93
93
            text = _("Bug #%s successfully submitted") %nr
94
 
            # Decrease the number shown in the applet icon to 0
95
 
            self.view.update_icon()
96
94
            tags = files.get_tags()
97
95
            if tags:
98
96
                text += "\n<b>Tags: %s</b>" %", ".join(tags)
99
97
            self.view.show_notification("5-a-day", text)
 
98
            # Decrease the number shown in the applet icon to 0
 
99
            self.view.update_icon()
100
100
        self.update_tooltip(save_tooltip)
101
101
 
102
102