GtkDialogs: remove (deprecated since 2.22) 'has_separator' property
[nautilus-actions.git] / ChangeLog
blobc62f4eac12b492114cbfeb58235c0a1d8facb0aa
1 2011-12-05 Pierre Wieser <pwieser@trychlos.org>
3         * src/core/na-importer-ask.c (import_ask_new):
4         * src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
5         * src/nact/nact-add-capability.ui:
6         * src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
7         * src/nact/nact-add-scheme.ui:
8         * src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
9         * src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
10         * src/nact/nact-icon-chooser.ui:
11         * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
12         Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.
14         * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
15         Display an synthetic error message if cannot handle the file.
17         * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
18         Display an synthetic error message if cannot handle the file.
20         * po/POTFILES.in: Updated accordingly.
22         * src/core/na-importer.c (import_from_uri): Only display error messages
23         of the interface which has eventually successfully imported the item.
25         * src/core/na-importer.c (import_from_uri):
26         Make sure of the population against which we check for existance.
28         * src/core/na-iimporter.h: Improve comment.
30 2011-12-04 Pierre Wieser <pwieser@trychlos.org>
32         * docs/nact/Makefile.am: Work-around against #664768.
34         When a bug is detected in dblatex, we re-run it in debug mode, so that
35         we may be able to get the .pdf from temp directory.
37         * docs/nact/Makefile.am: Fix User's Manual generation.
39         * docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.
41         * run-autogen.sh: Do not automatically make && make install after configure.
43         * run-distcheck.sh: Fix cleanup before making distcheck.
45 2011-12-03 Pierre Wieser <pwieser@trychlos.org>
47         * tools/check-headers.sh: Fix when builddir not equal to srcdir.
49         * run-distcheck.sh: Make sure that the document wil be rebuilt.
51         * m4/na-enable-manuals.m4:
52         Fix the test as possible values are 'gdt', 'db2html' and 'no.
54         * docs/reference/Makefile.am: Fix when builddir not equal to srcdir.
56 2011-12-02 Pierre Wieser <pwieser@trychlos.org>
58         Do not build the documentation at all if not asked for.
60         * m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.
62         * docs/nact/Makefile.am:
63         Make use of new ENABLE_MANUALS conditional.
64         Also test for conditionals when installing.
66         * run-autogen.sh: Yet improve the build script.
68 2011-12-01 Pierre Wieser <pwieser@trychlos.org>
70         * src/core/na-importer-ask.c (na_importer_ask_user):
71         Save window size and position when quitting, restoring it on next init.
73 2011-11-30 Pierre Wieser <pwieser@trychlos.org>
75         * src/core/na-gtk-utils.c:
76         * src/core/na-gtk-utils.h
77         (na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
78         New functions.
80         * src/nact/base-gtk-utils.c
81         (base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
82         Updated accordingly.
84         * src/nact/base-gtk-utils.h: Fix a comment.
86         * src/core/na-importer-ask.c:
87         * src/core/na-importer-ask.h: Now derives from GObject.
89         * src/core/na-importer-ask.c (import_ask_new):
90         All one-time initialization is made here, being able to return NULL if failed.
92         * src/core/na-importer-ask.c (on_destroy_toplevel):
93         NAImporterAsk is now attached to its parent, and destroyed with it.
95         * src/nact/nact-assistant-import.c (assistant_apply):
96         Make the assistant the parent of NAImporterAsk (instead of main window).
98 2011-11-29 Pierre Wieser <pwieser@trychlos.org>
100         * src/core/na-object-item-factory.c:
101         Do not let a read or imported item go until the UI with an empty label.
103         * src/io-xml/naxml-reader.c (schema_parse_schema_content):
104         Only search for identifier in <applyto> schema key.
106 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
108         * src/io-desktop/nadp-desktop-file.c (check_key_file):
109         - Do not even try to read zero byte length files.
110         - Check Type key before trying to import the file.
112         * src/core/na-importer-ask.c:
113         * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
114         response codes, and quit on Esc.
116         * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
118         * run-autogen.sh:
119         * run-distcheck.sh: Review in order to be able to build several guests
120         from a common single source tree.
122         * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
123         Get ride of the superfluous 'name' entry field when selecting the folder.
125         * src/nact/nact-export-ask.c (nact_export_ask_user):
126         Actually do not export the item if the user cancels the operation.
128         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
129         Only display debug messages (try to minimize warnings on import).
131         * src/io-xml/naxml-reader.c
132         (publish_undealt_nodes): Removed useless (and buggy) function.
133         (manage_import_mode): Returns all messages to the caller.
135         * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
136         Returns all messages to the caller.
138 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
140         * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
141         Limit the window size, maximizing with the screen size.
143         * nact/nact-tree-view.h:
144         * nact/nact-tree-view.c: Define parent property.
146         * nact/nact-tree-view.c (on_tree_view_realized):
147         Delay all signal connection until the widget be actually realized.
149         * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
150         Delay the connection to the NactTreeView signal until we are sure the
151         widget is realized.
153         * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
154         Delay the initialization of the NactTreeView until the Gtk toplevel has
155         been loaded from XML Glade file.
157         * src/nact/nact-assistant-export.c: Adapt to gtk3.
159         * src/nact/nact-export-format.c (nact_export_format_init_display):
160         Remove the useless intermediate GtkGrid.
162         * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
164         * src/core/na-gtk-utils.c (dump_children):
165         Also dump the address of the child widget.
166         Also dump children which do not have a name (dynamically allocated).
168 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
170         * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
171         before returning so that the list returns as unchanged to the caller.
173         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
174         Slightly optimize code.
176         * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
178         * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
179         any error message if we do not identify at least a well-formed document
180         with a known root node.
182         * src/api/na-boxed.h:
183         * src/api/na-timeout.h:
184         * src/core/na-boxed.c:
185         * src/core/na-data-boxed.c:
186         * src/core/na-gconf-migration.c:
187         * src/core/na-gconf-monitor.c:
188         * src/core/na-gconf-utils.c:
189         * src/core/na-icontext.c:
190         * src/core/na-iduplicable.c:
191         * src/core/na-iprefs.c:
192         * src/core/na-object-item.c:
193         * src/core/na-object.c:
194         * src/core/na-settings.c:
195         * src/core/na-updater.c: Only reference minor version in 'Since:' and
196         'Deprecated' comments.
198         * run-autogen.sh: Change development installation directory to _install.
200         * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
202         m4_ifdef is not a good way to test if these packages are available, as the
203         m4 files default ot be distributed.
205         * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
207 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
209         * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
211         * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
213         * Makefile.am:
214         No more try to rebuild manuals when making distcheck.
215         Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
217         * run-autogen.sh:
218         Rename 'autogen_target' variable to 'target'.
219         Remove distcheck target as doc is enough to build manuals.
221         * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
223         * docs/reference/Makefile.am:
224         gtk-doc is no more a mandatory package.
225         Requires gtk-doc 1.15 to take advantage of new source option.
227         * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
229 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
231         * src/nact/nautilus-actions-config-tool.ui:
232         Remove empty children from GtkAssistant container.
234         * src/nact/nact-assistant-import.c:
235         Adapt to the new way Gtk+ 3.2 builds the assistant.
237         * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
239         * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
240         Increment the level of the first child of the hierarchy.
242         * run-autogen.sh: Be able to run from another directory.
244 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
246         * src/nact/base-window.c:
247         * src/nact/base-window.h (base_window_dump_children): New function.
249         * src/core/na-gtk-utils.c:
250         * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
252         * docs/nact/C/nact-conditions.xml:
253         * docs/nact/C/nact-edit.xml:
254         * docs/nact/C/nact-execution.xml:
255         * docs/nact/C/nact-profiles.xml:
256         * docs/nact/C/nact-sorting.xml:
257         * src/nact/nact-assistant-import.c:
258         Fix with advices of Christian Kirbach.
259         Fix #660399, reported by Christian Kirbach.
261 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
263         * src/nact/nact-export-format.c:
264         * src/nact/nact-main-toolbar.c:
265         Get ride of deprecated GtkHBox and GtkVBox.
267 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
269         * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
271 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
273         * docs/nact/C/nact-conditions.xml:
274         * docs/nact/C/nact-edit.xml:
275         * docs/nact/C/nact-execution.xml:
276         * docs/nact/C/nact-menus.xml:
277         * docs/nact/C/nact-profiles.xml:
278         Apply patch provided by Christian Kirbach.
279         Fix #661498 reported by Christian Kirbach.
281         * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
282         'regardless'.
283         From #660399, reported by Gabor Karsay.
285 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
287         * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
288         * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
289         * src/nact/nact-assistant-import.c (prepare_confirm):
290         * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
291         * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
292         * src/nact/nact-preferences-editor.c (desktop_setup):
293         * src/nact/nact-providers-list.c (on_selection_changed):
294         * src/test/test-virtuals-without-test.c (first_instance_dispose):
295         Remove set but unused variables.
297 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
299         * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
300         Fix #655237 - Toolbar icons are not created.
302 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
304         * configure.ac: Post-release version bump.
306         * NEWS: Update before releasing.
308         * TODO: Update before releasing.
310         * src/utils/na-gconf2key.sh.in: Update comment.
312         * docs/nact/C/nact-conditions.xml:
313         * docs/nact/C/nact-execution.xml:
314         * docs/nact/C/nact-where.xml:
315         Fix #652664 - [doc] couple of spelling and improvement suggestions;
316         patch provided by Christian Kirbach.
318 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
320         * src/core/na-boxed.c (string_to_array):
321         Accepts now both semi-comma-separated list of strings and
322         comma-separated between square brackets (à la GConf) from string lists.
324         * src/io-xml/naxml-reader.c (slist_to_string):
325         Formats string list as a semi-comma-separated list of strings for NABoxed.
327         * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
328         as it may sometimes be needed to re-migrate a newly inserted item.
330         * src/io-gconf/nagp-reader.c (get_boxed_from_path):
331         Only allocate a new box when a non-null value has been read.
333         * src/core/na-settings.c (read_key_value_from_key_file):
334         Also dump the value read from a key file.
336         * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
338 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
340         * src/api/na-object-api.h:
341         * docs/reference/nautilus-actions-sections.txt
342         (na_object_is_file, na_object_is_dir, na_object_is_multiple):
343         Macros are moved from the official API as deprecated.
345         * src/core/na-icontext-factory.c
346         (ISFILE, ISDIR): No more declare properties for deprecated data.
347         (SCHEMES): Declare 'file' as the default.
349         * src/core/na-factory-object.c:
350         * src/core/na-factory-object.h (na_factory_object_is_set): New function.
352         * src/core/na-object-action.c (ifactory_object_read_done):
353         Dump the rough read data.
354         First create a v2 profile before converting it to last version.
356         * src/core/na-object-menu.c (ifactory_object_read_done):
357         Dump the rough read data.
359         * src/core/na-object-profile.c
360         (ifactory_object_read_done): Dump the rough read data.
361         (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
363         * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
364         * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
365         * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
366         Dump the whole read item, maybe after conversion.
368 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
370         * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
371         Setup default values.
373         * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
374         Add trace message before unreffing the imported object.
376         * src/nact/nact-assistant-import.c (assistant_apply):
377         Do not try to import an empty list.
379         * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
380         Check for non empty list.
382 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
384         * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
386         * nautilus-actions.doap: Update download page and mailing list infos.
388         * configure.ac: Post release version bump.
390 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
392         * docs/nact/figures: Update screenshots.
394         * docs/nact/C/nact-properties.xml: New file.
396 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
398         * src/core/na-selected-info.c: Extract filename for a GFile location.
400         * src/utils/na-gconf2keys.sh: Requires ksh.
402         * src/core/na-settings.c: Create the configuration directory if
403         doesn't exist yet.
405 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
407         * src/test/Makefile.am: Do not build test programs in release mode.
409         * docs/nact/C/nact-sorting.xml:
410         * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
412         * docs/nact/C/articleinfo.xml:
413         Convert to *nix-like file.
414         Update manual copyright.
416         * docs/nact/C/figures/nact-desktop-environment-frame.png:
417         * docs/nact/C/figures/nact-execution-environment-frame.png:
418         * docs/nact/C/figures/nact-preferences-export.png:
419         * docs/nact/C/figures/nact-preferences-import.png:
420         * docs/nact/C/figures/nact-preferences-io-providers.png:
421         * docs/nact/C/figures/nact-preferences-runtime.png:
422         * docs/nact/C/figures/nact-preferences-schemes.png:
423         * docs/nact/C/figures/nact-preferences-ui.png:
424         * docs/nact/C/figures/nact-schemes-tab.png:
425         * docs/nact/C/figures/nact-target-location.png:
426         * docs/nact/C/figures/nact-working-directory-frame.png:
427         * docs/nact/C/figures/nact-export-done.png:
428         * docs/nact/C/figures/nact-export-format.png:
429         * docs/nact/C/figures/nact-export-home.png:
430         * docs/nact/C/figures/nact-export-items.png:
431         * docs/nact/C/figures/nact-export-summary.png:
432         * docs/nact/C/figures/nact-export-target.png:
433         * docs/nact/C/figures/nact-import-done.png:
434         * docs/nact/C/figures/nact-import-files.png:
435         * docs/nact/C/figures/nact-import-home.png:
436         * docs/nact/C/figures/nact-import-mode.png:
437         * docs/nact/C/figures/nact-import-resultat.png:
438         * docs/nact/C/figures/nact-import-summary.png:
439         * docs/nact/C/figures/nact-preferences-desktop.png:
440         * docs/nact/C/figures/nact-preferences-execution.png:
441         Updated and new screenshots for version 3.1.
443 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
445         * configure.ac: Post-release version bump.
447 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
449         * NEWS: Pre-release update.
451         * src/core/na-tokens.c (execute_action_command):
452         Only use g_spawn_async_with_pipes when required by execution mode
453         (work-around for #644289).
454         Do not close child pid before the end of the child process.
456 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
458         * configure.ac: Post-release bump version.
460         * NEWS: Pre-release udate.
462         * src/core/na-settings.c:
463         * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
465         * src/plugin-menu/nautilus-module.c (set_log_handler):
466         Test if log are enabled before installing the log handler.
468         * src/plugin-menu/nautilus-actions.c:
469         * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
470         Removed function. Fix #643359.
472         * configure.ac: Post-release bump version.
474 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
476         * NEWS:
477         * README:
478         * README-GCONF: Update before releasing.
480         * src/api/na-core-utils.h:
481         * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
483         * src/core/na-settings.c:
484         * src/core/na-settings.h:
485         Rename "terminal-prefix" user preference as "terminal-pattern".
487         * src/core/na-tokens.c:
488         * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
489         Renamed as na_tokens_command_for_terminal().
491         * docs/reference/nautilus-actions-sections.txt:
492         * src/nact/nact-preferences-editor.c:
493         * src/nact/nact-preferences.ui: Updated accordingly.
495         * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
496         Disable not implemented frames.
498         * src/nact/nautilus-actions-config-tool.ui:
499         Add a tooltip comment on not yet implemented fields.
501         * src/core/na-icontext.c (is_candidate_for_show_in):
502         First try desktop from user preferences.
504         NASettings is now a private singleton which allocates itself when needed.
505         Preference are so available anywhere without requiring an object.
507         * src/core/na-importer-ask.c (na_importer_ask_user):
508         * src/core/na-importer.c (import_from_uri):
509         * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
510         * src/core/na-iprefs.c:
511         * src/core/na-iprefs.h:
512         * src/core/na-pivot.c (instance_constructed, instance_dispose):
513         * src/core/na-pivot.h (na_pivot_get_settings):
514         * src/core/na-settings.c:
515         * src/core/na-settings.h:
516         * src/core/na-tokens.c:
517         * src/core/na-tokens.h(na_tokens_execute_action):
518         * src/core/na-updater.c (are_preferences_locked):
519         * src/nact/base-gtk-utils.c:
520         * src/nact/nact-assistant-export.c (nact_assistant_export_run):
521         * src/nact/nact-assistant-import.c (nact_assistant_import_run):
522         * src/nact/nact-clipboard.c (export_row_object):
523         * src/nact/nact-export-ask.c (nact_export_ask_user):
524         * src/nact/nact-icon-chooser.c:
525         * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
526         * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
527         * src/nact/nact-main-window.c (on_base_initialize_base_window):
528         * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
529         * src/nact/nact-preferences-editor.c:
530         * src/nact/nact-providers-list.c (nact_providers_list_save):
531         * src/nact/nact-schemes-list.c (init_view_get_default_list):
532         * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
533         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
534         * src/nact/nact-tree-model.c (nact_tree_model_new):
535         * src/plugin-menu/nautilus-actions.c:
536         * src/utils/nautilus-actions-run.c: Updated accordingly.
538         Current desktop environment can be a user preference
540         * src/core/na-desktop-environment.c:
541         * src/core/na-desktop-environment.h: New files.
543         * po/POTFILES.in:
544         * src/core/Makefile.am:
545         * src/core/na-icontext.c (is_candidate_for_show_in):
546         * nact/nact-ienvironment-tab.c
547         (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
549         * src/core/na-settings.c:
550         * src/core/na-settings.h:
551         Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
552         (set_key_value): Setting a NULL string actually removes the key.
554         * src/nact/nact-preferences-editor.c:
555         * src/nact/nact-preferences.ui: Let the user choose his desktop.
557         * src/core/na-iabout.c: Renamed as src/core/na-about.c.
558         * src/core/na-iabout.h: Renamed as src/core/na-about.h.
559         NAIAbout is no more an interface, but just a set of functions.
561         * src/core/Makefile.am:
562         * src/core/na-core-utils.c (na_core_utils_print_version):
563         * src/nact/nact-application.c (nact_application_new_with_args):
564         * src/nact/nact-main-window.c:
565         * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
566         * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
568 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
570         Improve ExecutionMode implementation by defining a new user preference
572         * src/core/na-settings.c:
573         * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
575         * src/core/na-tokens.c:
576         * src/core/na-tokens.h
577         (na_tokens_command_from_terminal_prefix): New function.
578         (na_tokens_execute_action): New NASettings parameter.
580         * src/nact/nact-preferences-editor.c:
581         * src/nact/nact-preferences.ui: Let the user edit the preference.
583         * src/utils/nautilus-actions-run.c:
584         * po/POTFILES.in: Updated accordingly.
586 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
588         * src/core/na-settings.c:
589         * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
591         * src/plugin-menu/nautilus-actions.c:
592         * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
593         New function.
595         * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
596         syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
598         * configure.ac: Bump Nautilus required version to 2.16
599         for having nautilus_menu_provider_emit_items_updated_signal() function.
601         * configure.ac:
602         * src/plugin-menu/nautilus-actions.c:
603         Check for nautilus_menu_provider_get_toolbar_items() function.
605         * src/core/na-selected-info.c (instance_init, instance_finalize):
606         Improve debug messages.
608         * src/core/na-icontext.c: 
609         * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
610         (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
612         Move Nautilus-Actions configuration files to nautilus-actions/ subdir
614         * src/core/na-settings.c (na_settings_new):
615         * src/utils/na-gconf2key.sh.in: Updated accordingly.
617         Implement execution mode property
619         * m4/na-check-for-gtk.m4: Check for Gio-unix.
621         * src/core/na-object-profile-factory.c: Improve translation comment.
623         * src/core/na-tokens.c (execute_action_command): Display output.
625 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
627         * src/api/na-object.h:
628         * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
629         Deprecated functions.
631         * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
633         Rewrite copy stack to get ride of iteration on class hierarchy
635         * src/api/na-object-api.h
636         (na_object_copy, na_object_get_hierarchy): Removed macros.
638         * src/api/na-icontext.h:
639         * src/core/na-icontext.c (na_icontext_copy): New function.
641         * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
642         * src/core/na-object-item.c (object_copy):
643         * src/core/na-object-action.c (object_copy):
644         * src/core/na-object-profile.c (object_copy):
645         * src/core/na-object-menu.c (object_copy): Updated accordingly.
647         Rewrite validity status check stack
649         * src/api/na-icontext.h:
650         * src/core/na-icontext.c (na_icontext_are_equal): New function.
652         * src/core/na-factory-object.c (na_factory_object_is_valid):
653         * src/core/na-object.c (iduplicable_is_valid):
654         * src/core/na-object-id.c (object_is_valid):
655         * src/core/na-object-id-factory.c:
656         * src/core/na-object-item.c (object_is_valid):
657         * src/core/na-object-action.c (object_is_valid):
658         * src/core/na-object-profile.c (object_is_valid):
659         * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
661         Rewrite modification status check stack
663         * src/api/na-object-item.h:
664         * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
666         * src/api/na-object.h:
667         * src/core/na-factory-object.c:
668         * src/core/na-iduplicable.c: Improve comment.
670         * src/core/na-object.c:
671         * src/core/na-object-id.c:
672         * src/core/na-object-menu.c:
673         * src/core/na-object-action.c:
674         * src/core/na-object-profile.c: Modification is checked from
675         NAObject-virtual method instead of NAIFactoryObject interface.
677         * src/api/na-iduplicable.h:
678         * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
680         * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
682         * src/api/na-icontext.h:
683         * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
684         Renamed as na_icontext_check_mimetypes().
686         * src/api/na-ifactory-object-data.h:
687         * src/api/na-object-api.h:
688         * src/core/na-icontext-factory.c:
689         * src/core/na-object-profile.c: Updated accordingly.
691         * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
693         * src/core/na-icontext.c (na_icontext_get_running_environment):
694         Fix value test.
696         * src/core/na-boxed.c (string_list_from_string,
697         string_list_from_value, string_list_from_void): Check for duplicates.
699         * src/utils/nautilus-actions-new.c: Fix default mimetype.
701         * src/core/na-icontext.c (get_running_environment): New function.
703         * src/utils/na-print-schemas.c: Also display menu schemas.
705         * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
706         Data are deprecated and not writable.
708         * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
710 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
712         * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
713         NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
714         NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
716         * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
717         show-if-true, show-if-running and capability options.
718         
719         * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
720         NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
721         * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
722         NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
723         * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
724         Fix options definition.
726         * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
728         * src/core/na-icontext-factory.c
729         (NAFO_DATA_SELECTION_COUNT): Fix option definition.
731         * src/utils/nautilus-actions-new.c: Add selection-count option.
733         * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
734         locale_is_default): Fix default value test.
736 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
738         * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
739         na_object_set_multiple): Deprecated functions.
741         * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
742         Deprecated data.
744         * src/utils/nautilus-actions-new.c: Updated accordingly.
746         * src/nact/nact-providers-list.c:
747         * src/nact/nact-schemes-list.c: Does not recompute if preferences are
748         locked, but use na_updater_are_preferences_locked() function.
750         * src/api/na-iio-provider.h:
751         Define new reason when the level zero is not writable.
753         * src/core/na-updater.c:
754         * src/core/na-updater.h (na_updater_is_item_writable):
755         Renamed as na_updater_check_item_writability_status.
757         * src/nact/nact-main-window.c (setup_writability_status):
758         * src/nact/nact-menubar-edit.c (get_deletables):
759         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
760         Updated accordingly.
762         * src/nact/base-assistant.c (class_init):
763         Apply patch provided by Christian Kirback. Fix #640920.
765 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
767         * src/core/na-pivot.h:
768         * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
770         * src/nact/base-window.h:
771         * src/nact/base-window.c (class_init):
772         Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
774         * src/nact/nact-main-window.c:
775         Connect to the signal instead of implementing a virtual method.
777 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
779         * src/core/na-iduplicable.c (interface_base_init):
780         * src/core/na-settings.c (class_init):
781         * src/nact/base-window.c (class_init):
782         Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
784         * docs/reference/Makefile.am:
785         * src/nact/Makefile.am:
786         * run-distcheck.sh: Fix make distcheck.
788         * docs/reference/Makefile.am:
789         Do not documente NAGconfMonitor class when deprecated symbols are disabled.
791         * src/api/na-data-boxed.h:
792         * src/api/na-gconf-utils.h:
793         * src/core/na-data-boxed.c:
794         * src/core/na-iduplicable.c:
795         * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
797         * configure.ac:
798         * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
800         * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
802         * src/api/na-iduplicable.h:
803         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
804         Deprecated function.
806         * src/core/na-factory-object.c (na_factory_object_are_equal):
807         * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
808         Improve debug messages.
810         * src/core/na-icontext-factory.c:
811         * src/core/na-object-action-factory.c:
812         * src/core/na-object-id-factory.c: Set missing default values.
814         * src/core/na-object-action.c (ifactory_object_are_equal):
815         An action is modified as soon as at least one profile is modified.
817         * src/core/na-icontext-factory.c: Fix string list regression
819         * src/core/na-boxed.c: Fix regression when setting values.
821         * src/core/na-selected-info.c (query_file_attributes):
822         Keep selection info even when unable to query attributes.
823         Fix #641464.
825 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
827         Do not compile with GConf library when disabled
829         * src/api/na-gconf-monitor.h:
830         * src/api/na-gconf-utils.h:
831         * src/core/na-gconf-migration.c:
832         * src/core/na-gconf-monitor.c:
833         * src/core/na-gconf-utils.c:
834         * src/io-gconf/Makefile.am:
835         * src/io-xml/naxml-reader.c:
836         * src/utils/Makefile.am: Updated accordingly.
838 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
840         Add --enable-gconf configure argument
841         Define HAVE_GCONF conditional
843         * m4/na-check-for-gconf.m4: New file.
845         * configure.ac:
846         * data/gconf-schemas/Makefile.am: Updated accordingly.
848         Only GConf writing operations are marked deprecated
850         * src/api/na-gconf-monitor.h:
851         * src/api/na-gconf-utils.h:
852         * src/core/na-gconf-monitor.c:
853         * src/core/na-gconf-utils.c:
854         * src/io-gconf/nagp-writer.c:
855         * src/io-gconf/nagp-writer.h: Updated accordingly.
857         No more use deprecated functions
859         * src/core/na-factory-object.c:
860         * src/io-desktop/nadp-reader.c:
861         * src/io-desktop/nadp-writer.c:
862         * src/io-gconf/nagp-reader.c:
863         * src/io-gconf/nagp-writer.c:
864         * src/io-xml/naxml-reader.c:
865         * src/io-xml/naxml-writer.c: Updated accordingly.
867         NADataBoxed class now derives from NABoxed
869         * src/api/na-boxed.h:
870         * src/api/na-data-boxed.h:
871         * src/api/na-data-types.h:
872         * src/core/na-boxed.c:
873         * src/core/na-core-utils.c:
874         * src/core/na-data-boxed.c:
875         * src/core/na-data-types.c:
876         * src/core/na-factory-object.c:
877         * src/core/na-ifactory-object.c:
878         * src/core/na-settings.c:
879         * src/io-desktop/nadp-writer.c:
880         * src/io-gconf/nagp-writer.c:
881         * src/io-xml/naxml-writer.c: Updated accordingly.
883         * src/api/na-boxed.h:
884         * src/core/na-boxed.c: Convert to the NABoxed class.
886         * src/core/na-settings.c: Updated accordingly.
888         * src/api/na-data-boxed.h:
889         * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
891         Merge NABoxed and NADataBoxed data type definitions.
892         Data type are remaned as NA_DATA_TYPE.
894         * src/api/na-boxed.h:
895         * src/api/na-data-def.h:
896         * src/api/na-data-types.h:
897         * src/core/na-boxed.c:
898         * src/core/na-data-boxed.c:
899         * src/core/na-data-types.c:
900         * src/core/na-factory-object.c:
901         * src/core/na-icontext-factory.c:
902         * src/core/na-ifactory-object.c:
903         * src/core/na-object-action-factory.c:
904         * src/core/na-object-id-factory.c:
905         * src/core/na-object-item-factory.c:
906         * src/core/na-object-profile-factory.c:
907         * src/core/na-settings.c:
908         * src/io-desktop/nadp-reader.c:
909         * src/io-desktop/nadp-writer.c:
910         * src/io-gconf/nagp-reader.c:
911         * src/io-gconf/nagp-writer.c:
912         * src/io-xml/naxml-reader.c:
913         * src/io-xml/naxml-writer.c:
914         * src/utils/na-print-schemas.c: Updated accordingly.
916 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
918         * src/api/na-iduplicable.h:
919         * src/core/na-iduplicable.c:
920         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
921         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
923         * src/api/na-object-api.h:
924         * src/core/na-object.c:
925         * src/core/na-object-item.c:
926         * src/core/na-object-item.h:
927         Deprecated na_object_check_status_up macro.
928         Merge na_object_item_check_status() and na_object_item_check_status_up().
930         * src/nact/nact-iaction-tab.c:
931         * src/nact/nact-ibasenames-tab.c:
932         * src/nact/nact-icapabilities-tab.c:
933         * src/nact/nact-icommand-tab.c:
934         * src/nact/nact-ienvironment-tab.c:
935         * src/nact/nact-iexecution-tab.c:
936         * src/nact/nact-ifolders-tab.c:
937         * src/nact/nact-iproperties-tab.c:
938         * src/nact/nact-ischemes-tab.c:
939         * src/nact/nact-main-window.c:
940         * src/nact/nact-main-window.h:
941         * src/nact/nact-match-list.c: Properties are renamed.
943         * src/nact/nact-main-tab.c:
944         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
946 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
948         In the process of replacing NactIActionsList interface with:
949         - the NactTreeView class
950         - plus the NactTreeIEditable interface.
952         Almost all NACT files modified. Compilation is OK.
954 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
956         * src/nact/nact-tree-model.c:
957         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
958         * src/nact/nact-tree-view.c:
959         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
961         Allow an items list to be referenced in a new list.
963         * src/api/na-object-api.h (na_object_ref_items): New macro.
965         * src/api/na-object-item.h:
966         * src/core/na-object-item.c (na_object_item_ref_items): New function.
968         * src/nact/nact-assistant-export.c
969         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
971         Review NAObject reference management
973         * src/api/na-object-api.h
974         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
975         (na_object_free_items): New macro.
977         * src/api/na-object-item.h:
978         * src/core/na-object-item.c
979         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
980         (na_object_item_free_items): New function.
982         * src/core/na-io-provider.c (na_io_provider_load_items):
983         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
984         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
985         na_pivot_set_new_items):
986         * src/nact/nact-assistant-import.c (assistant_apply):
987         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
988         * src/nact/nact-iactions-list.c (free_items_callback):
989         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
990         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
991         nact_main_menubar_edit_on_paste_into,
992         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
993         * src/nact/nact-main-menubar-file.c
994         (nact_main_menubar_file_on_new_menu,
995         nact_main_menubar_file_on_new_action,
996         nact_main_menubar_file_on_new_profile):
997         * src/nact/nact-main-menubar-maintainer.c
998         (nact_main_menubar_maintainer_on_dump_selection):
999         * src/nact/nact-main-menubar.c (on_update_sensitivities):
1000         * src/nact/nact-main-window.c (instance_dispose,
1001         nact_main_window_remove_deleted, reload):
1002         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1003         * src/nact/nact-tree-model.c (fill_tree_store):
1004         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1005         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
1006         accordingl
1007         * src/nact/nact-main-menubar-maintainer.c
1008         (nact_main_menubar_maintainer_on_dump_selection):
1009         * src/nact/nact-main-menubar.c (on_update_sensitivities):
1010         * src/nact/nact-main-window.c (instance_dispose,
1011         nact_main_window_remove_deleted, reload):
1012         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1013         * src/nact/nact-tree-model.c (fill_tree_store):
1014         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1015         * src/plugin-menu/nautilus-actions.c (get_menus_items):
1016         Updated accordingly.
1018         New NactTreeView convenience class
1020         * src/nact/nact-tree-view.c:
1021         * src/nact/nact-tree-view.h: New files.
1023         * src/nact/Makefile.am:
1024         * src/nact/nact-assistant-export.c:
1025         * src/nact/nact-iactions-list-priv.c:
1026         * src/nact/nact-iactions-list.h:
1027         * src/nact/nact-marshal.list:
1028         * src/nact/nact-tree-model.c: Updated accordingly.
1030 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1032         Refactoring of menubar files:
1033         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
1034         - nact-main-menubar-*.h are removed.
1036         * src/nact/Makefile.am:
1037         * src/nact/nact-confirm-logout.c:
1038         * src/nact/nact-iactions-list.c: Updated accordingly.
1040         * src/nact/nact-main-window.c:
1041         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
1042         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
1044         Termination of the main window is managed in NactMainWindow.
1046         * src/nact/nact-main-window.c:
1047         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
1049         * src/nact/nact-main-menubar-file.c: Updated accordingly.
1051         Move a NASettings getter to NAUpdater
1053         * src/core/na-updater.c:
1054         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
1056         * src/nact/nact-main-menubar-edit.c:
1057         * src/nact/nact-main-menubar-edit.h
1058         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
1060         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
1062         * src/nact/base-application.c (class_init):
1063         * src/nact/base-assistant.c (class_init):
1064         * src/nact/base-window.c (class_init):
1065         * src/nact/nact-main-window.c (instance_constructed):
1066         Setup construction properties.
1068         * src/nact/nact-application.c:
1069         * src/nact/nact-application.h (nact_application_get_updater):
1070         Set NactApplication as a const argument.
1072         Deprecate NAIPivotConsumer interface
1074         * src/core/na-ipivot-consumer.c:
1075         * src/core/na-ipivot-consumer.h: Removed files.
1077         * src/core/Makefile.am:
1078         * src/core/na-pivot.c:
1079         * src/core/na-pivot.h:
1080         * src/nact/nact-application.c:
1081         * src/nact/nact-main-menubar-file.c:
1082         * src/nact/nact-main-window.c:
1083         * src/nact/nact-menubar.c: Updated accordingly.
1085         * src/core/na-pivot.c:
1086         * src/core/na-pivot.h
1087         (na_pivot_set_automatic_reload): Remove unused function.
1089         * src/test/test-reader.c: Updated accordingly.
1091         * src/nact/nact-main-window.c (instance_constructed):
1092         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
1094         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
1096         * src/nact/base-iprefs.c:
1097         * src/nact/base-iprefs.c: Removed files.
1099         * src/nact/Makefile.am:
1100         * src/nact/base-gtk-utils.c:
1101         * src/nact/base-gtk-utils.h:
1102         * src/nact/base-window.c:
1103         * src/nact/nact-assistant-export.c:
1104         * src/nact/nact-export-ask.c:
1105         * src/nact/nact-export-format.c:
1106         * src/nact/nact-iaction-tab.c:
1107         * src/nact/nact-ibasenames-tab.c:
1108         * src/nact/nact-icommand-tab.c:
1109         * src/nact/nact-icon-chooser.c:
1110         * src/nact/nact-ienvironment-tab.c:
1111         * src/nact/nact-iexecution-tab.c:
1112         * src/nact/nact-ifolders-tab.c:
1113         * src/nact/nact-iproperties-tab.c:
1114         * src/nact/nact-ischemes-tab.c:
1115         * src/nact/nact-main-statusbar.c:
1116         * src/nact/nact-main-window.c:
1117         * src/nact/nact-match-list.c:
1118         * src/nact/nact-preferences-editor.c:
1119         * src/nact/nact-providers-list.c:
1120         * src/nact/nact-schemes-list.c:
1121         * src/nact/nact-tree-model.c: Updated accordingly.
1123         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1124         BaseWindow property
1126         * src/core/na-settings.c:
1127         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1129         * src/nact/base-iprefs.c:
1130         * src/nact/base-iprefs.h
1131         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1132         Removed functions.
1133         (get_wsp_id): Remove interface method.
1135         * src/nact/base-window.c:
1136         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1138         * src/nact/nact-add-capability-dialog.c:
1139         * src/nact/nact-add-scheme-dialog.c:
1140         * src/nact/nact-assistant-export.c:
1141         * src/nact/nact-assistant-import.c:
1142         * src/nact/nact-confirm-logout.c:
1143         * src/nact/nact-export-ask.c:
1144         * src/nact/nact-gtk-utils.c:
1145         * src/nact/nact-icommand-tab.c:
1146         * src/nact/nact-icon-chooser.c:
1147         * src/nact/nact-ifolders-tab.c:
1148         * src/nact/nact-main-window.c:
1149         * src/nact/nact-preferences-editor.c: Updated accordingly.
1151         * src/core/na-updater.c:
1152         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1154         Homogeneize marshalling
1156         * src/core/na-marshal: Renamed as src/core/na-marshal.def
1157         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1159         * src/core/Makefile.am:
1160         * src/nact/Makefile.am:
1161         * src/nact/nact-iactions-list.c (interface_base_init):
1162         * src/nact/nact-main-window.c (class_init): Updated accordingly.
1164 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1166         Review menu items sensitivity updates
1168         * src/api/na-object-api.h
1169         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1171         * src/api/na-object-item.h:
1172         * src/core/na-object-item.c
1173         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1174         New functions.
1176         * src/core/na-updater.c:
1177         * src/core/na-updater.h (na_updater_load_items): New function.
1179         * src/nact/nact-application.c (appli_main_window_new):
1180         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1181         No more load items when instanciating the main window, but when
1182         initializing it.
1184         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1185         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1187         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1188         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1189         * src/nact/nact-menubar-priv.h:
1190         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1191         Rely on indicators pre-computed on selection changes.
1193         * src/nact/nact-window.c:
1194         * src/nact/nact-window.h (nact_window_has_writable_providers):
1195         Removed function.
1197         * src/nact/nact-menubar-priv.h:
1198         * src/nact/nact-menubar.c: Updated accordingly.
1200         * src/core/na-iprefs.c:
1201         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1202         Moved to NAUpdater class.
1204         * src/core/na-updater.c:
1205         * src/core/na-updater.h (na_updater_is_level_zero_writable):
1206         Moved from NAIPrefs.
1208         * src/nact/nact-menubar-priv.h:
1209         * src/nact/nact-menubar.c (on_base_initialize_window):
1210         * src/nact/nact-sort-buttons.c (enable_buttons):
1211         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1212         Updated accordingly.
1214         Review I/O providers writability status management.
1216         * src/api/na-iio-provider.h: Review writability reason.
1218         * src/core/na-io-provider.c:
1219         * src/core/na-io-provider.h
1220         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1221         Removed functions.
1222         (na_io_provider_is_finally_writable): New function.
1224         * src/core/na-pivot.c:
1225         * src/core/na-pivot.h
1226         (na_pivot_is_configuration_locked_by_admin): Removed function.
1228         * src/core/na-updater.c
1229         * src/core/na-updater.h (na_updater_is_item_writable):
1230         * src/nact/nact-main-menubar-edit.c (get_deletables):
1231         * src/nact/nact-main-window.c: Updated accordingly.
1233 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1235         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1236         Renamed as nact_menubar_enable_item() and moved to private resources.
1238         * src/nact/nact-main-menubar-edit.c:
1239         * src/nact/nact-main-menubar-file.c:
1240         * src/nact/nact-main-menubar-help.c:
1241         * src/nact/nact-main-menubar-tools.c:
1242         * src/nact/nact-main-menubar-view.c:
1243         * src/nact/nact-menubar-priv.h:
1244         * src/nact/nact-menubar.h: Updated accordingly.
1246         Move MenubarIndicatorsStruct structure to private instance data
1248         * src/nact/nact-menubar-priv.h: New file.
1250         * src/nact/Makefile.am:
1251         * src/nact/nact-main-menubar-edit.c:
1252         * src/nact/nact-main-menubar-edit.h:
1253         * src/nact/nact-main-menubar-file.c:
1254         * src/nact/nact-main-menubar-file.h:
1255         * src/nact/nact-main-menubar-help.c:
1256         * src/nact/nact-main-menubar-help.h:
1257         * src/nact/nact-main-menubar-maintainer.c:
1258         * src/nact/nact-main-menubar-maintainer.h:
1259         * src/nact/nact-main-menubar-tools.c:
1260         * src/nact/nact-main-menubar-tools.h:
1261         * src/nact/nact-main-menubar-view.c:
1262         * src/nact/nact-main-menubar-view.h:
1263         * src/nact/nact-menubar.c:
1264         * src/nact/nact-menubar.h: Updated accordingly.
1266         Define a new NactMenubar convenience class
1268         * src/nact/nact-main-menubar.c:
1269         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1271         * src/nact/Makefile.am:
1272         * src/nact/nact-iactions-list.c:
1273         * src/nact/nact-main-menubar-edit.h:
1274         * src/nact/nact-main-menubar-file.h:
1275         * src/nact/nact-main-menubar-help.c:
1276         * src/nact/nact-main-menubar-help.h:
1277         * src/nact/nact-main-menubar-maintainer.c:
1278         * src/nact/nact-main-menubar-maintainer.h:
1279         * src/nact/nact-main-menubar-tools.c:
1280         * src/nact/nact-main-menubar-tools.h:
1281         * src/nact/nact-main-menubar-view.c:
1282         * src/nact/nact-main-menubar-view.h:
1283         * src/nact/nact-main-window.c: Updated accordingly.
1285         * src/api/na-boxed.h:
1286         * src/core/na-boxed.c (na_boxed_dump): New function.
1288         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1290         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1292         * src/core/na-marshal: New file.
1294 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1296         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1298         * src/core/na-settings.c:
1299         * src/core/na-settings.h: No more try to summarize notifications here.
1301         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1302         Register NASettings callbacks on the runtime keys.
1304         * src/nact/nact-main-window.c:
1305         (NAIPivotConsumer->on_display_order_changed):
1306         Moved to on_settings_order_mode_changed() function.
1307         (NAIPivotConsumer->on_autosave_changed):
1308         Moved to nact_main_menubar_file_install_autosave() new function.
1310         * src/nact/nact-main-menubar-file.c:
1311         * src/nact/nact-main-menubar-file.h
1312         (nact_main_menubar_file_install_autosave): New function.
1314         * src/core/na-iprefs.c:
1315         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1316         New function.
1318         * src/core/na-icontext.c (is_candidate_for_basenames):
1319         Fix case insenstive comparison (bug reported by Johan Spee).
1321         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1323         * src/nact/base-application.c:
1324         * src/nact/base-application.h: Add new exit codes.
1326         * src/nact/base-assistant.c:
1327         * src/nact/base-assistant.h:
1328         Remove 'warn-on-cancel' unused property.
1329         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1330         Remove unused functions.
1331         Implement run() virtual method.
1333         * src/nact/base-dialog.c:
1334         * src/nact/base-dialog.h:
1335         Implement run() virtual method.
1336         Define new cancel() and ok() virtual methods.
1338         * src/nact/base-iprefs.c:
1339         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1341         * src/nact/base-window.c:
1342         * src/nact/base-window.h
1343         (dialog_response, delete_event): Remove no more used virtual methods.
1344         (run): Define new virtual method.
1346         * src/nact/nact-add-capability-dialog.c:
1347         * src/nact/nact-add-scheme-dialog.c:
1348         * src/nact/nact-assistant-export.c:
1349         * src/nact/nact-assistant-import.c:
1350         * src/nact/nact-confirm-logout.c:
1351         * src/nact/nact-export-ask.c:
1352         * src/nact/nact-icon-chooser.c:
1353         * src/nact/nact-main-window.c:
1354         * src/nact/nact-preferences-editor.c: Updated accordingly.
1356 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1358         * src/nact/nact-providers-list.c:
1359         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1360         Do not initialize the widgets with the future BaseWindow.
1362         * src/nact/nact-preferences-editor.c (preferences_editor_new):
1363         Updated accordingly.
1365         * src/nact/nact-schemes-list.c: Only ask for preferences once.
1367         * src/nact/nact-assistant-import.c (assist_new):
1368         Reload the common XML UI file into the private builder.
1370         * src/nact/base-dialog.c:
1371         * src/nact/base-dialog.h:
1372         * src/nact/base-window.h: Do some code and comments cleanup.
1374         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1375         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1376         * src/nact/base-window.c (setup_builder):
1377         Add a debug message.
1379 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1381         * src/plugin-menu/nautilus-actions.c:
1382         * src/plugin-menu/nautilus-actions.h:
1383         Takes advantage of the new NASettings signal notification system.
1385         * src/core/na-pivot.c:
1386         * src/core/na-pivot.h: Review the notification system.
1388         * src/core/na-settings.c:
1389         * src/core/na-settings.h:
1390         Add a signal notification to the existing callback pregistration system.
1392         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1393         * docs/des-ema/des-ema-0.15:
1394         * docs/nact/C/nact-conditions.xml:
1395         * docs/nact/C/nact-menus.xml:
1396         * src/api/na-extension.h:
1397         * src/api/na-ifactory-provider.h:
1398         * src/api/na-iio-provider.h:
1399         * src/api/na-object.h:
1400         * src/core/na-core-utils.c:
1401         * src/core/na-factory-object.c:
1402         * src/core/na-gconf-utils.c:
1403         * src/core/na-icontext-factory.c:
1404         * src/core/na-icontext.c:
1405         * src/core/na-ifactory-provider.c:
1406         * src/core/na-io-provider.c:
1407         * src/core/na-io-provider.h:
1408         * src/core/na-iprefs.c:
1409         * src/core/na-object-action.c:
1410         * src/core/na-object-id-factory.c:
1411         * src/core/na-object-id.c:
1412         * src/core/na-object-item-factory.c:
1413         * src/core/na-object-item.c:
1414         * src/core/na-pivot.h:
1415         * src/core/na-settings.c:
1416         * src/core/na-settings.h:
1417         * src/core/na-tokens.h:
1418         * src/io-desktop/nadp-desktop-file.c:
1419         * src/io-desktop/nadp-reader.c:
1420         * src/io-desktop/nadp-utils.c:
1421         * src/io-gconf/nagp-reader.c:
1422         * src/io-xml/naxml-reader.c:
1423         * src/nact/nact-gtk-utils.c:
1424         * src/nact/nautilus-actions-config-tool.ui:
1425         * src/plugin-menu/nautilus-actions.c:
1426         * src/utils/nautilus-actions-new.c:
1427         * src/utils/nautilus-actions-run.c:
1428         * tools/check-headers.sh:
1429         * tools/init-finalize-diff.sh:
1430         Apply patch provided by Christian Kirbach. Fix #640216.
1432         * src/nact/nautilus-actions-config-tool.ui:
1433         * src/utils/na-delete-xmltree.c:
1434         * src/utils/nautilus-actions-print.c:
1435         Fix string errors reported by fr translation team.
1437         * src/api/na-timeout.h:
1438         * src/core/na-timeout.c: New files.
1440         * src/api/Makefile.am:
1441         * src/core/Makefile.am: Updated accordingly.
1443         * src/core/na-pivot.c (on_item_changed_timeout):
1444         * src/core/na-settings.c (on_keyfile_changed_timeout):
1445         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1446         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1447         Take advantage of new NATimeout convenience structure.
1449         * src/api/na-iio-provider.h:
1450         * src/core/na-io-provider.c:
1451         * src/core/na-io-provider.h: Fix comments.
1453         * src/core/na-iio-provider.c (interface_base_init):
1454         The 'item-changed' signal actually does not send any argument.
1456         * src/core/na-pivot.c:
1457         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1458         Updated accordingly.
1460 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1462         * src/nact/base-window.c: Handles the recorded signals in a GList.
1464         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1466         * src/nact/nact-main-window.c
1467         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1468         Calls the parent class method if willing to quit.
1470         * src/nact/nact-window.c:
1471         * src/nact/nact-window.h
1472         (nact_window_is_item_writable): Remove unused function.
1474         * src/nact/base-window.c:
1475         * src/nact/base-window.h
1476         (runtime_init_toplevel): Renamed as initialize_base_window().
1477         (class_init): Fix cclosure_marshall for signals without argument.
1479         * src/nact/base-window.c:
1480         * src/nact/base-window.h
1481         (get_toplevel_name, get_ui_filename): Removed virtual functions.
1483         * src/nact/nact-add-capability-dialog.c:
1484         * src/nact/nact-add-scheme-dialog.c:
1485         * src/nact/nact-assistant-export.c:
1486         * src/nact/nact-assistant-import.c:
1487         * src/nact/nact-confirm-logout.c:
1488         * src/nact/nact-export-ask.c:
1489         * src/nact/nact-icon-chooser.c:
1490         * src/nact/nact-main-window.c:
1491         * src/nact/nact-preferences-editor.c: Updated accordingly.
1493         * src/nact/base-window.c:
1494         * src/nact/base-window.h:
1495         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1496         handling paradigm.
1497         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1498         signal.
1499         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1501         * src/nact/nact-main-window.c:
1502         No more connect to the signal, but implement the virtual method.
1504         * src/nact/base-application.c (appli_initialize_manage_options):
1505         * src/nact/base-application.h (manage_options):
1506         * src/nact/nact-application.c (appli_manage_options):
1507         Revert commit 3acf600874.
1509         * src/test/test-virtuals.c: Do some more tests on virtual methods.
1511         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1512         on_initialize_base_window_class_handler,
1513         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1514         Succssively invoke all derived class methods.
1516         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1517         all_widgets_showed, is_willing_to_quit): Update comments.
1519         * src/nact/base-application.c (appli_initialize_manage_options):
1520         Successively invoke all derived class methods.
1522         * src/nact/base-application.h (manage_options): Update comment.
1524         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1526         * src/nact/base-builder.c:
1527         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1528         Use a const BaseBuilder as argument;
1530         * src/nact/base-window.c:
1531         * src/nact/base-window.h (base_window_get_widget_from_gtk):
1532         Removed function.
1534         * src/nact/nact-gtk-utils.c:
1535         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1536         New function.
1538         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1540         * src/nact/base-application.c (appli_initialize_unique_app):
1541         Fix reverse test.
1543         * src/nact/base-builder.c:
1544         * src/nact/base-builder.h (base_builder_load_named_toplevel):
1545         Renamed as base_builder_get_toplevel_by_name().
1547         * src/nact/base-window.c: Updated accordingly.
1549 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1551         * src/nact/base-window.c:
1552         * src/nact/base-window.h (base_window_peek_widget):
1553         Renamed as base_window_get_widget_from_gtk().
1555         * src/nact/nact-icon-chooser.c: Updated accordingly.
1557         * src/nact/base-window.c:
1558         * src/nact/base-window.h (base_window_get_named_toplevel):
1559         Renamed as base_window_get_gtk_toplevel_by_name().
1561         * src/nact/nact-icommand-tab.c: Updated accordingly.
1563         * src/nact/base-window.c:
1564         * src/nact/base-window.h (base_window_get_toplevel):
1565         Renamed as base_window_get_gtk_toplevel().
1567         * src/nact/base-application.c:
1568         * src/nact/base-assistant.c:
1569         * src/nact/base-iprefs.c:
1570         * src/nact/nact-add-capability-dialog.c:
1571         * src/nact/nact-add-scheme-dialog.c:
1572         * src/nact/nact-assistant-export.c:
1573         * src/nact/nact-assistant-import.c:
1574         * src/nact/nact-confirm-logout.c:
1575         * src/nact/nact-export-ask.c:
1576         * src/nact/nact-gtk-utils.c:
1577         * src/nact/nact-icommand-tab.c:
1578         * src/nact/nact-icon-chooser.c:
1579         * src/nact/nact-ifolders-tab.c:
1580         * src/nact/nact-main-menubar.c:
1581         * src/nact/nact-main-window.c:
1582         * src/nact/nact-match-list.c:
1583         * src/nact/nact-preferences-editor.c:
1584         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1586         * src/nact/base-window.c:
1587         * src/nact/base-window.h: Rename signal defines.
1589         * src/nact/base-assistant.c:
1590         * src/nact/nact-add-capability-dialog.c:
1591         * src/nact/nact-add-scheme-dialog.c:
1592         * src/nact/nact-assistant-export.c:
1593         * src/nact/nact-assistant-import.c:
1594         * src/nact/nact-confirm-logout.c:
1595         * src/nact/nact-export-ask.c:
1596         * src/nact/nact-icon-chooser.c:
1597         * src/nact/nact-main-window.c:
1598         * src/nact/nact-preferences-editor.c: Updated accordingly.
1600         * src/nact/base-window.c:
1601         * src/nact/base-window.h:
1602         Remove unused properties.
1603         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1605         * src/nact/base-assistant.c:
1606         * src/nact/nact-main-menubar-edit.c:
1607         * src/nact/nact-main-menubar-file.c:
1608         * src/nact/nact-main-window.c
1609         * src/nact/nact-window.c: Updated accordingly.
1611         * src/nact/base-window-class.h: Removed file.
1613         * src/nact/base-window.h:
1614         * src/nact/Makefile.am: Updated accordingly.
1616         * src/utils/na-gconf2key.sh.in:
1617         Get ride of possible error messages when forcing gconfd-2 synchro.
1619         * src/nact/base-application.c:
1620         * src/nact/base-application.h (base_application_message_dlg,
1621         base_application_error_dlg, base_application_yesno_dlg):
1622         Functions are moved to BaseWindow class.
1624         * src/nact/base-window.c:
1625         * src/nact/base-window.h
1626         (base_window_display_yesno_dlg, base_window_display_message_dlg):
1627         New functions.
1629         * src/nact/base-application.c:
1630         * src/nact/base-application.h
1631         (base_application_get_ui_filename): Removed function.
1632         (get_ui_filename): Removed virtual method.
1634         * src/nact/nact-application.c
1635         (appli_get_gtkbuilder_filename):Removed function.
1637         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1639         * src/nact/nact-main-window.c (nact_main_window_new):
1640         Initialize the main window with XML UI properties.
1642         * src/nact/base-window.c:
1643         * src/nact/base-window.h: Rename initialization properties.
1645         * src/nact/nact-add-capability-dialog.c:
1646         * src/nact/nact-add-scheme-dialog.c:
1647         * src/nact/nact-assistant-export.c:
1648         * src/nact/nact-assistant-import.c:
1649         * src/nact/nact-confirm-logout.c:
1650         * src/nact/nact-export-ask.c:
1651         * src/nact/nact-icon-chooser.c:
1652         * src/nact/nact-main-window.c:
1653         * src/nact/nact-preferences-editor.c: Updated accordingly.
1655         * src/nact/base-application.c:
1656         * src/nact/base-application.h:
1657         Define new 'base-application-description' property.
1658         Remove unused properties.
1660         * src/nact/nact-application.c (nact_application_new):
1661         Make use of the new property at instanciation time.
1663 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1665         * src/nact/base-window.c:
1666         * src/nact/base-window.h (base_window_display_error_dlg): New function.
1668         * src/nact/base-application.c:
1669         * src/nact/base-application.h (base_application_get_icon_name):
1670         Removed function.
1672         * src/nact/base-application.c:
1673         * src/nact/base-application.h
1674         (initialize_i18n, initialize_application_name, get_application_name,
1675         initialize_default_icon, get_icon_name, initialize_gtk,
1676         initialize_session_manager, get_unique_app_name, initialize_ui,
1677         initialize_unique_app, initialize, run, get_main_window,
1678         initialize_application): Remove virtual methods.
1680         * src/nact/nact-application.c (appli_get_application_name,
1681         appli_get_icon_name, appli_get_unique_app_name,
1682         appli_initialize_application):  Removed functions.
1684         * src/nact/nact-application.c (nact_application_new_with_args):
1685         Make NactApplication initializes with these new properties.
1687         * src/nact/base-application.c:
1688         * src/nact/base-application.h: Define new properties.
1690         * src/nact/base-application-class.h: Removed file.
1692         * src/nact/Makefile.am:
1693         * src/nact/base-application.h:
1694         * src/nact/base-window-class.h:
1695         * src/nact/base-window.h: Updated accordingly.
1697         * src/nact/base-application-class.h (main_window_new):
1698         * src/nact/base-application.c (application_do_run):
1699         * src/nact/nact-application.c
1700         * src/nact/nact-main-window.h (appli_main_window_new):
1701         Move the creation of the main window to the main_window_new() method.
1702         Remove base_application_get_main_window() function.
1704         * src/nact/base-application-class.h (manage_options):
1705         * src/nact/base-application.c:
1706         * src/nact/nact-application.c: Return exit code of the program.
1708         * src/nact/nact-tree-model-dnd.c
1709         (drop_inside, is_drop_possible, drop_uri_list):
1710         * src/nact/base-window.c (is_main):
1711         Remove base_application_get_main_window() invocations.
1713         * src/nact/nact-main.c: Renamed as main.c
1715         * src/nact/Makefile.am: Updated accordingly.
1717         * tools/Makefile.am: Generate the check-header.c source if it is missing.
1719         * src/plugin-tracker/na-tracker-dbus.c:
1720         * src/plugin-tracker/na-tracker-dbus.h:
1721         * src/plugin-tracker/na-tracker.c:
1722         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1724         * src/plugin-menu/nautilus-actions.c:
1725         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1727         * src/nact/base-application.c:
1728         * src/nact/base-application-class.h:
1729         * src/nact/base-assistant.c:
1730         * src/nact/base-assistant.h:
1731         * src/nact/base-builder.c:
1732         * src/nact/base-builder.h:
1733         * src/nact/base-dialog.c:
1734         * src/nact/base-dialog.h:
1735         * src/nact/base-iprefs.c:
1736         * src/nact/base-iprefs.h:
1737         * src/nact/base-window.c:
1738         * src/nact/base-window-class.h:
1739         * src/nact/egg-tree-multi-dnd.h:
1740         * src/nact/nact-add-capability-dialog.c:
1741         * src/nact/nact-add-capability-dialog.h:
1742         * src/nact/nact-add-scheme-dialog.c:
1743         * src/nact/nact-add-scheme-dialog.h:
1744         * src/nact/nact-application.c:
1745         * src/nact/nact-application.h:
1746         * src/nact/nact-assistant-export.c:
1747         * src/nact/nact-assistant-export.h:
1748         * src/nact/nact-assistant-import.c:
1749         * src/nact/nact-assistant-import.h:
1750         * src/nact/nact-clipboard.c:
1751         * src/nact/nact-clipboard.h:
1752         * src/nact/nact-confirm-logout.c:
1753         * src/nact/nact-confirm-logout.h:
1754         * src/nact/nact-export-ask.c:
1755         * src/nact/nact-export-ask.h:
1756         * src/nact/nact-iactions-list.c:
1757         * src/nact/nact-iactions-list.h:
1758         * src/nact/nact-iaction-tab.c:
1759         * src/nact/nact-iaction-tab.h:
1760         * src/nact/nact-ibasenames-tab.c:
1761         * src/nact/nact-ibasenames-tab.h:
1762         * src/nact/nact-icapabilities-tab.c:
1763         * src/nact/nact-icapabilities-tab.h:
1764         * src/nact/nact-icommand-tab.c:
1765         * src/nact/nact-icommand-tab.h:
1766         * src/nact/nact-icon-chooser.h:
1767         * src/nact/nact-ienvironment-tab.c:
1768         * src/nact/nact-ienvironment-tab.h:
1769         * src/nact/nact-iexecution-tab.c:
1770         * src/nact/nact-iexecution-tab.h:
1771         * src/nact/nact-ifolders-tab.c:
1772         * src/nact/nact-ifolders-tab.h:
1773         * src/nact/nact-imimetypes-tab.c:
1774         * src/nact/nact-imimetypes-tab.h:
1775         * src/nact/nact-iproperties-tab.c:
1776         * src/nact/nact-iproperties-tab.h:
1777         * src/nact/nact-ischemes-tab.c:
1778         * src/nact/nact-ischemes-tab.h:
1779         * src/nact/nact-main-window.c:
1780         * src/nact/nact-main-window.h:
1781         * src/nact/nact-preferences-editor.c:
1782         * src/nact/nact-preferences-editor.h:
1783         * src/nact/nact-tree-model.c:
1784         * src/nact/nact-tree-model.h:
1785         * src/nact/nact-tree-model-priv.h:
1786         * src/nact/nact-window.c:
1787         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1789         * src/io-xml/naxml-provider.c:
1790         * src/io-xml/naxml-provider.h:
1791         * src/io-xml/naxml-reader.c:
1792         * src/io-xml/naxml-reader.h:
1793         * src/io-xml/naxml-writer.c:
1794         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1796         * src/io-gconf/nagp-gconf-provider.c:
1797         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1799         * src/io-desktop/nadp-desktop-file.c:
1800         * src/io-desktop/nadp-desktop-file.h:
1801         * src/io-desktop/nadp-desktop-provider.c:
1802         * src/io-desktop/nadp-desktop-provider.h:
1803         * src/io-desktop/nadp-monitor.c:
1804         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1806         * src/core/na-export-format.h:
1807         * src/core/na-iabout.h:
1808         * src/core/na-importer-ask.h:
1809         * src/core/na-io-provider.h:
1810         * src/core/na-ipivot-consumer.h:
1811         * src/core/na-module.h:
1812         * src/core/na-pivot.h:
1813         * src/core/na-selected-info.h:
1814         * src/core/na-settings.h:
1815         * src/core/na-tokens.h:
1816         * src/core/na-updater.h: Cosmetic changes in src/core headers.
1818         * src/api/na-data-boxed.h:
1819         * src/api/na-data-types.h:
1820         * src/api/na-gconf-monitor.h:
1821         * src/api/na-gconf-utils.h:
1822         * src/api/na-icontext.h:
1823         * src/api/na-iduplicable.h:
1824         * src/api/na-iexporter.h:
1825         * src/api/na-ifactory-object.h:
1826         * src/api/na-ifactory-provider.h:
1827         * src/api/na-iio-provider.h:
1828         * src/api/na-object-action.h:
1829         * src/api/na-object.h:
1830         * src/api/na-object-id.h:
1831         * src/api/na-object-item.h:
1832         * src/api/na-object-menu.h:
1833         * src/api/na-object-profile.h:
1834         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1836         * src/utils/na-gconf2key.sh.in:
1837         * tools/check-headers.sh:
1838         * tools/check-po.sh:
1839         * tools/init-finalize-diff.sh:
1840         * tools/release-tarball.sh: Replace basename with a shell substitution.
1842 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1844         * tools/release-tarball.sh: Full script rewrite.
1846         * README-GCONF:
1847         * Makefile.am: Add README-GCONF to the distribution.
1849         * tools/check-po.sh: Script rewriting.
1851         * NEWS: Update before 3.0.7 release.
1853 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1855         * src/core/na-export-format.c (na_export_format_get_description):
1856         * src/core/na-importer-ask.c (na_importer_ask_user):
1857         * src/core/na-importer.c (import_from_uri):
1858         * src/core/na-io-provider.c (na_io_provider_get_name):
1859         * src/core/na-iprefs.c:
1860         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1861         na_iprefs_get_order_mode, na_iprefs_get_export_format):
1862         * src/core/na-settings.c:
1863         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1864         * nact/nact-assistant-import.c (runtime_init_duplicates):
1865         * src/nact/nact-clipboard.c (export_row_object):
1866         * src/nact/nact-export-ask.c:
1867         * nact/nact-export-format.c:
1868         * src/nact/nact-export-format.h(nact_export_format_init_display):
1869         * src/nact/nact-gtk-utils.c:
1870         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1871         nact_gtk_utils_radio_reset_initial_state,
1872         nact_gtk_utils_toggle_set_initial_state,
1873         nact_gtk_utils_toggle_reset_initial_state):
1874         * src/nact/nact-ienvironment-tab.c
1875         (on_tab_updatable_selection_changed):
1876         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1877         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1878         * src/nact/nact-preferences-editor.c:
1879         * src/nact/nact-preferences.ui:
1880         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1881         * src/nact/nact-tree-model.c (tree_model_new):
1882         Manage locked and mandatory preferences.
1884         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1885         Do not eat last character.
1887         * README-GCONF:
1888         * src/core/na-settings.h:
1889         * src/utils/na-gconf2key.sh.in:
1890         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1892 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1894         * src/nact/nact-preferences-editor.c:
1895         Reopen the Preferences on the last used tab.
1897         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1898         Fix handling of last separator.
1900         * src/nact/nact-schemes-list.c: Do not allow modification
1901         of default schemes list if preferences are locked or property
1902         mandatory.
1904         * src/core/na-io-provider.c:
1905         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1906         na_io_provider_is_conf_writable):
1907         Returns mandatory flag.
1908         List I/O providers in write order.
1910         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1912         * src/nact/nact-providers-list.c: Do not allow modification of I/O
1913         providers readability/writability/write order properties if
1914         preferences are locked or properties mandatory.
1916         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1918 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1920         * run-distcheck.sh: New file.
1922         Add a script to check completeness of header files.
1924         * tools/.gitignore:
1925         * tools/Makefile.am:
1926         * tools/check-headers.sh: New files.
1928         * src/test/test-include.c:
1929         Renamed as tools/check-header.c and set it as ignored by git.
1931         * src/test/.gitignore:
1932         * src/test/Makefile.am: Updated accordingly.
1934         * Makefile.am:
1935         * configure.ac: configure in tools/.
1937         * src/api/na-data-boxed.h:
1938         * src/api/na-data-types.h:
1939         * src/api/na-gconf-monitor.h:
1940         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1942         * run-distcheck.sh: New file.
1944         * tools/check-po.sh: Rewrite to have options and messages management.
1946         * src/utils/na-gconf2key.sh.in: Review comment.
1948         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1950         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1952         * tools/check-po.sh: Set the count of errors as exit code.
1954         * po/POTFILES.in: Updated.
1956         * src/api/na-gconf-utils.h:
1957         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1959         * src/api/na-gconf-monitor.h:
1960         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1962         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1964         * src/utils/na-print-schemas.c: Add a deprecation comment.
1966         * src/core/na-io-provider.c:
1967         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1968         New function.
1970         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1972 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1974         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1976         * src/test/test-module.c:
1977         * src/test/test-module-plugin.c: New files.
1979         * src/test/.gitignore:
1980         * src/test/Makefile.am: Updated accordingly.
1981          
1982         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1984         * src/nact/base-iprefs.c
1985         (base_iprefs_position_named_window): Do not force a null window size or position.
1987         * src/core/na-settings.c
1988         (na_settings_get_string_list): Do not allocate an empty string list.
1990         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1992         * src/core/na-object-id.c:
1993         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1995         * src/core/na-data-boxed.c:
1996         * src/core/na-gconf-monitor.c:
1997         * src/core/na-io-provider.c:
1998         * src/core/na-tokens.c:
1999         * src/core/na-updater.c:
2000         * src/io-desktop/nadp-desktop-file.c:
2001         * src/io-desktop/nadp-desktop-provider.c:
2002         * src/io-desktop/nadp-monitor.c:
2003         * src/io-gconf/nagp-gconf-provider.c:
2004         * src/io-xml/naxml-provider.c:
2005         * src/nact/base-application.c:
2006         * src/nact/base-builder.c:
2007         * src/nact/base-window.c: 
2008         * src/nact/nact-application.c:
2009         * src/nact/nact-clipboard.c:
2010         * src/nact/nact-main-window.c:
2011         * src/nact/nact-tree-model.c:
2012         * src/nact/nact-window.c: Add instance_finalize debug message.
2014         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
2016         * src/core/na-boxed.c
2017         (na_boxed_free): Only free a non null structure.
2018         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
2019         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
2020         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
2021         Do not try to return a value for a null structure.
2023         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
2025 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
2027         * src/utils/na-delete-xmltree.c:
2028         * src/utils/nautilus-actions-print.c: Add localization code.
2030         * src/utils/nautilus-actions-new.c:
2031         * src/utils/nautilus-actions-run.c:
2032         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
2034         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
2035         na_boxed_new_from_string_with_sep, na_boxed_free):
2036         Add debug messages when allocating/freeing a NABoxed structure.
2038         * src/nact/nact-icommand-tab.c (on_wdir_browse):
2039         Remove no more used default value.
2041         * src/nact/nact-icon-chooser.c
2042         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
2044         * src/core/na-settings.h: Preference renamed accordingly.
2046         * README-GCONF:
2047         * src/core/na-settings.h:
2048         * src/utils/na-gconf2key.sh.in:
2049         '-last-folder-uri' preferences are renamed as '-lfu'.
2051         * src/core/na-settings.c: Set default values.
2053         * src/nact/nact-gtk-utils.c:
2054         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
2055         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
2056         Remove no more used default value.
2058         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
2059         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
2060         on_show_if_running_browse): Updated accordingly.
2062         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
2063         Do not allocate the empty last element.
2065         * src/core/na-io-provider.c (load_items_get_merged_list):
2066         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
2067         Use the correct list pointer.
2069         * src/core/na-iprefs.c:
2070         * src/core/na-iprefs.h
2071         (na_iprefs_get_export_format, na_iprefs_set_export_format):
2072         Functions moved from src/nact/nact-iprefs.c.
2074         * src/nact/nact-iprefs.c:
2075         * src/nact/nact-iprefs.h: Removed files.
2077         * src/nact/Makefile.am:
2078         * src/nact/base-window.c:
2079         * src/nact/nact-assistant-export.c:
2080         * src/nact/nact-assistant-import.c:
2081         * src/nact/nact-clipboard.c:
2082         * src/nact/nact-export-ask.c:
2083         * src/nact/nact-export-format.c:
2084         * src/nact/nact-gtk-utils.c:
2085         * src/nact/nact-iaction-tab.c:
2086         * src/nact/nact-icommand-tab.c:
2087         * src/nact/nact-ifolders-tab.c:
2088         * src/nact/nact-main-toolbar.c:
2089         * src/nact/nact-preferences-editor.c:
2090         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
2092         * src/nact/nact-iprefs.c:
2093         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
2094         nact_iprefs_write_string): Remove deprecated functions.
2096         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
2097         Updated accordingly.
2099         * src/nact/base-iprefs.c:
2100         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
2101         Remove deprecated functions.
2103         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
2104         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2105         Updated accordingly.
2107         * src/nact/nact-iprefs.c:
2108         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2110         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2111         Updated accordingly.
2113         Global renaming of preferences.
2115         * README-GCONF:
2116         * src/api/na-iio-provider.h:
2117         * src/core/na-export-format.h:
2118         * src/core/na-exporter.h:
2119         * src/core/na-importer-ask.h:
2120         * src/core/na-importer.c:
2121         * src/core/na-io-provider.c:
2122         * src/core/na-io-provider.h:
2123         * src/core/na-iprefs.c:
2124         * src/core/na-iprefs.h:
2125         * src/core/na-module.c:
2126         * src/core/na-pivot.c:
2127         * src/core/na-pivot.h:
2128         * src/core/na-settings.c:
2129         * src/core/na-settings.h:
2130         * src/core/na-updater.c:
2131         * src/nact/nact-add-capability-dialog.c:
2132         * src/nact/nact-add-scheme-dialog.c:
2133         * src/nact/nact-assistant-export.c:
2134         * src/nact/nact-assistant-import.c:
2135         * src/nact/nact-clipboard.c:
2136         * src/nact/nact-export-ask.c:
2137         * src/nact/nact-gtk-utils.c:
2138         * src/nact/nact-iactions-list.c:
2139         * src/nact/nact-icommand-tab.c:
2140         * src/nact/nact-icon-chooser.c:
2141         * src/nact/nact-ienvironment-tab.c:
2142         * src/nact/nact-ifolders-tab.c:
2143         * src/nact/nact-iprefs.c:
2144         * src/nact/nact-iprefs.h:
2145         * src/nact/nact-main-menubar-edit.c:
2146         * src/nact/nact-main-menubar-file.c:
2147         * src/nact/nact-main-menubar.c:
2148         * src/nact/nact-main-toolbar.c:
2149         * src/nact/nact-main-window.c:
2150         * src/nact/nact-preferences-editor.c:
2151         * src/nact/nact-providers-list.c:
2152         * src/nact/nact-schemes-list.c:
2153         * src/nact/nact-sort-buttons.c:
2154         * src/nact/nact-tree-model-dnd.c:
2155         * src/nact/nact-tree-model.c:
2156         * src/nact/nact-window.c:
2157         * src/nact/nact-window.h:
2158         * src/plugin-menu/nautilus-actions.c:
2159         * src/utils/na-gconf2key.sh.in:
2160         * src/utils/nautilus-actions-new.c: Rename preferences.
2161 >>>>>>> Globally rename preferences
2163 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2165         * src/core/na-settings.c:
2166         * src/core/na-settings.h: Preference names are defined as '#define' values.
2168         * README-GCONF:
2169         * src/utils/na-gconf2key.sh.in: Adjust preferences.
2171         * src/core/na-iprefs.c:
2172         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2174         * src/api/na-iimporter.h:
2175         * src/core/na-importer-ask.c:
2176         * src/core/na-importer-ask.h:
2177         * src/core/na-importer.c: Updated accordingly.
2179 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2181         * src/nact/nact-iprefs.c:
2182         * src/nact/nact-iprefs.h: Get ride of GConf.
2184         * README-GCONF:
2185         * src/core/na-settings.c:
2186         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2188         * src/nact/nact-icommand-tab.c:
2189         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2191         * README-GCONF:
2192         * src/core/na-settings.c:
2193         * src/utils/na-gconf2key.sh.in:
2194         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2196         * src/nact/nact-ifolders-tab.c: Updated accordingly.
2198         * README-GCONF:
2199         * src/core/na-settings.c:
2200         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2202         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2203         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2204         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2205         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2206         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2207         * src/nact/nact-main-window.c
2208         (instance_dispose, base_get_iprefs_window_id):
2209         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2210         Update all preference names when saving/restoring window size and position.
2212         * src/core/na-settings.c:
2213         * src/core/na-settings.h: All getters/setters are implemented.
2215         * src/nact/base-iprefs.c: Remove GConf stuff.
2217         * src/nact/nact-icon-chooser.c:
2218         * src/nact/nact-icon-chooser.ui: Implement all preferences.
2220         * src/utils/na-gconf2key.sh.in:
2221         Renamed preferences for windows size and position '-wsp'.
2222         Also delete from GConf if only preferences have been migrated.
2223         Re-sync after tree delete.
2225         * src/api/na-boxed.h:
2226         * src/core/na-boxed.c
2227         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2228         New functions.
2230         * configure.ac: Enable silent rules by default.
2232         * run-autogen.sh: Add sysconfdir argument to autogen.sh
2234         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2235         Search a pixbuf by icon theme if not found as filename or stock.
2237         * src/nact/base-window.c:
2238         * src/nact/base-window.h (base_window_peek_widget): New function.
2240         * src/nact/nact-icon-chooser.c:
2241         * src/nact/nact-icon-chooser.h:
2242         * src/nact/nact-icon-chooser.ui: New files.
2243         
2244         * src/nact/Makefile.am:
2245         * src/nact/nact-iaction-tab.c:
2246         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2248         * src/core/na-settings.c (content_load_keys):
2249         Do not warn if configuration file does not exist.
2251         * src/api/na-boxed.h:
2252         * src/api/na-data-boxed.h:
2253         * src/api/na-data-types.h:
2254         * src/core/na-boxed.c:
2255         * src/core/na-data-boxed.c:
2256         * src/core/na-data-types.c:
2257         Update reference documentation to deprecate NADataBoxed and NADataType
2258         in favor of NABoxed.
2260         * src/core/na-settings.c:
2261         * src/core/na-settings.h: Configuration monitoring.
2263         * src/plugin-menu/nautilus-actions.c:
2264         Monitor all runtime preferences with only one callback.
2266         * src/api/na-boxed.h:
2267         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2269         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2271         * src/api/na-data-types.h:
2272         * src/core/na-data-types.c
2273         (na_data_types_copy, na_data_types_free): Removed functions.
2275         * README-GCONF:
2276         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2278         * src/api/na-boxed.h:
2279         * src/core/na-boxed.c: New files.
2281         * src/api/Makefile.am:
2282         * src/core/Makefile.am: Updated accordingly.
2284 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2286         * src/api/na-data-types.h:
2287         * src/core/na-data-types.c
2288         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2289         New functions.
2291         * src/core/na-settings.c
2292         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2294         * src/core/na-settings.h
2295         (na_settings_get_boolean_ex, na_settings_get_string_list):
2296         New functions.
2298         * src/plugin-menu/nautilus-actions.c:
2299         Implement runtime preferences monitoring.
2300         No more use deprecated na_pivot_set_automatic_reload().
2302         * src/core/na-pivot.c:
2303         * src/core/na-pivot.h:
2304         Replace GConf preferences monitoring with NASettings.
2305         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2307         * src/core/na-settings.c:
2308         * src/core/na-settings.h
2309         (na_settings_register_key_callback,
2310         na_settings_register_global_callback, na_settings_get_boolean):
2311         New functions.
2313         * src/api/na-iio-provider.h:
2314         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2315         definition is moved (and renamed) from public API to internal one.
2317         * src/core/na-iio-provider.c (interface_base_init):
2318         * src/core/na-io-provider.c (io_provider_set_provider):
2319         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2321         * src/core/na-iio-provider.c
2322         * src/core/na-settings.c (na_settings_new):
2323         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2325         * src/core/na-pivot.c:
2326         * src/core/na-pivot.h (na_pivot_register):
2327         * src/core/na-settings.c:
2328         * src/core/na-settings.h (na_settings_register):
2329         * src/plugin-menu/nautilus-actions.c (instance_constructed):
2330         Fix compilation.
2332 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2334         * src/nact/base-application.c (display_dlg): Setup parent window.
2336         * src/api/na-iimporter.h:
2337         * src/core/na-io-provider.c:
2338         * src/core/na-object-id.c:
2339         * src/core/na-object-item.c:
2340         * src/io-desktop/nadp-utils.c:
2341         * src/nact/nact-assistant-import.c:
2342         * src/nact/nact-iactions-list-bis.c:
2343         * src/nact/nact-iactions-list.h:
2344         * src/nact/nact-main-window.c:
2345         * src/nact/nact-preferences.ui:
2346         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2348         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2350         * src/core/na-object-profile-factory.c:
2351         Remove %o/%O parameters from description of version 2.0.
2352         Add a missing line feed.
2354         * tools/check-po.sh: Adapt to glade files.
2356 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2358         * src/utils/nautilus-actions-new.c (init_options):
2359         * src/utils/nautilus-actions-run.c (init_options):
2360         * src/utils/nautilus-actions-schemas.c (init_options):
2361         Initialize translation domain for GOptionContext.
2363         * src/core/na-data-boxed.c
2364         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2365         * src/core/na-export-format.c
2366         (na_export_format_get_label, na_export_format_get_description):
2367         * src/core/na-iabout.c (na_iabout_display):
2368         * src/core/na-object-action.c (na_object_action_new_with_defaults):
2369         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2370         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2371         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2372         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2373         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2374         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2375         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2376         * src/nact/nact-tree-model-dnd.c
2377         (is_drop_possible, is_drop_possible_before_iter,
2378         is_drop_possible_into_dest, is_parent_accept_new_childs):
2379         Use gettext() to display localized static strings.
2381         * src/api/na-data-def.h: Complete the description of the fields.
2383         * src/core/na-io-provider.c:
2384         * src/core/na-object-profile-factory.c:
2385         * src/nact/nact-assistant-export.ui:
2386         * src/nact/nautilus-actions-config-tool.ui:
2387         Fix various mistakes and mispellings reported by Fr translation team.
2389         * configure.ac: Post-release bump version number.
2391 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2393         * src/core/na-pivot.c (na_pivot_register): New function.
2395         * src/plugin-menu/nautilus-actions.c:
2396         Replace NAIPivotConsumer interface with na_settings() accessors.
2398         * src/core/na-settings.c:
2399         * src/core/na-settings.h: New files.
2401         * src/utils/na-gconf2key.sh.in:
2402         Make sure that GConf is at the end of the list of I/O providers.
2403         Make sure that GConf is locked.
2404         Migrate all I/O provider preferences.
2406         * configure.ac:
2407         * src/utils/Makefile.am:
2408         * src/utils/na-gconf2key.sh.in:
2409         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2410         and is installed in PKGLIBEXECDIR.
2412         * src/core/Makefile.am:
2413         * src/core/na-gconf-migration.c: Updated accordingly.
2415         * src/utils/Makefile.am:
2416         nautilus-actions-delete is renamed as na-delete-xmltree,
2417         and is installed in PKGLIBEXECDIR.
2419         * src/core/na-core-utils.c (na_core_utils_print_version):
2420         Print the compilation version of GLib2 and Gtk+ when in debug mode.
2422         * src/utils/Makefile.am:
2423         nautilus-actions-schemas is renamed as na-print-schemas,
2424         and is installed in PKGLIBEXECDIR.
2426 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2428         * src/nact/nact-main-window.c (iabout_get_toplevel):
2429         Let the About dialog get the toplevel window.
2431         * src/nact/nact-preferences.ui:
2432         * src/nact/nautilus-actions-config-tool.ui:
2433         Apply patch provided by Christian Kirbach. Fix #638548.
2435         Use the same script to migrate items and preferences.
2437         * README-GCONF: Document migrated and renamed preferences.
2439         * src/utils/nautilus-actions-gconf2desktop.sh.in:
2440         Rewrite migrated preferences as keyed files.
2441         At last, remove the whole Nautilus-Actions tree from GConf.
2443 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2445         * src/utils/console-utils.c (console_cmdline_get_description):
2446         Returns the full address of the page to enter a new bug in Bugzilla.
2448         * src/core/na-gconf-migration.c:
2449         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2451         * src/core/Makefile.am: Updated accordingly.
2453         * src/nact/nact-main.c (main):
2454         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2455         * src/utils/nautilus-actions-new.c (main):
2456         * src/utils/nautilus-actions-run.c (main):
2457         Automatically run the migration tool at startup.
2459         * src/utils/nautilus-actions-gconf2desktop.sh.in:
2460         * src/utils/nautilus-actions-delete.c:
2461         * src/utils/nautilus-actions-print.c:
2462         New items migration script and programs.
2463         They take care of migrating users and mandatory items to .desktop files.
2465         * configure.ac:
2466         * src/utils/Makefile.am:
2467         * src/utils/.gitignore: Updated accordingly.
2469 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2471         * src/core/na-tokens.c (na_tokens_new_from_selection):
2472         No more prepare the list string of selection.
2473         Directly build the selection list in the correct order.
2474         (execute_action_command): Setup the working directory.
2476         * src/core/na-tokens.c:
2477         * src/core/na-tokens.h (na_tokens_parse_parameters):
2478         Renamed as na_tokens_parse_for_display() as filenames are not quoted
2479         when displayed as part of an expanded label.
2481         * src/nact/nact-icommand-tab.c (parse_parameters):
2482         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2483         Updated accordingly.
2485         * configure.ac: Fix "API Reference generation" message.
2487         * m4/na-enable-manuals.m4:
2488         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2490         * src/core/na-selected-info.c (new_from_uri):
2491         - Add an excerpt from RFC 2396 about valid characters in URIs.
2492         - Prefer the filename from g_filename_from_uri() when possible.
2494         * src/core/na-tokens.c
2495         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2496         (build_string_lists_item): Removed function.
2498         * src/core/na-iabout.c (na_iabout_display):
2499         Fix typo in comment, adding a note to the translators.
2501 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2503         * src/core/na-io-provider.c:
2504         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2505         New function.
2507         * configure.ac: Define a conditional if we have both GSettings and GConf.
2509         * src/core/na-gsettings-migrate.c:
2510         * src/core/na-gsettings-migrate.h: New files.
2512         * src/core/Makefile.am: Updated accordingly.
2514         * src/core/na-pivot.c (instance_constructed):
2515         Call na_gsettings_migrate() if we have both GSettings and GConf.
2517         * configure.ac:
2518         - Define HAVE_GSETTINGS variable.
2519         - Define HAVE_GCONF variable.
2521 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2523         * src/nact/egg-desktop-file.c:
2524         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2526         * src/nact/base-keysyms.h:
2527         * src/nact/egg-sm-client-private.h:
2528         * src/nact/egg-sm-client-xsmp.c: 
2529         * src/nact/nact-add-capability-dialog.c:
2530         * src/nact/nact-add-scheme-dialog.c:
2531         * src/nact/nact-main-tab.c:
2532         * src/nact/nact-clipboard.c:
2533         * src/nact/nact-tree-model-dnd.c:
2534         * src/nact/nact-gtk-utils.c:
2535         * src/nact/nact-iaction-tab.c:
2536         * src/nact/nact-main-statusbar.c:
2537         * src/nact/nact-main-menubar.c:
2538         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2540         * configure.ac:
2541         * m4/na-check-for-gtk.m4:
2542         Move back gtk_required variable to improve readibility of configure.ac.
2544 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2546         * configure.ac: Post release version bump.
2548         * NEWS: Update NEWS before release.
2550         * src/plugin-menu/nautilus-actions.c (create_root_menu):
2551         Update the root menu label to better reflect the product name.
2553         * src/nact/nautilus-actions-config-tool.ui:
2554         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2556         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2557         Display again stock icons in NACT.
2558         Fix #638461 - Stock icons are no more displayed in NACT.
2560         * Almost all files modified:
2561         Update copyright message.
2562         Set Nautilus-Actions as being the actual official product name.
2564         * src/core/na-selected-info.c (new_from_nautilus_file_info):
2565         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2566         Fix #638450 - Nautilus crashes when opening Trash or Network.