Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit
diff options
context:
space:
mode:
authorNat <Nat@localhost.localdomain>2007-03-12 21:21:43 (GMT)
committer Nat <Nat@localhost.localdomain>2007-03-12 21:21:43 (GMT)
commit996a349b529b8ad332ce99382b3faf1386ca2032 (patch)
treef8e0f75e57f71a238358cc68f4c1479981b2802c /Edit
parent1113f9a942dd3e16b52e481870b263bf6f7c5569 (diff)
Cleanup
Diffstat (limited to 'Edit')
-rw-r--r--Edit/MainWindow.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py
index c083dff..7274d3c 100644
--- a/Edit/MainWindow.py
+++ b/Edit/MainWindow.py
@@ -1260,12 +1260,9 @@ class MainWindow( SubActivity ):
self.pageAdd()
# duplicate ctrl-c
if event.state == gtk.gdk.CONTROL_MASK and key == 54:
- if self.context == CONTEXT.PAGE:
- self.pageDuplicate()
- elif self.context == CONTEXT.TRACK:
- self.trackDuplicate()
- elif self.context == CONTEXT.NOTE:
- self.noteDuplicate()
+ if self.context == CONTEXT.PAGE: self.pageDuplicate()
+ if self.context == CONTEXT.TRACK: self.trackDuplicate()
+ if self.context == CONTEXT.NOTE: self.noteDuplicate()
#Arrows
if event.state == gtk.gdk.SHIFT_MASK:
# up/down arrows volume