[hamster-applet] instead of toggling, just show the window
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] instead of toggling, just show the window
- Date: Fri, 10 Feb 2012 21:11:12 +0000 (UTC)
commit dc8b47be149747d83a5516f8a7435ff43008d549
Author: Toms BauÄis <toms baugis gmail com>
Date: Fri Feb 10 23:11:04 2012 +0200
instead of toggling, just show the window
src/hamster-time-tracker | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/hamster-time-tracker b/src/hamster-time-tracker
index d382ef8..b92cec0 100755
--- a/src/hamster-time-tracker
+++ b/src/hamster-time-tracker
@@ -59,11 +59,7 @@ class ProjectHamsterStatusIcon(gtk.StatusIcon):
self.connect('popup-menu', self.on_popup_menu)
def on_activate(self, data):
- if self.project.window is None:
- self.project.create_hamster_window()
- self.project.load_day()
- self.project.reposition_hamster_window()
- self.project.show_hamster_window()
+ self.project.show_hamster_window()
def on_popup_menu(self, status, button, time):
self.menu.popup(None, None, None, button, time)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]