manual: convert to *nix-like file
[nautilus-actions.git] / ChangeLog
blob2b43092a150b9ce5227d163cb7cb116ef95b80ca
1 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
3         * src/test/Makefile.am: Do not build test programs in release mode.
5         * docs/nact/C/articleinfo.xml:
6         Convert to *nix-like file.
7         Update manual copyright.
9         * docs/nact/C/figures/nact-desktop-environment-frame.png:
10         * docs/nact/C/figures/nact-execution-environment-frame.png:
11         * docs/nact/C/figures/nact-preferences-export.png:
12         * docs/nact/C/figures/nact-preferences-import.png:
13         * docs/nact/C/figures/nact-preferences-io-providers.png:
14         * docs/nact/C/figures/nact-preferences-runtime.png:
15         * docs/nact/C/figures/nact-preferences-schemes.png:
16         * docs/nact/C/figures/nact-preferences-ui.png:
17         * docs/nact/C/figures/nact-schemes-tab.png:
18         * docs/nact/C/figures/nact-target-location.png:
19         * docs/nact/C/figures/nact-working-directory-frame.png:
20         * docs/nact/C/figures/nact-export-done.png:
21         * docs/nact/C/figures/nact-export-format.png:
22         * docs/nact/C/figures/nact-export-home.png:
23         * docs/nact/C/figures/nact-export-items.png:
24         * docs/nact/C/figures/nact-export-summary.png:
25         * docs/nact/C/figures/nact-export-target.png:
26         * docs/nact/C/figures/nact-import-done.png:
27         * docs/nact/C/figures/nact-import-files.png:
28         * docs/nact/C/figures/nact-import-home.png:
29         * docs/nact/C/figures/nact-import-mode.png:
30         * docs/nact/C/figures/nact-import-resultat.png:
31         * docs/nact/C/figures/nact-import-summary.png:
32         * docs/nact/C/figures/nact-preferences-desktop.png:
33         * docs/nact/C/figures/nact-preferences-execution.png:
34         Updated and new screenshots for version 3.1.
36 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
38         * configure.ac: Post-release version bump.
40 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
42         * NEWS: Pre-release update.
44         * src/core/na-tokens.c (execute_action_command):
45         Only use g_spawn_async_with_pipes when required by execution mode
46         (work-around for #644289).
47         Do not close child pid before the end of the child process.
49 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
51         * configure.ac: Post-release bump version.
53         * NEWS: Pre-release udate.
55         * src/core/na-settings.c:
56         * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
58         * src/plugin-menu/nautilus-module.c (set_log_handler):
59         Test if log are enabled before installing the log handler.
61         * src/plugin-menu/nautilus-actions.c:
62         * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
63         Removed function. Fix #643359.
65         * configure.ac: Post-release bump version.
67 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
69         * NEWS:
70         * README:
71         * README-GCONF: Update before releasing.
73         * src/api/na-core-utils.h:
74         * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
76         * src/core/na-settings.c:
77         * src/core/na-settings.h:
78         Rename "terminal-prefix" user preference as "terminal-pattern".
80         * src/core/na-tokens.c:
81         * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
82         Renamed as na_tokens_command_for_terminal().
84         * docs/reference/nautilus-actions-sections.txt:
85         * src/nact/nact-preferences-editor.c:
86         * src/nact/nact-preferences.ui: Updated accordingly.
88         * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
89         Disable not implemented frames.
91         * src/nact/nautilus-actions-config-tool.ui:
92         Add a tooltip comment on not yet implemented fields.
94         * src/core/na-icontext.c (is_candidate_for_show_in):
95         First try desktop from user preferences.
97         NASettings is now a private singleton which allocates itself when needed.
98         Preference are so available anywhere without requiring an object.
100         * src/core/na-importer-ask.c (na_importer_ask_user):
101         * src/core/na-importer.c (import_from_uri):
102         * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
103         * src/core/na-iprefs.c:
104         * src/core/na-iprefs.h:
105         * src/core/na-pivot.c (instance_constructed, instance_dispose):
106         * src/core/na-pivot.h (na_pivot_get_settings):
107         * src/core/na-settings.c:
108         * src/core/na-settings.h:
109         * src/core/na-tokens.c:
110         * src/core/na-tokens.h(na_tokens_execute_action):
111         * src/core/na-updater.c (are_preferences_locked):
112         * src/nact/base-gtk-utils.c:
113         * src/nact/nact-assistant-export.c (nact_assistant_export_run):
114         * src/nact/nact-assistant-import.c (nact_assistant_import_run):
115         * src/nact/nact-clipboard.c (export_row_object):
116         * src/nact/nact-export-ask.c (nact_export_ask_user):
117         * src/nact/nact-icon-chooser.c:
118         * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
119         * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
120         * src/nact/nact-main-window.c (on_base_initialize_base_window):
121         * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
122         * src/nact/nact-preferences-editor.c:
123         * src/nact/nact-providers-list.c (nact_providers_list_save):
124         * src/nact/nact-schemes-list.c (init_view_get_default_list):
125         * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
126         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
127         * src/nact/nact-tree-model.c (nact_tree_model_new):
128         * src/plugin-menu/nautilus-actions.c:
129         * src/utils/nautilus-actions-run.c: Updated accordingly.
131         Current desktop environment can be a user preference
133         * src/core/na-desktop-environment.c:
134         * src/core/na-desktop-environment.h: New files.
136         * po/POTFILES.in:
137         * src/core/Makefile.am:
138         * src/core/na-icontext.c (is_candidate_for_show_in):
139         * nact/nact-ienvironment-tab.c
140         (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
142         * src/core/na-settings.c:
143         * src/core/na-settings.h:
144         Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
145         (set_key_value): Setting a NULL string actually removes the key.
147         * src/nact/nact-preferences-editor.c:
148         * src/nact/nact-preferences.ui: Let the user choose his desktop.
150         * src/core/na-iabout.c: Renamed as src/core/na-about.c.
151         * src/core/na-iabout.h: Renamed as src/core/na-about.h.
152         NAIAbout is no more an interface, but just a set of functions.
154         * src/core/Makefile.am:
155         * src/core/na-core-utils.c (na_core_utils_print_version):
156         * src/nact/nact-application.c (nact_application_new_with_args):
157         * src/nact/nact-main-window.c:
158         * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
159         * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
161 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
163         Improve ExecutionMode implementation by defining a new user preference
165         * src/core/na-settings.c:
166         * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
168         * src/core/na-tokens.c:
169         * src/core/na-tokens.h
170         (na_tokens_command_from_terminal_prefix): New function.
171         (na_tokens_execute_action): New NASettings parameter.
173         * src/nact/nact-preferences-editor.c:
174         * src/nact/nact-preferences.ui: Let the user edit the preference.
176         * src/utils/nautilus-actions-run.c:
177         * po/POTFILES.in: Updated accordingly.
179 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
181         * src/core/na-settings.c:
182         * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
184         * src/plugin-menu/nautilus-actions.c:
185         * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
186         New function.
188         * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
189         syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
191         * configure.ac: Bump Nautilus required version to 2.16
192         for having nautilus_menu_provider_emit_items_updated_signal() function.
194         * configure.ac:
195         * src/plugin-menu/nautilus-actions.c:
196         Check for nautilus_menu_provider_get_toolbar_items() function.
198         * src/core/na-selected-info.c (instance_init, instance_finalize):
199         Improve debug messages.
201         * src/core/na-icontext.c: 
202         * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
203         (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
205         Move Nautilus-Actions configuration files to nautilus-actions/ subdir
207         * src/core/na-settings.c (na_settings_new):
208         * src/utils/na-gconf2key.sh.in: Updated accordingly.
210         Implement execution mode property
212         * m4/na-check-for-gtk.m4: Check for Gio-unix.
214         * src/core/na-object-profile-factory.c: Improve translation comment.
216         * src/core/na-tokens.c (execute_action_command): Display output.
218 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
220         * src/api/na-object.h:
221         * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
222         Deprecated functions.
224         * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
226         Rewrite copy stack to get ride of iteration on class hierarchy
228         * src/api/na-object-api.h
229         (na_object_copy, na_object_get_hierarchy): Removed macros.
231         * src/api/na-icontext.h:
232         * src/core/na-icontext.c (na_icontext_copy): New function.
234         * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
235         * src/core/na-object-item.c (object_copy):
236         * src/core/na-object-action.c (object_copy):
237         * src/core/na-object-profile.c (object_copy):
238         * src/core/na-object-menu.c (object_copy): Updated accordingly.
240         Rewrite validity status check stack
242         * src/api/na-icontext.h:
243         * src/core/na-icontext.c (na_icontext_are_equal): New function.
245         * src/core/na-factory-object.c (na_factory_object_is_valid):
246         * src/core/na-object.c (iduplicable_is_valid):
247         * src/core/na-object-id.c (object_is_valid):
248         * src/core/na-object-id-factory.c:
249         * src/core/na-object-item.c (object_is_valid):
250         * src/core/na-object-action.c (object_is_valid):
251         * src/core/na-object-profile.c (object_is_valid):
252         * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
254         Rewrite modification status check stack
256         * src/api/na-object-item.h:
257         * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
259         * src/api/na-object.h:
260         * src/core/na-factory-object.c:
261         * src/core/na-iduplicable.c: Improve comment.
263         * src/core/na-object.c:
264         * src/core/na-object-id.c:
265         * src/core/na-object-menu.c:
266         * src/core/na-object-action.c:
267         * src/core/na-object-profile.c: Modification is checked from
268         NAObject-virtual method instead of NAIFactoryObject interface.
270         * src/api/na-iduplicable.h:
271         * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
273         * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
275         * src/api/na-icontext.h:
276         * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
277         Renamed as na_icontext_check_mimetypes().
279         * src/api/na-ifactory-object-data.h:
280         * src/api/na-object-api.h:
281         * src/core/na-icontext-factory.c:
282         * src/core/na-object-profile.c: Updated accordingly.
284         * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
286         * src/core/na-icontext.c (na_icontext_get_running_environment):
287         Fix value test.
289         * src/core/na-boxed.c (string_list_from_string,
290         string_list_from_value, string_list_from_void): Check for duplicates.
292         * src/utils/nautilus-actions-new.c: Fix default mimetype.
294         * src/core/na-icontext.c (get_running_environment): New function.
296         * src/utils/na-print-schemas.c: Also display menu schemas.
298         * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
299         Data are deprecated and not writable.
301         * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
303 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
305         * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
306         NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
307         NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
309         * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
310         show-if-true, show-if-running and capability options.
311         
312         * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
313         NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
314         * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
315         NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
316         * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
317         Fix options definition.
319         * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
321         * src/core/na-icontext-factory.c
322         (NAFO_DATA_SELECTION_COUNT): Fix option definition.
324         * src/utils/nautilus-actions-new.c: Add selection-count option.
326         * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
327         locale_is_default): Fix default value test.
329 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
331         * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
332         na_object_set_multiple): Deprecated functions.
334         * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
335         Deprecated data.
337         * src/utils/nautilus-actions-new.c: Updated accordingly.
339         * src/nact/nact-providers-list.c:
340         * src/nact/nact-schemes-list.c: Does not recompute if preferences are
341         locked, but use na_updater_are_preferences_locked() function.
343         * src/api/na-iio-provider.h:
344         Define new reason when the level zero is not writable.
346         * src/core/na-updater.c:
347         * src/core/na-updater.h (na_updater_is_item_writable):
348         Renamed as na_updater_check_item_writability_status.
350         * src/nact/nact-main-window.c (setup_writability_status):
351         * src/nact/nact-menubar-edit.c (get_deletables):
352         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
353         Updated accordingly.
355         * src/nact/base-assistant.c (class_init):
356         Apply patch provided by Christian Kirback. Fix #640920.
358 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
360         * src/core/na-pivot.h:
361         * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
363         * src/nact/base-window.h:
364         * src/nact/base-window.c (class_init):
365         Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
367         * src/nact/nact-main-window.c:
368         Connect to the signal instead of implementing a virtual method.
370 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
372         * src/core/na-iduplicable.c (interface_base_init):
373         * src/core/na-settings.c (class_init):
374         * src/nact/base-window.c (class_init):
375         Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
377         * docs/reference/Makefile.am:
378         * src/nact/Makefile.am:
379         * run-distcheck.sh: Fix make distcheck.
381         * docs/reference/Makefile.am:
382         Do not documente NAGconfMonitor class when deprecated symbols are disabled.
384         * src/api/na-data-boxed.h:
385         * src/api/na-gconf-utils.h:
386         * src/core/na-data-boxed.c:
387         * src/core/na-iduplicable.c:
388         * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
390         * configure.ac:
391         * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
393         * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
395         * src/api/na-iduplicable.h:
396         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
397         Deprecated function.
399         * src/core/na-factory-object.c (na_factory_object_are_equal):
400         * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
401         Improve debug messages.
403         * src/core/na-icontext-factory.c:
404         * src/core/na-object-action-factory.c:
405         * src/core/na-object-id-factory.c: Set missing default values.
407         * src/core/na-object-action.c (ifactory_object_are_equal):
408         An action is modified as soon as at least one profile is modified.
410         * src/core/na-icontext-factory.c: Fix string list regression
412         * src/core/na-boxed.c: Fix regression when setting values.
414         * src/core/na-selected-info.c (query_file_attributes):
415         Keep selection info even when unable to query attributes.
416         Fix #641464.
418 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
420         Do not compile with GConf library when disabled
422         * src/api/na-gconf-monitor.h:
423         * src/api/na-gconf-utils.h:
424         * src/core/na-gconf-migration.c:
425         * src/core/na-gconf-monitor.c:
426         * src/core/na-gconf-utils.c:
427         * src/io-gconf/Makefile.am:
428         * src/io-xml/naxml-reader.c:
429         * src/utils/Makefile.am: Updated accordingly.
431 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
433         Add --enable-gconf configure argument
434         Define HAVE_GCONF conditional
436         * m4/na-check-for-gconf.m4: New file.
438         * configure.ac:
439         * data/gconf-schemas/Makefile.am: Updated accordingly.
441         Only GConf writing operations are marked deprecated
443         * src/api/na-gconf-monitor.h:
444         * src/api/na-gconf-utils.h:
445         * src/core/na-gconf-monitor.c:
446         * src/core/na-gconf-utils.c:
447         * src/io-gconf/nagp-writer.c:
448         * src/io-gconf/nagp-writer.h: Updated accordingly.
450         No more use deprecated functions
452         * src/core/na-factory-object.c:
453         * src/io-desktop/nadp-reader.c:
454         * src/io-desktop/nadp-writer.c:
455         * src/io-gconf/nagp-reader.c:
456         * src/io-gconf/nagp-writer.c:
457         * src/io-xml/naxml-reader.c:
458         * src/io-xml/naxml-writer.c: Updated accordingly.
460         NADataBoxed class now derives from NABoxed
462         * src/api/na-boxed.h:
463         * src/api/na-data-boxed.h:
464         * src/api/na-data-types.h:
465         * src/core/na-boxed.c:
466         * src/core/na-core-utils.c:
467         * src/core/na-data-boxed.c:
468         * src/core/na-data-types.c:
469         * src/core/na-factory-object.c:
470         * src/core/na-ifactory-object.c:
471         * src/core/na-settings.c:
472         * src/io-desktop/nadp-writer.c:
473         * src/io-gconf/nagp-writer.c:
474         * src/io-xml/naxml-writer.c: Updated accordingly.
476         * src/api/na-boxed.h:
477         * src/core/na-boxed.c: Convert to the NABoxed class.
479         * src/core/na-settings.c: Updated accordingly.
481         * src/api/na-data-boxed.h:
482         * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
484         Merge NABoxed and NADataBoxed data type definitions.
485         Data type are remaned as NA_DATA_TYPE.
487         * src/api/na-boxed.h:
488         * src/api/na-data-def.h:
489         * src/api/na-data-types.h:
490         * src/core/na-boxed.c:
491         * src/core/na-data-boxed.c:
492         * src/core/na-data-types.c:
493         * src/core/na-factory-object.c:
494         * src/core/na-icontext-factory.c:
495         * src/core/na-ifactory-object.c:
496         * src/core/na-object-action-factory.c:
497         * src/core/na-object-id-factory.c:
498         * src/core/na-object-item-factory.c:
499         * src/core/na-object-profile-factory.c:
500         * src/core/na-settings.c:
501         * src/io-desktop/nadp-reader.c:
502         * src/io-desktop/nadp-writer.c:
503         * src/io-gconf/nagp-reader.c:
504         * src/io-gconf/nagp-writer.c:
505         * src/io-xml/naxml-reader.c:
506         * src/io-xml/naxml-writer.c:
507         * src/utils/na-print-schemas.c: Updated accordingly.
509 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
511         * src/api/na-iduplicable.h:
512         * src/core/na-iduplicable.c:
513         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
514         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
516         * src/api/na-object-api.h:
517         * src/core/na-object.c:
518         * src/core/na-object-item.c:
519         * src/core/na-object-item.h:
520         Deprecated na_object_check_status_up macro.
521         Merge na_object_item_check_status() and na_object_item_check_status_up().
523         * src/nact/nact-iaction-tab.c:
524         * src/nact/nact-ibasenames-tab.c:
525         * src/nact/nact-icapabilities-tab.c:
526         * src/nact/nact-icommand-tab.c:
527         * src/nact/nact-ienvironment-tab.c:
528         * src/nact/nact-iexecution-tab.c:
529         * src/nact/nact-ifolders-tab.c:
530         * src/nact/nact-iproperties-tab.c:
531         * src/nact/nact-ischemes-tab.c:
532         * src/nact/nact-main-window.c:
533         * src/nact/nact-main-window.h:
534         * src/nact/nact-match-list.c: Properties are renamed.
536         * src/nact/nact-main-tab.c:
537         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
539 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
541         In the process of replacing NactIActionsList interface with:
542         - the NactTreeView class
543         - plus the NactTreeIEditable interface.
545         Almost all NACT files modified. Compilation is OK.
547 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
549         * src/nact/nact-tree-model.c:
550         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
551         * src/nact/nact-tree-view.c:
552         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
554         Allow an items list to be referenced in a new list.
556         * src/api/na-object-api.h (na_object_ref_items): New macro.
558         * src/api/na-object-item.h:
559         * src/core/na-object-item.c (na_object_item_ref_items): New function.
561         * src/nact/nact-assistant-export.c
562         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
564         Review NAObject reference management
566         * src/api/na-object-api.h
567         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
568         (na_object_free_items): New macro.
570         * src/api/na-object-item.h:
571         * src/core/na-object-item.c
572         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
573         (na_object_item_free_items): New function.
575         * src/core/na-io-provider.c (na_io_provider_load_items):
576         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
577         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
578         na_pivot_set_new_items):
579         * src/nact/nact-assistant-import.c (assistant_apply):
580         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
581         * src/nact/nact-iactions-list.c (free_items_callback):
582         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
583         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
584         nact_main_menubar_edit_on_paste_into,
585         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
586         * src/nact/nact-main-menubar-file.c
587         (nact_main_menubar_file_on_new_menu,
588         nact_main_menubar_file_on_new_action,
589         nact_main_menubar_file_on_new_profile):
590         * src/nact/nact-main-menubar-maintainer.c
591         (nact_main_menubar_maintainer_on_dump_selection):
592         * src/nact/nact-main-menubar.c (on_update_sensitivities):
593         * src/nact/nact-main-window.c (instance_dispose,
594         nact_main_window_remove_deleted, reload):
595         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
596         * src/nact/nact-tree-model.c (fill_tree_store):
597         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
598         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
599         accordingl
600         * src/nact/nact-main-menubar-maintainer.c
601         (nact_main_menubar_maintainer_on_dump_selection):
602         * src/nact/nact-main-menubar.c (on_update_sensitivities):
603         * src/nact/nact-main-window.c (instance_dispose,
604         nact_main_window_remove_deleted, reload):
605         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
606         * src/nact/nact-tree-model.c (fill_tree_store):
607         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
608         * src/plugin-menu/nautilus-actions.c (get_menus_items):
609         Updated accordingly.
611         New NactTreeView convenience class
613         * src/nact/nact-tree-view.c:
614         * src/nact/nact-tree-view.h: New files.
616         * src/nact/Makefile.am:
617         * src/nact/nact-assistant-export.c:
618         * src/nact/nact-iactions-list-priv.c:
619         * src/nact/nact-iactions-list.h:
620         * src/nact/nact-marshal.list:
621         * src/nact/nact-tree-model.c: Updated accordingly.
623 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
625         Refactoring of menubar files:
626         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
627         - nact-main-menubar-*.h are removed.
629         * src/nact/Makefile.am:
630         * src/nact/nact-confirm-logout.c:
631         * src/nact/nact-iactions-list.c: Updated accordingly.
633         * src/nact/nact-main-window.c:
634         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
635         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
637         Termination of the main window is managed in NactMainWindow.
639         * src/nact/nact-main-window.c:
640         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
642         * src/nact/nact-main-menubar-file.c: Updated accordingly.
644         Move a NASettings getter to NAUpdater
646         * src/core/na-updater.c:
647         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
649         * src/nact/nact-main-menubar-edit.c:
650         * src/nact/nact-main-menubar-edit.h
651         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
653         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
655         * src/nact/base-application.c (class_init):
656         * src/nact/base-assistant.c (class_init):
657         * src/nact/base-window.c (class_init):
658         * src/nact/nact-main-window.c (instance_constructed):
659         Setup construction properties.
661         * src/nact/nact-application.c:
662         * src/nact/nact-application.h (nact_application_get_updater):
663         Set NactApplication as a const argument.
665         Deprecate NAIPivotConsumer interface
667         * src/core/na-ipivot-consumer.c:
668         * src/core/na-ipivot-consumer.h: Removed files.
670         * src/core/Makefile.am:
671         * src/core/na-pivot.c:
672         * src/core/na-pivot.h:
673         * src/nact/nact-application.c:
674         * src/nact/nact-main-menubar-file.c:
675         * src/nact/nact-main-window.c:
676         * src/nact/nact-menubar.c: Updated accordingly.
678         * src/core/na-pivot.c:
679         * src/core/na-pivot.h
680         (na_pivot_set_automatic_reload): Remove unused function.
682         * src/test/test-reader.c: Updated accordingly.
684         * src/nact/nact-main-window.c (instance_constructed):
685         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
687         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
689         * src/nact/base-iprefs.c:
690         * src/nact/base-iprefs.c: Removed files.
692         * src/nact/Makefile.am:
693         * src/nact/base-gtk-utils.c:
694         * src/nact/base-gtk-utils.h:
695         * src/nact/base-window.c:
696         * src/nact/nact-assistant-export.c:
697         * src/nact/nact-export-ask.c:
698         * src/nact/nact-export-format.c:
699         * src/nact/nact-iaction-tab.c:
700         * src/nact/nact-ibasenames-tab.c:
701         * src/nact/nact-icommand-tab.c:
702         * src/nact/nact-icon-chooser.c:
703         * src/nact/nact-ienvironment-tab.c:
704         * src/nact/nact-iexecution-tab.c:
705         * src/nact/nact-ifolders-tab.c:
706         * src/nact/nact-iproperties-tab.c:
707         * src/nact/nact-ischemes-tab.c:
708         * src/nact/nact-main-statusbar.c:
709         * src/nact/nact-main-window.c:
710         * src/nact/nact-match-list.c:
711         * src/nact/nact-preferences-editor.c:
712         * src/nact/nact-providers-list.c:
713         * src/nact/nact-schemes-list.c:
714         * src/nact/nact-tree-model.c: Updated accordingly.
716         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
717         BaseWindow property
719         * src/core/na-settings.c:
720         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
722         * src/nact/base-iprefs.c:
723         * src/nact/base-iprefs.h
724         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
725         Removed functions.
726         (get_wsp_id): Remove interface method.
728         * src/nact/base-window.c:
729         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
731         * src/nact/nact-add-capability-dialog.c:
732         * src/nact/nact-add-scheme-dialog.c:
733         * src/nact/nact-assistant-export.c:
734         * src/nact/nact-assistant-import.c:
735         * src/nact/nact-confirm-logout.c:
736         * src/nact/nact-export-ask.c:
737         * src/nact/nact-gtk-utils.c:
738         * src/nact/nact-icommand-tab.c:
739         * src/nact/nact-icon-chooser.c:
740         * src/nact/nact-ifolders-tab.c:
741         * src/nact/nact-main-window.c:
742         * src/nact/nact-preferences-editor.c: Updated accordingly.
744         * src/core/na-updater.c:
745         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
747         Homogeneize marshalling
749         * src/core/na-marshal: Renamed as src/core/na-marshal.def
750         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
752         * src/core/Makefile.am:
753         * src/nact/Makefile.am:
754         * src/nact/nact-iactions-list.c (interface_base_init):
755         * src/nact/nact-main-window.c (class_init): Updated accordingly.
757 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
759         Review menu items sensitivity updates
761         * src/api/na-object-api.h
762         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
764         * src/api/na-object-item.h:
765         * src/core/na-object-item.c
766         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
767         New functions.
769         * src/core/na-updater.c:
770         * src/core/na-updater.h (na_updater_load_items): New function.
772         * src/nact/nact-application.c (appli_main_window_new):
773         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
774         No more load items when instanciating the main window, but when
775         initializing it.
777         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
778         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
780         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
781         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
782         * src/nact/nact-menubar-priv.h:
783         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
784         Rely on indicators pre-computed on selection changes.
786         * src/nact/nact-window.c:
787         * src/nact/nact-window.h (nact_window_has_writable_providers):
788         Removed function.
790         * src/nact/nact-menubar-priv.h:
791         * src/nact/nact-menubar.c: Updated accordingly.
793         * src/core/na-iprefs.c:
794         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
795         Moved to NAUpdater class.
797         * src/core/na-updater.c:
798         * src/core/na-updater.h (na_updater_is_level_zero_writable):
799         Moved from NAIPrefs.
801         * src/nact/nact-menubar-priv.h:
802         * src/nact/nact-menubar.c (on_base_initialize_window):
803         * src/nact/nact-sort-buttons.c (enable_buttons):
804         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
805         Updated accordingly.
807         Review I/O providers writability status management.
809         * src/api/na-iio-provider.h: Review writability reason.
811         * src/core/na-io-provider.c:
812         * src/core/na-io-provider.h
813         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
814         Removed functions.
815         (na_io_provider_is_finally_writable): New function.
817         * src/core/na-pivot.c:
818         * src/core/na-pivot.h
819         (na_pivot_is_configuration_locked_by_admin): Removed function.
821         * src/core/na-updater.c
822         * src/core/na-updater.h (na_updater_is_item_writable):
823         * src/nact/nact-main-menubar-edit.c (get_deletables):
824         * src/nact/nact-main-window.c: Updated accordingly.
826 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
828         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
829         Renamed as nact_menubar_enable_item() and moved to private resources.
831         * src/nact/nact-main-menubar-edit.c:
832         * src/nact/nact-main-menubar-file.c:
833         * src/nact/nact-main-menubar-help.c:
834         * src/nact/nact-main-menubar-tools.c:
835         * src/nact/nact-main-menubar-view.c:
836         * src/nact/nact-menubar-priv.h:
837         * src/nact/nact-menubar.h: Updated accordingly.
839         Move MenubarIndicatorsStruct structure to private instance data
841         * src/nact/nact-menubar-priv.h: New file.
843         * src/nact/Makefile.am:
844         * src/nact/nact-main-menubar-edit.c:
845         * src/nact/nact-main-menubar-edit.h:
846         * src/nact/nact-main-menubar-file.c:
847         * src/nact/nact-main-menubar-file.h:
848         * src/nact/nact-main-menubar-help.c:
849         * src/nact/nact-main-menubar-help.h:
850         * src/nact/nact-main-menubar-maintainer.c:
851         * src/nact/nact-main-menubar-maintainer.h:
852         * src/nact/nact-main-menubar-tools.c:
853         * src/nact/nact-main-menubar-tools.h:
854         * src/nact/nact-main-menubar-view.c:
855         * src/nact/nact-main-menubar-view.h:
856         * src/nact/nact-menubar.c:
857         * src/nact/nact-menubar.h: Updated accordingly.
859         Define a new NactMenubar convenience class
861         * src/nact/nact-main-menubar.c:
862         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
864         * src/nact/Makefile.am:
865         * src/nact/nact-iactions-list.c:
866         * src/nact/nact-main-menubar-edit.h:
867         * src/nact/nact-main-menubar-file.h:
868         * src/nact/nact-main-menubar-help.c:
869         * src/nact/nact-main-menubar-help.h:
870         * src/nact/nact-main-menubar-maintainer.c:
871         * src/nact/nact-main-menubar-maintainer.h:
872         * src/nact/nact-main-menubar-tools.c:
873         * src/nact/nact-main-menubar-tools.h:
874         * src/nact/nact-main-menubar-view.c:
875         * src/nact/nact-main-menubar-view.h:
876         * src/nact/nact-main-window.c: Updated accordingly.
878         * src/api/na-boxed.h:
879         * src/core/na-boxed.c (na_boxed_dump): New function.
881         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
883         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
885         * src/core/na-marshal: New file.
887 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
889         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
891         * src/core/na-settings.c:
892         * src/core/na-settings.h: No more try to summarize notifications here.
894         * src/plugin-menu/nautilus-actions.c (instance_constructed):
895         Register NASettings callbacks on the runtime keys.
897         * src/nact/nact-main-window.c:
898         (NAIPivotConsumer->on_display_order_changed):
899         Moved to on_settings_order_mode_changed() function.
900         (NAIPivotConsumer->on_autosave_changed):
901         Moved to nact_main_menubar_file_install_autosave() new function.
903         * src/nact/nact-main-menubar-file.c:
904         * src/nact/nact-main-menubar-file.h
905         (nact_main_menubar_file_install_autosave): New function.
907         * src/core/na-iprefs.c:
908         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
909         New function.
911         * src/core/na-icontext.c (is_candidate_for_basenames):
912         Fix case insenstive comparison (bug reported by Johan Spee).
914         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
916         * src/nact/base-application.c:
917         * src/nact/base-application.h: Add new exit codes.
919         * src/nact/base-assistant.c:
920         * src/nact/base-assistant.h:
921         Remove 'warn-on-cancel' unused property.
922         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
923         Remove unused functions.
924         Implement run() virtual method.
926         * src/nact/base-dialog.c:
927         * src/nact/base-dialog.h:
928         Implement run() virtual method.
929         Define new cancel() and ok() virtual methods.
931         * src/nact/base-iprefs.c:
932         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
934         * src/nact/base-window.c:
935         * src/nact/base-window.h
936         (dialog_response, delete_event): Remove no more used virtual methods.
937         (run): Define new virtual method.
939         * src/nact/nact-add-capability-dialog.c:
940         * src/nact/nact-add-scheme-dialog.c:
941         * src/nact/nact-assistant-export.c:
942         * src/nact/nact-assistant-import.c:
943         * src/nact/nact-confirm-logout.c:
944         * src/nact/nact-export-ask.c:
945         * src/nact/nact-icon-chooser.c:
946         * src/nact/nact-main-window.c:
947         * src/nact/nact-preferences-editor.c: Updated accordingly.
949 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
951         * src/nact/nact-providers-list.c:
952         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
953         Do not initialize the widgets with the future BaseWindow.
955         * src/nact/nact-preferences-editor.c (preferences_editor_new):
956         Updated accordingly.
958         * src/nact/nact-schemes-list.c: Only ask for preferences once.
960         * src/nact/nact-assistant-import.c (assist_new):
961         Reload the common XML UI file into the private builder.
963         * src/nact/base-dialog.c:
964         * src/nact/base-dialog.h:
965         * src/nact/base-window.h: Do some code and comments cleanup.
967         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
968         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
969         * src/nact/base-window.c (setup_builder):
970         Add a debug message.
972 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
974         * src/plugin-menu/nautilus-actions.c:
975         * src/plugin-menu/nautilus-actions.h:
976         Takes advantage of the new NASettings signal notification system.
978         * src/core/na-pivot.c:
979         * src/core/na-pivot.h: Review the notification system.
981         * src/core/na-settings.c:
982         * src/core/na-settings.h:
983         Add a signal notification to the existing callback pregistration system.
985         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
986         * docs/des-ema/des-ema-0.15:
987         * docs/nact/C/nact-conditions.xml:
988         * docs/nact/C/nact-menus.xml:
989         * src/api/na-extension.h:
990         * src/api/na-ifactory-provider.h:
991         * src/api/na-iio-provider.h:
992         * src/api/na-object.h:
993         * src/core/na-core-utils.c:
994         * src/core/na-factory-object.c:
995         * src/core/na-gconf-utils.c:
996         * src/core/na-icontext-factory.c:
997         * src/core/na-icontext.c:
998         * src/core/na-ifactory-provider.c:
999         * src/core/na-io-provider.c:
1000         * src/core/na-io-provider.h:
1001         * src/core/na-iprefs.c:
1002         * src/core/na-object-action.c:
1003         * src/core/na-object-id-factory.c:
1004         * src/core/na-object-id.c:
1005         * src/core/na-object-item-factory.c:
1006         * src/core/na-object-item.c:
1007         * src/core/na-pivot.h:
1008         * src/core/na-settings.c:
1009         * src/core/na-settings.h:
1010         * src/core/na-tokens.h:
1011         * src/io-desktop/nadp-desktop-file.c:
1012         * src/io-desktop/nadp-reader.c:
1013         * src/io-desktop/nadp-utils.c:
1014         * src/io-gconf/nagp-reader.c:
1015         * src/io-xml/naxml-reader.c:
1016         * src/nact/nact-gtk-utils.c:
1017         * src/nact/nautilus-actions-config-tool.ui:
1018         * src/plugin-menu/nautilus-actions.c:
1019         * src/utils/nautilus-actions-new.c:
1020         * src/utils/nautilus-actions-run.c:
1021         * tools/check-headers.sh:
1022         * tools/init-finalize-diff.sh:
1023         Apply patch provided by Christian Kirbach. Fix #640216.
1025         * src/nact/nautilus-actions-config-tool.ui:
1026         * src/utils/na-delete-xmltree.c:
1027         * src/utils/nautilus-actions-print.c:
1028         Fix string errors reported by fr translation team.
1030         * src/api/na-timeout.h:
1031         * src/core/na-timeout.c: New files.
1033         * src/api/Makefile.am:
1034         * src/core/Makefile.am: Updated accordingly.
1036         * src/core/na-pivot.c (on_item_changed_timeout):
1037         * src/core/na-settings.c (on_keyfile_changed_timeout):
1038         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1039         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1040         Take advantage of new NATimeout convenience structure.
1042         * src/api/na-iio-provider.h:
1043         * src/core/na-io-provider.c:
1044         * src/core/na-io-provider.h: Fix comments.
1046         * src/core/na-iio-provider.c (interface_base_init):
1047         The 'item-changed' signal actually does not send any argument.
1049         * src/core/na-pivot.c:
1050         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1051         Updated accordingly.
1053 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1055         * src/nact/base-window.c: Handles the recorded signals in a GList.
1057         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1059         * src/nact/nact-main-window.c
1060         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1061         Calls the parent class method if willing to quit.
1063         * src/nact/nact-window.c:
1064         * src/nact/nact-window.h
1065         (nact_window_is_item_writable): Remove unused function.
1067         * src/nact/base-window.c:
1068         * src/nact/base-window.h
1069         (runtime_init_toplevel): Renamed as initialize_base_window().
1070         (class_init): Fix cclosure_marshall for signals without argument.
1072         * src/nact/base-window.c:
1073         * src/nact/base-window.h
1074         (get_toplevel_name, get_ui_filename): Removed virtual functions.
1076         * src/nact/nact-add-capability-dialog.c:
1077         * src/nact/nact-add-scheme-dialog.c:
1078         * src/nact/nact-assistant-export.c:
1079         * src/nact/nact-assistant-import.c:
1080         * src/nact/nact-confirm-logout.c:
1081         * src/nact/nact-export-ask.c:
1082         * src/nact/nact-icon-chooser.c:
1083         * src/nact/nact-main-window.c:
1084         * src/nact/nact-preferences-editor.c: Updated accordingly.
1086         * src/nact/base-window.c:
1087         * src/nact/base-window.h:
1088         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1089         handling paradigm.
1090         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1091         signal.
1092         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1094         * src/nact/nact-main-window.c:
1095         No more connect to the signal, but implement the virtual method.
1097         * src/nact/base-application.c (appli_initialize_manage_options):
1098         * src/nact/base-application.h (manage_options):
1099         * src/nact/nact-application.c (appli_manage_options):
1100         Revert commit 3acf600874.
1102         * src/test/test-virtuals.c: Do some more tests on virtual methods.
1104         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1105         on_initialize_base_window_class_handler,
1106         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1107         Succssively invoke all derived class methods.
1109         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1110         all_widgets_showed, is_willing_to_quit): Update comments.
1112         * src/nact/base-application.c (appli_initialize_manage_options):
1113         Successively invoke all derived class methods.
1115         * src/nact/base-application.h (manage_options): Update comment.
1117         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1119         * src/nact/base-builder.c:
1120         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1121         Use a const BaseBuilder as argument;
1123         * src/nact/base-window.c:
1124         * src/nact/base-window.h (base_window_get_widget_from_gtk):
1125         Removed function.
1127         * src/nact/nact-gtk-utils.c:
1128         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1129         New function.
1131         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1133         * src/nact/base-application.c (appli_initialize_unique_app):
1134         Fix reverse test.
1136         * src/nact/base-builder.c:
1137         * src/nact/base-builder.h (base_builder_load_named_toplevel):
1138         Renamed as base_builder_get_toplevel_by_name().
1140         * src/nact/base-window.c: Updated accordingly.
1142 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1144         * src/nact/base-window.c:
1145         * src/nact/base-window.h (base_window_peek_widget):
1146         Renamed as base_window_get_widget_from_gtk().
1148         * src/nact/nact-icon-chooser.c: Updated accordingly.
1150         * src/nact/base-window.c:
1151         * src/nact/base-window.h (base_window_get_named_toplevel):
1152         Renamed as base_window_get_gtk_toplevel_by_name().
1154         * src/nact/nact-icommand-tab.c: Updated accordingly.
1156         * src/nact/base-window.c:
1157         * src/nact/base-window.h (base_window_get_toplevel):
1158         Renamed as base_window_get_gtk_toplevel().
1160         * src/nact/base-application.c:
1161         * src/nact/base-assistant.c:
1162         * src/nact/base-iprefs.c:
1163         * src/nact/nact-add-capability-dialog.c:
1164         * src/nact/nact-add-scheme-dialog.c:
1165         * src/nact/nact-assistant-export.c:
1166         * src/nact/nact-assistant-import.c:
1167         * src/nact/nact-confirm-logout.c:
1168         * src/nact/nact-export-ask.c:
1169         * src/nact/nact-gtk-utils.c:
1170         * src/nact/nact-icommand-tab.c:
1171         * src/nact/nact-icon-chooser.c:
1172         * src/nact/nact-ifolders-tab.c:
1173         * src/nact/nact-main-menubar.c:
1174         * src/nact/nact-main-window.c:
1175         * src/nact/nact-match-list.c:
1176         * src/nact/nact-preferences-editor.c:
1177         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1179         * src/nact/base-window.c:
1180         * src/nact/base-window.h: Rename signal defines.
1182         * src/nact/base-assistant.c:
1183         * src/nact/nact-add-capability-dialog.c:
1184         * src/nact/nact-add-scheme-dialog.c:
1185         * src/nact/nact-assistant-export.c:
1186         * src/nact/nact-assistant-import.c:
1187         * src/nact/nact-confirm-logout.c:
1188         * src/nact/nact-export-ask.c:
1189         * src/nact/nact-icon-chooser.c:
1190         * src/nact/nact-main-window.c:
1191         * src/nact/nact-preferences-editor.c: Updated accordingly.
1193         * src/nact/base-window.c:
1194         * src/nact/base-window.h:
1195         Remove unused properties.
1196         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1198         * src/nact/base-assistant.c:
1199         * src/nact/nact-main-menubar-edit.c:
1200         * src/nact/nact-main-menubar-file.c:
1201         * src/nact/nact-main-window.c
1202         * src/nact/nact-window.c: Updated accordingly.
1204         * src/nact/base-window-class.h: Removed file.
1206         * src/nact/base-window.h:
1207         * src/nact/Makefile.am: Updated accordingly.
1209         * src/utils/na-gconf2key.sh.in:
1210         Get ride of possible error messages when forcing gconfd-2 synchro.
1212         * src/nact/base-application.c:
1213         * src/nact/base-application.h (base_application_message_dlg,
1214         base_application_error_dlg, base_application_yesno_dlg):
1215         Functions are moved to BaseWindow class.
1217         * src/nact/base-window.c:
1218         * src/nact/base-window.h
1219         (base_window_display_yesno_dlg, base_window_display_message_dlg):
1220         New functions.
1222         * src/nact/base-application.c:
1223         * src/nact/base-application.h
1224         (base_application_get_ui_filename): Removed function.
1225         (get_ui_filename): Removed virtual method.
1227         * src/nact/nact-application.c
1228         (appli_get_gtkbuilder_filename):Removed function.
1230         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1232         * src/nact/nact-main-window.c (nact_main_window_new):
1233         Initialize the main window with XML UI properties.
1235         * src/nact/base-window.c:
1236         * src/nact/base-window.h: Rename initialization properties.
1238         * src/nact/nact-add-capability-dialog.c:
1239         * src/nact/nact-add-scheme-dialog.c:
1240         * src/nact/nact-assistant-export.c:
1241         * src/nact/nact-assistant-import.c:
1242         * src/nact/nact-confirm-logout.c:
1243         * src/nact/nact-export-ask.c:
1244         * src/nact/nact-icon-chooser.c:
1245         * src/nact/nact-main-window.c:
1246         * src/nact/nact-preferences-editor.c: Updated accordingly.
1248         * src/nact/base-application.c:
1249         * src/nact/base-application.h:
1250         Define new 'base-application-description' property.
1251         Remove unused properties.
1253         * src/nact/nact-application.c (nact_application_new):
1254         Make use of the new property at instanciation time.
1256 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1258         * src/nact/base-window.c:
1259         * src/nact/base-window.h (base_window_display_error_dlg): New function.
1261         * src/nact/base-application.c:
1262         * src/nact/base-application.h (base_application_get_icon_name):
1263         Removed function.
1265         * src/nact/base-application.c:
1266         * src/nact/base-application.h
1267         (initialize_i18n, initialize_application_name, get_application_name,
1268         initialize_default_icon, get_icon_name, initialize_gtk,
1269         initialize_session_manager, get_unique_app_name, initialize_ui,
1270         initialize_unique_app, initialize, run, get_main_window,
1271         initialize_application): Remove virtual methods.
1273         * src/nact/nact-application.c (appli_get_application_name,
1274         appli_get_icon_name, appli_get_unique_app_name,
1275         appli_initialize_application):  Removed functions.
1277         * src/nact/nact-application.c (nact_application_new_with_args):
1278         Make NactApplication initializes with these new properties.
1280         * src/nact/base-application.c:
1281         * src/nact/base-application.h: Define new properties.
1283         * src/nact/base-application-class.h: Removed file.
1285         * src/nact/Makefile.am:
1286         * src/nact/base-application.h:
1287         * src/nact/base-window-class.h:
1288         * src/nact/base-window.h: Updated accordingly.
1290         * src/nact/base-application-class.h (main_window_new):
1291         * src/nact/base-application.c (application_do_run):
1292         * src/nact/nact-application.c
1293         * src/nact/nact-main-window.h (appli_main_window_new):
1294         Move the creation of the main window to the main_window_new() method.
1295         Remove base_application_get_main_window() function.
1297         * src/nact/base-application-class.h (manage_options):
1298         * src/nact/base-application.c:
1299         * src/nact/nact-application.c: Return exit code of the program.
1301         * src/nact/nact-tree-model-dnd.c
1302         (drop_inside, is_drop_possible, drop_uri_list):
1303         * src/nact/base-window.c (is_main):
1304         Remove base_application_get_main_window() invocations.
1306         * src/nact/nact-main.c: Renamed as main.c
1308         * src/nact/Makefile.am: Updated accordingly.
1310         * tools/Makefile.am: Generate the check-header.c source if it is missing.
1312         * src/plugin-tracker/na-tracker-dbus.c:
1313         * src/plugin-tracker/na-tracker-dbus.h:
1314         * src/plugin-tracker/na-tracker.c:
1315         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1317         * src/plugin-menu/nautilus-actions.c:
1318         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1320         * src/nact/base-application.c:
1321         * src/nact/base-application-class.h:
1322         * src/nact/base-assistant.c:
1323         * src/nact/base-assistant.h:
1324         * src/nact/base-builder.c:
1325         * src/nact/base-builder.h:
1326         * src/nact/base-dialog.c:
1327         * src/nact/base-dialog.h:
1328         * src/nact/base-iprefs.c:
1329         * src/nact/base-iprefs.h:
1330         * src/nact/base-window.c:
1331         * src/nact/base-window-class.h:
1332         * src/nact/egg-tree-multi-dnd.h:
1333         * src/nact/nact-add-capability-dialog.c:
1334         * src/nact/nact-add-capability-dialog.h:
1335         * src/nact/nact-add-scheme-dialog.c:
1336         * src/nact/nact-add-scheme-dialog.h:
1337         * src/nact/nact-application.c:
1338         * src/nact/nact-application.h:
1339         * src/nact/nact-assistant-export.c:
1340         * src/nact/nact-assistant-export.h:
1341         * src/nact/nact-assistant-import.c:
1342         * src/nact/nact-assistant-import.h:
1343         * src/nact/nact-clipboard.c:
1344         * src/nact/nact-clipboard.h:
1345         * src/nact/nact-confirm-logout.c:
1346         * src/nact/nact-confirm-logout.h:
1347         * src/nact/nact-export-ask.c:
1348         * src/nact/nact-export-ask.h:
1349         * src/nact/nact-iactions-list.c:
1350         * src/nact/nact-iactions-list.h:
1351         * src/nact/nact-iaction-tab.c:
1352         * src/nact/nact-iaction-tab.h:
1353         * src/nact/nact-ibasenames-tab.c:
1354         * src/nact/nact-ibasenames-tab.h:
1355         * src/nact/nact-icapabilities-tab.c:
1356         * src/nact/nact-icapabilities-tab.h:
1357         * src/nact/nact-icommand-tab.c:
1358         * src/nact/nact-icommand-tab.h:
1359         * src/nact/nact-icon-chooser.h:
1360         * src/nact/nact-ienvironment-tab.c:
1361         * src/nact/nact-ienvironment-tab.h:
1362         * src/nact/nact-iexecution-tab.c:
1363         * src/nact/nact-iexecution-tab.h:
1364         * src/nact/nact-ifolders-tab.c:
1365         * src/nact/nact-ifolders-tab.h:
1366         * src/nact/nact-imimetypes-tab.c:
1367         * src/nact/nact-imimetypes-tab.h:
1368         * src/nact/nact-iproperties-tab.c:
1369         * src/nact/nact-iproperties-tab.h:
1370         * src/nact/nact-ischemes-tab.c:
1371         * src/nact/nact-ischemes-tab.h:
1372         * src/nact/nact-main-window.c:
1373         * src/nact/nact-main-window.h:
1374         * src/nact/nact-preferences-editor.c:
1375         * src/nact/nact-preferences-editor.h:
1376         * src/nact/nact-tree-model.c:
1377         * src/nact/nact-tree-model.h:
1378         * src/nact/nact-tree-model-priv.h:
1379         * src/nact/nact-window.c:
1380         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1382         * src/io-xml/naxml-provider.c:
1383         * src/io-xml/naxml-provider.h:
1384         * src/io-xml/naxml-reader.c:
1385         * src/io-xml/naxml-reader.h:
1386         * src/io-xml/naxml-writer.c:
1387         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1389         * src/io-gconf/nagp-gconf-provider.c:
1390         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1392         * src/io-desktop/nadp-desktop-file.c:
1393         * src/io-desktop/nadp-desktop-file.h:
1394         * src/io-desktop/nadp-desktop-provider.c:
1395         * src/io-desktop/nadp-desktop-provider.h:
1396         * src/io-desktop/nadp-monitor.c:
1397         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1399         * src/core/na-export-format.h:
1400         * src/core/na-iabout.h:
1401         * src/core/na-importer-ask.h:
1402         * src/core/na-io-provider.h:
1403         * src/core/na-ipivot-consumer.h:
1404         * src/core/na-module.h:
1405         * src/core/na-pivot.h:
1406         * src/core/na-selected-info.h:
1407         * src/core/na-settings.h:
1408         * src/core/na-tokens.h:
1409         * src/core/na-updater.h: Cosmetic changes in src/core headers.
1411         * src/api/na-data-boxed.h:
1412         * src/api/na-data-types.h:
1413         * src/api/na-gconf-monitor.h:
1414         * src/api/na-gconf-utils.h:
1415         * src/api/na-icontext.h:
1416         * src/api/na-iduplicable.h:
1417         * src/api/na-iexporter.h:
1418         * src/api/na-ifactory-object.h:
1419         * src/api/na-ifactory-provider.h:
1420         * src/api/na-iio-provider.h:
1421         * src/api/na-object-action.h:
1422         * src/api/na-object.h:
1423         * src/api/na-object-id.h:
1424         * src/api/na-object-item.h:
1425         * src/api/na-object-menu.h:
1426         * src/api/na-object-profile.h:
1427         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1429         * src/utils/na-gconf2key.sh.in:
1430         * tools/check-headers.sh:
1431         * tools/check-po.sh:
1432         * tools/init-finalize-diff.sh:
1433         * tools/release-tarball.sh: Replace basename with a shell substitution.
1435 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1437         * tools/release-tarball.sh: Full script rewrite.
1439         * README-GCONF:
1440         * Makefile.am: Add README-GCONF to the distribution.
1442         * tools/check-po.sh: Script rewriting.
1444         * NEWS: Update before 3.0.7 release.
1446 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1448         * src/core/na-export-format.c (na_export_format_get_description):
1449         * src/core/na-importer-ask.c (na_importer_ask_user):
1450         * src/core/na-importer.c (import_from_uri):
1451         * src/core/na-io-provider.c (na_io_provider_get_name):
1452         * src/core/na-iprefs.c:
1453         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1454         na_iprefs_get_order_mode, na_iprefs_get_export_format):
1455         * src/core/na-settings.c:
1456         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1457         * nact/nact-assistant-import.c (runtime_init_duplicates):
1458         * src/nact/nact-clipboard.c (export_row_object):
1459         * src/nact/nact-export-ask.c:
1460         * nact/nact-export-format.c:
1461         * src/nact/nact-export-format.h(nact_export_format_init_display):
1462         * src/nact/nact-gtk-utils.c:
1463         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1464         nact_gtk_utils_radio_reset_initial_state,
1465         nact_gtk_utils_toggle_set_initial_state,
1466         nact_gtk_utils_toggle_reset_initial_state):
1467         * src/nact/nact-ienvironment-tab.c
1468         (on_tab_updatable_selection_changed):
1469         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1470         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1471         * src/nact/nact-preferences-editor.c:
1472         * src/nact/nact-preferences.ui:
1473         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1474         * src/nact/nact-tree-model.c (tree_model_new):
1475         Manage locked and mandatory preferences.
1477         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1478         Do not eat last character.
1480         * README-GCONF:
1481         * src/core/na-settings.h:
1482         * src/utils/na-gconf2key.sh.in:
1483         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1485 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1487         * src/nact/nact-preferences-editor.c:
1488         Reopen the Preferences on the last used tab.
1490         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1491         Fix handling of last separator.
1493         * src/nact/nact-schemes-list.c: Do not allow modification
1494         of default schemes list if preferences are locked or property
1495         mandatory.
1497         * src/core/na-io-provider.c:
1498         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1499         na_io_provider_is_conf_writable):
1500         Returns mandatory flag.
1501         List I/O providers in write order.
1503         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1505         * src/nact/nact-providers-list.c: Do not allow modification of I/O
1506         providers readability/writability/write order properties if
1507         preferences are locked or properties mandatory.
1509         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1511 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1513         * run-distcheck.sh: New file.
1515         Add a script to check completeness of header files.
1517         * tools/.gitignore:
1518         * tools/Makefile.am:
1519         * tools/check-headers.sh: New files.
1521         * src/test/test-include.c:
1522         Renamed as tools/check-header.c and set it as ignored by git.
1524         * src/test/.gitignore:
1525         * src/test/Makefile.am: Updated accordingly.
1527         * Makefile.am:
1528         * configure.ac: configure in tools/.
1530         * src/api/na-data-boxed.h:
1531         * src/api/na-data-types.h:
1532         * src/api/na-gconf-monitor.h:
1533         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1535         * run-distcheck.sh: New file.
1537         * tools/check-po.sh: Rewrite to have options and messages management.
1539         * src/utils/na-gconf2key.sh.in: Review comment.
1541         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1543         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1545         * tools/check-po.sh: Set the count of errors as exit code.
1547         * po/POTFILES.in: Updated.
1549         * src/api/na-gconf-utils.h:
1550         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1552         * src/api/na-gconf-monitor.h:
1553         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1555         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1557         * src/utils/na-print-schemas.c: Add a deprecation comment.
1559         * src/core/na-io-provider.c:
1560         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1561         New function.
1563         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1565 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1567         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1569         * src/test/test-module.c:
1570         * src/test/test-module-plugin.c: New files.
1572         * src/test/.gitignore:
1573         * src/test/Makefile.am: Updated accordingly.
1574          
1575         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1577         * src/nact/base-iprefs.c
1578         (base_iprefs_position_named_window): Do not force a null window size or position.
1580         * src/core/na-settings.c
1581         (na_settings_get_string_list): Do not allocate an empty string list.
1583         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1585         * src/core/na-object-id.c:
1586         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1588         * src/core/na-data-boxed.c:
1589         * src/core/na-gconf-monitor.c:
1590         * src/core/na-io-provider.c:
1591         * src/core/na-tokens.c:
1592         * src/core/na-updater.c:
1593         * src/io-desktop/nadp-desktop-file.c:
1594         * src/io-desktop/nadp-desktop-provider.c:
1595         * src/io-desktop/nadp-monitor.c:
1596         * src/io-gconf/nagp-gconf-provider.c:
1597         * src/io-xml/naxml-provider.c:
1598         * src/nact/base-application.c:
1599         * src/nact/base-builder.c:
1600         * src/nact/base-window.c: 
1601         * src/nact/nact-application.c:
1602         * src/nact/nact-clipboard.c:
1603         * src/nact/nact-main-window.c:
1604         * src/nact/nact-tree-model.c:
1605         * src/nact/nact-window.c: Add instance_finalize debug message.
1607         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1609         * src/core/na-boxed.c
1610         (na_boxed_free): Only free a non null structure.
1611         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1612         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1613         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1614         Do not try to return a value for a null structure.
1616         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1618 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1620         * src/utils/na-delete-xmltree.c:
1621         * src/utils/nautilus-actions-print.c: Add localization code.
1623         * src/utils/nautilus-actions-new.c:
1624         * src/utils/nautilus-actions-run.c:
1625         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1627         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1628         na_boxed_new_from_string_with_sep, na_boxed_free):
1629         Add debug messages when allocating/freeing a NABoxed structure.
1631         * src/nact/nact-icommand-tab.c (on_wdir_browse):
1632         Remove no more used default value.
1634         * src/nact/nact-icon-chooser.c
1635         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1637         * src/core/na-settings.h: Preference renamed accordingly.
1639         * README-GCONF:
1640         * src/core/na-settings.h:
1641         * src/utils/na-gconf2key.sh.in:
1642         '-last-folder-uri' preferences are renamed as '-lfu'.
1644         * src/core/na-settings.c: Set default values.
1646         * src/nact/nact-gtk-utils.c:
1647         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1648         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1649         Remove no more used default value.
1651         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1652         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1653         on_show_if_running_browse): Updated accordingly.
1655         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1656         Do not allocate the empty last element.
1658         * src/core/na-io-provider.c (load_items_get_merged_list):
1659         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1660         Use the correct list pointer.
1662         * src/core/na-iprefs.c:
1663         * src/core/na-iprefs.h
1664         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1665         Functions moved from src/nact/nact-iprefs.c.
1667         * src/nact/nact-iprefs.c:
1668         * src/nact/nact-iprefs.h: Removed files.
1670         * src/nact/Makefile.am:
1671         * src/nact/base-window.c:
1672         * src/nact/nact-assistant-export.c:
1673         * src/nact/nact-assistant-import.c:
1674         * src/nact/nact-clipboard.c:
1675         * src/nact/nact-export-ask.c:
1676         * src/nact/nact-export-format.c:
1677         * src/nact/nact-gtk-utils.c:
1678         * src/nact/nact-iaction-tab.c:
1679         * src/nact/nact-icommand-tab.c:
1680         * src/nact/nact-ifolders-tab.c:
1681         * src/nact/nact-main-toolbar.c:
1682         * src/nact/nact-preferences-editor.c:
1683         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1685         * src/nact/nact-iprefs.c:
1686         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1687         nact_iprefs_write_string): Remove deprecated functions.
1689         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1690         Updated accordingly.
1692         * src/nact/base-iprefs.c:
1693         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1694         Remove deprecated functions.
1696         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1697         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
1698         Updated accordingly.
1700         * src/nact/nact-iprefs.c:
1701         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
1703         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
1704         Updated accordingly.
1706         Global renaming of preferences.
1708         * README-GCONF:
1709         * src/api/na-iio-provider.h:
1710         * src/core/na-export-format.h:
1711         * src/core/na-exporter.h:
1712         * src/core/na-importer-ask.h:
1713         * src/core/na-importer.c:
1714         * src/core/na-io-provider.c:
1715         * src/core/na-io-provider.h:
1716         * src/core/na-iprefs.c:
1717         * src/core/na-iprefs.h:
1718         * src/core/na-module.c:
1719         * src/core/na-pivot.c:
1720         * src/core/na-pivot.h:
1721         * src/core/na-settings.c:
1722         * src/core/na-settings.h:
1723         * src/core/na-updater.c:
1724         * src/nact/nact-add-capability-dialog.c:
1725         * src/nact/nact-add-scheme-dialog.c:
1726         * src/nact/nact-assistant-export.c:
1727         * src/nact/nact-assistant-import.c:
1728         * src/nact/nact-clipboard.c:
1729         * src/nact/nact-export-ask.c:
1730         * src/nact/nact-gtk-utils.c:
1731         * src/nact/nact-iactions-list.c:
1732         * src/nact/nact-icommand-tab.c:
1733         * src/nact/nact-icon-chooser.c:
1734         * src/nact/nact-ienvironment-tab.c:
1735         * src/nact/nact-ifolders-tab.c:
1736         * src/nact/nact-iprefs.c:
1737         * src/nact/nact-iprefs.h:
1738         * src/nact/nact-main-menubar-edit.c:
1739         * src/nact/nact-main-menubar-file.c:
1740         * src/nact/nact-main-menubar.c:
1741         * src/nact/nact-main-toolbar.c:
1742         * src/nact/nact-main-window.c:
1743         * src/nact/nact-preferences-editor.c:
1744         * src/nact/nact-providers-list.c:
1745         * src/nact/nact-schemes-list.c:
1746         * src/nact/nact-sort-buttons.c:
1747         * src/nact/nact-tree-model-dnd.c:
1748         * src/nact/nact-tree-model.c:
1749         * src/nact/nact-window.c:
1750         * src/nact/nact-window.h:
1751         * src/plugin-menu/nautilus-actions.c:
1752         * src/utils/na-gconf2key.sh.in:
1753         * src/utils/nautilus-actions-new.c: Rename preferences.
1754 >>>>>>> Globally rename preferences
1756 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
1758         * src/core/na-settings.c:
1759         * src/core/na-settings.h: Preference names are defined as '#define' values.
1761         * README-GCONF:
1762         * src/utils/na-gconf2key.sh.in: Adjust preferences.
1764         * src/core/na-iprefs.c:
1765         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
1767         * src/api/na-iimporter.h:
1768         * src/core/na-importer-ask.c:
1769         * src/core/na-importer-ask.h:
1770         * src/core/na-importer.c: Updated accordingly.
1772 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
1774         * src/nact/nact-iprefs.c:
1775         * src/nact/nact-iprefs.h: Get ride of GConf.
1777         * README-GCONF:
1778         * src/core/na-settings.c:
1779         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
1781         * src/nact/nact-icommand-tab.c:
1782         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
1784         * README-GCONF:
1785         * src/core/na-settings.c:
1786         * src/utils/na-gconf2key.sh.in:
1787         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
1789         * src/nact/nact-ifolders-tab.c: Updated accordingly.
1791         * README-GCONF:
1792         * src/core/na-settings.c:
1793         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
1795         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
1796         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
1797         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
1798         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
1799         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
1800         * src/nact/nact-main-window.c
1801         (instance_dispose, base_get_iprefs_window_id):
1802         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
1803         Update all preference names when saving/restoring window size and position.
1805         * src/core/na-settings.c:
1806         * src/core/na-settings.h: All getters/setters are implemented.
1808         * src/nact/base-iprefs.c: Remove GConf stuff.
1810         * src/nact/nact-icon-chooser.c:
1811         * src/nact/nact-icon-chooser.ui: Implement all preferences.
1813         * src/utils/na-gconf2key.sh.in:
1814         Renamed preferences for windows size and position '-wsp'.
1815         Also delete from GConf if only preferences have been migrated.
1816         Re-sync after tree delete.
1818         * src/api/na-boxed.h:
1819         * src/core/na-boxed.c
1820         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
1821         New functions.
1823         * configure.ac: Enable silent rules by default.
1825         * run-autogen.sh: Add sysconfdir argument to autogen.sh
1827         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1828         Search a pixbuf by icon theme if not found as filename or stock.
1830         * src/nact/base-window.c:
1831         * src/nact/base-window.h (base_window_peek_widget): New function.
1833         * src/nact/nact-icon-chooser.c:
1834         * src/nact/nact-icon-chooser.h:
1835         * src/nact/nact-icon-chooser.ui: New files.
1836         
1837         * src/nact/Makefile.am:
1838         * src/nact/nact-iaction-tab.c:
1839         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1841         * src/core/na-settings.c (content_load_keys):
1842         Do not warn if configuration file does not exist.
1844         * src/api/na-boxed.h:
1845         * src/api/na-data-boxed.h:
1846         * src/api/na-data-types.h:
1847         * src/core/na-boxed.c:
1848         * src/core/na-data-boxed.c:
1849         * src/core/na-data-types.c:
1850         Update reference documentation to deprecate NADataBoxed and NADataType
1851         in favor of NABoxed.
1853         * src/core/na-settings.c:
1854         * src/core/na-settings.h: Configuration monitoring.
1856         * src/plugin-menu/nautilus-actions.c:
1857         Monitor all runtime preferences with only one callback.
1859         * src/api/na-boxed.h:
1860         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
1862         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
1864         * src/api/na-data-types.h:
1865         * src/core/na-data-types.c
1866         (na_data_types_copy, na_data_types_free): Removed functions.
1868         * README-GCONF:
1869         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
1871         * src/api/na-boxed.h:
1872         * src/core/na-boxed.c: New files.
1874         * src/api/Makefile.am:
1875         * src/core/Makefile.am: Updated accordingly.
1877 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
1879         * src/api/na-data-types.h:
1880         * src/core/na-data-types.c
1881         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
1882         New functions.
1884         * src/core/na-settings.c
1885         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
1887         * src/core/na-settings.h
1888         (na_settings_get_boolean_ex, na_settings_get_string_list):
1889         New functions.
1891         * src/plugin-menu/nautilus-actions.c:
1892         Implement runtime preferences monitoring.
1893         No more use deprecated na_pivot_set_automatic_reload().
1895         * src/core/na-pivot.c:
1896         * src/core/na-pivot.h:
1897         Replace GConf preferences monitoring with NASettings.
1898         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
1900         * src/core/na-settings.c:
1901         * src/core/na-settings.h
1902         (na_settings_register_key_callback,
1903         na_settings_register_global_callback, na_settings_get_boolean):
1904         New functions.
1906         * src/api/na-iio-provider.h:
1907         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
1908         definition is moved (and renamed) from public API to internal one.
1910         * src/core/na-iio-provider.c (interface_base_init):
1911         * src/core/na-io-provider.c (io_provider_set_provider):
1912         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
1914         * src/core/na-iio-provider.c
1915         * src/core/na-settings.c (na_settings_new):
1916         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
1918         * src/core/na-pivot.c:
1919         * src/core/na-pivot.h (na_pivot_register):
1920         * src/core/na-settings.c:
1921         * src/core/na-settings.h (na_settings_register):
1922         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1923         Fix compilation.
1925 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
1927         * src/nact/base-application.c (display_dlg): Setup parent window.
1929         * src/api/na-iimporter.h:
1930         * src/core/na-io-provider.c:
1931         * src/core/na-object-id.c:
1932         * src/core/na-object-item.c:
1933         * src/io-desktop/nadp-utils.c:
1934         * src/nact/nact-assistant-import.c:
1935         * src/nact/nact-iactions-list-bis.c:
1936         * src/nact/nact-iactions-list.h:
1937         * src/nact/nact-main-window.c:
1938         * src/nact/nact-preferences.ui:
1939         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
1941         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
1943         * src/core/na-object-profile-factory.c:
1944         Remove %o/%O parameters from description of version 2.0.
1945         Add a missing line feed.
1947         * tools/check-po.sh: Adapt to glade files.
1949 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1951         * src/utils/nautilus-actions-new.c (init_options):
1952         * src/utils/nautilus-actions-run.c (init_options):
1953         * src/utils/nautilus-actions-schemas.c (init_options):
1954         Initialize translation domain for GOptionContext.
1956         * src/core/na-data-boxed.c
1957         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1958         * src/core/na-export-format.c
1959         (na_export_format_get_label, na_export_format_get_description):
1960         * src/core/na-iabout.c (na_iabout_display):
1961         * src/core/na-object-action.c (na_object_action_new_with_defaults):
1962         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1963         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1964         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1965         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1966         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1967         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1968         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1969         * src/nact/nact-tree-model-dnd.c
1970         (is_drop_possible, is_drop_possible_before_iter,
1971         is_drop_possible_into_dest, is_parent_accept_new_childs):
1972         Use gettext() to display localized static strings.
1974         * src/api/na-data-def.h: Complete the description of the fields.
1976         * src/core/na-io-provider.c:
1977         * src/core/na-object-profile-factory.c:
1978         * src/nact/nact-assistant-export.ui:
1979         * src/nact/nautilus-actions-config-tool.ui:
1980         Fix various mistakes and mispellings reported by Fr translation team.
1982         * configure.ac: Post-release bump version number.
1984 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1986         * src/core/na-pivot.c (na_pivot_register): New function.
1988         * src/plugin-menu/nautilus-actions.c:
1989         Replace NAIPivotConsumer interface with na_settings() accessors.
1991         * src/core/na-settings.c:
1992         * src/core/na-settings.h: New files.
1994         * src/utils/na-gconf2key.sh.in:
1995         Make sure that GConf is at the end of the list of I/O providers.
1996         Make sure that GConf is locked.
1997         Migrate all I/O provider preferences.
1999         * configure.ac:
2000         * src/utils/Makefile.am:
2001         * src/utils/na-gconf2key.sh.in:
2002         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2003         and is installed in PKGLIBEXECDIR.
2005         * src/core/Makefile.am:
2006         * src/core/na-gconf-migration.c: Updated accordingly.
2008         * src/utils/Makefile.am:
2009         nautilus-actions-delete is renamed as na-delete-xmltree,
2010         and is installed in PKGLIBEXECDIR.
2012         * src/core/na-core-utils.c (na_core_utils_print_version):
2013         Print the compilation version of GLib2 and Gtk+ when in debug mode.
2015         * src/utils/Makefile.am:
2016         nautilus-actions-schemas is renamed as na-print-schemas,
2017         and is installed in PKGLIBEXECDIR.
2019 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2021         * src/nact/nact-main-window.c (iabout_get_toplevel):
2022         Let the About dialog get the toplevel window.
2024         * src/nact/nact-preferences.ui:
2025         * src/nact/nautilus-actions-config-tool.ui:
2026         Apply patch provided by Christian Kirbach. Fix #638548.
2028         Use the same script to migrate items and preferences.
2030         * README-GCONF: Document migrated and renamed preferences.
2032         * src/utils/nautilus-actions-gconf2desktop.sh.in:
2033         Rewrite migrated preferences as keyed files.
2034         At last, remove the whole Nautilus-Actions tree from GConf.
2036 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2038         * src/utils/console-utils.c (console_cmdline_get_description):
2039         Returns the full address of the page to enter a new bug in Bugzilla.
2041         * src/core/na-gconf-migration.c:
2042         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2044         * src/core/Makefile.am: Updated accordingly.
2046         * src/nact/nact-main.c (main):
2047         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2048         * src/utils/nautilus-actions-new.c (main):
2049         * src/utils/nautilus-actions-run.c (main):
2050         Automatically run the migration tool at startup.
2052         * src/utils/nautilus-actions-gconf2desktop.sh.in:
2053         * src/utils/nautilus-actions-delete.c:
2054         * src/utils/nautilus-actions-print.c:
2055         New items migration script and programs.
2056         They take care of migrating users and mandatory items to .desktop files.
2058         * configure.ac:
2059         * src/utils/Makefile.am:
2060         * src/utils/.gitignore: Updated accordingly.
2062 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2064         * src/core/na-tokens.c (na_tokens_new_from_selection):
2065         No more prepare the list string of selection.
2066         Directly build the selection list in the correct order.
2067         (execute_action_command): Setup the working directory.
2069         * src/core/na-tokens.c:
2070         * src/core/na-tokens.h (na_tokens_parse_parameters):
2071         Renamed as na_tokens_parse_for_display() as filenames are not quoted
2072         when displayed as part of an expanded label.
2074         * src/nact/nact-icommand-tab.c (parse_parameters):
2075         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2076         Updated accordingly.
2078         * configure.ac: Fix "API Reference generation" message.
2080         * m4/na-enable-manuals.m4:
2081         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2083         * src/core/na-selected-info.c (new_from_uri):
2084         - Add an excerpt from RFC 2396 about valid characters in URIs.
2085         - Prefer the filename from g_filename_from_uri() when possible.
2087         * src/core/na-tokens.c
2088         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2089         (build_string_lists_item): Removed function.
2091         * src/core/na-iabout.c (na_iabout_display):
2092         Fix typo in comment, adding a note to the translators.
2094 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2096         * src/core/na-io-provider.c:
2097         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2098         New function.
2100         * configure.ac: Define a conditional if we have both GSettings and GConf.
2102         * src/core/na-gsettings-migrate.c:
2103         * src/core/na-gsettings-migrate.h: New files.
2105         * src/core/Makefile.am: Updated accordingly.
2107         * src/core/na-pivot.c (instance_constructed):
2108         Call na_gsettings_migrate() if we have both GSettings and GConf.
2110         * configure.ac:
2111         - Define HAVE_GSETTINGS variable.
2112         - Define HAVE_GCONF variable.
2114 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2116         * src/nact/egg-desktop-file.c:
2117         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2119         * src/nact/base-keysyms.h:
2120         * src/nact/egg-sm-client-private.h:
2121         * src/nact/egg-sm-client-xsmp.c: 
2122         * src/nact/nact-add-capability-dialog.c:
2123         * src/nact/nact-add-scheme-dialog.c:
2124         * src/nact/nact-main-tab.c:
2125         * src/nact/nact-clipboard.c:
2126         * src/nact/nact-tree-model-dnd.c:
2127         * src/nact/nact-gtk-utils.c:
2128         * src/nact/nact-iaction-tab.c:
2129         * src/nact/nact-main-statusbar.c:
2130         * src/nact/nact-main-menubar.c:
2131         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2133         * configure.ac:
2134         * m4/na-check-for-gtk.m4:
2135         Move back gtk_required variable to improve readibility of configure.ac.
2137 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2139         * configure.ac: Post release version bump.
2141         * NEWS: Update NEWS before release.
2143         * src/plugin-menu/nautilus-actions.c (create_root_menu):
2144         Update the root menu label to better reflect the product name.
2146         * src/nact/nautilus-actions-config-tool.ui:
2147         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2149         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2150         Display again stock icons in NACT.
2151         Fix #638461 - Stock icons are no more displayed in NACT.
2153         * Almost all files modified:
2154         Update copyright message.
2155         Set Nautilus-Actions as being the actual official product name.
2157         * src/core/na-selected-info.c (new_from_nautilus_file_info):
2158         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2159         Fix #638450 - Nautilus crashes when opening Trash or Network.