GTG

Merge lp:~jml/gtg/keyboard-bindings into lp:~gtg/gtg/old-trunk

Proposed by Jonathan Lange
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jml/gtg/keyboard-bindings
Merge into: lp:~gtg/gtg/old-trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~jml/gtg/keyboard-bindings
Reviewer Review Type Date Requested Status
Bertrand Rousseau (community) Approve
Review via email: mp+8628@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jonathan Lange (jml) wrote :

This patch simply binds "Ctrl-L" to move the focus to the Quick Add entry field.

Nothing much to see here.

Revision history for this message
Bertrand Rousseau (bertrand-rousseau) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'GTG/taskbrowser/browser.py'
--- GTG/taskbrowser/browser.py 2009-06-24 08:11:24 +0000
+++ GTG/taskbrowser/browser.py 2009-07-12 06:37:56 +0000
@@ -293,7 +293,12 @@
293 edit_button = self.wTree.get_widget("edit_b")293 edit_button = self.wTree.get_widget("edit_b")
294 key, mod = gtk.accelerator_parse("<Control>e")294 key, mod = gtk.accelerator_parse("<Control>e")
295 edit_button.add_accelerator("clicked", agr, key, mod, gtk.ACCEL_VISIBLE)295 edit_button.add_accelerator("clicked", agr, key, mod, gtk.ACCEL_VISIBLE)
296 296
297 quickadd_field = self.wTree.get_widget('quickadd_field')
298 key, mod = gtk.accelerator_parse('<Control>l')
299 quickadd_field.add_accelerator(
300 'grab-focus', agr, key, mod, gtk.ACCEL_VISIBLE)
301
297 def __restore_state_from_conf(self):302 def __restore_state_from_conf(self):
298 303
299 # Extract state from configuration dictionary304 # Extract state from configuration dictionary

Subscribers

People subscribed via source and target branches

to status/vote changes: