1 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
3 * src/nact/nact-providers-list.c:
4 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
5 Do not initialize the widgets with the future BaseWindow.
7 * src/nact/nact-schemes-list.c: Only ask for preferences once.
9 * src/nact/nact-assistant-import.c (assist_new):
10 Reload the common XML UI file into the private builder.
12 * src/nact/base-dialog.c:
13 * src/nact/base-dialog.h:
14 * src/nact/base-window.h: Do some code and comments cleanup.
16 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
17 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
18 * src/nact/base-window.c (setup_builder):
21 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
23 * src/plugin-menu/nautilus-actions.c:
24 * src/plugin-menu/nautilus-actions.h:
25 Takes advantage of the new NASettings signal notification system.
27 * src/core/na-pivot.c:
28 * src/core/na-pivot.h: Review the notification system.
30 * src/core/na-settings.c:
31 * src/core/na-settings.h:
32 Add a signal notification to the existing callback pregistration system.
34 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
35 * docs/des-ema/des-ema-0.15:
36 * docs/nact/C/nact-conditions.xml:
37 * docs/nact/C/nact-menus.xml:
38 * src/api/na-extension.h:
39 * src/api/na-ifactory-provider.h:
40 * src/api/na-iio-provider.h:
41 * src/api/na-object.h:
42 * src/core/na-core-utils.c:
43 * src/core/na-factory-object.c:
44 * src/core/na-gconf-utils.c:
45 * src/core/na-icontext-factory.c:
46 * src/core/na-icontext.c:
47 * src/core/na-ifactory-provider.c:
48 * src/core/na-io-provider.c:
49 * src/core/na-io-provider.h:
50 * src/core/na-iprefs.c:
51 * src/core/na-object-action.c:
52 * src/core/na-object-id-factory.c:
53 * src/core/na-object-id.c:
54 * src/core/na-object-item-factory.c:
55 * src/core/na-object-item.c:
56 * src/core/na-pivot.h:
57 * src/core/na-settings.c:
58 * src/core/na-settings.h:
59 * src/core/na-tokens.h:
60 * src/io-desktop/nadp-desktop-file.c:
61 * src/io-desktop/nadp-reader.c:
62 * src/io-desktop/nadp-utils.c:
63 * src/io-gconf/nagp-reader.c:
64 * src/io-xml/naxml-reader.c:
65 * src/nact/nact-gtk-utils.c:
66 * src/nact/nautilus-actions-config-tool.ui:
67 * src/plugin-menu/nautilus-actions.c:
68 * src/utils/nautilus-actions-new.c:
69 * src/utils/nautilus-actions-run.c:
70 * tools/check-headers.sh:
71 * tools/init-finalize-diff.sh:
72 Apply patch provided by Christian Kirbach. Fix #640216.
74 * src/nact/nautilus-actions-config-tool.ui:
75 * src/utils/na-delete-xmltree.c:
76 * src/utils/nautilus-actions-print.c:
77 Fix string errors reported by fr translation team.
79 * src/api/na-timeout.h:
80 * src/core/na-timeout.c: New files.
82 * src/api/Makefile.am:
83 * src/core/Makefile.am: Updated accordingly.
85 * src/core/na-pivot.c (on_item_changed_timeout):
86 * src/core/na-settings.c (on_keyfile_changed_timeout):
87 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
88 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
89 Take advantage of new NATimeout convenience structure.
91 * src/api/na-iio-provider.h:
92 * src/core/na-io-provider.c:
93 * src/core/na-io-provider.h: Fix comments.
95 * src/core/na-iio-provider.c (interface_base_init):
96 The 'item-changed' signal actually does not send any argument.
98 * src/core/na-pivot.c:
99 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
102 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
104 * src/nact/base-window.c: Handles the recorded signals in a GList.
106 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
108 * src/nact/nact-main-window.c
109 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
110 Calls the parent class method if willing to quit.
112 * src/nact/nact-window.c:
113 * src/nact/nact-window.h
114 (nact_window_is_item_writable): Remove unused function.
116 * src/nact/base-window.c:
117 * src/nact/base-window.h
118 (runtime_init_toplevel): Renamed as initialize_base_window().
119 (class_init): Fix cclosure_marshall for signals without argument.
121 * src/nact/base-window.c:
122 * src/nact/base-window.h
123 (get_toplevel_name, get_ui_filename): Removed virtual functions.
125 * src/nact/nact-add-capability-dialog.c:
126 * src/nact/nact-add-scheme-dialog.c:
127 * src/nact/nact-assistant-export.c:
128 * src/nact/nact-assistant-import.c:
129 * src/nact/nact-confirm-logout.c:
130 * src/nact/nact-export-ask.c:
131 * src/nact/nact-icon-chooser.c:
132 * src/nact/nact-main-window.c:
133 * src/nact/nact-preferences-editor.c: Updated accordingly.
135 * src/nact/base-window.c:
136 * src/nact/base-window.h:
137 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
139 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
141 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
143 * src/nact/nact-main-window.c:
144 No more connect to the signal, but implement the virtual method.
146 * src/nact/base-application.c (appli_initialize_manage_options):
147 * src/nact/base-application.h (manage_options):
148 * src/nact/nact-application.c (appli_manage_options):
149 Revert commit 3acf600874.
151 * src/test/test-virtuals.c: Do some more tests on virtual methods.
153 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
154 on_initialize_base_window_class_handler,
155 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
156 Succssively invoke all derived class methods.
158 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
159 all_widgets_showed, is_willing_to_quit): Update comments.
161 * src/nact/base-application.c (appli_initialize_manage_options):
162 Successively invoke all derived class methods.
164 * src/nact/base-application.h (manage_options): Update comment.
166 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
168 * src/nact/base-builder.c:
169 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
170 Use a const BaseBuilder as argument;
172 * src/nact/base-window.c:
173 * src/nact/base-window.h (base_window_get_widget_from_gtk):
176 * src/nact/nact-gtk-utils.c:
177 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
180 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
182 * src/nact/base-application.c (appli_initialize_unique_app):
185 * src/nact/base-builder.c:
186 * src/nact/base-builder.h (base_builder_load_named_toplevel):
187 Renamed as base_builder_get_toplevel_by_name().
189 * src/nact/base-window.c: Updated accordingly.
191 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
193 * src/nact/base-window.c:
194 * src/nact/base-window.h (base_window_peek_widget):
195 Renamed as base_window_get_widget_from_gtk().
197 * src/nact/nact-icon-chooser.c: Updated accordingly.
199 * src/nact/base-window.c:
200 * src/nact/base-window.h (base_window_get_named_toplevel):
201 Renamed as base_window_get_gtk_toplevel_by_name().
203 * src/nact/nact-icommand-tab.c: Updated accordingly.
205 * src/nact/base-window.c:
206 * src/nact/base-window.h (base_window_get_toplevel):
207 Renamed as base_window_get_gtk_toplevel().
209 * src/nact/base-application.c:
210 * src/nact/base-assistant.c:
211 * src/nact/base-iprefs.c:
212 * src/nact/nact-add-capability-dialog.c:
213 * src/nact/nact-add-scheme-dialog.c:
214 * src/nact/nact-assistant-export.c:
215 * src/nact/nact-assistant-import.c:
216 * src/nact/nact-confirm-logout.c:
217 * src/nact/nact-export-ask.c:
218 * src/nact/nact-gtk-utils.c:
219 * src/nact/nact-icommand-tab.c:
220 * src/nact/nact-icon-chooser.c:
221 * src/nact/nact-ifolders-tab.c:
222 * src/nact/nact-main-menubar.c:
223 * src/nact/nact-main-window.c:
224 * src/nact/nact-match-list.c:
225 * src/nact/nact-preferences-editor.c:
226 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
228 * src/nact/base-window.c:
229 * src/nact/base-window.h: Rename signal defines.
231 * src/nact/base-assistant.c:
232 * src/nact/nact-add-capability-dialog.c:
233 * src/nact/nact-add-scheme-dialog.c:
234 * src/nact/nact-assistant-export.c:
235 * src/nact/nact-assistant-import.c:
236 * src/nact/nact-confirm-logout.c:
237 * src/nact/nact-export-ask.c:
238 * src/nact/nact-icon-chooser.c:
239 * src/nact/nact-main-window.c:
240 * src/nact/nact-preferences-editor.c: Updated accordingly.
242 * src/nact/base-window.c:
243 * src/nact/base-window.h:
244 Remove unused properties.
245 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
247 * src/nact/base-assistant.c:
248 * src/nact/nact-main-menubar-edit.c:
249 * src/nact/nact-main-menubar-file.c:
250 * src/nact/nact-main-window.c
251 * src/nact/nact-window.c: Updated accordingly.
253 * src/nact/base-window-class.h: Removed file.
255 * src/nact/base-window.h:
256 * src/nact/Makefile.am: Updated accordingly.
258 * src/utils/na-gconf2key.sh.in:
259 Get ride of possible error messages when forcing gconfd-2 synchro.
261 * src/nact/base-application.c:
262 * src/nact/base-application.h (base_application_message_dlg,
263 base_application_error_dlg, base_application_yesno_dlg):
264 Functions are moved to BaseWindow class.
266 * src/nact/base-window.c:
267 * src/nact/base-window.h
268 (base_window_display_yesno_dlg, base_window_display_message_dlg):
271 * src/nact/base-application.c:
272 * src/nact/base-application.h
273 (base_application_get_ui_filename): Removed function.
274 (get_ui_filename): Removed virtual method.
276 * src/nact/nact-application.c
277 (appli_get_gtkbuilder_filename):Removed function.
279 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
281 * src/nact/nact-main-window.c (nact_main_window_new):
282 Initialize the main window with XML UI properties.
284 * src/nact/base-window.c:
285 * src/nact/base-window.h: Rename initialization properties.
287 * src/nact/nact-add-capability-dialog.c:
288 * src/nact/nact-add-scheme-dialog.c:
289 * src/nact/nact-assistant-export.c:
290 * src/nact/nact-assistant-import.c:
291 * src/nact/nact-confirm-logout.c:
292 * src/nact/nact-export-ask.c:
293 * src/nact/nact-icon-chooser.c:
294 * src/nact/nact-main-window.c:
295 * src/nact/nact-preferences-editor.c: Updated accordingly.
297 * src/nact/base-application.c:
298 * src/nact/base-application.h:
299 Define new 'base-application-description' property.
300 Remove unused properties.
302 * src/nact/nact-application.c (nact_application_new):
303 Make use of the new property at instanciation time.
305 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
307 * src/nact/base-window.c:
308 * src/nact/base-window.h (base_window_display_error_dlg): New function.
310 * src/nact/base-application.c:
311 * src/nact/base-application.h (base_application_get_icon_name):
314 * src/nact/base-application.c:
315 * src/nact/base-application.h
316 (initialize_i18n, initialize_application_name, get_application_name,
317 initialize_default_icon, get_icon_name, initialize_gtk,
318 initialize_session_manager, get_unique_app_name, initialize_ui,
319 initialize_unique_app, initialize, run, get_main_window,
320 initialize_application): Remove virtual methods.
322 * src/nact/nact-application.c (appli_get_application_name,
323 appli_get_icon_name, appli_get_unique_app_name,
324 appli_initialize_application): Removed functions.
326 * src/nact/nact-application.c (nact_application_new_with_args):
327 Make NactApplication initializes with these new properties.
329 * src/nact/base-application.c:
330 * src/nact/base-application.h: Define new properties.
332 * src/nact/base-application-class.h: Removed file.
334 * src/nact/Makefile.am:
335 * src/nact/base-application.h:
336 * src/nact/base-window-class.h:
337 * src/nact/base-window.h: Updated accordingly.
339 * src/nact/base-application-class.h (main_window_new):
340 * src/nact/base-application.c (application_do_run):
341 * src/nact/nact-application.c
342 * src/nact/nact-main-window.h (appli_main_window_new):
343 Move the creation of the main window to the main_window_new() method.
344 Remove base_application_get_main_window() function.
346 * src/nact/base-application-class.h (manage_options):
347 * src/nact/base-application.c:
348 * src/nact/nact-application.c: Return exit code of the program.
350 * src/nact/nact-tree-model-dnd.c
351 (drop_inside, is_drop_possible, drop_uri_list):
352 * src/nact/base-window.c (is_main):
353 Remove base_application_get_main_window() invocations.
355 * src/nact/nact-main.c: Renamed as main.c
357 * src/nact/Makefile.am: Updated accordingly.
359 * tools/Makefile.am: Generate the check-header.c source if it is missing.
361 * src/plugin-tracker/na-tracker-dbus.c:
362 * src/plugin-tracker/na-tracker-dbus.h:
363 * src/plugin-tracker/na-tracker.c:
364 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
366 * src/plugin-menu/nautilus-actions.c:
367 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
369 * src/nact/base-application.c:
370 * src/nact/base-application-class.h:
371 * src/nact/base-assistant.c:
372 * src/nact/base-assistant.h:
373 * src/nact/base-builder.c:
374 * src/nact/base-builder.h:
375 * src/nact/base-dialog.c:
376 * src/nact/base-dialog.h:
377 * src/nact/base-iprefs.c:
378 * src/nact/base-iprefs.h:
379 * src/nact/base-window.c:
380 * src/nact/base-window-class.h:
381 * src/nact/egg-tree-multi-dnd.h:
382 * src/nact/nact-add-capability-dialog.c:
383 * src/nact/nact-add-capability-dialog.h:
384 * src/nact/nact-add-scheme-dialog.c:
385 * src/nact/nact-add-scheme-dialog.h:
386 * src/nact/nact-application.c:
387 * src/nact/nact-application.h:
388 * src/nact/nact-assistant-export.c:
389 * src/nact/nact-assistant-export.h:
390 * src/nact/nact-assistant-import.c:
391 * src/nact/nact-assistant-import.h:
392 * src/nact/nact-clipboard.c:
393 * src/nact/nact-clipboard.h:
394 * src/nact/nact-confirm-logout.c:
395 * src/nact/nact-confirm-logout.h:
396 * src/nact/nact-export-ask.c:
397 * src/nact/nact-export-ask.h:
398 * src/nact/nact-iactions-list.c:
399 * src/nact/nact-iactions-list.h:
400 * src/nact/nact-iaction-tab.c:
401 * src/nact/nact-iaction-tab.h:
402 * src/nact/nact-ibasenames-tab.c:
403 * src/nact/nact-ibasenames-tab.h:
404 * src/nact/nact-icapabilities-tab.c:
405 * src/nact/nact-icapabilities-tab.h:
406 * src/nact/nact-icommand-tab.c:
407 * src/nact/nact-icommand-tab.h:
408 * src/nact/nact-icon-chooser.h:
409 * src/nact/nact-ienvironment-tab.c:
410 * src/nact/nact-ienvironment-tab.h:
411 * src/nact/nact-iexecution-tab.c:
412 * src/nact/nact-iexecution-tab.h:
413 * src/nact/nact-ifolders-tab.c:
414 * src/nact/nact-ifolders-tab.h:
415 * src/nact/nact-imimetypes-tab.c:
416 * src/nact/nact-imimetypes-tab.h:
417 * src/nact/nact-iproperties-tab.c:
418 * src/nact/nact-iproperties-tab.h:
419 * src/nact/nact-ischemes-tab.c:
420 * src/nact/nact-ischemes-tab.h:
421 * src/nact/nact-main-window.c:
422 * src/nact/nact-main-window.h:
423 * src/nact/nact-preferences-editor.c:
424 * src/nact/nact-preferences-editor.h:
425 * src/nact/nact-tree-model.c:
426 * src/nact/nact-tree-model.h:
427 * src/nact/nact-tree-model-priv.h:
428 * src/nact/nact-window.c:
429 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
431 * src/io-xml/naxml-provider.c:
432 * src/io-xml/naxml-provider.h:
433 * src/io-xml/naxml-reader.c:
434 * src/io-xml/naxml-reader.h:
435 * src/io-xml/naxml-writer.c:
436 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
438 * src/io-gconf/nagp-gconf-provider.c:
439 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
441 * src/io-desktop/nadp-desktop-file.c:
442 * src/io-desktop/nadp-desktop-file.h:
443 * src/io-desktop/nadp-desktop-provider.c:
444 * src/io-desktop/nadp-desktop-provider.h:
445 * src/io-desktop/nadp-monitor.c:
446 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
448 * src/core/na-export-format.h:
449 * src/core/na-iabout.h:
450 * src/core/na-importer-ask.h:
451 * src/core/na-io-provider.h:
452 * src/core/na-ipivot-consumer.h:
453 * src/core/na-module.h:
454 * src/core/na-pivot.h:
455 * src/core/na-selected-info.h:
456 * src/core/na-settings.h:
457 * src/core/na-tokens.h:
458 * src/core/na-updater.h: Cosmetic changes in src/core headers.
460 * src/api/na-data-boxed.h:
461 * src/api/na-data-types.h:
462 * src/api/na-gconf-monitor.h:
463 * src/api/na-gconf-utils.h:
464 * src/api/na-icontext.h:
465 * src/api/na-iduplicable.h:
466 * src/api/na-iexporter.h:
467 * src/api/na-ifactory-object.h:
468 * src/api/na-ifactory-provider.h:
469 * src/api/na-iio-provider.h:
470 * src/api/na-object-action.h:
471 * src/api/na-object.h:
472 * src/api/na-object-id.h:
473 * src/api/na-object-item.h:
474 * src/api/na-object-menu.h:
475 * src/api/na-object-profile.h:
476 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
478 * src/utils/na-gconf2key.sh.in:
479 * tools/check-headers.sh:
481 * tools/init-finalize-diff.sh:
482 * tools/release-tarball.sh: Replace basename with a shell substitution.
484 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
486 * tools/release-tarball.sh: Full script rewrite.
489 * Makefile.am: Add README-GCONF to the distribution.
491 * tools/check-po.sh: Script rewriting.
493 * NEWS: Update before 3.0.7 release.
495 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
497 * src/core/na-export-format.c (na_export_format_get_description):
498 * src/core/na-importer-ask.c (na_importer_ask_user):
499 * src/core/na-importer.c (import_from_uri):
500 * src/core/na-io-provider.c (na_io_provider_get_name):
501 * src/core/na-iprefs.c:
502 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
503 na_iprefs_get_order_mode, na_iprefs_get_export_format):
504 * src/core/na-settings.c:
505 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
506 * nact/nact-assistant-import.c (runtime_init_duplicates):
507 * src/nact/nact-clipboard.c (export_row_object):
508 * src/nact/nact-export-ask.c:
509 * nact/nact-export-format.c:
510 * src/nact/nact-export-format.h(nact_export_format_init_display):
511 * src/nact/nact-gtk-utils.c:
512 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
513 nact_gtk_utils_radio_reset_initial_state,
514 nact_gtk_utils_toggle_set_initial_state,
515 nact_gtk_utils_toggle_reset_initial_state):
516 * src/nact/nact-ienvironment-tab.c
517 (on_tab_updatable_selection_changed):
518 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
519 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
520 * src/nact/nact-preferences-editor.c:
521 * src/nact/nact-preferences.ui:
522 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
523 * src/nact/nact-tree-model.c (tree_model_new):
524 Manage locked and mandatory preferences.
526 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
527 Do not eat last character.
530 * src/core/na-settings.h:
531 * src/utils/na-gconf2key.sh.in:
532 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
534 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
536 * src/nact/nact-preferences-editor.c:
537 Reopen the Preferences on the last used tab.
539 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
540 Fix handling of last separator.
542 * src/nact/nact-schemes-list.c: Do not allow modification
543 of default schemes list if preferences are locked or property
546 * src/core/na-io-provider.c:
547 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
548 na_io_provider_is_conf_writable):
549 Returns mandatory flag.
550 List I/O providers in write order.
552 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
554 * src/nact/nact-providers-list.c: Do not allow modification of I/O
555 providers readability/writability/write order properties if
556 preferences are locked or properties mandatory.
558 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
560 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
562 * run-distcheck.sh: New file.
564 Add a script to check completeness of header files.
568 * tools/check-headers.sh: New files.
570 * src/test/test-include.c:
571 Renamed as tools/check-header.c and set it as ignored by git.
573 * src/test/.gitignore:
574 * src/test/Makefile.am: Updated accordingly.
577 * configure.ac: configure in tools/.
579 * src/api/na-data-boxed.h:
580 * src/api/na-data-types.h:
581 * src/api/na-gconf-monitor.h:
582 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
584 * run-distcheck.sh: New file.
586 * tools/check-po.sh: Rewrite to have options and messages management.
588 * src/utils/na-gconf2key.sh.in: Review comment.
590 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
592 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
594 * tools/check-po.sh: Set the count of errors as exit code.
596 * po/POTFILES.in: Updated.
598 * src/api/na-gconf-utils.h:
599 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
601 * src/api/na-gconf-monitor.h:
602 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
604 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
606 * src/utils/na-print-schemas.c: Add a deprecation comment.
608 * src/core/na-io-provider.c:
609 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
612 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
614 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
616 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
618 * src/test/test-module.c:
619 * src/test/test-module-plugin.c: New files.
621 * src/test/.gitignore:
622 * src/test/Makefile.am: Updated accordingly.
624 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
626 * src/nact/base-iprefs.c
627 (base_iprefs_position_named_window): Do not force a null window size or position.
629 * src/core/na-settings.c
630 (na_settings_get_string_list): Do not allocate an empty string list.
632 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
634 * src/core/na-object-id.c:
635 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
637 * src/core/na-data-boxed.c:
638 * src/core/na-gconf-monitor.c:
639 * src/core/na-io-provider.c:
640 * src/core/na-tokens.c:
641 * src/core/na-updater.c:
642 * src/io-desktop/nadp-desktop-file.c:
643 * src/io-desktop/nadp-desktop-provider.c:
644 * src/io-desktop/nadp-monitor.c:
645 * src/io-gconf/nagp-gconf-provider.c:
646 * src/io-xml/naxml-provider.c:
647 * src/nact/base-application.c:
648 * src/nact/base-builder.c:
649 * src/nact/base-window.c:
650 * src/nact/nact-application.c:
651 * src/nact/nact-clipboard.c:
652 * src/nact/nact-main-window.c:
653 * src/nact/nact-tree-model.c:
654 * src/nact/nact-window.c: Add instance_finalize debug message.
656 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
658 * src/core/na-boxed.c
659 (na_boxed_free): Only free a non null structure.
660 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
661 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
662 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
663 Do not try to return a value for a null structure.
665 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
667 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
669 * src/utils/na-delete-xmltree.c:
670 * src/utils/nautilus-actions-print.c: Add localization code.
672 * src/utils/nautilus-actions-new.c:
673 * src/utils/nautilus-actions-run.c:
674 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
676 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
677 na_boxed_new_from_string_with_sep, na_boxed_free):
678 Add debug messages when allocating/freeing a NABoxed structure.
680 * src/nact/nact-icommand-tab.c (on_wdir_browse):
681 Remove no more used default value.
683 * src/nact/nact-icon-chooser.c
684 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
686 * src/core/na-settings.h: Preference renamed accordingly.
689 * src/core/na-settings.h:
690 * src/utils/na-gconf2key.sh.in:
691 '-last-folder-uri' preferences are renamed as '-lfu'.
693 * src/core/na-settings.c: Set default values.
695 * src/nact/nact-gtk-utils.c:
696 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
697 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
698 Remove no more used default value.
700 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
701 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
702 on_show_if_running_browse): Updated accordingly.
704 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
705 Do not allocate the empty last element.
707 * src/core/na-io-provider.c (load_items_get_merged_list):
708 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
709 Use the correct list pointer.
711 * src/core/na-iprefs.c:
712 * src/core/na-iprefs.h
713 (na_iprefs_get_export_format, na_iprefs_set_export_format):
714 Functions moved from src/nact/nact-iprefs.c.
716 * src/nact/nact-iprefs.c:
717 * src/nact/nact-iprefs.h: Removed files.
719 * src/nact/Makefile.am:
720 * src/nact/base-window.c:
721 * src/nact/nact-assistant-export.c:
722 * src/nact/nact-assistant-import.c:
723 * src/nact/nact-clipboard.c:
724 * src/nact/nact-export-ask.c:
725 * src/nact/nact-export-format.c:
726 * src/nact/nact-gtk-utils.c:
727 * src/nact/nact-iaction-tab.c:
728 * src/nact/nact-icommand-tab.c:
729 * src/nact/nact-ifolders-tab.c:
730 * src/nact/nact-main-toolbar.c:
731 * src/nact/nact-preferences-editor.c:
732 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
734 * src/nact/nact-iprefs.c:
735 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
736 nact_iprefs_write_string): Remove deprecated functions.
738 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
741 * src/nact/base-iprefs.c:
742 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
743 Remove deprecated functions.
745 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
746 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
749 * src/nact/nact-iprefs.c:
750 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
752 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
755 Global renaming of preferences.
758 * src/api/na-iio-provider.h:
759 * src/core/na-export-format.h:
760 * src/core/na-exporter.h:
761 * src/core/na-importer-ask.h:
762 * src/core/na-importer.c:
763 * src/core/na-io-provider.c:
764 * src/core/na-io-provider.h:
765 * src/core/na-iprefs.c:
766 * src/core/na-iprefs.h:
767 * src/core/na-module.c:
768 * src/core/na-pivot.c:
769 * src/core/na-pivot.h:
770 * src/core/na-settings.c:
771 * src/core/na-settings.h:
772 * src/core/na-updater.c:
773 * src/nact/nact-add-capability-dialog.c:
774 * src/nact/nact-add-scheme-dialog.c:
775 * src/nact/nact-assistant-export.c:
776 * src/nact/nact-assistant-import.c:
777 * src/nact/nact-clipboard.c:
778 * src/nact/nact-export-ask.c:
779 * src/nact/nact-gtk-utils.c:
780 * src/nact/nact-iactions-list.c:
781 * src/nact/nact-icommand-tab.c:
782 * src/nact/nact-icon-chooser.c:
783 * src/nact/nact-ienvironment-tab.c:
784 * src/nact/nact-ifolders-tab.c:
785 * src/nact/nact-iprefs.c:
786 * src/nact/nact-iprefs.h:
787 * src/nact/nact-main-menubar-edit.c:
788 * src/nact/nact-main-menubar-file.c:
789 * src/nact/nact-main-menubar.c:
790 * src/nact/nact-main-toolbar.c:
791 * src/nact/nact-main-window.c:
792 * src/nact/nact-preferences-editor.c:
793 * src/nact/nact-providers-list.c:
794 * src/nact/nact-schemes-list.c:
795 * src/nact/nact-sort-buttons.c:
796 * src/nact/nact-tree-model-dnd.c:
797 * src/nact/nact-tree-model.c:
798 * src/nact/nact-window.c:
799 * src/nact/nact-window.h:
800 * src/plugin-menu/nautilus-actions.c:
801 * src/utils/na-gconf2key.sh.in:
802 * src/utils/nautilus-actions-new.c: Rename preferences.
803 >>>>>>> Globally rename preferences
805 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
807 * src/core/na-settings.c:
808 * src/core/na-settings.h: Preference names are defined as '#define' values.
811 * src/utils/na-gconf2key.sh.in: Adjust preferences.
813 * src/core/na-iprefs.c:
814 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
816 * src/api/na-iimporter.h:
817 * src/core/na-importer-ask.c:
818 * src/core/na-importer-ask.h:
819 * src/core/na-importer.c: Updated accordingly.
821 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
823 * src/nact/nact-iprefs.c:
824 * src/nact/nact-iprefs.h: Get ride of GConf.
827 * src/core/na-settings.c:
828 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
830 * src/nact/nact-icommand-tab.c:
831 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
834 * src/core/na-settings.c:
835 * src/utils/na-gconf2key.sh.in:
836 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
838 * src/nact/nact-ifolders-tab.c: Updated accordingly.
841 * src/core/na-settings.c:
842 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
844 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
845 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
846 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
847 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
848 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
849 * src/nact/nact-main-window.c
850 (instance_dispose, base_get_iprefs_window_id):
851 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
852 Update all preference names when saving/restoring window size and position.
854 * src/core/na-settings.c:
855 * src/core/na-settings.h: All getters/setters are implemented.
857 * src/nact/base-iprefs.c: Remove GConf stuff.
859 * src/nact/nact-icon-chooser.c:
860 * src/nact/nact-icon-chooser.ui: Implement all preferences.
862 * src/utils/na-gconf2key.sh.in:
863 Renamed preferences for windows size and position '-wsp'.
864 Also delete from GConf if only preferences have been migrated.
865 Re-sync after tree delete.
867 * src/api/na-boxed.h:
868 * src/core/na-boxed.c
869 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
872 * configure.ac: Enable silent rules by default.
874 * run-autogen.sh: Add sysconfdir argument to autogen.sh
876 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
877 Search a pixbuf by icon theme if not found as filename or stock.
879 * src/nact/base-window.c:
880 * src/nact/base-window.h (base_window_peek_widget): New function.
882 * src/nact/nact-icon-chooser.c:
883 * src/nact/nact-icon-chooser.h:
884 * src/nact/nact-icon-chooser.ui: New files.
886 * src/nact/Makefile.am:
887 * src/nact/nact-iaction-tab.c:
888 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
890 * src/core/na-settings.c (content_load_keys):
891 Do not warn if configuration file does not exist.
893 * src/api/na-boxed.h:
894 * src/api/na-data-boxed.h:
895 * src/api/na-data-types.h:
896 * src/core/na-boxed.c:
897 * src/core/na-data-boxed.c:
898 * src/core/na-data-types.c:
899 Update reference documentation to deprecate NADataBoxed and NADataType
902 * src/core/na-settings.c:
903 * src/core/na-settings.h: Configuration monitoring.
905 * src/plugin-menu/nautilus-actions.c:
906 Monitor all runtime preferences with only one callback.
908 * src/api/na-boxed.h:
909 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
911 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
913 * src/api/na-data-types.h:
914 * src/core/na-data-types.c
915 (na_data_types_copy, na_data_types_free): Removed functions.
918 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
920 * src/api/na-boxed.h:
921 * src/core/na-boxed.c: New files.
923 * src/api/Makefile.am:
924 * src/core/Makefile.am: Updated accordingly.
926 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
928 * src/api/na-data-types.h:
929 * src/core/na-data-types.c
930 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
933 * src/core/na-settings.c
934 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
936 * src/core/na-settings.h
937 (na_settings_get_boolean_ex, na_settings_get_string_list):
940 * src/plugin-menu/nautilus-actions.c:
941 Implement runtime preferences monitoring.
942 No more use deprecated na_pivot_set_automatic_reload().
944 * src/core/na-pivot.c:
945 * src/core/na-pivot.h:
946 Replace GConf preferences monitoring with NASettings.
947 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
949 * src/core/na-settings.c:
950 * src/core/na-settings.h
951 (na_settings_register_key_callback,
952 na_settings_register_global_callback, na_settings_get_boolean):
955 * src/api/na-iio-provider.h:
956 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
957 definition is moved (and renamed) from public API to internal one.
959 * src/core/na-iio-provider.c (interface_base_init):
960 * src/core/na-io-provider.c (io_provider_set_provider):
961 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
963 * src/core/na-iio-provider.c
964 * src/core/na-settings.c (na_settings_new):
965 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
967 * src/core/na-pivot.c:
968 * src/core/na-pivot.h (na_pivot_register):
969 * src/core/na-settings.c:
970 * src/core/na-settings.h (na_settings_register):
971 * src/plugin-menu/nautilus-actions.c (instance_constructed):
974 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
976 * src/nact/base-application.c (display_dlg): Setup parent window.
978 * src/api/na-iimporter.h:
979 * src/core/na-io-provider.c:
980 * src/core/na-object-id.c:
981 * src/core/na-object-item.c:
982 * src/io-desktop/nadp-utils.c:
983 * src/nact/nact-assistant-import.c:
984 * src/nact/nact-iactions-list-bis.c:
985 * src/nact/nact-iactions-list.h:
986 * src/nact/nact-main-window.c:
987 * src/nact/nact-preferences.ui:
988 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
990 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
992 * src/core/na-object-profile-factory.c:
993 Remove %o/%O parameters from description of version 2.0.
994 Add a missing line feed.
996 * tools/check-po.sh: Adapt to glade files.
998 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1000 * src/utils/nautilus-actions-new.c (init_options):
1001 * src/utils/nautilus-actions-run.c (init_options):
1002 * src/utils/nautilus-actions-schemas.c (init_options):
1003 Initialize translation domain for GOptionContext.
1005 * src/core/na-data-boxed.c
1006 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1007 * src/core/na-export-format.c
1008 (na_export_format_get_label, na_export_format_get_description):
1009 * src/core/na-iabout.c (na_iabout_display):
1010 * src/core/na-object-action.c (na_object_action_new_with_defaults):
1011 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1012 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1013 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1014 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1015 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1016 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1017 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1018 * src/nact/nact-tree-model-dnd.c
1019 (is_drop_possible, is_drop_possible_before_iter,
1020 is_drop_possible_into_dest, is_parent_accept_new_childs):
1021 Use gettext() to display localized static strings.
1023 * src/api/na-data-def.h: Complete the description of the fields.
1025 * src/core/na-io-provider.c:
1026 * src/core/na-object-profile-factory.c:
1027 * src/nact/nact-assistant-export.ui:
1028 * src/nact/nautilus-actions-config-tool.ui:
1029 Fix various mistakes and mispellings reported by Fr translation team.
1031 * configure.ac: Post-release bump version number.
1033 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1035 * src/core/na-pivot.c (na_pivot_register): New function.
1037 * src/plugin-menu/nautilus-actions.c:
1038 Replace NAIPivotConsumer interface with na_settings() accessors.
1040 * src/core/na-settings.c:
1041 * src/core/na-settings.h: New files.
1043 * src/utils/na-gconf2key.sh.in:
1044 Make sure that GConf is at the end of the list of I/O providers.
1045 Make sure that GConf is locked.
1046 Migrate all I/O provider preferences.
1049 * src/utils/Makefile.am:
1050 * src/utils/na-gconf2key.sh.in:
1051 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
1052 and is installed in PKGLIBEXECDIR.
1054 * src/core/Makefile.am:
1055 * src/core/na-gconf-migration.c: Updated accordingly.
1057 * src/utils/Makefile.am:
1058 nautilus-actions-delete is renamed as na-delete-xmltree,
1059 and is installed in PKGLIBEXECDIR.
1061 * src/core/na-core-utils.c (na_core_utils_print_version):
1062 Print the compilation version of GLib2 and Gtk+ when in debug mode.
1064 * src/utils/Makefile.am:
1065 nautilus-actions-schemas is renamed as na-print-schemas,
1066 and is installed in PKGLIBEXECDIR.
1068 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
1070 * src/nact/nact-main-window.c (iabout_get_toplevel):
1071 Let the About dialog get the toplevel window.
1073 * src/nact/nact-preferences.ui:
1074 * src/nact/nautilus-actions-config-tool.ui:
1075 Apply patch provided by Christian Kirbach. Fix #638548.
1077 Use the same script to migrate items and preferences.
1079 * README-GCONF: Document migrated and renamed preferences.
1081 * src/utils/nautilus-actions-gconf2desktop.sh.in:
1082 Rewrite migrated preferences as keyed files.
1083 At last, remove the whole Nautilus-Actions tree from GConf.
1085 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
1087 * src/utils/console-utils.c (console_cmdline_get_description):
1088 Returns the full address of the page to enter a new bug in Bugzilla.
1090 * src/core/na-gconf-migration.c:
1091 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
1093 * src/core/Makefile.am: Updated accordingly.
1095 * src/nact/nact-main.c (main):
1096 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
1097 * src/utils/nautilus-actions-new.c (main):
1098 * src/utils/nautilus-actions-run.c (main):
1099 Automatically run the migration tool at startup.
1101 * src/utils/nautilus-actions-gconf2desktop.sh.in:
1102 * src/utils/nautilus-actions-delete.c:
1103 * src/utils/nautilus-actions-print.c:
1104 New items migration script and programs.
1105 They take care of migrating users and mandatory items to .desktop files.
1108 * src/utils/Makefile.am:
1109 * src/utils/.gitignore: Updated accordingly.
1111 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1113 * src/core/na-tokens.c (na_tokens_new_from_selection):
1114 No more prepare the list string of selection.
1115 Directly build the selection list in the correct order.
1116 (execute_action_command): Setup the working directory.
1118 * src/core/na-tokens.c:
1119 * src/core/na-tokens.h (na_tokens_parse_parameters):
1120 Renamed as na_tokens_parse_for_display() as filenames are not quoted
1121 when displayed as part of an expanded label.
1123 * src/nact/nact-icommand-tab.c (parse_parameters):
1124 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1125 Updated accordingly.
1127 * configure.ac: Fix "API Reference generation" message.
1129 * m4/na-enable-manuals.m4:
1130 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1132 * src/core/na-selected-info.c (new_from_uri):
1133 - Add an excerpt from RFC 2396 about valid characters in URIs.
1134 - Prefer the filename from g_filename_from_uri() when possible.
1136 * src/core/na-tokens.c
1137 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1138 (build_string_lists_item): Removed function.
1140 * src/core/na-iabout.c (na_iabout_display):
1141 Fix typo in comment, adding a note to the translators.
1143 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
1145 * src/core/na-io-provider.c:
1146 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
1149 * configure.ac: Define a conditional if we have both GSettings and GConf.
1151 * src/core/na-gsettings-migrate.c:
1152 * src/core/na-gsettings-migrate.h: New files.
1154 * src/core/Makefile.am: Updated accordingly.
1156 * src/core/na-pivot.c (instance_constructed):
1157 Call na_gsettings_migrate() if we have both GSettings and GConf.
1160 - Define HAVE_GSETTINGS variable.
1161 - Define HAVE_GCONF variable.
1163 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1165 * src/nact/egg-desktop-file.c:
1166 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1168 * src/nact/base-keysyms.h:
1169 * src/nact/egg-sm-client-private.h:
1170 * src/nact/egg-sm-client-xsmp.c:
1171 * src/nact/nact-add-capability-dialog.c:
1172 * src/nact/nact-add-scheme-dialog.c:
1173 * src/nact/nact-main-tab.c:
1174 * src/nact/nact-clipboard.c:
1175 * src/nact/nact-tree-model-dnd.c:
1176 * src/nact/nact-gtk-utils.c:
1177 * src/nact/nact-iaction-tab.c:
1178 * src/nact/nact-main-statusbar.c:
1179 * src/nact/nact-main-menubar.c:
1180 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1183 * m4/na-check-for-gtk.m4:
1184 Move back gtk_required variable to improve readibility of configure.ac.
1186 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1188 * configure.ac: Post release version bump.
1190 * NEWS: Update NEWS before release.
1192 * src/plugin-menu/nautilus-actions.c (create_root_menu):
1193 Update the root menu label to better reflect the product name.
1195 * src/nact/nautilus-actions-config-tool.ui:
1196 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1198 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1199 Display again stock icons in NACT.
1200 Fix #638461 - Stock icons are no more displayed in NACT.
1202 * Almost all files modified:
1203 Update copyright message.
1204 Set Nautilus-Actions as being the actual official product name.
1206 * src/core/na-selected-info.c (new_from_nautilus_file_info):
1207 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1208 Fix #638450 - Nautilus crashes when opening Trash or Network.