[hamster-applet] pass in current window to edit fact dialog so that it would not shut down after finishing the edit
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] pass in current window to edit fact dialog so that it would not shut down after finishing the edit
- Date: Sun, 25 Jul 2010 17:20:32 +0000 (UTC)
commit 739228883e6c458e74adaacd58cdb2b4ef17bf1b
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Jul 25 18:17:43 2010 +0100
pass in current window to edit fact dialog so that it would not shut down after finishing the edit
src/hamster/overview.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hamster/overview.py b/src/hamster/overview.py
index b9f2039..b64bbe5 100644
--- a/src/hamster/overview.py
+++ b/src/hamster/overview.py
@@ -359,7 +359,7 @@ class Overview(object):
else:
selected_date = fact["date"]
- dialogs.edit.show(fact_date = selected_date)
+ dialogs.edit.show(self, fact_date = selected_date)
def on_remove_activate(self, button):
self.overview.delete_selected()
@@ -369,7 +369,7 @@ class Overview(object):
fact = self.fact_tree.get_selected_fact()
if not fact or isinstance(fact, dt.date):
return
- dialogs.edit.show(fact_id = fact["id"])
+ dialogs.edit.show(self, fact_id = fact["id"])
def on_tabs_window_deleted(self, widget, event):
self.close_window()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]