Merge lp:~lains/pantheon-files/fix-1197628 into lp:~elementary-apps/pantheon-files/trunk

Proposed by Lains
Status: Rejected
Rejected by: Cody Garver
Proposed branch: lp:~lains/pantheon-files/fix-1197628
Merge into: lp:~elementary-apps/pantheon-files/trunk
Diff against target: 34 lines (+0/-6)
2 files modified
src/fm-directory-view-ui.xml (+0/-2)
src/fm-directory-view.c (+0/-4)
To merge this branch: bzr merge lp:~lains/pantheon-files/fix-1197628
Reviewer Review Type Date Requested Status
Julián Unrrein (community) Disapprove
David Gomes (community) Needs Fixing
Danielle Foré Pending
Review via email: mp+176565@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Gomes (davidgomes) wrote :

http://i.imgur.com/N6ftGuT.png

It doesn't properly fix the bug as visible in the image.

review: Needs Fixing
lp:~lains/pantheon-files/fix-1197628 updated
1276. By Lains

Removed the label correctly now.

1277. By Lains

 fixed the shortcut now.

Revision history for this message
Julien Spautz (julien-spautz) wrote :

Still doesn't work for me, try reverting your changes in "src/fm-directory-view-ui.xml", then it should work.

lp:~lains/pantheon-files/fix-1197628 updated
1278. By Lains

Restored Delete item in fm-directory-view-ui.xml

Revision history for this message
Cody Garver (codygarver) wrote :

Revision 1277 worked fine for me, 1278 leaves a blank menu space where it used to be.

Revision history for this message
Lains (lains) wrote :

Use revision 1277 then.

Revision history for this message
David Gomes (davidgomes) wrote :

1. No mixed tabs and spaces indentation.
2. No adding trailing whitespace.
3. Since we use a bot to merge branches, you will have to revert to the 'good' revision.

review: Needs Fixing
lp:~lains/pantheon-files/fix-1197628 updated
1279. By Lains

Reverted to commit 1277 and removed code cosmetic errors

Revision history for this message
Lains (lains) wrote :

A-OK for merging.

Revision history for this message
Lains (lains) wrote :

If I remove the delete option everywhere, it doesn't show, but at the cost of removing the key bind too.

lp:~lains/pantheon-files/fix-1197628 updated
1280. By Lains

Made the Delete option back to the fm-directory-view-ui.xml

1281. By Lains

Removed all stances of Delete Everywhere option, at the cost of removing the keybind.

Revision history for this message
David Gomes (davidgomes) wrote :

Daniel, up to you now I guess.

Revision history for this message
Julián Unrrein (junrrein) wrote :

This removes the keyboard shortcut, which is something we cannot accept.

Oddly enough, Paulo was very close to fixing this properly, but as it seems he closed his account, I uploaded a proper fix -> https://code.launchpad.net/~junrrein/pantheon-files/fix-1197628/+merge/178860

review: Disapprove

Unmerged revisions

1281. By Lains

Removed all stances of Delete Everywhere option, at the cost of removing the keybind.

1280. By Lains

Made the Delete option back to the fm-directory-view-ui.xml

1279. By Lains

Reverted to commit 1277 and removed code cosmetic errors

1278. By Lains

Restored Delete item in fm-directory-view-ui.xml

1277. By Lains

 fixed the shortcut now.

1276. By Lains

Removed the label correctly now.

1275. By Lains

Remove Delete Permanently from the menu but retain it's keybind

1274. By Lains

Making default icon size 64px.

1273. By Lains

Fixing some errors of the last commit.

1272. By Lains

Removed menu option Delete Permanently.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/fm-directory-view-ui.xml'
2--- src/fm-directory-view-ui.xml 2012-08-04 15:59:35 +0000
3+++ src/fm-directory-view-ui.xml 2013-07-26 17:36:24 +0000
4@@ -54,7 +54,6 @@
5 </placeholder>
6 <placeholder name="Dangerous File Actions">
7 <menuitem name="Trash" action="Trash"/>
8- <menuitem name="Delete" action="Delete"/>
9 <menuitem name="Restore From Trash" action="Restore From Trash"/>
10 </placeholder>
11 </menu>
12@@ -158,7 +157,6 @@
13 <separator name="Dangerous separator"/>
14 <placeholder name="Dangerous File Actions">
15 <menuitem name="Trash" action="Trash"/>
16- <menuitem name="Delete" action="Delete"/>
17 <menuitem name="Restore From Trash" action="Restore From Trash"/>
18 </placeholder>
19 <!--<separator name="Appearance separator"/>
20
21=== modified file 'src/fm-directory-view.c'
22--- src/fm-directory-view.c 2013-06-30 09:33:01 +0000
23+++ src/fm-directory-view.c 2013-07-26 17:36:24 +0000
24@@ -3531,10 +3531,6 @@
25 /* label, accelerator */ N_("Mo_ve to Trash"), NULL,
26 /* tooltip */ N_("Move each selected item to the Trash"),
27 G_CALLBACK (action_trash_callback) },
28- /* name, stock id */ { "Delete", NULL,
29- /* label, accelerator */ N_("_Delete Permanently"), "<shift>Delete",
30- /* tooltip */ N_("Delete each selected item, without moving to the Trash"),
31- G_CALLBACK (action_delete_callback) },
32 /* name, stock id */ { "Restore From Trash", NULL,
33 /* label, accelerator */ N_("_Restore"), NULL,
34 NULL,

Subscribers

People subscribed via source and target branches

to all changes: