Merge lp:~3v1n0/nautilus/reuse-already-opened-views into lp:~ubuntu-desktop/nautilus/ubuntu
- reuse-already-opened-views
- Merge into ubuntu
Status: | Superseded |
---|---|
Proposed branch: | lp:~3v1n0/nautilus/reuse-already-opened-views |
Merge into: | lp:~ubuntu-desktop/nautilus/ubuntu |
Diff against target: |
671 lines (+391/-66) 5 files modified
debian/changelog (+15/-0) debian/patches/10_reuse_already_opened_views.patch (+290/-0) debian/patches/12_unity_launcher_support.patch (+80/-61) debian/patches/17_static_unity_quicklist.patch (+5/-5) debian/patches/series (+1/-0) |
To merge this branch: | bzr merge lp:~3v1n0/nautilus/reuse-already-opened-views |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Desktop | Pending | ||
Review via email: mp+152980@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-03-12.
Commit message
* debian/
- Try to reuse the available windows or tabs when opening an already opened
location (lp: #692444)
* debian/
- Use the quicklist activation timestamp to set the application user time
so that the opened windows will be focused (lp: #1154237)
* debian/
- Use nautilus --new-window to open a New window
Description of the change
- Backported the upstream patches I wrote to fix bug https:/
- Updated the unity launcher support patch to use g_application_open to use the same codepath
- Updated the Exec and the static quicklist to use the --new-window flag
- 363. By Marco Trevisan (Treviño)
-
* debian/
patches/ 19_add_ desktop_ keywords. patch:
- Adding .desktop files keywords from upstream - 364. By Marco Trevisan (Treviño)
-
debian/changelog: added missing entry
- 365. By Marco Trevisan (Treviño)
-
debian/
patches/ 10_reuse_ already_ opened_ views.patch: added DEP-3 headers
Unmerged revisions
Preview Diff
1 | === modified file 'debian/changelog' | |||
2 | --- debian/changelog 2013-03-08 15:56:13 +0000 | |||
3 | +++ debian/changelog 2013-03-12 18:30:31 +0000 | |||
4 | @@ -1,3 +1,18 @@ | |||
5 | 1 | nautilus (1:3.6.3-0ubuntu9) UNRELEASED; urgency=low | ||
6 | 2 | |||
7 | 3 | * debian/patches/10_reuse_already_opened_views.patch | ||
8 | 4 | - Try to reuse the available windows or tabs when opening an already opened | ||
9 | 5 | location (lp: #692444) | ||
10 | 6 | * debian/patches/12_unity_launcher_support.patch: | ||
11 | 7 | - Quicklist entries to show the copy dialog should use a separator (lp: #1154109) | ||
12 | 8 | - Transfer dialog should be presented using the correct timestamp (lp: #1154111) | ||
13 | 9 | - Use the quicklist activation timestamp to set the application user time | ||
14 | 10 | so that the opened windows will be focused (lp: #1154237) | ||
15 | 11 | * debian/patches/17_static_unity_quicklist.patch: | ||
16 | 12 | - Use nautilus --new-window to open a New window | ||
17 | 13 | |||
18 | 14 | -- Marco Trevisan (Treviño) <marco@ubuntu.com> Tue, 12 Mar 2013 18:57:21 +0100 | ||
19 | 15 | |||
20 | 1 | nautilus (1:3.6.3-0ubuntu8) raring; urgency=low | 16 | nautilus (1:3.6.3-0ubuntu8) raring; urgency=low |
21 | 2 | 17 | ||
22 | 3 | * debian/control.in: | 18 | * debian/control.in: |
23 | 4 | 19 | ||
24 | === added file 'debian/patches/10_reuse_already_opened_views.patch' | |||
25 | --- debian/patches/10_reuse_already_opened_views.patch 1970-01-01 00:00:00 +0000 | |||
26 | +++ debian/patches/10_reuse_already_opened_views.patch 2013-03-12 18:30:31 +0000 | |||
27 | @@ -0,0 +1,290 @@ | |||
28 | 1 | Index: nautilus/data/nautilus.desktop.in.in | ||
29 | 2 | =================================================================== | ||
30 | 3 | --- nautilus.orig/data/nautilus.desktop.in.in 2013-03-12 16:26:12.000000000 +0100 | ||
31 | 4 | +++ nautilus/data/nautilus.desktop.in.in 2013-03-12 16:27:57.254745628 +0100 | ||
32 | 5 | @@ -1,7 +1,8 @@ | ||
33 | 6 | [Desktop Entry] | ||
34 | 7 | _Name=Files | ||
35 | 8 | _Comment=Access and organize files | ||
36 | 9 | -Exec=nautilus %U | ||
37 | 10 | +_Keywords=folder;manager;explore;disk;filesystem; | ||
38 | 11 | +Exec=nautilus --new-window %U | ||
39 | 12 | Icon=system-file-manager | ||
40 | 13 | Terminal=false | ||
41 | 14 | Type=Application | ||
42 | 15 | Index: nautilus/libnautilus-private/nautilus-file-utilities.c | ||
43 | 16 | =================================================================== | ||
44 | 17 | --- nautilus.orig/libnautilus-private/nautilus-file-utilities.c 2013-03-12 16:26:03.146976000 +0100 | ||
45 | 18 | +++ nautilus/libnautilus-private/nautilus-file-utilities.c 2013-03-12 16:39:11.822510184 +0100 | ||
46 | 19 | @@ -1296,6 +1296,48 @@ | ||
47 | 20 | return NULL; | ||
48 | 21 | } | ||
49 | 22 | |||
50 | 23 | +gboolean | ||
51 | 24 | +nautilus_file_selection_equal (GList *selection_a, | ||
52 | 25 | + GList *selection_b) | ||
53 | 26 | +{ | ||
54 | 27 | + GList *al, *bl; | ||
55 | 28 | + gboolean selection_matches; | ||
56 | 29 | + | ||
57 | 30 | + if (selection_a == NULL || selection_b == NULL) { | ||
58 | 31 | + return (selection_a == selection_b); | ||
59 | 32 | + } | ||
60 | 33 | + | ||
61 | 34 | + if (g_list_length (selection_a) != g_list_length (selection_b)) { | ||
62 | 35 | + return FALSE; | ||
63 | 36 | + } | ||
64 | 37 | + | ||
65 | 38 | + selection_matches = TRUE; | ||
66 | 39 | + | ||
67 | 40 | + for (al = selection_a; al; al = al->next) { | ||
68 | 41 | + GFile *a_location = nautilus_file_get_location (NAUTILUS_FILE (al->data)); | ||
69 | 42 | + gboolean found = FALSE; | ||
70 | 43 | + | ||
71 | 44 | + for (bl = selection_b; bl; bl = bl->next) { | ||
72 | 45 | + GFile *b_location = nautilus_file_get_location (NAUTILUS_FILE (bl->data)); | ||
73 | 46 | + found = g_file_equal (b_location, a_location); | ||
74 | 47 | + g_object_unref (b_location); | ||
75 | 48 | + | ||
76 | 49 | + if (found) { | ||
77 | 50 | + break; | ||
78 | 51 | + } | ||
79 | 52 | + } | ||
80 | 53 | + | ||
81 | 54 | + selection_matches = found; | ||
82 | 55 | + g_object_unref (a_location); | ||
83 | 56 | + | ||
84 | 57 | + if (!selection_matches) { | ||
85 | 58 | + break; | ||
86 | 59 | + } | ||
87 | 60 | + } | ||
88 | 61 | + | ||
89 | 62 | + return selection_matches; | ||
90 | 63 | +} | ||
91 | 64 | + | ||
92 | 65 | #if !defined (NAUTILUS_OMIT_SELF_CHECK) | ||
93 | 66 | |||
94 | 67 | void | ||
95 | 68 | Index: nautilus/libnautilus-private/nautilus-file-utilities.h | ||
96 | 69 | =================================================================== | ||
97 | 70 | --- nautilus.orig/libnautilus-private/nautilus-file-utilities.h 2013-03-12 16:26:03.146976000 +0100 | ||
98 | 71 | +++ nautilus/libnautilus-private/nautilus-file-utilities.h 2013-03-12 16:39:11.822510184 +0100 | ||
99 | 72 | @@ -95,4 +95,6 @@ | ||
100 | 73 | GCancellable *cancellable, | ||
101 | 74 | gpointer user_data); | ||
102 | 75 | |||
103 | 76 | +gboolean nautilus_file_selection_equal (GList *selection_a, GList *selection_b); | ||
104 | 77 | + | ||
105 | 78 | #endif /* NAUTILUS_FILE_UTILITIES_H */ | ||
106 | 79 | Index: nautilus/src/nautilus-application.c | ||
107 | 80 | =================================================================== | ||
108 | 81 | --- nautilus.orig/src/nautilus-application.c 2013-03-12 16:26:13.000000000 +0100 | ||
109 | 82 | +++ nautilus/src/nautilus-application.c 2013-03-12 16:28:01.818743973 +0100 | ||
110 | 83 | @@ -576,6 +576,47 @@ | ||
111 | 84 | } | ||
112 | 85 | } | ||
113 | 86 | |||
114 | 87 | +static NautilusWindowSlot * | ||
115 | 88 | +get_window_slot_for_location (NautilusApplication *application, GFile *location) | ||
116 | 89 | +{ | ||
117 | 90 | + NautilusWindowSlot *slot; | ||
118 | 91 | + GList *l, *sl; | ||
119 | 92 | + | ||
120 | 93 | + slot = NULL; | ||
121 | 94 | + | ||
122 | 95 | + if (g_file_query_file_type (location, G_FILE_QUERY_INFO_NONE, NULL) != G_FILE_TYPE_DIRECTORY) { | ||
123 | 96 | + location = g_file_get_parent (location); | ||
124 | 97 | + } else { | ||
125 | 98 | + g_object_ref (location); | ||
126 | 99 | + } | ||
127 | 100 | + | ||
128 | 101 | + for (l = gtk_application_get_windows (GTK_APPLICATION (application)); l; l = l->next) { | ||
129 | 102 | + NautilusWindow *win = NAUTILUS_WINDOW (l->data); | ||
130 | 103 | + | ||
131 | 104 | + if (NAUTILUS_IS_DESKTOP_WINDOW (win)) | ||
132 | 105 | + continue; | ||
133 | 106 | + | ||
134 | 107 | + for (sl = nautilus_window_get_slots (win); sl; sl = sl->next) { | ||
135 | 108 | + NautilusWindowSlot *current = NAUTILUS_WINDOW_SLOT (sl->data); | ||
136 | 109 | + GFile *slot_location = nautilus_window_slot_get_location (current); | ||
137 | 110 | + | ||
138 | 111 | + if (g_file_equal (slot_location, location)) { | ||
139 | 112 | + slot = current; | ||
140 | 113 | + break; | ||
141 | 114 | + } | ||
142 | 115 | + } | ||
143 | 116 | + | ||
144 | 117 | + if (slot) { | ||
145 | 118 | + break; | ||
146 | 119 | + } | ||
147 | 120 | + } | ||
148 | 121 | + | ||
149 | 122 | + g_object_unref (location); | ||
150 | 123 | + | ||
151 | 124 | + return slot; | ||
152 | 125 | +} | ||
153 | 126 | + | ||
154 | 127 | + | ||
155 | 128 | static void | ||
156 | 129 | open_window (NautilusApplication *application, | ||
157 | 130 | GFile *location, GdkScreen *screen, const char *geometry) | ||
158 | 131 | @@ -609,6 +650,7 @@ | ||
159 | 132 | |||
160 | 133 | static void | ||
161 | 134 | open_windows (NautilusApplication *application, | ||
162 | 135 | + gboolean force_new, | ||
163 | 136 | GFile **files, | ||
164 | 137 | gint n_files, | ||
165 | 138 | GdkScreen *screen, | ||
166 | 139 | @@ -621,8 +663,22 @@ | ||
167 | 140 | open_window (application, NULL, screen, geometry); | ||
168 | 141 | } else { | ||
169 | 142 | /* Open windows at each requested location. */ | ||
170 | 143 | - for (i = 0; i < n_files; i++) { | ||
171 | 144 | - open_window (application, files[i], screen, geometry); | ||
172 | 145 | + for (i = 0; i < n_files; ++i) { | ||
173 | 146 | + NautilusWindowSlot *slot = NULL; | ||
174 | 147 | + | ||
175 | 148 | + if (!force_new) | ||
176 | 149 | + slot = get_window_slot_for_location (application, files[i]); | ||
177 | 150 | + | ||
178 | 151 | + if (!slot) { | ||
179 | 152 | + open_window (application, files[i], screen, geometry); | ||
180 | 153 | + } else { | ||
181 | 154 | + /* We open the location again to update any possible selection */ | ||
182 | 155 | + nautilus_window_slot_open_location (slot, files[i], 0); | ||
183 | 156 | + | ||
184 | 157 | + NautilusWindow *window = nautilus_window_slot_get_window (slot); | ||
185 | 158 | + nautilus_window_set_active_slot (window, slot); | ||
186 | 159 | + gtk_window_present (GTK_WINDOW (window)); | ||
187 | 160 | + } | ||
188 | 161 | } | ||
189 | 162 | } | ||
190 | 163 | } | ||
191 | 164 | @@ -634,19 +690,28 @@ | ||
192 | 165 | const char *startup_id) | ||
193 | 166 | { | ||
194 | 167 | NautilusWindow *window; | ||
195 | 168 | + NautilusWindowSlot *slot; | ||
196 | 169 | GList *sel_list = NULL; | ||
197 | 170 | |||
198 | 171 | nautilus_profile_start (NULL); | ||
199 | 172 | |||
200 | 173 | - window = nautilus_application_create_window (application, gdk_screen_get_default ()); | ||
201 | 174 | - gtk_window_set_startup_id (GTK_WINDOW (window), startup_id); | ||
202 | 175 | + slot = get_window_slot_for_location (application, location); | ||
203 | 176 | + | ||
204 | 177 | + if (!slot) { | ||
205 | 178 | + window = nautilus_application_create_window (application, gdk_screen_get_default ()); | ||
206 | 179 | + slot = nautilus_window_get_active_slot (window); | ||
207 | 180 | + } else { | ||
208 | 181 | + window = nautilus_window_slot_get_window (slot); | ||
209 | 182 | + nautilus_window_set_active_slot (window, slot); | ||
210 | 183 | + gtk_window_present (GTK_WINDOW (window)); | ||
211 | 184 | + } | ||
212 | 185 | |||
213 | 186 | if (selection != NULL) { | ||
214 | 187 | sel_list = g_list_prepend (sel_list, nautilus_file_get (selection)); | ||
215 | 188 | } | ||
216 | 189 | |||
217 | 190 | - nautilus_window_slot_open_location_full (nautilus_window_get_active_slot (window), location, | ||
218 | 191 | - 0, sel_list, NULL, NULL); | ||
219 | 192 | + gtk_window_set_startup_id (GTK_WINDOW (window), startup_id); | ||
220 | 193 | + nautilus_window_slot_open_location_full (slot, location, 0, sel_list, NULL, NULL); | ||
221 | 194 | |||
222 | 195 | if (sel_list != NULL) { | ||
223 | 196 | nautilus_file_list_free (sel_list); | ||
224 | 197 | @@ -665,7 +730,9 @@ | ||
225 | 198 | |||
226 | 199 | DEBUG ("Open called on the GApplication instance; %d files", n_files); | ||
227 | 200 | |||
228 | 201 | - open_windows (self, files, n_files, | ||
229 | 202 | + gboolean force_new = (g_strcmp0 (hint, "new-window") == 0); | ||
230 | 203 | + | ||
231 | 204 | + open_windows (self, force_new, files, n_files, | ||
232 | 205 | gdk_screen_get_default (), | ||
233 | 206 | self->priv->geometry); | ||
234 | 207 | } | ||
235 | 208 | @@ -1059,6 +1126,7 @@ | ||
236 | 209 | gboolean version = FALSE; | ||
237 | 210 | gboolean browser = FALSE; | ||
238 | 211 | gboolean kill_shell = FALSE; | ||
239 | 212 | + gboolean open_new_window = FALSE; | ||
240 | 213 | gboolean no_default_window = FALSE; | ||
241 | 214 | gchar **remaining = NULL; | ||
242 | 215 | NautilusApplication *self = NAUTILUS_APPLICATION (application); | ||
243 | 216 | @@ -1075,6 +1143,8 @@ | ||
244 | 217 | N_("Show the version of the program."), NULL }, | ||
245 | 218 | { "geometry", 'g', 0, G_OPTION_ARG_STRING, &self->priv->geometry, | ||
246 | 219 | N_("Create the initial window with the given geometry."), N_("GEOMETRY") }, | ||
247 | 220 | + { "new-window", 'w', 0, G_OPTION_ARG_NONE, &open_new_window, | ||
248 | 221 | + N_("Always open a new window for browsing specified URIs"), NULL }, | ||
249 | 222 | { "no-default-window", 'n', 0, G_OPTION_ARG_NONE, &no_default_window, | ||
250 | 223 | N_("Only create windows for explicitly specified URIs."), NULL }, | ||
251 | 224 | { "no-desktop", '\0', 0, G_OPTION_ARG_NONE, &self->priv->no_desktop, | ||
252 | 225 | @@ -1089,7 +1159,6 @@ | ||
253 | 226 | GError *error = NULL; | ||
254 | 227 | gint argc = 0; | ||
255 | 228 | gchar **argv = NULL; | ||
256 | 229 | - | ||
257 | 230 | *exit_status = EXIT_SUCCESS; | ||
258 | 231 | |||
259 | 232 | nautilus_profile_start (NULL); | ||
260 | 233 | @@ -1127,8 +1196,8 @@ | ||
261 | 234 | goto out; | ||
262 | 235 | } | ||
263 | 236 | |||
264 | 237 | - DEBUG ("Parsing local command line, no_default_window %d, quit %d, " | ||
265 | 238 | - "self checks %d, no_desktop %d", | ||
266 | 239 | + DEBUG ("Parsing local command line, open_new_window %d, no_default_window %d, " | ||
267 | 240 | + "quit %d, self checks %d, no_desktop %d", open_new_window, | ||
268 | 241 | no_default_window, kill_shell, perform_self_check, self->priv->no_desktop); | ||
269 | 242 | |||
270 | 243 | g_application_register (application, NULL, &error); | ||
271 | 244 | @@ -1185,7 +1254,7 @@ | ||
272 | 245 | |||
273 | 246 | /* Invoke "Open" to create new windows */ | ||
274 | 247 | if (len > 0) { | ||
275 | 248 | - g_application_open (application, files, len, ""); | ||
276 | 249 | + g_application_open (application, files, len, open_new_window ? "new-window" : ""); | ||
277 | 250 | } | ||
278 | 251 | |||
279 | 252 | for (idx = 0; idx < len; idx++) { | ||
280 | 253 | Index: nautilus/src/nautilus-window-manage-views.c | ||
281 | 254 | =================================================================== | ||
282 | 255 | --- nautilus.orig/src/nautilus-window-manage-views.c 2013-03-12 13:22:34.506542000 +0100 | ||
283 | 256 | +++ nautilus/src/nautilus-window-manage-views.c 2013-03-12 16:38:09.442531224 +0100 | ||
284 | 257 | @@ -427,6 +427,7 @@ | ||
285 | 258 | NautilusWindowSlot *target_slot; | ||
286 | 259 | NautilusWindowOpenFlags slot_flags; | ||
287 | 260 | GFile *old_location; | ||
288 | 261 | + GList *old_selection; | ||
289 | 262 | char *old_uri, *new_uri; | ||
290 | 263 | int new_slot_position; | ||
291 | 264 | gboolean use_same; | ||
292 | 265 | @@ -525,9 +526,14 @@ | ||
293 | 266 | } | ||
294 | 267 | } | ||
295 | 268 | |||
296 | 269 | - if (target_window == window && target_slot == slot && | ||
297 | 270 | + old_selection = NULL; | ||
298 | 271 | + if (slot->content_view != NULL) { | ||
299 | 272 | + old_selection = nautilus_view_get_selection (slot->content_view); | ||
300 | 273 | + } | ||
301 | 274 | + | ||
302 | 275 | + if (target_window == window && target_slot == slot && !is_desktop && | ||
303 | 276 | old_location && g_file_equal (old_location, location) && | ||
304 | 277 | - !is_desktop) { | ||
305 | 278 | + nautilus_file_selection_equal (old_selection, new_selection)) { | ||
306 | 279 | |||
307 | 280 | if (callback != NULL) { | ||
308 | 281 | callback (window, location, NULL, user_data); | ||
309 | 282 | @@ -537,7 +543,7 @@ | ||
310 | 283 | } | ||
311 | 284 | |||
312 | 285 | slot->pending_use_default_location = ((flags & NAUTILUS_WINDOW_OPEN_FLAG_USE_DEFAULT_LOCATION) != 0); | ||
313 | 286 | - begin_location_change (target_slot, location, old_location, new_selection, | ||
314 | 287 | + begin_location_change (target_slot, location, old_location, new_selection, | ||
315 | 288 | NAUTILUS_LOCATION_CHANGE_STANDARD, 0, NULL, callback, user_data); | ||
316 | 289 | |||
317 | 290 | done: | ||
318 | 0 | 291 | ||
319 | === modified file 'debian/patches/12_unity_launcher_support.patch' | |||
320 | --- debian/patches/12_unity_launcher_support.patch 2012-10-31 07:02:17 +0000 | |||
321 | +++ debian/patches/12_unity_launcher_support.patch 2013-03-12 18:30:31 +0000 | |||
322 | @@ -1,8 +1,8 @@ | |||
323 | 1 | === modified file 'configure.in' | 1 | === modified file 'configure.in' |
325 | 2 | Index: nautilus-3.6.2/configure.in | 2 | Index: nautilus/configure.in |
326 | 3 | =================================================================== | 3 | =================================================================== |
329 | 4 | --- nautilus-3.6.2.orig/configure.in 2012-10-31 02:33:43.228876867 -0400 | 4 | --- nautilus.orig/configure.in 2013-03-12 17:57:43.417743091 +0100 |
330 | 5 | +++ nautilus-3.6.2/configure.in 2012-10-31 02:34:01.976876084 -0400 | 5 | +++ nautilus/configure.in 2013-03-12 17:57:43.413743092 +0100 |
331 | 6 | @@ -10,6 +10,8 @@ | 6 | @@ -10,6 +10,8 @@ |
332 | 7 | m4_define(exif_minver, 0.6.20) | 7 | m4_define(exif_minver, 0.6.20) |
333 | 8 | m4_define(exempi_minver, 2.1.0) | 8 | m4_define(exempi_minver, 2.1.0) |
334 | @@ -50,10 +50,10 @@ | |||
335 | 50 | nautilus-sendto ext: $enable_nst_extension | 50 | nautilus-sendto ext: $enable_nst_extension |
336 | 51 | Tracker support: $enable_tracker | 51 | Tracker support: $enable_tracker |
337 | 52 | 52 | ||
339 | 53 | Index: nautilus-3.6.2/libnautilus-private/nautilus-progress-info.c | 53 | Index: nautilus/libnautilus-private/nautilus-progress-info.c |
340 | 54 | =================================================================== | 54 | =================================================================== |
343 | 55 | --- nautilus-3.6.2.orig/libnautilus-private/nautilus-progress-info.c 2012-10-31 02:33:43.228876867 -0400 | 55 | --- nautilus.orig/libnautilus-private/nautilus-progress-info.c 2013-03-12 17:57:43.417743091 +0100 |
344 | 56 | +++ nautilus-3.6.2/libnautilus-private/nautilus-progress-info.c 2012-10-31 02:34:01.976876084 -0400 | 56 | +++ nautilus/libnautilus-private/nautilus-progress-info.c 2013-03-12 17:57:43.413743092 +0100 |
345 | 57 | @@ -52,6 +52,8 @@ | 57 | @@ -52,6 +52,8 @@ |
346 | 58 | char *status; | 58 | char *status; |
347 | 59 | char *details; | 59 | char *details; |
348 | @@ -115,10 +115,10 @@ | |||
349 | 115 | info->progress_at_idle = TRUE; | 115 | info->progress_at_idle = TRUE; |
350 | 116 | queue_idle (info, FALSE); | 116 | queue_idle (info, FALSE); |
351 | 117 | } | 117 | } |
353 | 118 | Index: nautilus-3.6.2/libnautilus-private/nautilus-progress-info.h | 118 | Index: nautilus/libnautilus-private/nautilus-progress-info.h |
354 | 119 | =================================================================== | 119 | =================================================================== |
357 | 120 | --- nautilus-3.6.2.orig/libnautilus-private/nautilus-progress-info.h 2012-10-31 02:33:43.228876867 -0400 | 120 | --- nautilus.orig/libnautilus-private/nautilus-progress-info.h 2013-03-12 17:57:43.417743091 +0100 |
358 | 121 | +++ nautilus-3.6.2/libnautilus-private/nautilus-progress-info.h 2012-10-31 02:34:01.980876084 -0400 | 121 | +++ nautilus/libnautilus-private/nautilus-progress-info.h 2013-03-12 17:57:43.413743092 +0100 |
359 | 122 | @@ -62,6 +62,8 @@ | 122 | @@ -62,6 +62,8 @@ |
360 | 123 | gboolean nautilus_progress_info_get_is_started (NautilusProgressInfo *info); | 123 | gboolean nautilus_progress_info_get_is_started (NautilusProgressInfo *info); |
361 | 124 | gboolean nautilus_progress_info_get_is_finished (NautilusProgressInfo *info); | 124 | gboolean nautilus_progress_info_get_is_finished (NautilusProgressInfo *info); |
362 | @@ -128,10 +128,10 @@ | |||
363 | 128 | 128 | ||
364 | 129 | void nautilus_progress_info_start (NautilusProgressInfo *info); | 129 | void nautilus_progress_info_start (NautilusProgressInfo *info); |
365 | 130 | void nautilus_progress_info_finish (NautilusProgressInfo *info); | 130 | void nautilus_progress_info_finish (NautilusProgressInfo *info); |
367 | 131 | Index: nautilus-3.6.2/src/Makefile.am | 131 | Index: nautilus/src/Makefile.am |
368 | 132 | =================================================================== | 132 | =================================================================== |
371 | 133 | --- nautilus-3.6.2.orig/src/Makefile.am 2012-10-31 02:33:43.228876867 -0400 | 133 | --- nautilus.orig/src/Makefile.am 2013-03-12 17:57:43.417743091 +0100 |
372 | 134 | +++ nautilus-3.6.2/src/Makefile.am 2012-10-31 02:34:01.980876084 -0400 | 134 | +++ nautilus/src/Makefile.am 2013-03-12 17:57:43.413743092 +0100 |
373 | 135 | @@ -31,6 +31,7 @@ | 135 | @@ -31,6 +31,7 @@ |
374 | 136 | -DSYSCONFDIR=\""$(sysconfdir)"\" \ | 136 | -DSYSCONFDIR=\""$(sysconfdir)"\" \ |
375 | 137 | -DVERSION="\"$(VERSION)\"" \ | 137 | -DVERSION="\"$(VERSION)\"" \ |
376 | @@ -159,10 +159,10 @@ | |||
377 | 159 | $(NULL) | 159 | $(NULL) |
378 | 160 | 160 | ||
379 | 161 | nodist_nautilus_SOURCES = \ | 161 | nodist_nautilus_SOURCES = \ |
381 | 162 | Index: nautilus-3.6.2/src/nautilus-progress-ui-handler.c | 162 | Index: nautilus/src/nautilus-progress-ui-handler.c |
382 | 163 | =================================================================== | 163 | =================================================================== |
385 | 164 | --- nautilus-3.6.2.orig/src/nautilus-progress-ui-handler.c 2012-10-31 02:33:43.228876867 -0400 | 164 | --- nautilus.orig/src/nautilus-progress-ui-handler.c 2013-03-12 17:57:43.417743091 +0100 |
386 | 165 | +++ nautilus-3.6.2/src/nautilus-progress-ui-handler.c 2012-10-31 02:34:01.980876084 -0400 | 165 | +++ nautilus/src/nautilus-progress-ui-handler.c 2013-03-12 17:57:43.413743092 +0100 |
387 | 166 | @@ -38,6 +38,11 @@ | 166 | @@ -38,6 +38,11 @@ |
388 | 167 | 167 | ||
389 | 168 | #include <libnotify/notify.h> | 168 | #include <libnotify/notify.h> |
390 | @@ -185,7 +185,7 @@ | |||
391 | 185 | }; | 185 | }; |
392 | 186 | 186 | ||
393 | 187 | G_DEFINE_TYPE (NautilusProgressUIHandler, nautilus_progress_ui_handler, G_TYPE_OBJECT); | 187 | G_DEFINE_TYPE (NautilusProgressUIHandler, nautilus_progress_ui_handler, G_TYPE_OBJECT); |
395 | 188 | @@ -181,6 +189,208 @@ | 188 | @@ -181,6 +189,221 @@ |
396 | 189 | gtk_status_icon_set_visible (self->priv->status_icon, TRUE); | 189 | gtk_status_icon_set_visible (self->priv->status_icon, TRUE); |
397 | 190 | } | 190 | } |
398 | 191 | 191 | ||
399 | @@ -246,12 +246,7 @@ | |||
400 | 246 | +{ | 246 | +{ |
401 | 247 | + g_return_if_fail (self); | 247 | + g_return_if_fail (self); |
402 | 248 | + | 248 | + |
409 | 249 | + if (!gtk_widget_get_visible (self->priv->progress_window)) { | 249 | + gtk_window_present_with_time (GTK_WINDOW (self->priv->progress_window), timestamp); |
404 | 250 | + gtk_window_present (GTK_WINDOW (self->priv->progress_window)); | ||
405 | 251 | + } else { | ||
406 | 252 | + gtk_window_set_keep_above (GTK_WINDOW (self->priv->progress_window), TRUE); | ||
407 | 253 | + gtk_window_set_keep_above (GTK_WINDOW (self->priv->progress_window), FALSE); | ||
408 | 254 | + } | ||
410 | 255 | +} | 250 | +} |
411 | 256 | + | 251 | + |
412 | 257 | +static void | 252 | +static void |
413 | @@ -279,28 +274,46 @@ | |||
414 | 279 | + | 274 | + |
415 | 280 | + for (l = unity_quicklist_get_launcher_entries (self->priv->unity_quicklist_handler); l; l = l->next) { | 275 | + for (l = unity_quicklist_get_launcher_entries (self->priv->unity_quicklist_handler); l; l = l->next) { |
416 | 281 | + UnityLauncherEntry *entry = l->data; | 276 | + UnityLauncherEntry *entry = l->data; |
419 | 282 | + | 277 | + DbusmenuMenuitem *ql = unity_launcher_entry_get_quicklist (entry); |
420 | 283 | + DbusmenuMenuitem *quickmenu = dbusmenu_menuitem_new (); | 278 | + DbusmenuMenuitem *quickmenu; |
421 | 279 | + | ||
422 | 280 | + if (ql) { | ||
423 | 281 | + quickmenu = dbusmenu_menuitem_new (); | ||
424 | 282 | + dbusmenu_menuitem_property_set (quickmenu, | ||
425 | 283 | + DBUSMENU_MENUITEM_PROP_TYPE, | ||
426 | 284 | + DBUSMENU_CLIENT_TYPES_SEPARATOR); | ||
427 | 285 | + dbusmenu_menuitem_property_set_bool (quickmenu, | ||
428 | 286 | + DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); | ||
429 | 287 | + dbusmenu_menuitem_property_set_bool (quickmenu, | ||
430 | 288 | + UNITY_QUICKLIST_PROGRESS_ITEM, TRUE); | ||
431 | 289 | + unity_quicklist_handler_append_menuitem (entry, quickmenu); | ||
432 | 290 | + } | ||
433 | 291 | + | ||
434 | 292 | + quickmenu = dbusmenu_menuitem_new (); | ||
435 | 284 | + dbusmenu_menuitem_property_set (quickmenu, | 293 | + dbusmenu_menuitem_property_set (quickmenu, |
436 | 285 | + DBUSMENU_MENUITEM_PROP_LABEL, | 294 | + DBUSMENU_MENUITEM_PROP_LABEL, |
438 | 286 | + UNITY_QUICKLIST_SHOW_COPY_DIALOG); | 295 | + UNITY_QUICKLIST_SHOW_COPY_DIALOG); |
439 | 287 | + dbusmenu_menuitem_property_set_bool (quickmenu, | 296 | + dbusmenu_menuitem_property_set_bool (quickmenu, |
440 | 288 | + DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); | 297 | + DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); |
441 | 298 | + dbusmenu_menuitem_property_set_bool (quickmenu, | ||
442 | 299 | + UNITY_QUICKLIST_PROGRESS_ITEM, TRUE); | ||
443 | 289 | + unity_quicklist_handler_append_menuitem (entry, quickmenu); | 300 | + unity_quicklist_handler_append_menuitem (entry, quickmenu); |
444 | 290 | + g_signal_connect (quickmenu, DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, | 301 | + g_signal_connect (quickmenu, DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, |
445 | 291 | + (GCallback) progress_ui_handler_unity_quicklist_show_activated, | 302 | + (GCallback) progress_ui_handler_unity_quicklist_show_activated, |
447 | 292 | + self); | 303 | + self); |
448 | 293 | + | 304 | + |
449 | 294 | + quickmenu = dbusmenu_menuitem_new (); | 305 | + quickmenu = dbusmenu_menuitem_new (); |
450 | 295 | + dbusmenu_menuitem_property_set (quickmenu, | 306 | + dbusmenu_menuitem_property_set (quickmenu, |
453 | 296 | + DBUSMENU_MENUITEM_PROP_LABEL, | 307 | + DBUSMENU_MENUITEM_PROP_LABEL, |
454 | 297 | + UNITY_QUICKLIST_CANCEL_COPY); | 308 | + UNITY_QUICKLIST_CANCEL_COPY); |
455 | 298 | + dbusmenu_menuitem_property_set_bool (quickmenu, | 309 | + dbusmenu_menuitem_property_set_bool (quickmenu, |
456 | 299 | + DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); | 310 | + DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); |
457 | 311 | + dbusmenu_menuitem_property_set_bool (quickmenu, | ||
458 | 312 | + UNITY_QUICKLIST_PROGRESS_ITEM, TRUE); | ||
459 | 300 | + unity_quicklist_handler_append_menuitem (entry, quickmenu); | 313 | + unity_quicklist_handler_append_menuitem (entry, quickmenu); |
460 | 301 | + g_signal_connect (quickmenu, DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, | 314 | + g_signal_connect (quickmenu, DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, |
461 | 302 | + (GCallback) progress_ui_handler_unity_quicklist_cancel_activated, | 315 | + (GCallback) progress_ui_handler_unity_quicklist_cancel_activated, |
463 | 303 | + self); | 316 | + self); |
464 | 304 | + } | 317 | + } |
465 | 305 | +} | 318 | +} |
466 | 306 | + | 319 | + |
467 | @@ -394,7 +407,7 @@ | |||
468 | 394 | static gboolean | 407 | static gboolean |
469 | 395 | progress_window_delete_event (GtkWidget *widget, | 408 | progress_window_delete_event (GtkWidget *widget, |
470 | 396 | GdkEvent *event, | 409 | GdkEvent *event, |
472 | 397 | @@ -313,6 +523,10 @@ | 410 | @@ -313,6 +536,10 @@ |
473 | 398 | progress_ui_handler_show_complete_notification (self); | 411 | progress_ui_handler_show_complete_notification (self); |
474 | 399 | } | 412 | } |
475 | 400 | } | 413 | } |
476 | @@ -405,7 +418,7 @@ | |||
477 | 405 | } | 418 | } |
478 | 406 | 419 | ||
479 | 407 | static void | 420 | static void |
481 | 408 | @@ -335,6 +549,10 @@ | 421 | @@ -335,6 +562,10 @@ |
482 | 409 | progress_ui_handler_update_notification_or_status (self); | 422 | progress_ui_handler_update_notification_or_status (self); |
483 | 410 | } | 423 | } |
484 | 411 | } | 424 | } |
485 | @@ -416,11 +429,11 @@ | |||
486 | 416 | } | 429 | } |
487 | 417 | 430 | ||
488 | 418 | typedef struct { | 431 | typedef struct { |
490 | 419 | Index: nautilus-3.6.2/src/unity-quicklist-handler.c | 432 | Index: nautilus/src/unity-quicklist-handler.c |
491 | 420 | =================================================================== | 433 | =================================================================== |
492 | 421 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 434 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
495 | 422 | +++ nautilus-3.6.2/src/unity-quicklist-handler.c 2012-10-31 02:34:01.980876084 -0400 | 435 | +++ nautilus/src/unity-quicklist-handler.c 2013-03-12 17:57:43.413743092 +0100 |
496 | 423 | @@ -0,0 +1,156 @@ | 436 | @@ -0,0 +1,153 @@ |
497 | 424 | +/*unity-quicklist-handler.c: handle Unity quicklists | 437 | +/*unity-quicklist-handler.c: handle Unity quicklists |
498 | 425 | + * | 438 | + * |
499 | 426 | + * Copyright (C) 2012 Canonical | 439 | + * Copyright (C) 2012 Canonical |
500 | @@ -466,10 +479,7 @@ | |||
501 | 466 | +unity_quicklist_handler_menuitem_is_progress_item (DbusmenuMenuitem *ql) | 479 | +unity_quicklist_handler_menuitem_is_progress_item (DbusmenuMenuitem *ql) |
502 | 467 | +{ | 480 | +{ |
503 | 468 | + g_return_val_if_fail(ql, FALSE); | 481 | + g_return_val_if_fail(ql, FALSE); |
508 | 469 | + const gchar *label = dbusmenu_menuitem_property_get (ql, DBUSMENU_MENUITEM_PROP_LABEL); | 482 | + return dbusmenu_menuitem_property_get_bool (ql, UNITY_QUICKLIST_PROGRESS_ITEM); |
505 | 470 | + | ||
506 | 471 | + return ((g_strcmp0 (label, (const gchar*)UNITY_QUICKLIST_SHOW_COPY_DIALOG) == 0) || | ||
507 | 472 | + (g_strcmp0 (label, (const gchar*)UNITY_QUICKLIST_CANCEL_COPY) == 0)); | ||
509 | 473 | +} | 483 | +} |
510 | 474 | + | 484 | + |
511 | 475 | +gboolean | 485 | +gboolean |
512 | @@ -577,11 +587,11 @@ | |||
513 | 577 | + return g_object_new (UNITY_TYPE_QUICKLIST_HANDLER, NULL); | 587 | + return g_object_new (UNITY_TYPE_QUICKLIST_HANDLER, NULL); |
514 | 578 | +} | 588 | +} |
515 | 579 | + | 589 | + |
517 | 580 | Index: nautilus-3.6.2/src/unity-quicklist-handler.h | 590 | Index: nautilus/src/unity-quicklist-handler.h |
518 | 581 | =================================================================== | 591 | =================================================================== |
519 | 582 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 592 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
522 | 583 | +++ nautilus-3.6.2/src/unity-quicklist-handler.h 2012-10-31 02:34:01.980876084 -0400 | 593 | +++ nautilus/src/unity-quicklist-handler.h 2013-03-12 17:57:43.413743092 +0100 |
523 | 584 | @@ -0,0 +1,73 @@ | 594 | @@ -0,0 +1,75 @@ |
524 | 585 | +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ | 595 | +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
525 | 586 | +/* | 596 | +/* |
526 | 587 | + * unity-quicklist.h: handle unity quicklists. | 597 | + * unity-quicklist.h: handle unity quicklists. |
527 | @@ -630,6 +640,8 @@ | |||
528 | 630 | + | 640 | + |
529 | 631 | +typedef struct _UnityQuicklistHandlerPriv UnityQuicklistHandlerPriv; | 641 | +typedef struct _UnityQuicklistHandlerPriv UnityQuicklistHandlerPriv; |
530 | 632 | + | 642 | + |
531 | 643 | +#define UNITY_QUICKLIST_PROGRESS_ITEM "unity-quicklist-progress-item" | ||
532 | 644 | + | ||
533 | 633 | +typedef struct { | 645 | +typedef struct { |
534 | 634 | + GObject parent; | 646 | + GObject parent; |
535 | 635 | + | 647 | + |
536 | @@ -655,10 +667,10 @@ | |||
537 | 655 | +#define UNITY_QUICKLIST_CANCEL_COPY _("Cancel All In-progress Actions") | 667 | +#define UNITY_QUICKLIST_CANCEL_COPY _("Cancel All In-progress Actions") |
538 | 656 | + | 668 | + |
539 | 657 | +#endif /* __UNITY_QUICKLIST_HANDLER_H__ */ | 669 | +#endif /* __UNITY_QUICKLIST_HANDLER_H__ */ |
541 | 658 | Index: nautilus-3.6.2/src/nautilus-application.c | 670 | Index: nautilus/src/nautilus-application.c |
542 | 659 | =================================================================== | 671 | =================================================================== |
545 | 660 | --- nautilus-3.6.2.orig/src/nautilus-application.c 2012-10-31 02:33:43.228876867 -0400 | 672 | --- nautilus.orig/src/nautilus-application.c 2013-03-12 17:57:43.417743091 +0100 |
546 | 661 | +++ nautilus-3.6.2/src/nautilus-application.c 2012-10-31 02:34:01.980876084 -0400 | 673 | +++ nautilus/src/nautilus-application.c 2013-03-12 17:57:43.417743091 +0100 |
547 | 662 | @@ -79,6 +79,10 @@ | 674 | @@ -79,6 +79,10 @@ |
548 | 663 | #include <gdk/gdkx.h> | 675 | #include <gdk/gdkx.h> |
549 | 664 | #include <gtk/gtk.h> | 676 | #include <gtk/gtk.h> |
550 | @@ -670,7 +682,7 @@ | |||
551 | 670 | /* Keep window from shrinking down ridiculously small; numbers are somewhat arbitrary */ | 682 | /* Keep window from shrinking down ridiculously small; numbers are somewhat arbitrary */ |
552 | 671 | #define APPLICATION_WINDOW_MIN_WIDTH 300 | 683 | #define APPLICATION_WINDOW_MIN_WIDTH 300 |
553 | 672 | #define APPLICATION_WINDOW_MIN_HEIGHT 100 | 684 | #define APPLICATION_WINDOW_MIN_HEIGHT 100 |
555 | 673 | @@ -1479,6 +1483,10 @@ | 685 | @@ -1548,6 +1552,10 @@ |
556 | 674 | nautilus_application_init_actions (self); | 686 | nautilus_application_init_actions (self); |
557 | 675 | 687 | ||
558 | 676 | nautilus_profile_end (NULL); | 688 | nautilus_profile_end (NULL); |
559 | @@ -681,11 +693,11 @@ | |||
560 | 681 | } | 693 | } |
561 | 682 | 694 | ||
562 | 683 | static void | 695 | static void |
564 | 684 | Index: nautilus-3.6.2/src/unity-bookmarks-handler.c | 696 | Index: nautilus/src/unity-bookmarks-handler.c |
565 | 685 | =================================================================== | 697 | =================================================================== |
566 | 686 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 698 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
569 | 687 | +++ nautilus-3.6.2/src/unity-bookmarks-handler.c 2012-10-31 02:34:01.980876084 -0400 | 699 | +++ nautilus/src/unity-bookmarks-handler.c 2013-03-12 18:57:09.410958729 +0100 |
570 | 688 | @@ -0,0 +1,137 @@ | 700 | @@ -0,0 +1,144 @@ |
571 | 689 | +/*unity-bookmarks-handler.c: handle Unity bookmark for quicklist | 701 | +/*unity-bookmarks-handler.c: handle Unity bookmark for quicklist |
572 | 690 | + * | 702 | + * |
573 | 691 | + * Copyright (C) 2012 Canonical | 703 | + * Copyright (C) 2012 Canonical |
574 | @@ -729,19 +741,26 @@ | |||
575 | 729 | + guint timestamp, | 741 | + guint timestamp, |
576 | 730 | + NautilusBookmark *bookmark) | 742 | + NautilusBookmark *bookmark) |
577 | 731 | +{ | 743 | +{ |
579 | 732 | + g_assert (NAUTILUS_IS_BOOKMARK (bookmark)); | 744 | + g_return_if_fail (NAUTILUS_IS_BOOKMARK (bookmark)); |
580 | 733 | + | 745 | + |
582 | 734 | + GFile *location; | 746 | + GFile *locations[2]; |
583 | 747 | + GList *windows, *l; | ||
584 | 735 | + NautilusApplication *application; | 748 | + NautilusApplication *application; |
585 | 736 | + NautilusWindow *new_window; | ||
586 | 737 | + | 749 | + |
588 | 738 | + location = nautilus_bookmark_get_location (bookmark); | 750 | + locations[0] = nautilus_bookmark_get_location (bookmark); |
589 | 751 | + locations[1] = NULL; | ||
590 | 739 | + | 752 | + |
591 | 740 | + application = NAUTILUS_APPLICATION (g_application_get_default ()); | 753 | + application = NAUTILUS_APPLICATION (g_application_get_default ()); |
596 | 741 | + new_window = nautilus_application_create_window (application, gdk_screen_get_default ()); | 754 | + |
597 | 742 | + nautilus_window_slot_open_location (nautilus_window_get_active_slot (new_window), location, 0); | 755 | + /* Make sure that the application timestamp matches the event */ |
598 | 743 | + | 756 | + for (l = gtk_application_get_windows (GTK_APPLICATION (application)); l; l = l->next) { |
599 | 744 | + g_object_unref (location); | 757 | + GdkWindow *gdk_window = gtk_widget_get_window (GTK_WIDGET (l->data)); |
600 | 758 | + gdk_x11_window_set_user_time (gdk_window, timestamp); | ||
601 | 759 | + } | ||
602 | 760 | + | ||
603 | 761 | + g_application_open (G_APPLICATION (application), locations, 1, ""); | ||
604 | 762 | + | ||
605 | 763 | + g_object_unref (locations[0]); | ||
606 | 745 | +} | 764 | +} |
607 | 746 | + | 765 | + |
608 | 747 | +static void | 766 | +static void |
609 | @@ -823,10 +842,10 @@ | |||
610 | 823 | + G_CALLBACK (unity_bookmarks_handler_refresh_bookmarks), 0); | 842 | + G_CALLBACK (unity_bookmarks_handler_refresh_bookmarks), 0); |
611 | 824 | +} | 843 | +} |
612 | 825 | + | 844 | + |
614 | 826 | Index: nautilus-3.6.2/src/unity-bookmarks-handler.h | 845 | Index: nautilus/src/unity-bookmarks-handler.h |
615 | 827 | =================================================================== | 846 | =================================================================== |
616 | 828 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 847 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
618 | 829 | +++ nautilus-3.6.2/src/unity-bookmarks-handler.h 2012-10-31 02:34:01.980876084 -0400 | 848 | +++ nautilus/src/unity-bookmarks-handler.h 2013-03-12 17:57:43.417743091 +0100 |
619 | 830 | @@ -0,0 +1,31 @@ | 849 | @@ -0,0 +1,31 @@ |
620 | 831 | +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ | 850 | +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
621 | 832 | +/* | 851 | +/* |
622 | @@ -859,10 +878,10 @@ | |||
623 | 859 | +void unity_bookmarks_handler_initialize (void); | 878 | +void unity_bookmarks_handler_initialize (void); |
624 | 860 | + | 879 | + |
625 | 861 | +#endif /* __UNITY_BOOKMARKS_HANDLER_H__*/ | 880 | +#endif /* __UNITY_BOOKMARKS_HANDLER_H__*/ |
627 | 862 | Index: nautilus-3.6.2/po/POTFILES.in | 881 | Index: nautilus/po/POTFILES.in |
628 | 863 | =================================================================== | 882 | =================================================================== |
631 | 864 | --- nautilus-3.6.2.orig/po/POTFILES.in 2012-10-31 02:33:43.228876867 -0400 | 883 | --- nautilus.orig/po/POTFILES.in 2013-03-12 17:57:43.417743091 +0100 |
632 | 865 | +++ nautilus-3.6.2/po/POTFILES.in 2012-10-31 02:34:01.980876084 -0400 | 884 | +++ nautilus/po/POTFILES.in 2013-03-12 17:57:43.417743091 +0100 |
633 | 866 | @@ -90,3 +90,4 @@ | 885 | @@ -90,3 +90,4 @@ |
634 | 867 | src/nautilus-window-private.h | 886 | src/nautilus-window-private.h |
635 | 868 | src/nautilus-window-slot.c | 887 | src/nautilus-window-slot.c |
636 | 869 | 888 | ||
637 | === modified file 'debian/patches/17_static_unity_quicklist.patch' | |||
638 | --- debian/patches/17_static_unity_quicklist.patch 2013-03-08 13:44:44 +0000 | |||
639 | +++ debian/patches/17_static_unity_quicklist.patch 2013-03-12 18:30:31 +0000 | |||
640 | @@ -1,8 +1,8 @@ | |||
642 | 1 | Index: nautilus-3.5.5/data/nautilus.desktop.in.in | 1 | Index: nautilus/data/nautilus.desktop.in.in |
643 | 2 | =================================================================== | 2 | =================================================================== |
647 | 3 | --- nautilus-3.5.5.orig/data/nautilus.desktop.in.in 2012-05-08 06:28:08.000000000 +0200 | 3 | --- nautilus.orig/data/nautilus.desktop.in.in 2013-03-12 17:08:37.121951465 +0100 |
648 | 4 | +++ nautilus-3.5.5/data/nautilus.desktop.in.in 2012-08-08 09:41:30.183206868 +0200 | 4 | +++ nautilus/data/nautilus.desktop.in.in 2013-03-12 17:11:35.029894735 +0100 |
649 | 5 | @@ -13,3 +13,9 @@ | 5 | @@ -14,3 +14,9 @@ |
650 | 6 | X-GNOME-Bugzilla-Product=nautilus | 6 | X-GNOME-Bugzilla-Product=nautilus |
651 | 7 | X-GNOME-Bugzilla-Component=general | 7 | X-GNOME-Bugzilla-Component=general |
652 | 8 | X-GNOME-Bugzilla-Version=@VERSION@ | 8 | X-GNOME-Bugzilla-Version=@VERSION@ |
653 | @@ -10,5 +10,5 @@ | |||
654 | 10 | + | 10 | + |
655 | 11 | +[Desktop Action Window] | 11 | +[Desktop Action Window] |
656 | 12 | +_Name=Open a New Window | 12 | +_Name=Open a New Window |
658 | 13 | +Exec=nautilus | 13 | +Exec=nautilus --new-window |
659 | 14 | +OnlyShowIn=Unity; | 14 | +OnlyShowIn=Unity; |
660 | 15 | 15 | ||
661 | === modified file 'debian/patches/series' | |||
662 | --- debian/patches/series 2013-03-08 13:44:44 +0000 | |||
663 | +++ debian/patches/series 2013-03-12 18:30:31 +0000 | |||
664 | @@ -4,6 +4,7 @@ | |||
665 | 4 | 06_never_exec_nonexec_launchers.patch | 4 | 06_never_exec_nonexec_launchers.patch |
666 | 5 | 08_clean_session_capplet.patch | 5 | 08_clean_session_capplet.patch |
667 | 6 | 09_no-initial-fade.patch | 6 | 09_no-initial-fade.patch |
668 | 7 | 10_reuse_already_opened_views.patch | ||
669 | 7 | 11_copy_skipping_pager.patch | 8 | 11_copy_skipping_pager.patch |
670 | 8 | 12_unity_launcher_support.patch | 9 | 12_unity_launcher_support.patch |
671 | 9 | 14_bring_del_instead_ctrl_del.patch | 10 | 14_bring_del_instead_ctrl_del.patch |