Merge lp:~noskcaj/nautilus/new-document-on-all into lp:~ubuntu-desktop/nautilus/ubuntu

Proposed by Jackson Doak
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~noskcaj/nautilus/new-document-on-all
Merge into: lp:~ubuntu-desktop/nautilus/ubuntu
Diff against target: 37 lines (+9/-6)
2 files modified
debian/changelog (+7/-0)
debian/patches/16_unity_new_documents.patch (+2/-6)
To merge this branch: bzr merge lp:~noskcaj/nautilus/new-document-on-all
Reviewer Review Type Date Requested Status
Sebastien Bacher Needs Information
Review via email: mp+254475@code.launchpad.net

Description of the change

Enable the new document button on all DEs, see lp:1437502

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Shouldn't Ubuntu GNOME report a bug upstream if they think it makes sense on all environment including GNOME?

review: Needs Information
Revision history for this message
Jackson Doak (noskcaj) wrote :

It's a patch made by Ubuntu, that changed to not be only used on unity
On 3 Apr 2015 19:41, "Sebastien Bacher" <email address hidden> wrote:

> Review: Needs Information
>
> Shouldn't Ubuntu GNOME report a bug upstream if they think it makes sense
> on all environment including GNOME?
>
> --
>
> https://code.launchpad.net/~noskcaj/nautilus/new-document-on-all/+merge/254475
> You are the owner of lp:~noskcaj/nautilus/new-document-on-all.
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, but I though that Ubuntu GNOME wanted to follow upstream and reduce Ubuntu local changes? If that's the case and you still want that change you should perhaps try to talk to upstream about having the feature there?

Revision history for this message
Jackson Doak (noskcaj) wrote :

I'll have a look into that in the coming days.
On 3 Apr 2015 20:10, "Sebastien Bacher" <email address hidden> wrote:

> right, but I though that Ubuntu GNOME wanted to follow upstream and reduce
> Ubuntu local changes? If that's the case and you still want that change you
> should perhaps try to talk to upstream about having the feature there?
> --
>
> https://code.launchpad.net/~noskcaj/nautilus/new-document-on-all/+merge/254475
> You are the owner of lp:~noskcaj/nautilus/new-document-on-all.
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

no news, closing

Unmerged revisions

459. By Jackson Doak

debian/patches/16_unity_new_documents.patch: Enable the
new empty document button on all DEs. LP: #1437502

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2015-03-25 15:39:29 +0000
+++ debian/changelog 2015-03-28 02:07:54 +0000
@@ -1,3 +1,10 @@
1nautilus (1:3.14.2-0ubuntu7) vivid; urgency=medium
2
3 * debian/patches/16_unity_new_documents.patch: Enable the
4 new empty document button on all DEs. LP: #1437502
5
6 -- Jackson Doak <noskcaj@ubuntu.com> Sat, 28 Mar 2015 12:55:26 +1100
7
1nautilus (1:3.14.2-0ubuntu6) vivid; urgency=medium8nautilus (1:3.14.2-0ubuntu6) vivid; urgency=medium
29
3 * debian/nautilus.migrations, 10 * debian/nautilus.migrations,
411
=== modified file 'debian/patches/16_unity_new_documents.patch'
--- debian/patches/16_unity_new_documents.patch 2014-03-11 14:42:13 +0000
+++ debian/patches/16_unity_new_documents.patch 2015-03-28 02:07:54 +0000
@@ -110,16 +110,12 @@
110 g_signal_connect_object (action_group, "pre-activate",110 g_signal_connect_object (action_group, "pre-activate",
111 G_CALLBACK (pre_activate), G_OBJECT (view),111 G_CALLBACK (pre_activate), G_OBJECT (view),
112 G_CONNECT_SWAPPED);112 G_CONNECT_SWAPPED);
113@@ -8813,7 +8851,11 @@ real_update_menus (NautilusView *view)113@@ -8813,7 +8851,7 @@ real_update_menus (NautilusView *view)
114 action = gtk_action_group_get_action (view->details->dir_action_group,114 action = gtk_action_group_get_action (view->details->dir_action_group,
115 NAUTILUS_ACTION_NEW_DOCUMENTS);115 NAUTILUS_ACTION_NEW_DOCUMENTS);
116 gtk_action_set_sensitive (action, can_create_files);116 gtk_action_set_sensitive (action, can_create_files);
117- gtk_action_set_visible (action, !selection_contains_recent && view->details->templates_present);117- gtk_action_set_visible (action, !selection_contains_recent && view->details->templates_present);
118+ 118+ gtk_action_set_visible (action, TRUE);
119+ if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity") == 0)
120+ gtk_action_set_visible (action, TRUE);
121+ else
122+ gtk_action_set_visible (action, !selection_contains_recent && view->details->templates_present);
123 119
124 action = gtk_action_group_get_action (view->details->dir_action_group,120 action = gtk_action_group_get_action (view->details->dir_action_group,
125 NAUTILUS_ACTION_COPY_TO);121 NAUTILUS_ACTION_COPY_TO);

Subscribers

People subscribed via source and target branches

to all changes: