Merge lp:~ter0/scratch/fix-1097690 into lp:~elementary-apps/scratch/scratch

Proposed by Chris Johns
Status: Merged
Merged at revision: 982
Proposed branch: lp:~ter0/scratch/fix-1097690
Merge into: lp:~elementary-apps/scratch/scratch
Diff against target: 21 lines (+5/-5)
1 file modified
src/Widgets/Notebook.vala (+5/-5)
To merge this branch: bzr merge lp:~ter0/scratch/fix-1097690
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+145827@code.launchpad.net

Description of the change

Actually re ordered the actions, not just the buttons...

To post a comment you must log in.
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

next time, plese, do everything in just one branch.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/Notebook.vala'
2--- src/Widgets/Notebook.vala 2013-01-09 18:46:39 +0000
3+++ src/Widgets/Notebook.vala 2013-01-31 12:23:24 +0000
4@@ -200,14 +200,14 @@
5 private void on_activated(int index) {
6
7 switch (index) {
8- case 0: //open
9+ case 0: //new
10+ window.main_actions.get_action ("New tab").activate ();
11+ break;
12+
13+ case 1: // open
14 window.main_actions.get_action ("Open").activate ();
15 break;
16
17- case 1: // new
18- window.main_actions.get_action ("New tab").activate ();
19- break;
20-
21 }
22
23

Subscribers

People subscribed via source and target branches