[pitivi: 9/18] ui/timeline.py: add +/- accelerators for zooming to menu action
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi: 9/18] ui/timeline.py: add +/- accelerators for zooming to menu action
- Date: Wed, 9 Dec 2009 11:04:08 +0000 (UTC)
commit d6a4cfa6453030482f320c11ee81ad19b76fd853
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Tue Dec 8 13:48:38 2009 -0800
ui/timeline.py: add +/- accelerators for zooming to menu action
pitivi/ui/timeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 56b24ba..57701b2 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -258,9 +258,9 @@ class Timeline(gtk.Table, Loggable, Zoomable):
# toolbar actions
actions = (
- ("ZoomIn", gtk.STOCK_ZOOM_IN, None, None, ZOOM_IN,
+ ("ZoomIn", gtk.STOCK_ZOOM_IN, None, "<Control>equal", ZOOM_IN,
self._zoomInCb),
- ("ZoomOut", gtk.STOCK_ZOOM_OUT, None, None, ZOOM_OUT,
+ ("ZoomOut", gtk.STOCK_ZOOM_OUT, None, "<Control>minus", ZOOM_OUT,
self._zoomOutCb),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]