Merge lp:~junrrein/pantheon-files/fix-1082026 into lp:~elementary-apps/pantheon-files/trunk

Proposed by Julián Unrrein
Status: Merged
Merged at revision: 1093
Proposed branch: lp:~junrrein/pantheon-files/fix-1082026
Merge into: lp:~elementary-apps/pantheon-files/trunk
Diff against target: 16 lines (+6/-0)
1 file modified
src/marlin-places-sidebar.c (+6/-0)
To merge this branch: bzr merge lp:~junrrein/pantheon-files/fix-1082026
Reviewer Review Type Date Requested Status
Cody Garver (community) Approve
Review via email: mp+146750@code.launchpad.net

Description of the change

Middle click an item in the sidebar to open it in a new tab. Fixes bug #1082026.

To post a comment you must log in.
Revision history for this message
Cody Garver (codygarver) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/marlin-places-sidebar.c'
2--- src/marlin-places-sidebar.c 2013-01-27 17:42:10 +0000
3+++ src/marlin-places-sidebar.c 2013-02-05 23:44:23 +0000
4@@ -2572,6 +2572,12 @@
5 if (!category_at_path (path))
6 bookmarks_popup_menu (sidebar, event);
7 break;
8+
9+ case GDK_BUTTON_MIDDLE:
10+ if (path!= NULL && !category_at_path (path))
11+ open_selected_bookmark (sidebar, model, path, MARLIN_WINDOW_OPEN_FLAG_NEW_TAB);
12+
13+ break;
14 }
15
16 if (path != NULL)

Subscribers

People subscribed via source and target branches

to all changes: