[hamster-applet] keyboard shortcut points should point to same launch edit action (so that the fact gets passed in an



commit 0ee0130c45713fa103894ab8f83d94b4b56501c1
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu Aug 19 12:53:58 2010 +0100

    keyboard shortcut points should point to same launch edit action (so that the fact gets passed in and such)

 src/hamster/overview_activities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/overview_activities.py b/src/hamster/overview_activities.py
index da49bb4..2ba99dd 100644
--- a/src/hamster/overview_activities.py
+++ b/src/hamster/overview_activities.py
@@ -140,7 +140,7 @@ class OverviewBox(gtk.VBox):
             self.delete_selected()
             return True
         elif (event.keyval == gtk.keysyms.Insert):
-            dialogs.edit.show()
+            self.launch_edit(self.fact_tree.get_selected_fact())
             return True
         elif event.keyval == gtk.keysyms.c and event.state & gtk.gdk.CONTROL_MASK:
             self.copy_selected()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]