Merge lp:~om26er/ubuntu/natty/nautilus/nautilus-fix-649993 into lp:~ubuntu-desktop/nautilus/ubuntu

Proposed by Omer Akram
Status: Merged
Merged at revision: 125
Proposed branch: lp:~om26er/ubuntu/natty/nautilus/nautilus-fix-649993
Merge into: lp:~ubuntu-desktop/nautilus/ubuntu
Diff against target: 70 lines (+46/-1)
3 files modified
debian/changelog (+5/-1)
debian/patches/97_keyboard_nav_in_sidebar.patch (+40/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~om26er/ubuntu/natty/nautilus/nautilus-fix-649993
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Approve
Review via email: mp+51497@code.launchpad.net

Description of the change

backported the fix for bug 649993. builds clean and the fix works fine.

To post a comment you must log in.
125. By Omer Akram

forgot to add the patch :/

Revision history for this message
Omer Akram (om26er) wrote :

the patch was left behind, now pushed the patch too.

Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks for your work. As commented in the bug, I have sent this patch to Debian, and upstream. Hopefully the Debian maintainer will release an updated package revision with the patch in short order, so we can sync the package to Ubuntu.

Thanks again for your work.

review: Abstain
Revision history for this message
Luke Yelavich (themuso) wrote :

Whoops, sorry, that last comment was meant for another merge proposal. I got my browser tabs mixed up.

Almost ready to approve this, once I've test built.

review: Needs Resubmitting
Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks for your work, uploaded to natty.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-02-24 21:31:22 +0000
3+++ debian/changelog 2011-02-28 07:55:42 +0000
4@@ -8,7 +8,11 @@
5 * debian/patches/96_no-null-in-g-str-hash.patch:
6 - Updated with the correct upstream patch (LP: #718098)
7
8- -- Sebastien Bacher <seb128@ubuntu.com> Thu, 24 Feb 2011 15:48:26 +0100
9+ [ Omer Akram ]
10+ * debian/patches/97_keyboard_nav_in_sidebar.patch
11+ - Allow keyboard navigation in sidebar with Enter/Space. (LP: #649993)
12+
13+ -- Omer Akram <om26er@ubuntu.com> Mon, 28 Feb 2011 12:38:32 +0500
14
15 nautilus (1:2.32.2.1-0ubuntu7) natty; urgency=low
16
17
18=== added file 'debian/patches/97_keyboard_nav_in_sidebar.patch'
19--- debian/patches/97_keyboard_nav_in_sidebar.patch 1970-01-01 00:00:00 +0000
20+++ debian/patches/97_keyboard_nav_in_sidebar.patch 2011-02-28 07:55:42 +0000
21@@ -0,0 +1,40 @@
22+From: Omer Akram <om26er@ubuntu.com>
23+Author: Stefano Teso <stefano.teso@gmail.com>
24+Subject: Places-sidebar: allow keyboard navigation with Enter/Space.
25+Origin: http://git.gnome.org/browse/nautilus/commit/?id=fd03c910a73ba18459e68baaf15e8dd295acd5c1
26+Bug: https://bugs.gnome.org/637768
27+Bug-Ubuntu: https://launchpad.net/bugs/649993
28+
29+--- a//src/nautilus-places-sidebar.c 2010-12-28 20:54:38.000000000 +0500
30++++ b//src/nautilus-places-sidebar.c 2011-02-28 12:15:11.096777018 +0500
31+@@ -2198,6 +2198,30 @@
32+
33+ modifiers = gtk_accelerator_get_default_mod_mask ();
34+
35++ if ((event->keyval == GDK_KEY_Return ||
36++ event->keyval == GDK_KEY_KP_Enter ||
37++ event->keyval == GDK_KEY_ISO_Enter ||
38++ event->keyval == GDK_KEY_space)) {
39++
40++ GtkTreeModel *model;
41++ GtkTreePath *path;
42++ NautilusWindowOpenFlags flags = 0;
43++
44++ if ((event->state & modifiers) == GDK_SHIFT_MASK) {
45++ flags = NAUTILUS_WINDOW_OPEN_FLAG_NEW_TAB;
46++ } else if ((event->state & modifiers) == GDK_CONTROL_MASK) {
47++ flags = NAUTILUS_WINDOW_OPEN_FLAG_NEW_WINDOW;
48++ }
49++
50++ model = gtk_tree_view_get_model (sidebar->tree_view);
51++ gtk_tree_view_get_cursor (sidebar->tree_view, &path, NULL);
52++
53++ open_selected_bookmark (sidebar, model, path, flags);
54++
55++ gtk_tree_path_free (path);
56++ return TRUE;
57++ }
58++
59+ if (event->keyval == GDK_Down &&
60+ (event->state & modifiers) == GDK_MOD1_MASK) {
61+ return eject_or_unmount_selection (sidebar);
62
63=== modified file 'debian/patches/series'
64--- debian/patches/series 2011-02-22 13:32:11 +0000
65+++ debian/patches/series 2011-02-28 07:55:42 +0000
66@@ -15,3 +15,4 @@
67 #91_correct_rgba_use.patch
68 95_no-initial-fade.patch
69 96_no-null-in-g-str-hash.patch
70+97_keyboard_nav_in_sidebar.patch

Subscribers

People subscribed via source and target branches

to all changes: