Convert NASettings to a private singleton
[nautilus-actions.git] / ChangeLog
blob0fb1563cdb8b47f12910f72ea588c5617dca8684
1 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
3         NASettings is now a private singleton which allocates itself when needed.
4         Preference are so available anywhere without requiring an object.
6         * src/core/na-importer-ask.c (na_importer_ask_user):
7         * src/core/na-importer.c (import_from_uri):
8         * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
9         * src/core/na-iprefs.c:
10         * src/core/na-iprefs.h:
11         * src/core/na-pivot.c (instance_constructed, instance_dispose):
12         * src/core/na-pivot.h (na_pivot_get_settings):
13         * src/core/na-settings.c:
14         * src/core/na-settings.h:
15         * src/core/na-tokens.c:
16         * src/core/na-tokens.h(na_tokens_execute_action):
17         * src/core/na-updater.c (are_preferences_locked):
18         * src/nact/base-gtk-utils.c:
19         * src/nact/nact-assistant-export.c (nact_assistant_export_run):
20         * src/nact/nact-assistant-import.c (nact_assistant_import_run):
21         * src/nact/nact-clipboard.c (export_row_object):
22         * src/nact/nact-export-ask.c (nact_export_ask_user):
23         * src/nact/nact-icon-chooser.c:
24         * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
25         * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
26         * src/nact/nact-main-window.c (on_base_initialize_base_window):
27         * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
28         * src/nact/nact-preferences-editor.c:
29         * src/nact/nact-providers-list.c (nact_providers_list_save):
30         * src/nact/nact-schemes-list.c (init_view_get_default_list):
31         * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
32         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
33         * src/nact/nact-tree-model.c (nact_tree_model_new):
34         * src/plugin-menu/nautilus-actions.c:
35         * src/utils/nautilus-actions-run.c: Updated accordingly.
37         Current desktop environment can be a user preference
39         * src/core/na-desktop-environment.c:
40         * src/core/na-desktop-environment.h: New files.
42         * po/POTFILES.in:
43         * src/core/Makefile.am:
44         * src/core/na-icontext.c (is_candidate_for_show_in):
45         * nact/nact-ienvironment-tab.c
46         (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
48         * src/core/na-settings.c:
49         * src/core/na-settings.h:
50         Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
51         (set_key_value): Setting a NULL string actually removes the key.
53         * src/nact/nact-preferences-editor.c:
54         * src/nact/nact-preferences.ui: Let the user choose his desktop.
56         * src/core/na-iabout.c: Renamed as src/core/na-about.c.
57         * src/core/na-iabout.h: Renamed as src/core/na-about.h.
58         NAIAbout is no more an interface, but just a set of functions.
60         * src/core/Makefile.am:
61         * src/core/na-core-utils.c (na_core_utils_print_version):
62         * src/nact/nact-application.c (nact_application_new_with_args):
63         * src/nact/nact-main-window.c:
64         * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
65         * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
67 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
69         Improve ExecutionMode implementation by defining a new user preference
71         * src/core/na-settings.c:
72         * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
74         * src/core/na-tokens.c:
75         * src/core/na-tokens.h
76         (na_tokens_command_from_terminal_prefix): New function.
77         (na_tokens_execute_action): New NASettings parameter.
79         * src/nact/nact-preferences-editor.c:
80         * src/nact/nact-preferences.ui: Let the user edit the preference.
82         * src/utils/nautilus-actions-run.c:
83         * po/POTFILES.in: Updated accordingly.
85 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
87         * src/core/na-settings.c:
88         * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
90         * src/plugin-menu/nautilus-actions.c:
91         * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
92         New function.
94         * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
95         syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
97         * configure.ac: Bump Nautilus required version to 2.16
98         for having nautilus_menu_provider_emit_items_updated_signal() function.
100         * configure.ac:
101         * src/plugin-menu/nautilus-actions.c:
102         Check for nautilus_menu_provider_get_toolbar_items() function.
104         * src/core/na-selected-info.c (instance_init, instance_finalize):
105         Improve debug messages.
107         * src/core/na-icontext.c: 
108         * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
109         (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
111         Move Nautilus-Actions configuration files to nautilus-actions/ subdir
113         * src/core/na-settings.c (na_settings_new):
114         * src/utils/na-gconf2key.sh.in: Updated accordingly.
116         Implement execution mode property
118         * m4/na-check-for-gtk.m4: Check for Gio-unix.
120         * src/core/na-object-profile-factory.c: Improve translation comment.
122         * src/core/na-tokens.c (execute_action_command): Display output.
124 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
126         * src/api/na-object.h:
127         * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
128         Deprecated functions.
130         * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
132         Rewrite copy stack to get ride of iteration on class hierarchy
134         * src/api/na-object-api.h
135         (na_object_copy, na_object_get_hierarchy): Removed macros.
137         * src/api/na-icontext.h:
138         * src/core/na-icontext.c (na_icontext_copy): New function.
140         * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
141         * src/core/na-object-item.c (object_copy):
142         * src/core/na-object-action.c (object_copy):
143         * src/core/na-object-profile.c (object_copy):
144         * src/core/na-object-menu.c (object_copy): Updated accordingly.
146         Rewrite validity status check stack
148         * src/api/na-icontext.h:
149         * src/core/na-icontext.c (na_icontext_are_equal): New function.
151         * src/core/na-factory-object.c (na_factory_object_is_valid):
152         * src/core/na-object.c (iduplicable_is_valid):
153         * src/core/na-object-id.c (object_is_valid):
154         * src/core/na-object-id-factory.c:
155         * src/core/na-object-item.c (object_is_valid):
156         * src/core/na-object-action.c (object_is_valid):
157         * src/core/na-object-profile.c (object_is_valid):
158         * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
160         Rewrite modification status check stack
162         * src/api/na-object-item.h:
163         * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
165         * src/api/na-object.h:
166         * src/core/na-factory-object.c:
167         * src/core/na-iduplicable.c: Improve comment.
169         * src/core/na-object.c:
170         * src/core/na-object-id.c:
171         * src/core/na-object-menu.c:
172         * src/core/na-object-action.c:
173         * src/core/na-object-profile.c: Modification is checked from
174         NAObject-virtual method instead of NAIFactoryObject interface.
176         * src/api/na-iduplicable.h:
177         * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
179         * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
181         * src/api/na-icontext.h:
182         * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
183         Renamed as na_icontext_check_mimetypes().
185         * src/api/na-ifactory-object-data.h:
186         * src/api/na-object-api.h:
187         * src/core/na-icontext-factory.c:
188         * src/core/na-object-profile.c: Updated accordingly.
190         * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
192         * src/core/na-icontext.c (na_icontext_get_running_environment):
193         Fix value test.
195         * src/core/na-boxed.c (string_list_from_string,
196         string_list_from_value, string_list_from_void): Check for duplicates.
198         * src/utils/nautilus-actions-new.c: Fix default mimetype.
200         * src/core/na-icontext.c (get_running_environment): New function.
202         * src/utils/na-print-schemas.c: Also display menu schemas.
204         * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
205         Data are deprecated and not writable.
207         * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
209 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
211         * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
212         NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
213         NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
215         * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
216         show-if-true, show-if-running and capability options.
217         
218         * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
219         NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
220         * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
221         NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
222         * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
223         Fix options definition.
225         * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
227         * src/core/na-icontext-factory.c
228         (NAFO_DATA_SELECTION_COUNT): Fix option definition.
230         * src/utils/nautilus-actions-new.c: Add selection-count option.
232         * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
233         locale_is_default): Fix default value test.
235 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
237         * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
238         na_object_set_multiple): Deprecated functions.
240         * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
241         Deprecated data.
243         * src/utils/nautilus-actions-new.c: Updated accordingly.
245         * src/nact/nact-providers-list.c:
246         * src/nact/nact-schemes-list.c: Does not recompute if preferences are
247         locked, but use na_updater_are_preferences_locked() function.
249         * src/api/na-iio-provider.h:
250         Define new reason when the level zero is not writable.
252         * src/core/na-updater.c:
253         * src/core/na-updater.h (na_updater_is_item_writable):
254         Renamed as na_updater_check_item_writability_status.
256         * src/nact/nact-main-window.c (setup_writability_status):
257         * src/nact/nact-menubar-edit.c (get_deletables):
258         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
259         Updated accordingly.
261         * src/nact/base-assistant.c (class_init):
262         Apply patch provided by Christian Kirback. Fix #640920.
264 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
266         * src/core/na-pivot.h:
267         * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
269         * src/nact/base-window.h:
270         * src/nact/base-window.c (class_init):
271         Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
273         * src/nact/nact-main-window.c:
274         Connect to the signal instead of implementing a virtual method.
276 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
278         * src/core/na-iduplicable.c (interface_base_init):
279         * src/core/na-settings.c (class_init):
280         * src/nact/base-window.c (class_init):
281         Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
283         * docs/reference/Makefile.am:
284         * src/nact/Makefile.am:
285         * run-distcheck.sh: Fix make distcheck.
287         * docs/reference/Makefile.am:
288         Do not documente NAGconfMonitor class when deprecated symbols are disabled.
290         * src/api/na-data-boxed.h:
291         * src/api/na-gconf-utils.h:
292         * src/core/na-data-boxed.c:
293         * src/core/na-iduplicable.c:
294         * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
296         * configure.ac:
297         * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
299         * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
301         * src/api/na-iduplicable.h:
302         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
303         Deprecated function.
305         * src/core/na-factory-object.c (na_factory_object_are_equal):
306         * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
307         Improve debug messages.
309         * src/core/na-icontext-factory.c:
310         * src/core/na-object-action-factory.c:
311         * src/core/na-object-id-factory.c: Set missing default values.
313         * src/core/na-object-action.c (ifactory_object_are_equal):
314         An action is modified as soon as at least one profile is modified.
316         * src/core/na-icontext-factory.c: Fix string list regression
318         * src/core/na-boxed.c: Fix regression when setting values.
320         * src/core/na-selected-info.c (query_file_attributes):
321         Keep selection info even when unable to query attributes.
322         Fix #641464.
324 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
326         Do not compile with GConf library when disabled
328         * src/api/na-gconf-monitor.h:
329         * src/api/na-gconf-utils.h:
330         * src/core/na-gconf-migration.c:
331         * src/core/na-gconf-monitor.c:
332         * src/core/na-gconf-utils.c:
333         * src/io-gconf/Makefile.am:
334         * src/io-xml/naxml-reader.c:
335         * src/utils/Makefile.am: Updated accordingly.
337 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
339         Add --enable-gconf configure argument
340         Define HAVE_GCONF conditional
342         * m4/na-check-for-gconf.m4: New file.
344         * configure.ac:
345         * data/gconf-schemas/Makefile.am: Updated accordingly.
347         Only GConf writing operations are marked deprecated
349         * src/api/na-gconf-monitor.h:
350         * src/api/na-gconf-utils.h:
351         * src/core/na-gconf-monitor.c:
352         * src/core/na-gconf-utils.c:
353         * src/io-gconf/nagp-writer.c:
354         * src/io-gconf/nagp-writer.h: Updated accordingly.
356         No more use deprecated functions
358         * src/core/na-factory-object.c:
359         * src/io-desktop/nadp-reader.c:
360         * src/io-desktop/nadp-writer.c:
361         * src/io-gconf/nagp-reader.c:
362         * src/io-gconf/nagp-writer.c:
363         * src/io-xml/naxml-reader.c:
364         * src/io-xml/naxml-writer.c: Updated accordingly.
366         NADataBoxed class now derives from NABoxed
368         * src/api/na-boxed.h:
369         * src/api/na-data-boxed.h:
370         * src/api/na-data-types.h:
371         * src/core/na-boxed.c:
372         * src/core/na-core-utils.c:
373         * src/core/na-data-boxed.c:
374         * src/core/na-data-types.c:
375         * src/core/na-factory-object.c:
376         * src/core/na-ifactory-object.c:
377         * src/core/na-settings.c:
378         * src/io-desktop/nadp-writer.c:
379         * src/io-gconf/nagp-writer.c:
380         * src/io-xml/naxml-writer.c: Updated accordingly.
382         * src/api/na-boxed.h:
383         * src/core/na-boxed.c: Convert to the NABoxed class.
385         * src/core/na-settings.c: Updated accordingly.
387         * src/api/na-data-boxed.h:
388         * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
390         Merge NABoxed and NADataBoxed data type definitions.
391         Data type are remaned as NA_DATA_TYPE.
393         * src/api/na-boxed.h:
394         * src/api/na-data-def.h:
395         * src/api/na-data-types.h:
396         * src/core/na-boxed.c:
397         * src/core/na-data-boxed.c:
398         * src/core/na-data-types.c:
399         * src/core/na-factory-object.c:
400         * src/core/na-icontext-factory.c:
401         * src/core/na-ifactory-object.c:
402         * src/core/na-object-action-factory.c:
403         * src/core/na-object-id-factory.c:
404         * src/core/na-object-item-factory.c:
405         * src/core/na-object-profile-factory.c:
406         * src/core/na-settings.c:
407         * src/io-desktop/nadp-reader.c:
408         * src/io-desktop/nadp-writer.c:
409         * src/io-gconf/nagp-reader.c:
410         * src/io-gconf/nagp-writer.c:
411         * src/io-xml/naxml-reader.c:
412         * src/io-xml/naxml-writer.c:
413         * src/utils/na-print-schemas.c: Updated accordingly.
415 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
417         * src/api/na-iduplicable.h:
418         * src/core/na-iduplicable.c:
419         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
420         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
422         * src/api/na-object-api.h:
423         * src/core/na-object.c:
424         * src/core/na-object-item.c:
425         * src/core/na-object-item.h:
426         Deprecated na_object_check_status_up macro.
427         Merge na_object_item_check_status() and na_object_item_check_status_up().
429         * src/nact/nact-iaction-tab.c:
430         * src/nact/nact-ibasenames-tab.c:
431         * src/nact/nact-icapabilities-tab.c:
432         * src/nact/nact-icommand-tab.c:
433         * src/nact/nact-ienvironment-tab.c:
434         * src/nact/nact-iexecution-tab.c:
435         * src/nact/nact-ifolders-tab.c:
436         * src/nact/nact-iproperties-tab.c:
437         * src/nact/nact-ischemes-tab.c:
438         * src/nact/nact-main-window.c:
439         * src/nact/nact-main-window.h:
440         * src/nact/nact-match-list.c: Properties are renamed.
442         * src/nact/nact-main-tab.c:
443         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
445 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
447         In the process of replacing NactIActionsList interface with:
448         - the NactTreeView class
449         - plus the NactTreeIEditable interface.
451         Almost all NACT files modified. Compilation is OK.
453 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
455         * src/nact/nact-tree-model.c:
456         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
457         * src/nact/nact-tree-view.c:
458         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
460         Allow an items list to be referenced in a new list.
462         * src/api/na-object-api.h (na_object_ref_items): New macro.
464         * src/api/na-object-item.h:
465         * src/core/na-object-item.c (na_object_item_ref_items): New function.
467         * src/nact/nact-assistant-export.c
468         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
470         Review NAObject reference management
472         * src/api/na-object-api.h
473         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
474         (na_object_free_items): New macro.
476         * src/api/na-object-item.h:
477         * src/core/na-object-item.c
478         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
479         (na_object_item_free_items): New function.
481         * src/core/na-io-provider.c (na_io_provider_load_items):
482         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
483         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
484         na_pivot_set_new_items):
485         * src/nact/nact-assistant-import.c (assistant_apply):
486         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
487         * src/nact/nact-iactions-list.c (free_items_callback):
488         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
489         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
490         nact_main_menubar_edit_on_paste_into,
491         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
492         * src/nact/nact-main-menubar-file.c
493         (nact_main_menubar_file_on_new_menu,
494         nact_main_menubar_file_on_new_action,
495         nact_main_menubar_file_on_new_profile):
496         * src/nact/nact-main-menubar-maintainer.c
497         (nact_main_menubar_maintainer_on_dump_selection):
498         * src/nact/nact-main-menubar.c (on_update_sensitivities):
499         * src/nact/nact-main-window.c (instance_dispose,
500         nact_main_window_remove_deleted, reload):
501         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
502         * src/nact/nact-tree-model.c (fill_tree_store):
503         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
504         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
505         accordingl
506         * src/nact/nact-main-menubar-maintainer.c
507         (nact_main_menubar_maintainer_on_dump_selection):
508         * src/nact/nact-main-menubar.c (on_update_sensitivities):
509         * src/nact/nact-main-window.c (instance_dispose,
510         nact_main_window_remove_deleted, reload):
511         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
512         * src/nact/nact-tree-model.c (fill_tree_store):
513         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
514         * src/plugin-menu/nautilus-actions.c (get_menus_items):
515         Updated accordingly.
517         New NactTreeView convenience class
519         * src/nact/nact-tree-view.c:
520         * src/nact/nact-tree-view.h: New files.
522         * src/nact/Makefile.am:
523         * src/nact/nact-assistant-export.c:
524         * src/nact/nact-iactions-list-priv.c:
525         * src/nact/nact-iactions-list.h:
526         * src/nact/nact-marshal.list:
527         * src/nact/nact-tree-model.c: Updated accordingly.
529 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
531         Refactoring of menubar files:
532         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
533         - nact-main-menubar-*.h are removed.
535         * src/nact/Makefile.am:
536         * src/nact/nact-confirm-logout.c:
537         * src/nact/nact-iactions-list.c: Updated accordingly.
539         * src/nact/nact-main-window.c:
540         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
541         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
543         Termination of the main window is managed in NactMainWindow.
545         * src/nact/nact-main-window.c:
546         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
548         * src/nact/nact-main-menubar-file.c: Updated accordingly.
550         Move a NASettings getter to NAUpdater
552         * src/core/na-updater.c:
553         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
555         * src/nact/nact-main-menubar-edit.c:
556         * src/nact/nact-main-menubar-edit.h
557         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
559         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
561         * src/nact/base-application.c (class_init):
562         * src/nact/base-assistant.c (class_init):
563         * src/nact/base-window.c (class_init):
564         * src/nact/nact-main-window.c (instance_constructed):
565         Setup construction properties.
567         * src/nact/nact-application.c:
568         * src/nact/nact-application.h (nact_application_get_updater):
569         Set NactApplication as a const argument.
571         Deprecate NAIPivotConsumer interface
573         * src/core/na-ipivot-consumer.c:
574         * src/core/na-ipivot-consumer.h: Removed files.
576         * src/core/Makefile.am:
577         * src/core/na-pivot.c:
578         * src/core/na-pivot.h:
579         * src/nact/nact-application.c:
580         * src/nact/nact-main-menubar-file.c:
581         * src/nact/nact-main-window.c:
582         * src/nact/nact-menubar.c: Updated accordingly.
584         * src/core/na-pivot.c:
585         * src/core/na-pivot.h
586         (na_pivot_set_automatic_reload): Remove unused function.
588         * src/test/test-reader.c: Updated accordingly.
590         * src/nact/nact-main-window.c (instance_constructed):
591         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
593         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
595         * src/nact/base-iprefs.c:
596         * src/nact/base-iprefs.c: Removed files.
598         * src/nact/Makefile.am:
599         * src/nact/base-gtk-utils.c:
600         * src/nact/base-gtk-utils.h:
601         * src/nact/base-window.c:
602         * src/nact/nact-assistant-export.c:
603         * src/nact/nact-export-ask.c:
604         * src/nact/nact-export-format.c:
605         * src/nact/nact-iaction-tab.c:
606         * src/nact/nact-ibasenames-tab.c:
607         * src/nact/nact-icommand-tab.c:
608         * src/nact/nact-icon-chooser.c:
609         * src/nact/nact-ienvironment-tab.c:
610         * src/nact/nact-iexecution-tab.c:
611         * src/nact/nact-ifolders-tab.c:
612         * src/nact/nact-iproperties-tab.c:
613         * src/nact/nact-ischemes-tab.c:
614         * src/nact/nact-main-statusbar.c:
615         * src/nact/nact-main-window.c:
616         * src/nact/nact-match-list.c:
617         * src/nact/nact-preferences-editor.c:
618         * src/nact/nact-providers-list.c:
619         * src/nact/nact-schemes-list.c:
620         * src/nact/nact-tree-model.c: Updated accordingly.
622         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
623         BaseWindow property
625         * src/core/na-settings.c:
626         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
628         * src/nact/base-iprefs.c:
629         * src/nact/base-iprefs.h
630         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
631         Removed functions.
632         (get_wsp_id): Remove interface method.
634         * src/nact/base-window.c:
635         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
637         * src/nact/nact-add-capability-dialog.c:
638         * src/nact/nact-add-scheme-dialog.c:
639         * src/nact/nact-assistant-export.c:
640         * src/nact/nact-assistant-import.c:
641         * src/nact/nact-confirm-logout.c:
642         * src/nact/nact-export-ask.c:
643         * src/nact/nact-gtk-utils.c:
644         * src/nact/nact-icommand-tab.c:
645         * src/nact/nact-icon-chooser.c:
646         * src/nact/nact-ifolders-tab.c:
647         * src/nact/nact-main-window.c:
648         * src/nact/nact-preferences-editor.c: Updated accordingly.
650         * src/core/na-updater.c:
651         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
653         Homogeneize marshalling
655         * src/core/na-marshal: Renamed as src/core/na-marshal.def
656         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
658         * src/core/Makefile.am:
659         * src/nact/Makefile.am:
660         * src/nact/nact-iactions-list.c (interface_base_init):
661         * src/nact/nact-main-window.c (class_init): Updated accordingly.
663 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
665         Review menu items sensitivity updates
667         * src/api/na-object-api.h
668         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
670         * src/api/na-object-item.h:
671         * src/core/na-object-item.c
672         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
673         New functions.
675         * src/core/na-updater.c:
676         * src/core/na-updater.h (na_updater_load_items): New function.
678         * src/nact/nact-application.c (appli_main_window_new):
679         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
680         No more load items when instanciating the main window, but when
681         initializing it.
683         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
684         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
686         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
687         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
688         * src/nact/nact-menubar-priv.h:
689         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
690         Rely on indicators pre-computed on selection changes.
692         * src/nact/nact-window.c:
693         * src/nact/nact-window.h (nact_window_has_writable_providers):
694         Removed function.
696         * src/nact/nact-menubar-priv.h:
697         * src/nact/nact-menubar.c: Updated accordingly.
699         * src/core/na-iprefs.c:
700         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
701         Moved to NAUpdater class.
703         * src/core/na-updater.c:
704         * src/core/na-updater.h (na_updater_is_level_zero_writable):
705         Moved from NAIPrefs.
707         * src/nact/nact-menubar-priv.h:
708         * src/nact/nact-menubar.c (on_base_initialize_window):
709         * src/nact/nact-sort-buttons.c (enable_buttons):
710         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
711         Updated accordingly.
713         Review I/O providers writability status management.
715         * src/api/na-iio-provider.h: Review writability reason.
717         * src/core/na-io-provider.c:
718         * src/core/na-io-provider.h
719         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
720         Removed functions.
721         (na_io_provider_is_finally_writable): New function.
723         * src/core/na-pivot.c:
724         * src/core/na-pivot.h
725         (na_pivot_is_configuration_locked_by_admin): Removed function.
727         * src/core/na-updater.c
728         * src/core/na-updater.h (na_updater_is_item_writable):
729         * src/nact/nact-main-menubar-edit.c (get_deletables):
730         * src/nact/nact-main-window.c: Updated accordingly.
732 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
734         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
735         Renamed as nact_menubar_enable_item() and moved to private resources.
737         * src/nact/nact-main-menubar-edit.c:
738         * src/nact/nact-main-menubar-file.c:
739         * src/nact/nact-main-menubar-help.c:
740         * src/nact/nact-main-menubar-tools.c:
741         * src/nact/nact-main-menubar-view.c:
742         * src/nact/nact-menubar-priv.h:
743         * src/nact/nact-menubar.h: Updated accordingly.
745         Move MenubarIndicatorsStruct structure to private instance data
747         * src/nact/nact-menubar-priv.h: New file.
749         * src/nact/Makefile.am:
750         * src/nact/nact-main-menubar-edit.c:
751         * src/nact/nact-main-menubar-edit.h:
752         * src/nact/nact-main-menubar-file.c:
753         * src/nact/nact-main-menubar-file.h:
754         * src/nact/nact-main-menubar-help.c:
755         * src/nact/nact-main-menubar-help.h:
756         * src/nact/nact-main-menubar-maintainer.c:
757         * src/nact/nact-main-menubar-maintainer.h:
758         * src/nact/nact-main-menubar-tools.c:
759         * src/nact/nact-main-menubar-tools.h:
760         * src/nact/nact-main-menubar-view.c:
761         * src/nact/nact-main-menubar-view.h:
762         * src/nact/nact-menubar.c:
763         * src/nact/nact-menubar.h: Updated accordingly.
765         Define a new NactMenubar convenience class
767         * src/nact/nact-main-menubar.c:
768         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
770         * src/nact/Makefile.am:
771         * src/nact/nact-iactions-list.c:
772         * src/nact/nact-main-menubar-edit.h:
773         * src/nact/nact-main-menubar-file.h:
774         * src/nact/nact-main-menubar-help.c:
775         * src/nact/nact-main-menubar-help.h:
776         * src/nact/nact-main-menubar-maintainer.c:
777         * src/nact/nact-main-menubar-maintainer.h:
778         * src/nact/nact-main-menubar-tools.c:
779         * src/nact/nact-main-menubar-tools.h:
780         * src/nact/nact-main-menubar-view.c:
781         * src/nact/nact-main-menubar-view.h:
782         * src/nact/nact-main-window.c: Updated accordingly.
784         * src/api/na-boxed.h:
785         * src/core/na-boxed.c (na_boxed_dump): New function.
787         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
789         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
791         * src/core/na-marshal: New file.
793 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
795         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
797         * src/core/na-settings.c:
798         * src/core/na-settings.h: No more try to summarize notifications here.
800         * src/plugin-menu/nautilus-actions.c (instance_constructed):
801         Register NASettings callbacks on the runtime keys.
803         * src/nact/nact-main-window.c:
804         (NAIPivotConsumer->on_display_order_changed):
805         Moved to on_settings_order_mode_changed() function.
806         (NAIPivotConsumer->on_autosave_changed):
807         Moved to nact_main_menubar_file_install_autosave() new function.
809         * src/nact/nact-main-menubar-file.c:
810         * src/nact/nact-main-menubar-file.h
811         (nact_main_menubar_file_install_autosave): New function.
813         * src/core/na-iprefs.c:
814         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
815         New function.
817         * src/core/na-icontext.c (is_candidate_for_basenames):
818         Fix case insenstive comparison (bug reported by Johan Spee).
820         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
822         * src/nact/base-application.c:
823         * src/nact/base-application.h: Add new exit codes.
825         * src/nact/base-assistant.c:
826         * src/nact/base-assistant.h:
827         Remove 'warn-on-cancel' unused property.
828         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
829         Remove unused functions.
830         Implement run() virtual method.
832         * src/nact/base-dialog.c:
833         * src/nact/base-dialog.h:
834         Implement run() virtual method.
835         Define new cancel() and ok() virtual methods.
837         * src/nact/base-iprefs.c:
838         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
840         * src/nact/base-window.c:
841         * src/nact/base-window.h
842         (dialog_response, delete_event): Remove no more used virtual methods.
843         (run): Define new virtual method.
845         * src/nact/nact-add-capability-dialog.c:
846         * src/nact/nact-add-scheme-dialog.c:
847         * src/nact/nact-assistant-export.c:
848         * src/nact/nact-assistant-import.c:
849         * src/nact/nact-confirm-logout.c:
850         * src/nact/nact-export-ask.c:
851         * src/nact/nact-icon-chooser.c:
852         * src/nact/nact-main-window.c:
853         * src/nact/nact-preferences-editor.c: Updated accordingly.
855 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
857         * src/nact/nact-providers-list.c:
858         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
859         Do not initialize the widgets with the future BaseWindow.
861         * src/nact/nact-preferences-editor.c (preferences_editor_new):
862         Updated accordingly.
864         * src/nact/nact-schemes-list.c: Only ask for preferences once.
866         * src/nact/nact-assistant-import.c (assist_new):
867         Reload the common XML UI file into the private builder.
869         * src/nact/base-dialog.c:
870         * src/nact/base-dialog.h:
871         * src/nact/base-window.h: Do some code and comments cleanup.
873         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
874         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
875         * src/nact/base-window.c (setup_builder):
876         Add a debug message.
878 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
880         * src/plugin-menu/nautilus-actions.c:
881         * src/plugin-menu/nautilus-actions.h:
882         Takes advantage of the new NASettings signal notification system.
884         * src/core/na-pivot.c:
885         * src/core/na-pivot.h: Review the notification system.
887         * src/core/na-settings.c:
888         * src/core/na-settings.h:
889         Add a signal notification to the existing callback pregistration system.
891         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
892         * docs/des-ema/des-ema-0.15:
893         * docs/nact/C/nact-conditions.xml:
894         * docs/nact/C/nact-menus.xml:
895         * src/api/na-extension.h:
896         * src/api/na-ifactory-provider.h:
897         * src/api/na-iio-provider.h:
898         * src/api/na-object.h:
899         * src/core/na-core-utils.c:
900         * src/core/na-factory-object.c:
901         * src/core/na-gconf-utils.c:
902         * src/core/na-icontext-factory.c:
903         * src/core/na-icontext.c:
904         * src/core/na-ifactory-provider.c:
905         * src/core/na-io-provider.c:
906         * src/core/na-io-provider.h:
907         * src/core/na-iprefs.c:
908         * src/core/na-object-action.c:
909         * src/core/na-object-id-factory.c:
910         * src/core/na-object-id.c:
911         * src/core/na-object-item-factory.c:
912         * src/core/na-object-item.c:
913         * src/core/na-pivot.h:
914         * src/core/na-settings.c:
915         * src/core/na-settings.h:
916         * src/core/na-tokens.h:
917         * src/io-desktop/nadp-desktop-file.c:
918         * src/io-desktop/nadp-reader.c:
919         * src/io-desktop/nadp-utils.c:
920         * src/io-gconf/nagp-reader.c:
921         * src/io-xml/naxml-reader.c:
922         * src/nact/nact-gtk-utils.c:
923         * src/nact/nautilus-actions-config-tool.ui:
924         * src/plugin-menu/nautilus-actions.c:
925         * src/utils/nautilus-actions-new.c:
926         * src/utils/nautilus-actions-run.c:
927         * tools/check-headers.sh:
928         * tools/init-finalize-diff.sh:
929         Apply patch provided by Christian Kirbach. Fix #640216.
931         * src/nact/nautilus-actions-config-tool.ui:
932         * src/utils/na-delete-xmltree.c:
933         * src/utils/nautilus-actions-print.c:
934         Fix string errors reported by fr translation team.
936         * src/api/na-timeout.h:
937         * src/core/na-timeout.c: New files.
939         * src/api/Makefile.am:
940         * src/core/Makefile.am: Updated accordingly.
942         * src/core/na-pivot.c (on_item_changed_timeout):
943         * src/core/na-settings.c (on_keyfile_changed_timeout):
944         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
945         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
946         Take advantage of new NATimeout convenience structure.
948         * src/api/na-iio-provider.h:
949         * src/core/na-io-provider.c:
950         * src/core/na-io-provider.h: Fix comments.
952         * src/core/na-iio-provider.c (interface_base_init):
953         The 'item-changed' signal actually does not send any argument.
955         * src/core/na-pivot.c:
956         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
957         Updated accordingly.
959 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
961         * src/nact/base-window.c: Handles the recorded signals in a GList.
963         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
965         * src/nact/nact-main-window.c
966         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
967         Calls the parent class method if willing to quit.
969         * src/nact/nact-window.c:
970         * src/nact/nact-window.h
971         (nact_window_is_item_writable): Remove unused function.
973         * src/nact/base-window.c:
974         * src/nact/base-window.h
975         (runtime_init_toplevel): Renamed as initialize_base_window().
976         (class_init): Fix cclosure_marshall for signals without argument.
978         * src/nact/base-window.c:
979         * src/nact/base-window.h
980         (get_toplevel_name, get_ui_filename): Removed virtual functions.
982         * src/nact/nact-add-capability-dialog.c:
983         * src/nact/nact-add-scheme-dialog.c:
984         * src/nact/nact-assistant-export.c:
985         * src/nact/nact-assistant-import.c:
986         * src/nact/nact-confirm-logout.c:
987         * src/nact/nact-export-ask.c:
988         * src/nact/nact-icon-chooser.c:
989         * src/nact/nact-main-window.c:
990         * src/nact/nact-preferences-editor.c: Updated accordingly.
992         * src/nact/base-window.c:
993         * src/nact/base-window.h:
994         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
995         handling paradigm.
996         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
997         signal.
998         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1000         * src/nact/nact-main-window.c:
1001         No more connect to the signal, but implement the virtual method.
1003         * src/nact/base-application.c (appli_initialize_manage_options):
1004         * src/nact/base-application.h (manage_options):
1005         * src/nact/nact-application.c (appli_manage_options):
1006         Revert commit 3acf600874.
1008         * src/test/test-virtuals.c: Do some more tests on virtual methods.
1010         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1011         on_initialize_base_window_class_handler,
1012         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1013         Succssively invoke all derived class methods.
1015         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1016         all_widgets_showed, is_willing_to_quit): Update comments.
1018         * src/nact/base-application.c (appli_initialize_manage_options):
1019         Successively invoke all derived class methods.
1021         * src/nact/base-application.h (manage_options): Update comment.
1023         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1025         * src/nact/base-builder.c:
1026         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1027         Use a const BaseBuilder as argument;
1029         * src/nact/base-window.c:
1030         * src/nact/base-window.h (base_window_get_widget_from_gtk):
1031         Removed function.
1033         * src/nact/nact-gtk-utils.c:
1034         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1035         New function.
1037         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1039         * src/nact/base-application.c (appli_initialize_unique_app):
1040         Fix reverse test.
1042         * src/nact/base-builder.c:
1043         * src/nact/base-builder.h (base_builder_load_named_toplevel):
1044         Renamed as base_builder_get_toplevel_by_name().
1046         * src/nact/base-window.c: Updated accordingly.
1048 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1050         * src/nact/base-window.c:
1051         * src/nact/base-window.h (base_window_peek_widget):
1052         Renamed as base_window_get_widget_from_gtk().
1054         * src/nact/nact-icon-chooser.c: Updated accordingly.
1056         * src/nact/base-window.c:
1057         * src/nact/base-window.h (base_window_get_named_toplevel):
1058         Renamed as base_window_get_gtk_toplevel_by_name().
1060         * src/nact/nact-icommand-tab.c: Updated accordingly.
1062         * src/nact/base-window.c:
1063         * src/nact/base-window.h (base_window_get_toplevel):
1064         Renamed as base_window_get_gtk_toplevel().
1066         * src/nact/base-application.c:
1067         * src/nact/base-assistant.c:
1068         * src/nact/base-iprefs.c:
1069         * src/nact/nact-add-capability-dialog.c:
1070         * src/nact/nact-add-scheme-dialog.c:
1071         * src/nact/nact-assistant-export.c:
1072         * src/nact/nact-assistant-import.c:
1073         * src/nact/nact-confirm-logout.c:
1074         * src/nact/nact-export-ask.c:
1075         * src/nact/nact-gtk-utils.c:
1076         * src/nact/nact-icommand-tab.c:
1077         * src/nact/nact-icon-chooser.c:
1078         * src/nact/nact-ifolders-tab.c:
1079         * src/nact/nact-main-menubar.c:
1080         * src/nact/nact-main-window.c:
1081         * src/nact/nact-match-list.c:
1082         * src/nact/nact-preferences-editor.c:
1083         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1085         * src/nact/base-window.c:
1086         * src/nact/base-window.h: Rename signal defines.
1088         * src/nact/base-assistant.c:
1089         * src/nact/nact-add-capability-dialog.c:
1090         * src/nact/nact-add-scheme-dialog.c:
1091         * src/nact/nact-assistant-export.c:
1092         * src/nact/nact-assistant-import.c:
1093         * src/nact/nact-confirm-logout.c:
1094         * src/nact/nact-export-ask.c:
1095         * src/nact/nact-icon-chooser.c:
1096         * src/nact/nact-main-window.c:
1097         * src/nact/nact-preferences-editor.c: Updated accordingly.
1099         * src/nact/base-window.c:
1100         * src/nact/base-window.h:
1101         Remove unused properties.
1102         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1104         * src/nact/base-assistant.c:
1105         * src/nact/nact-main-menubar-edit.c:
1106         * src/nact/nact-main-menubar-file.c:
1107         * src/nact/nact-main-window.c
1108         * src/nact/nact-window.c: Updated accordingly.
1110         * src/nact/base-window-class.h: Removed file.
1112         * src/nact/base-window.h:
1113         * src/nact/Makefile.am: Updated accordingly.
1115         * src/utils/na-gconf2key.sh.in:
1116         Get ride of possible error messages when forcing gconfd-2 synchro.
1118         * src/nact/base-application.c:
1119         * src/nact/base-application.h (base_application_message_dlg,
1120         base_application_error_dlg, base_application_yesno_dlg):
1121         Functions are moved to BaseWindow class.
1123         * src/nact/base-window.c:
1124         * src/nact/base-window.h
1125         (base_window_display_yesno_dlg, base_window_display_message_dlg):
1126         New functions.
1128         * src/nact/base-application.c:
1129         * src/nact/base-application.h
1130         (base_application_get_ui_filename): Removed function.
1131         (get_ui_filename): Removed virtual method.
1133         * src/nact/nact-application.c
1134         (appli_get_gtkbuilder_filename):Removed function.
1136         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1138         * src/nact/nact-main-window.c (nact_main_window_new):
1139         Initialize the main window with XML UI properties.
1141         * src/nact/base-window.c:
1142         * src/nact/base-window.h: Rename initialization properties.
1144         * src/nact/nact-add-capability-dialog.c:
1145         * src/nact/nact-add-scheme-dialog.c:
1146         * src/nact/nact-assistant-export.c:
1147         * src/nact/nact-assistant-import.c:
1148         * src/nact/nact-confirm-logout.c:
1149         * src/nact/nact-export-ask.c:
1150         * src/nact/nact-icon-chooser.c:
1151         * src/nact/nact-main-window.c:
1152         * src/nact/nact-preferences-editor.c: Updated accordingly.
1154         * src/nact/base-application.c:
1155         * src/nact/base-application.h:
1156         Define new 'base-application-description' property.
1157         Remove unused properties.
1159         * src/nact/nact-application.c (nact_application_new):
1160         Make use of the new property at instanciation time.
1162 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1164         * src/nact/base-window.c:
1165         * src/nact/base-window.h (base_window_display_error_dlg): New function.
1167         * src/nact/base-application.c:
1168         * src/nact/base-application.h (base_application_get_icon_name):
1169         Removed function.
1171         * src/nact/base-application.c:
1172         * src/nact/base-application.h
1173         (initialize_i18n, initialize_application_name, get_application_name,
1174         initialize_default_icon, get_icon_name, initialize_gtk,
1175         initialize_session_manager, get_unique_app_name, initialize_ui,
1176         initialize_unique_app, initialize, run, get_main_window,
1177         initialize_application): Remove virtual methods.
1179         * src/nact/nact-application.c (appli_get_application_name,
1180         appli_get_icon_name, appli_get_unique_app_name,
1181         appli_initialize_application):  Removed functions.
1183         * src/nact/nact-application.c (nact_application_new_with_args):
1184         Make NactApplication initializes with these new properties.
1186         * src/nact/base-application.c:
1187         * src/nact/base-application.h: Define new properties.
1189         * src/nact/base-application-class.h: Removed file.
1191         * src/nact/Makefile.am:
1192         * src/nact/base-application.h:
1193         * src/nact/base-window-class.h:
1194         * src/nact/base-window.h: Updated accordingly.
1196         * src/nact/base-application-class.h (main_window_new):
1197         * src/nact/base-application.c (application_do_run):
1198         * src/nact/nact-application.c
1199         * src/nact/nact-main-window.h (appli_main_window_new):
1200         Move the creation of the main window to the main_window_new() method.
1201         Remove base_application_get_main_window() function.
1203         * src/nact/base-application-class.h (manage_options):
1204         * src/nact/base-application.c:
1205         * src/nact/nact-application.c: Return exit code of the program.
1207         * src/nact/nact-tree-model-dnd.c
1208         (drop_inside, is_drop_possible, drop_uri_list):
1209         * src/nact/base-window.c (is_main):
1210         Remove base_application_get_main_window() invocations.
1212         * src/nact/nact-main.c: Renamed as main.c
1214         * src/nact/Makefile.am: Updated accordingly.
1216         * tools/Makefile.am: Generate the check-header.c source if it is missing.
1218         * src/plugin-tracker/na-tracker-dbus.c:
1219         * src/plugin-tracker/na-tracker-dbus.h:
1220         * src/plugin-tracker/na-tracker.c:
1221         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1223         * src/plugin-menu/nautilus-actions.c:
1224         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1226         * src/nact/base-application.c:
1227         * src/nact/base-application-class.h:
1228         * src/nact/base-assistant.c:
1229         * src/nact/base-assistant.h:
1230         * src/nact/base-builder.c:
1231         * src/nact/base-builder.h:
1232         * src/nact/base-dialog.c:
1233         * src/nact/base-dialog.h:
1234         * src/nact/base-iprefs.c:
1235         * src/nact/base-iprefs.h:
1236         * src/nact/base-window.c:
1237         * src/nact/base-window-class.h:
1238         * src/nact/egg-tree-multi-dnd.h:
1239         * src/nact/nact-add-capability-dialog.c:
1240         * src/nact/nact-add-capability-dialog.h:
1241         * src/nact/nact-add-scheme-dialog.c:
1242         * src/nact/nact-add-scheme-dialog.h:
1243         * src/nact/nact-application.c:
1244         * src/nact/nact-application.h:
1245         * src/nact/nact-assistant-export.c:
1246         * src/nact/nact-assistant-export.h:
1247         * src/nact/nact-assistant-import.c:
1248         * src/nact/nact-assistant-import.h:
1249         * src/nact/nact-clipboard.c:
1250         * src/nact/nact-clipboard.h:
1251         * src/nact/nact-confirm-logout.c:
1252         * src/nact/nact-confirm-logout.h:
1253         * src/nact/nact-export-ask.c:
1254         * src/nact/nact-export-ask.h:
1255         * src/nact/nact-iactions-list.c:
1256         * src/nact/nact-iactions-list.h:
1257         * src/nact/nact-iaction-tab.c:
1258         * src/nact/nact-iaction-tab.h:
1259         * src/nact/nact-ibasenames-tab.c:
1260         * src/nact/nact-ibasenames-tab.h:
1261         * src/nact/nact-icapabilities-tab.c:
1262         * src/nact/nact-icapabilities-tab.h:
1263         * src/nact/nact-icommand-tab.c:
1264         * src/nact/nact-icommand-tab.h:
1265         * src/nact/nact-icon-chooser.h:
1266         * src/nact/nact-ienvironment-tab.c:
1267         * src/nact/nact-ienvironment-tab.h:
1268         * src/nact/nact-iexecution-tab.c:
1269         * src/nact/nact-iexecution-tab.h:
1270         * src/nact/nact-ifolders-tab.c:
1271         * src/nact/nact-ifolders-tab.h:
1272         * src/nact/nact-imimetypes-tab.c:
1273         * src/nact/nact-imimetypes-tab.h:
1274         * src/nact/nact-iproperties-tab.c:
1275         * src/nact/nact-iproperties-tab.h:
1276         * src/nact/nact-ischemes-tab.c:
1277         * src/nact/nact-ischemes-tab.h:
1278         * src/nact/nact-main-window.c:
1279         * src/nact/nact-main-window.h:
1280         * src/nact/nact-preferences-editor.c:
1281         * src/nact/nact-preferences-editor.h:
1282         * src/nact/nact-tree-model.c:
1283         * src/nact/nact-tree-model.h:
1284         * src/nact/nact-tree-model-priv.h:
1285         * src/nact/nact-window.c:
1286         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1288         * src/io-xml/naxml-provider.c:
1289         * src/io-xml/naxml-provider.h:
1290         * src/io-xml/naxml-reader.c:
1291         * src/io-xml/naxml-reader.h:
1292         * src/io-xml/naxml-writer.c:
1293         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1295         * src/io-gconf/nagp-gconf-provider.c:
1296         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1298         * src/io-desktop/nadp-desktop-file.c:
1299         * src/io-desktop/nadp-desktop-file.h:
1300         * src/io-desktop/nadp-desktop-provider.c:
1301         * src/io-desktop/nadp-desktop-provider.h:
1302         * src/io-desktop/nadp-monitor.c:
1303         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1305         * src/core/na-export-format.h:
1306         * src/core/na-iabout.h:
1307         * src/core/na-importer-ask.h:
1308         * src/core/na-io-provider.h:
1309         * src/core/na-ipivot-consumer.h:
1310         * src/core/na-module.h:
1311         * src/core/na-pivot.h:
1312         * src/core/na-selected-info.h:
1313         * src/core/na-settings.h:
1314         * src/core/na-tokens.h:
1315         * src/core/na-updater.h: Cosmetic changes in src/core headers.
1317         * src/api/na-data-boxed.h:
1318         * src/api/na-data-types.h:
1319         * src/api/na-gconf-monitor.h:
1320         * src/api/na-gconf-utils.h:
1321         * src/api/na-icontext.h:
1322         * src/api/na-iduplicable.h:
1323         * src/api/na-iexporter.h:
1324         * src/api/na-ifactory-object.h:
1325         * src/api/na-ifactory-provider.h:
1326         * src/api/na-iio-provider.h:
1327         * src/api/na-object-action.h:
1328         * src/api/na-object.h:
1329         * src/api/na-object-id.h:
1330         * src/api/na-object-item.h:
1331         * src/api/na-object-menu.h:
1332         * src/api/na-object-profile.h:
1333         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1335         * src/utils/na-gconf2key.sh.in:
1336         * tools/check-headers.sh:
1337         * tools/check-po.sh:
1338         * tools/init-finalize-diff.sh:
1339         * tools/release-tarball.sh: Replace basename with a shell substitution.
1341 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1343         * tools/release-tarball.sh: Full script rewrite.
1345         * README-GCONF:
1346         * Makefile.am: Add README-GCONF to the distribution.
1348         * tools/check-po.sh: Script rewriting.
1350         * NEWS: Update before 3.0.7 release.
1352 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1354         * src/core/na-export-format.c (na_export_format_get_description):
1355         * src/core/na-importer-ask.c (na_importer_ask_user):
1356         * src/core/na-importer.c (import_from_uri):
1357         * src/core/na-io-provider.c (na_io_provider_get_name):
1358         * src/core/na-iprefs.c:
1359         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1360         na_iprefs_get_order_mode, na_iprefs_get_export_format):
1361         * src/core/na-settings.c:
1362         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1363         * nact/nact-assistant-import.c (runtime_init_duplicates):
1364         * src/nact/nact-clipboard.c (export_row_object):
1365         * src/nact/nact-export-ask.c:
1366         * nact/nact-export-format.c:
1367         * src/nact/nact-export-format.h(nact_export_format_init_display):
1368         * src/nact/nact-gtk-utils.c:
1369         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1370         nact_gtk_utils_radio_reset_initial_state,
1371         nact_gtk_utils_toggle_set_initial_state,
1372         nact_gtk_utils_toggle_reset_initial_state):
1373         * src/nact/nact-ienvironment-tab.c
1374         (on_tab_updatable_selection_changed):
1375         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1376         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1377         * src/nact/nact-preferences-editor.c:
1378         * src/nact/nact-preferences.ui:
1379         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1380         * src/nact/nact-tree-model.c (tree_model_new):
1381         Manage locked and mandatory preferences.
1383         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1384         Do not eat last character.
1386         * README-GCONF:
1387         * src/core/na-settings.h:
1388         * src/utils/na-gconf2key.sh.in:
1389         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1391 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1393         * src/nact/nact-preferences-editor.c:
1394         Reopen the Preferences on the last used tab.
1396         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1397         Fix handling of last separator.
1399         * src/nact/nact-schemes-list.c: Do not allow modification
1400         of default schemes list if preferences are locked or property
1401         mandatory.
1403         * src/core/na-io-provider.c:
1404         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1405         na_io_provider_is_conf_writable):
1406         Returns mandatory flag.
1407         List I/O providers in write order.
1409         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1411         * src/nact/nact-providers-list.c: Do not allow modification of I/O
1412         providers readability/writability/write order properties if
1413         preferences are locked or properties mandatory.
1415         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1417 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1419         * run-distcheck.sh: New file.
1421         Add a script to check completeness of header files.
1423         * tools/.gitignore:
1424         * tools/Makefile.am:
1425         * tools/check-headers.sh: New files.
1427         * src/test/test-include.c:
1428         Renamed as tools/check-header.c and set it as ignored by git.
1430         * src/test/.gitignore:
1431         * src/test/Makefile.am: Updated accordingly.
1433         * Makefile.am:
1434         * configure.ac: configure in tools/.
1436         * src/api/na-data-boxed.h:
1437         * src/api/na-data-types.h:
1438         * src/api/na-gconf-monitor.h:
1439         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1441         * run-distcheck.sh: New file.
1443         * tools/check-po.sh: Rewrite to have options and messages management.
1445         * src/utils/na-gconf2key.sh.in: Review comment.
1447         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1449         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1451         * tools/check-po.sh: Set the count of errors as exit code.
1453         * po/POTFILES.in: Updated.
1455         * src/api/na-gconf-utils.h:
1456         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1458         * src/api/na-gconf-monitor.h:
1459         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1461         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1463         * src/utils/na-print-schemas.c: Add a deprecation comment.
1465         * src/core/na-io-provider.c:
1466         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1467         New function.
1469         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1471 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1473         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1475         * src/test/test-module.c:
1476         * src/test/test-module-plugin.c: New files.
1478         * src/test/.gitignore:
1479         * src/test/Makefile.am: Updated accordingly.
1480          
1481         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1483         * src/nact/base-iprefs.c
1484         (base_iprefs_position_named_window): Do not force a null window size or position.
1486         * src/core/na-settings.c
1487         (na_settings_get_string_list): Do not allocate an empty string list.
1489         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1491         * src/core/na-object-id.c:
1492         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1494         * src/core/na-data-boxed.c:
1495         * src/core/na-gconf-monitor.c:
1496         * src/core/na-io-provider.c:
1497         * src/core/na-tokens.c:
1498         * src/core/na-updater.c:
1499         * src/io-desktop/nadp-desktop-file.c:
1500         * src/io-desktop/nadp-desktop-provider.c:
1501         * src/io-desktop/nadp-monitor.c:
1502         * src/io-gconf/nagp-gconf-provider.c:
1503         * src/io-xml/naxml-provider.c:
1504         * src/nact/base-application.c:
1505         * src/nact/base-builder.c:
1506         * src/nact/base-window.c: 
1507         * src/nact/nact-application.c:
1508         * src/nact/nact-clipboard.c:
1509         * src/nact/nact-main-window.c:
1510         * src/nact/nact-tree-model.c:
1511         * src/nact/nact-window.c: Add instance_finalize debug message.
1513         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1515         * src/core/na-boxed.c
1516         (na_boxed_free): Only free a non null structure.
1517         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1518         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1519         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1520         Do not try to return a value for a null structure.
1522         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1524 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1526         * src/utils/na-delete-xmltree.c:
1527         * src/utils/nautilus-actions-print.c: Add localization code.
1529         * src/utils/nautilus-actions-new.c:
1530         * src/utils/nautilus-actions-run.c:
1531         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1533         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1534         na_boxed_new_from_string_with_sep, na_boxed_free):
1535         Add debug messages when allocating/freeing a NABoxed structure.
1537         * src/nact/nact-icommand-tab.c (on_wdir_browse):
1538         Remove no more used default value.
1540         * src/nact/nact-icon-chooser.c
1541         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1543         * src/core/na-settings.h: Preference renamed accordingly.
1545         * README-GCONF:
1546         * src/core/na-settings.h:
1547         * src/utils/na-gconf2key.sh.in:
1548         '-last-folder-uri' preferences are renamed as '-lfu'.
1550         * src/core/na-settings.c: Set default values.
1552         * src/nact/nact-gtk-utils.c:
1553         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1554         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1555         Remove no more used default value.
1557         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1558         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1559         on_show_if_running_browse): Updated accordingly.
1561         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1562         Do not allocate the empty last element.
1564         * src/core/na-io-provider.c (load_items_get_merged_list):
1565         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1566         Use the correct list pointer.
1568         * src/core/na-iprefs.c:
1569         * src/core/na-iprefs.h
1570         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1571         Functions moved from src/nact/nact-iprefs.c.
1573         * src/nact/nact-iprefs.c:
1574         * src/nact/nact-iprefs.h: Removed files.
1576         * src/nact/Makefile.am:
1577         * src/nact/base-window.c:
1578         * src/nact/nact-assistant-export.c:
1579         * src/nact/nact-assistant-import.c:
1580         * src/nact/nact-clipboard.c:
1581         * src/nact/nact-export-ask.c:
1582         * src/nact/nact-export-format.c:
1583         * src/nact/nact-gtk-utils.c:
1584         * src/nact/nact-iaction-tab.c:
1585         * src/nact/nact-icommand-tab.c:
1586         * src/nact/nact-ifolders-tab.c:
1587         * src/nact/nact-main-toolbar.c:
1588         * src/nact/nact-preferences-editor.c:
1589         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1591         * src/nact/nact-iprefs.c:
1592         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1593         nact_iprefs_write_string): Remove deprecated functions.
1595         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1596         Updated accordingly.
1598         * src/nact/base-iprefs.c:
1599         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1600         Remove deprecated functions.
1602         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1603         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
1604         Updated accordingly.
1606         * src/nact/nact-iprefs.c:
1607         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
1609         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
1610         Updated accordingly.
1612         Global renaming of preferences.
1614         * README-GCONF:
1615         * src/api/na-iio-provider.h:
1616         * src/core/na-export-format.h:
1617         * src/core/na-exporter.h:
1618         * src/core/na-importer-ask.h:
1619         * src/core/na-importer.c:
1620         * src/core/na-io-provider.c:
1621         * src/core/na-io-provider.h:
1622         * src/core/na-iprefs.c:
1623         * src/core/na-iprefs.h:
1624         * src/core/na-module.c:
1625         * src/core/na-pivot.c:
1626         * src/core/na-pivot.h:
1627         * src/core/na-settings.c:
1628         * src/core/na-settings.h:
1629         * src/core/na-updater.c:
1630         * src/nact/nact-add-capability-dialog.c:
1631         * src/nact/nact-add-scheme-dialog.c:
1632         * src/nact/nact-assistant-export.c:
1633         * src/nact/nact-assistant-import.c:
1634         * src/nact/nact-clipboard.c:
1635         * src/nact/nact-export-ask.c:
1636         * src/nact/nact-gtk-utils.c:
1637         * src/nact/nact-iactions-list.c:
1638         * src/nact/nact-icommand-tab.c:
1639         * src/nact/nact-icon-chooser.c:
1640         * src/nact/nact-ienvironment-tab.c:
1641         * src/nact/nact-ifolders-tab.c:
1642         * src/nact/nact-iprefs.c:
1643         * src/nact/nact-iprefs.h:
1644         * src/nact/nact-main-menubar-edit.c:
1645         * src/nact/nact-main-menubar-file.c:
1646         * src/nact/nact-main-menubar.c:
1647         * src/nact/nact-main-toolbar.c:
1648         * src/nact/nact-main-window.c:
1649         * src/nact/nact-preferences-editor.c:
1650         * src/nact/nact-providers-list.c:
1651         * src/nact/nact-schemes-list.c:
1652         * src/nact/nact-sort-buttons.c:
1653         * src/nact/nact-tree-model-dnd.c:
1654         * src/nact/nact-tree-model.c:
1655         * src/nact/nact-window.c:
1656         * src/nact/nact-window.h:
1657         * src/plugin-menu/nautilus-actions.c:
1658         * src/utils/na-gconf2key.sh.in:
1659         * src/utils/nautilus-actions-new.c: Rename preferences.
1660 >>>>>>> Globally rename preferences
1662 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
1664         * src/core/na-settings.c:
1665         * src/core/na-settings.h: Preference names are defined as '#define' values.
1667         * README-GCONF:
1668         * src/utils/na-gconf2key.sh.in: Adjust preferences.
1670         * src/core/na-iprefs.c:
1671         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
1673         * src/api/na-iimporter.h:
1674         * src/core/na-importer-ask.c:
1675         * src/core/na-importer-ask.h:
1676         * src/core/na-importer.c: Updated accordingly.
1678 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
1680         * src/nact/nact-iprefs.c:
1681         * src/nact/nact-iprefs.h: Get ride of GConf.
1683         * README-GCONF:
1684         * src/core/na-settings.c:
1685         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
1687         * src/nact/nact-icommand-tab.c:
1688         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
1690         * README-GCONF:
1691         * src/core/na-settings.c:
1692         * src/utils/na-gconf2key.sh.in:
1693         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
1695         * src/nact/nact-ifolders-tab.c: Updated accordingly.
1697         * README-GCONF:
1698         * src/core/na-settings.c:
1699         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
1701         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
1702         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
1703         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
1704         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
1705         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
1706         * src/nact/nact-main-window.c
1707         (instance_dispose, base_get_iprefs_window_id):
1708         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
1709         Update all preference names when saving/restoring window size and position.
1711         * src/core/na-settings.c:
1712         * src/core/na-settings.h: All getters/setters are implemented.
1714         * src/nact/base-iprefs.c: Remove GConf stuff.
1716         * src/nact/nact-icon-chooser.c:
1717         * src/nact/nact-icon-chooser.ui: Implement all preferences.
1719         * src/utils/na-gconf2key.sh.in:
1720         Renamed preferences for windows size and position '-wsp'.
1721         Also delete from GConf if only preferences have been migrated.
1722         Re-sync after tree delete.
1724         * src/api/na-boxed.h:
1725         * src/core/na-boxed.c
1726         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
1727         New functions.
1729         * configure.ac: Enable silent rules by default.
1731         * run-autogen.sh: Add sysconfdir argument to autogen.sh
1733         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1734         Search a pixbuf by icon theme if not found as filename or stock.
1736         * src/nact/base-window.c:
1737         * src/nact/base-window.h (base_window_peek_widget): New function.
1739         * src/nact/nact-icon-chooser.c:
1740         * src/nact/nact-icon-chooser.h:
1741         * src/nact/nact-icon-chooser.ui: New files.
1742         
1743         * src/nact/Makefile.am:
1744         * src/nact/nact-iaction-tab.c:
1745         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1747         * src/core/na-settings.c (content_load_keys):
1748         Do not warn if configuration file does not exist.
1750         * src/api/na-boxed.h:
1751         * src/api/na-data-boxed.h:
1752         * src/api/na-data-types.h:
1753         * src/core/na-boxed.c:
1754         * src/core/na-data-boxed.c:
1755         * src/core/na-data-types.c:
1756         Update reference documentation to deprecate NADataBoxed and NADataType
1757         in favor of NABoxed.
1759         * src/core/na-settings.c:
1760         * src/core/na-settings.h: Configuration monitoring.
1762         * src/plugin-menu/nautilus-actions.c:
1763         Monitor all runtime preferences with only one callback.
1765         * src/api/na-boxed.h:
1766         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
1768         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
1770         * src/api/na-data-types.h:
1771         * src/core/na-data-types.c
1772         (na_data_types_copy, na_data_types_free): Removed functions.
1774         * README-GCONF:
1775         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
1777         * src/api/na-boxed.h:
1778         * src/core/na-boxed.c: New files.
1780         * src/api/Makefile.am:
1781         * src/core/Makefile.am: Updated accordingly.
1783 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
1785         * src/api/na-data-types.h:
1786         * src/core/na-data-types.c
1787         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
1788         New functions.
1790         * src/core/na-settings.c
1791         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
1793         * src/core/na-settings.h
1794         (na_settings_get_boolean_ex, na_settings_get_string_list):
1795         New functions.
1797         * src/plugin-menu/nautilus-actions.c:
1798         Implement runtime preferences monitoring.
1799         No more use deprecated na_pivot_set_automatic_reload().
1801         * src/core/na-pivot.c:
1802         * src/core/na-pivot.h:
1803         Replace GConf preferences monitoring with NASettings.
1804         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
1806         * src/core/na-settings.c:
1807         * src/core/na-settings.h
1808         (na_settings_register_key_callback,
1809         na_settings_register_global_callback, na_settings_get_boolean):
1810         New functions.
1812         * src/api/na-iio-provider.h:
1813         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
1814         definition is moved (and renamed) from public API to internal one.
1816         * src/core/na-iio-provider.c (interface_base_init):
1817         * src/core/na-io-provider.c (io_provider_set_provider):
1818         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
1820         * src/core/na-iio-provider.c
1821         * src/core/na-settings.c (na_settings_new):
1822         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
1824         * src/core/na-pivot.c:
1825         * src/core/na-pivot.h (na_pivot_register):
1826         * src/core/na-settings.c:
1827         * src/core/na-settings.h (na_settings_register):
1828         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1829         Fix compilation.
1831 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
1833         * src/nact/base-application.c (display_dlg): Setup parent window.
1835         * src/api/na-iimporter.h:
1836         * src/core/na-io-provider.c:
1837         * src/core/na-object-id.c:
1838         * src/core/na-object-item.c:
1839         * src/io-desktop/nadp-utils.c:
1840         * src/nact/nact-assistant-import.c:
1841         * src/nact/nact-iactions-list-bis.c:
1842         * src/nact/nact-iactions-list.h:
1843         * src/nact/nact-main-window.c:
1844         * src/nact/nact-preferences.ui:
1845         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
1847         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
1849         * src/core/na-object-profile-factory.c:
1850         Remove %o/%O parameters from description of version 2.0.
1851         Add a missing line feed.
1853         * tools/check-po.sh: Adapt to glade files.
1855 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1857         * src/utils/nautilus-actions-new.c (init_options):
1858         * src/utils/nautilus-actions-run.c (init_options):
1859         * src/utils/nautilus-actions-schemas.c (init_options):
1860         Initialize translation domain for GOptionContext.
1862         * src/core/na-data-boxed.c
1863         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1864         * src/core/na-export-format.c
1865         (na_export_format_get_label, na_export_format_get_description):
1866         * src/core/na-iabout.c (na_iabout_display):
1867         * src/core/na-object-action.c (na_object_action_new_with_defaults):
1868         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1869         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1870         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1871         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1872         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1873         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1874         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1875         * src/nact/nact-tree-model-dnd.c
1876         (is_drop_possible, is_drop_possible_before_iter,
1877         is_drop_possible_into_dest, is_parent_accept_new_childs):
1878         Use gettext() to display localized static strings.
1880         * src/api/na-data-def.h: Complete the description of the fields.
1882         * src/core/na-io-provider.c:
1883         * src/core/na-object-profile-factory.c:
1884         * src/nact/nact-assistant-export.ui:
1885         * src/nact/nautilus-actions-config-tool.ui:
1886         Fix various mistakes and mispellings reported by Fr translation team.
1888         * configure.ac: Post-release bump version number.
1890 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1892         * src/core/na-pivot.c (na_pivot_register): New function.
1894         * src/plugin-menu/nautilus-actions.c:
1895         Replace NAIPivotConsumer interface with na_settings() accessors.
1897         * src/core/na-settings.c:
1898         * src/core/na-settings.h: New files.
1900         * src/utils/na-gconf2key.sh.in:
1901         Make sure that GConf is at the end of the list of I/O providers.
1902         Make sure that GConf is locked.
1903         Migrate all I/O provider preferences.
1905         * configure.ac:
1906         * src/utils/Makefile.am:
1907         * src/utils/na-gconf2key.sh.in:
1908         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
1909         and is installed in PKGLIBEXECDIR.
1911         * src/core/Makefile.am:
1912         * src/core/na-gconf-migration.c: Updated accordingly.
1914         * src/utils/Makefile.am:
1915         nautilus-actions-delete is renamed as na-delete-xmltree,
1916         and is installed in PKGLIBEXECDIR.
1918         * src/core/na-core-utils.c (na_core_utils_print_version):
1919         Print the compilation version of GLib2 and Gtk+ when in debug mode.
1921         * src/utils/Makefile.am:
1922         nautilus-actions-schemas is renamed as na-print-schemas,
1923         and is installed in PKGLIBEXECDIR.
1925 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
1927         * src/nact/nact-main-window.c (iabout_get_toplevel):
1928         Let the About dialog get the toplevel window.
1930         * src/nact/nact-preferences.ui:
1931         * src/nact/nautilus-actions-config-tool.ui:
1932         Apply patch provided by Christian Kirbach. Fix #638548.
1934         Use the same script to migrate items and preferences.
1936         * README-GCONF: Document migrated and renamed preferences.
1938         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1939         Rewrite migrated preferences as keyed files.
1940         At last, remove the whole Nautilus-Actions tree from GConf.
1942 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
1944         * src/utils/console-utils.c (console_cmdline_get_description):
1945         Returns the full address of the page to enter a new bug in Bugzilla.
1947         * src/core/na-gconf-migration.c:
1948         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
1950         * src/core/Makefile.am: Updated accordingly.
1952         * src/nact/nact-main.c (main):
1953         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
1954         * src/utils/nautilus-actions-new.c (main):
1955         * src/utils/nautilus-actions-run.c (main):
1956         Automatically run the migration tool at startup.
1958         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1959         * src/utils/nautilus-actions-delete.c:
1960         * src/utils/nautilus-actions-print.c:
1961         New items migration script and programs.
1962         They take care of migrating users and mandatory items to .desktop files.
1964         * configure.ac:
1965         * src/utils/Makefile.am:
1966         * src/utils/.gitignore: Updated accordingly.
1968 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1970         * src/core/na-tokens.c (na_tokens_new_from_selection):
1971         No more prepare the list string of selection.
1972         Directly build the selection list in the correct order.
1973         (execute_action_command): Setup the working directory.
1975         * src/core/na-tokens.c:
1976         * src/core/na-tokens.h (na_tokens_parse_parameters):
1977         Renamed as na_tokens_parse_for_display() as filenames are not quoted
1978         when displayed as part of an expanded label.
1980         * src/nact/nact-icommand-tab.c (parse_parameters):
1981         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1982         Updated accordingly.
1984         * configure.ac: Fix "API Reference generation" message.
1986         * m4/na-enable-manuals.m4:
1987         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1989         * src/core/na-selected-info.c (new_from_uri):
1990         - Add an excerpt from RFC 2396 about valid characters in URIs.
1991         - Prefer the filename from g_filename_from_uri() when possible.
1993         * src/core/na-tokens.c
1994         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1995         (build_string_lists_item): Removed function.
1997         * src/core/na-iabout.c (na_iabout_display):
1998         Fix typo in comment, adding a note to the translators.
2000 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2002         * src/core/na-io-provider.c:
2003         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2004         New function.
2006         * configure.ac: Define a conditional if we have both GSettings and GConf.
2008         * src/core/na-gsettings-migrate.c:
2009         * src/core/na-gsettings-migrate.h: New files.
2011         * src/core/Makefile.am: Updated accordingly.
2013         * src/core/na-pivot.c (instance_constructed):
2014         Call na_gsettings_migrate() if we have both GSettings and GConf.
2016         * configure.ac:
2017         - Define HAVE_GSETTINGS variable.
2018         - Define HAVE_GCONF variable.
2020 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2022         * src/nact/egg-desktop-file.c:
2023         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2025         * src/nact/base-keysyms.h:
2026         * src/nact/egg-sm-client-private.h:
2027         * src/nact/egg-sm-client-xsmp.c: 
2028         * src/nact/nact-add-capability-dialog.c:
2029         * src/nact/nact-add-scheme-dialog.c:
2030         * src/nact/nact-main-tab.c:
2031         * src/nact/nact-clipboard.c:
2032         * src/nact/nact-tree-model-dnd.c:
2033         * src/nact/nact-gtk-utils.c:
2034         * src/nact/nact-iaction-tab.c:
2035         * src/nact/nact-main-statusbar.c:
2036         * src/nact/nact-main-menubar.c:
2037         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2039         * configure.ac:
2040         * m4/na-check-for-gtk.m4:
2041         Move back gtk_required variable to improve readibility of configure.ac.
2043 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2045         * configure.ac: Post release version bump.
2047         * NEWS: Update NEWS before release.
2049         * src/plugin-menu/nautilus-actions.c (create_root_menu):
2050         Update the root menu label to better reflect the product name.
2052         * src/nact/nautilus-actions-config-tool.ui:
2053         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2055         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2056         Display again stock icons in NACT.
2057         Fix #638461 - Stock icons are no more displayed in NACT.
2059         * Almost all files modified:
2060         Update copyright message.
2061         Set Nautilus-Actions as being the actual official product name.
2063         * src/core/na-selected-info.c (new_from_nautilus_file_info):
2064         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2065         Fix #638450 - Nautilus crashes when opening Trash or Network.