1 2011-12-09 Pierre Wieser <pwieser@trychlos.org>
3 * src/nact/nact-match-list.c (insert_new_row):
4 New rows now default to be 'matched'.
6 * src/core/na-updater.c (na_updater_delete_item):
7 Do not try to remove from the backend an item which has never been written.
9 * src/nact/nact-menubar-file.c:
10 Fix typo in translatable message.
11 (nact_menubar_file_save_items): Reinitialize messages pointer.
13 * src/nact/nact-tree-ieditable.c (add_to_deleted_rec):
14 Only count as deleted items which were read from the backend.
15 Compute level zero status.
17 * src/core/na-importer-ask.c (na_importer_ask_user):
18 * src/core/na-settings.h:
19 Change import default mode and export default format to 'Ask'.
21 * src/io-xml/naxml-writer.c
22 (write_data_schema_v2, write_data_dump):
23 String and uint lists have the GConf format (between square brackets).
25 * src/io-xml/naxml-reader.c (read_done_action_read_profiles):
26 Make sure we have at least one profile attached to the action.
28 * src/io-gconf/nagp-reader.c (read_done_action_read_profiles):
29 Make sure we have at least one profile attached to the action.
31 * src/io-desktop/nadp-desktop-file.c:
32 * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_has_profile):
35 * src/io-desktop/nadp-reader.c
36 (item_from_desktop_path):
37 Replace the warning with an error message to be returned to the caller.
38 (read_done_action_read_profiles):
39 Attach at least a default profile to the action.
40 (read_done_action_load_profile):
41 Define a default profile if not found in .desktop file.
43 * src/core/na-icontext-factory.c: Fix mimetypes and schemes default values.
45 * src/core/na-icontext.c (is_compatible_scheme): Fix scheme test.
47 2011-12-06 Pierre Wieser <pwieser@trychlos.org>
49 * src/utils/na-gconf2key.sh.in:
50 Fix permissions when creating the configuration directory.
52 * src/core/na-settings.c (settings_new):
53 * src/io-desktop/nadp-writer.c
54 (nadp_iio_provider_is_able_to_write, nadp_iio_provider_write_item):
55 Fix permissions when creating the configuration directory.
57 * src/api/na-core-utils.h:
58 * src/core/na-core-utils.c (na_core_utils_dir_list_perms): New function.
60 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
61 Fix and improve error messages during drop operations.
63 Fix a coredump when trying to import an empty file by DnD.
64 Extend the fix by checking the size and the type of the candidate.
66 * src/api/na-core-utils.h:
67 * src/core/na-core-utils.c (na_core_utils_file_is_loadable): New function.
69 * src/api/na-iimporter.h (IMPORTER_CODE_NOT_LOADABLE): New return code.
71 * src/core/na-importer.c (import_from_uri):
72 Do not try other modules one the first detects that a file is not loadable.
74 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
75 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
76 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
77 Check whether the file is loadable before trying to import it.
79 * src/nact/nact-main-tab.h:
80 * src/nact/nact-main-window.h: Fix comments.
82 * src/nact/nact-main-window.c: Fix typo.
84 * src/nact/nact-tree-model.c (nact_tree_model_new):
85 No more connect to base-window-initialize-gtk signal.
86 Initialize model without waiting for signal triggering.
88 * src/nact/nact-tree-view.c (instance_constructed):
89 No more connect to base-window-initialize-gtk signal.
91 2011-12-05 Pierre Wieser <pwieser@trychlos.org>
93 * src/core/na-importer-ask.c (import_ask_new):
94 * src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
95 * src/nact/nact-add-capability.ui:
96 * src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
97 * src/nact/nact-add-scheme.ui:
98 * src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
99 * src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
100 * src/nact/nact-icon-chooser.ui:
101 * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
102 Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.
104 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
105 Display an synthetic error message if cannot handle the file.
107 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
108 Display an synthetic error message if cannot handle the file.
110 * po/POTFILES.in: Updated accordingly.
112 * src/core/na-importer.c (import_from_uri): Only display error messages
113 of the interface which has eventually successfully imported the item.
115 * src/core/na-importer.c (import_from_uri):
116 Make sure of the population against which we check for existance.
118 * src/core/na-iimporter.h: Improve comment.
120 2011-12-04 Pierre Wieser <pwieser@trychlos.org>
122 * docs/nact/Makefile.am: Work-around against #664768.
124 When a bug is detected in dblatex, we re-run it in debug mode, so that
125 we may be able to get the .pdf from temp directory.
127 * docs/nact/Makefile.am: Fix User's Manual generation.
129 * docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.
131 * run-autogen.sh: Do not automatically make && make install after configure.
133 * run-distcheck.sh: Fix cleanup before making distcheck.
135 2011-12-03 Pierre Wieser <pwieser@trychlos.org>
137 * tools/check-headers.sh: Fix when builddir not equal to srcdir.
139 * run-distcheck.sh: Make sure that the document wil be rebuilt.
141 * m4/na-enable-manuals.m4:
142 Fix the test as possible values are 'gdt', 'db2html' and 'no.
144 * docs/reference/Makefile.am: Fix when builddir not equal to srcdir.
146 2011-12-02 Pierre Wieser <pwieser@trychlos.org>
148 Do not build the documentation at all if not asked for.
150 * m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.
152 * docs/nact/Makefile.am:
153 Make use of new ENABLE_MANUALS conditional.
154 Also test for conditionals when installing.
156 * run-autogen.sh: Yet improve the build script.
158 2011-12-01 Pierre Wieser <pwieser@trychlos.org>
160 * src/core/na-importer-ask.c (na_importer_ask_user):
161 Save window size and position when quitting, restoring it on next init.
163 2011-11-30 Pierre Wieser <pwieser@trychlos.org>
165 * src/core/na-gtk-utils.c:
166 * src/core/na-gtk-utils.h
167 (na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
170 * src/nact/base-gtk-utils.c
171 (base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
174 * src/nact/base-gtk-utils.h: Fix a comment.
176 * src/core/na-importer-ask.c:
177 * src/core/na-importer-ask.h: Now derives from GObject.
179 * src/core/na-importer-ask.c (import_ask_new):
180 All one-time initialization is made here, being able to return NULL if failed.
182 * src/core/na-importer-ask.c (on_destroy_toplevel):
183 NAImporterAsk is now attached to its parent, and destroyed with it.
185 * src/nact/nact-assistant-import.c (assistant_apply):
186 Make the assistant the parent of NAImporterAsk (instead of main window).
188 2011-11-29 Pierre Wieser <pwieser@trychlos.org>
190 * src/core/na-object-item-factory.c:
191 Do not let a read or imported item go until the UI with an empty label.
193 * src/io-xml/naxml-reader.c (schema_parse_schema_content):
194 Only search for identifier in <applyto> schema key.
196 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
198 * src/io-desktop/nadp-desktop-file.c (check_key_file):
199 - Do not even try to read zero byte length files.
200 - Check Type key before trying to import the file.
202 * src/core/na-importer-ask.c:
203 * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
204 response codes, and quit on Esc.
206 * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
209 * run-distcheck.sh: Review in order to be able to build several guests
210 from a common single source tree.
212 * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
213 Get ride of the superfluous 'name' entry field when selecting the folder.
215 * src/nact/nact-export-ask.c (nact_export_ask_user):
216 Actually do not export the item if the user cancels the operation.
218 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
219 Only display debug messages (try to minimize warnings on import).
221 * src/io-xml/naxml-reader.c
222 (publish_undealt_nodes): Removed useless (and buggy) function.
223 (manage_import_mode): Returns all messages to the caller.
225 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
226 Returns all messages to the caller.
228 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
230 * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
231 Limit the window size, maximizing with the screen size.
233 * nact/nact-tree-view.h:
234 * nact/nact-tree-view.c: Define parent property.
236 * nact/nact-tree-view.c (on_tree_view_realized):
237 Delay all signal connection until the widget be actually realized.
239 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
240 Delay the connection to the NactTreeView signal until we are sure the
243 * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
244 Delay the initialization of the NactTreeView until the Gtk toplevel has
245 been loaded from XML Glade file.
247 * src/nact/nact-assistant-export.c: Adapt to gtk3.
249 * src/nact/nact-export-format.c (nact_export_format_init_display):
250 Remove the useless intermediate GtkGrid.
252 * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
254 * src/core/na-gtk-utils.c (dump_children):
255 Also dump the address of the child widget.
256 Also dump children which do not have a name (dynamically allocated).
258 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
260 * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
261 before returning so that the list returns as unchanged to the caller.
263 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
264 Slightly optimize code.
266 * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
268 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
269 any error message if we do not identify at least a well-formed document
270 with a known root node.
272 * src/api/na-boxed.h:
273 * src/api/na-timeout.h:
274 * src/core/na-boxed.c:
275 * src/core/na-data-boxed.c:
276 * src/core/na-gconf-migration.c:
277 * src/core/na-gconf-monitor.c:
278 * src/core/na-gconf-utils.c:
279 * src/core/na-icontext.c:
280 * src/core/na-iduplicable.c:
281 * src/core/na-iprefs.c:
282 * src/core/na-object-item.c:
283 * src/core/na-object.c:
284 * src/core/na-settings.c:
285 * src/core/na-updater.c: Only reference minor version in 'Since:' and
286 'Deprecated' comments.
288 * run-autogen.sh: Change development installation directory to _install.
290 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
292 m4_ifdef is not a good way to test if these packages are available, as the
293 m4 files default ot be distributed.
295 * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
297 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
299 * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
301 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
304 No more try to rebuild manuals when making distcheck.
305 Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
308 Rename 'autogen_target' variable to 'target'.
309 Remove distcheck target as doc is enough to build manuals.
311 * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
313 * docs/reference/Makefile.am:
314 gtk-doc is no more a mandatory package.
315 Requires gtk-doc 1.15 to take advantage of new source option.
317 * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
319 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
321 * src/nact/nautilus-actions-config-tool.ui:
322 Remove empty children from GtkAssistant container.
324 * src/nact/nact-assistant-import.c:
325 Adapt to the new way Gtk+ 3.2 builds the assistant.
327 * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
329 * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
330 Increment the level of the first child of the hierarchy.
332 * run-autogen.sh: Be able to run from another directory.
334 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
336 * src/nact/base-window.c:
337 * src/nact/base-window.h (base_window_dump_children): New function.
339 * src/core/na-gtk-utils.c:
340 * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
342 * docs/nact/C/nact-conditions.xml:
343 * docs/nact/C/nact-edit.xml:
344 * docs/nact/C/nact-execution.xml:
345 * docs/nact/C/nact-profiles.xml:
346 * docs/nact/C/nact-sorting.xml:
347 * src/nact/nact-assistant-import.c:
348 Fix with advices of Christian Kirbach.
349 Fix #660399, reported by Christian Kirbach.
351 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
353 * src/nact/nact-export-format.c:
354 * src/nact/nact-main-toolbar.c:
355 Get ride of deprecated GtkHBox and GtkVBox.
357 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
359 * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
361 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
363 * docs/nact/C/nact-conditions.xml:
364 * docs/nact/C/nact-edit.xml:
365 * docs/nact/C/nact-execution.xml:
366 * docs/nact/C/nact-menus.xml:
367 * docs/nact/C/nact-profiles.xml:
368 Apply patch provided by Christian Kirbach.
369 Fix #661498 reported by Christian Kirbach.
371 * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
373 From #660399, reported by Gabor Karsay.
375 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
377 * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
378 * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
379 * src/nact/nact-assistant-import.c (prepare_confirm):
380 * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
381 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
382 * src/nact/nact-preferences-editor.c (desktop_setup):
383 * src/nact/nact-providers-list.c (on_selection_changed):
384 * src/test/test-virtuals-without-test.c (first_instance_dispose):
385 Remove set but unused variables.
387 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
389 * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
390 Fix #655237 - Toolbar icons are not created.
392 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
394 * configure.ac: Post-release version bump.
396 * NEWS: Update before releasing.
398 * TODO: Update before releasing.
400 * src/utils/na-gconf2key.sh.in: Update comment.
402 * docs/nact/C/nact-conditions.xml:
403 * docs/nact/C/nact-execution.xml:
404 * docs/nact/C/nact-where.xml:
405 Fix #652664 - [doc] couple of spelling and improvement suggestions;
406 patch provided by Christian Kirbach.
408 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
410 * src/core/na-boxed.c (string_to_array):
411 Accepts now both semi-comma-separated list of strings and
412 comma-separated between square brackets (Ã la GConf) from string lists.
414 * src/io-xml/naxml-reader.c (slist_to_string):
415 Formats string list as a semi-comma-separated list of strings for NABoxed.
417 * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
418 as it may sometimes be needed to re-migrate a newly inserted item.
420 * src/io-gconf/nagp-reader.c (get_boxed_from_path):
421 Only allocate a new box when a non-null value has been read.
423 * src/core/na-settings.c (read_key_value_from_key_file):
424 Also dump the value read from a key file.
426 * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
428 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
430 * src/api/na-object-api.h:
431 * docs/reference/nautilus-actions-sections.txt
432 (na_object_is_file, na_object_is_dir, na_object_is_multiple):
433 Macros are moved from the official API as deprecated.
435 * src/core/na-icontext-factory.c
436 (ISFILE, ISDIR): No more declare properties for deprecated data.
437 (SCHEMES): Declare 'file' as the default.
439 * src/core/na-factory-object.c:
440 * src/core/na-factory-object.h (na_factory_object_is_set): New function.
442 * src/core/na-object-action.c (ifactory_object_read_done):
443 Dump the rough read data.
444 First create a v2 profile before converting it to last version.
446 * src/core/na-object-menu.c (ifactory_object_read_done):
447 Dump the rough read data.
449 * src/core/na-object-profile.c
450 (ifactory_object_read_done): Dump the rough read data.
451 (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
453 * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
454 * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
455 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
456 Dump the whole read item, maybe after conversion.
458 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
460 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
461 Setup default values.
463 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
464 Add trace message before unreffing the imported object.
466 * src/nact/nact-assistant-import.c (assistant_apply):
467 Do not try to import an empty list.
469 * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
470 Check for non empty list.
472 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
474 * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
476 * nautilus-actions.doap: Update download page and mailing list infos.
478 * configure.ac: Post release version bump.
480 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
482 * docs/nact/figures: Update screenshots.
484 * docs/nact/C/nact-properties.xml: New file.
486 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
488 * src/core/na-selected-info.c: Extract filename for a GFile location.
490 * src/utils/na-gconf2keys.sh: Requires ksh.
492 * src/core/na-settings.c: Create the configuration directory if
495 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
497 * src/test/Makefile.am: Do not build test programs in release mode.
499 * docs/nact/C/nact-sorting.xml:
500 * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
502 * docs/nact/C/articleinfo.xml:
503 Convert to *nix-like file.
504 Update manual copyright.
506 * docs/nact/C/figures/nact-desktop-environment-frame.png:
507 * docs/nact/C/figures/nact-execution-environment-frame.png:
508 * docs/nact/C/figures/nact-preferences-export.png:
509 * docs/nact/C/figures/nact-preferences-import.png:
510 * docs/nact/C/figures/nact-preferences-io-providers.png:
511 * docs/nact/C/figures/nact-preferences-runtime.png:
512 * docs/nact/C/figures/nact-preferences-schemes.png:
513 * docs/nact/C/figures/nact-preferences-ui.png:
514 * docs/nact/C/figures/nact-schemes-tab.png:
515 * docs/nact/C/figures/nact-target-location.png:
516 * docs/nact/C/figures/nact-working-directory-frame.png:
517 * docs/nact/C/figures/nact-export-done.png:
518 * docs/nact/C/figures/nact-export-format.png:
519 * docs/nact/C/figures/nact-export-home.png:
520 * docs/nact/C/figures/nact-export-items.png:
521 * docs/nact/C/figures/nact-export-summary.png:
522 * docs/nact/C/figures/nact-export-target.png:
523 * docs/nact/C/figures/nact-import-done.png:
524 * docs/nact/C/figures/nact-import-files.png:
525 * docs/nact/C/figures/nact-import-home.png:
526 * docs/nact/C/figures/nact-import-mode.png:
527 * docs/nact/C/figures/nact-import-resultat.png:
528 * docs/nact/C/figures/nact-import-summary.png:
529 * docs/nact/C/figures/nact-preferences-desktop.png:
530 * docs/nact/C/figures/nact-preferences-execution.png:
531 Updated and new screenshots for version 3.1.
533 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
535 * configure.ac: Post-release version bump.
537 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
539 * NEWS: Pre-release update.
541 * src/core/na-tokens.c (execute_action_command):
542 Only use g_spawn_async_with_pipes when required by execution mode
543 (work-around for #644289).
544 Do not close child pid before the end of the child process.
546 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
548 * configure.ac: Post-release bump version.
550 * NEWS: Pre-release udate.
552 * src/core/na-settings.c:
553 * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
555 * src/plugin-menu/nautilus-module.c (set_log_handler):
556 Test if log are enabled before installing the log handler.
558 * src/plugin-menu/nautilus-actions.c:
559 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
560 Removed function. Fix #643359.
562 * configure.ac: Post-release bump version.
564 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
568 * README-GCONF: Update before releasing.
570 * src/api/na-core-utils.h:
571 * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
573 * src/core/na-settings.c:
574 * src/core/na-settings.h:
575 Rename "terminal-prefix" user preference as "terminal-pattern".
577 * src/core/na-tokens.c:
578 * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
579 Renamed as na_tokens_command_for_terminal().
581 * docs/reference/nautilus-actions-sections.txt:
582 * src/nact/nact-preferences-editor.c:
583 * src/nact/nact-preferences.ui: Updated accordingly.
585 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
586 Disable not implemented frames.
588 * src/nact/nautilus-actions-config-tool.ui:
589 Add a tooltip comment on not yet implemented fields.
591 * src/core/na-icontext.c (is_candidate_for_show_in):
592 First try desktop from user preferences.
594 NASettings is now a private singleton which allocates itself when needed.
595 Preference are so available anywhere without requiring an object.
597 * src/core/na-importer-ask.c (na_importer_ask_user):
598 * src/core/na-importer.c (import_from_uri):
599 * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
600 * src/core/na-iprefs.c:
601 * src/core/na-iprefs.h:
602 * src/core/na-pivot.c (instance_constructed, instance_dispose):
603 * src/core/na-pivot.h (na_pivot_get_settings):
604 * src/core/na-settings.c:
605 * src/core/na-settings.h:
606 * src/core/na-tokens.c:
607 * src/core/na-tokens.h(na_tokens_execute_action):
608 * src/core/na-updater.c (are_preferences_locked):
609 * src/nact/base-gtk-utils.c:
610 * src/nact/nact-assistant-export.c (nact_assistant_export_run):
611 * src/nact/nact-assistant-import.c (nact_assistant_import_run):
612 * src/nact/nact-clipboard.c (export_row_object):
613 * src/nact/nact-export-ask.c (nact_export_ask_user):
614 * src/nact/nact-icon-chooser.c:
615 * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
616 * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
617 * src/nact/nact-main-window.c (on_base_initialize_base_window):
618 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
619 * src/nact/nact-preferences-editor.c:
620 * src/nact/nact-providers-list.c (nact_providers_list_save):
621 * src/nact/nact-schemes-list.c (init_view_get_default_list):
622 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
623 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
624 * src/nact/nact-tree-model.c (nact_tree_model_new):
625 * src/plugin-menu/nautilus-actions.c:
626 * src/utils/nautilus-actions-run.c: Updated accordingly.
628 Current desktop environment can be a user preference
630 * src/core/na-desktop-environment.c:
631 * src/core/na-desktop-environment.h: New files.
634 * src/core/Makefile.am:
635 * src/core/na-icontext.c (is_candidate_for_show_in):
636 * nact/nact-ienvironment-tab.c
637 (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
639 * src/core/na-settings.c:
640 * src/core/na-settings.h:
641 Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
642 (set_key_value): Setting a NULL string actually removes the key.
644 * src/nact/nact-preferences-editor.c:
645 * src/nact/nact-preferences.ui: Let the user choose his desktop.
647 * src/core/na-iabout.c: Renamed as src/core/na-about.c.
648 * src/core/na-iabout.h: Renamed as src/core/na-about.h.
649 NAIAbout is no more an interface, but just a set of functions.
651 * src/core/Makefile.am:
652 * src/core/na-core-utils.c (na_core_utils_print_version):
653 * src/nact/nact-application.c (nact_application_new_with_args):
654 * src/nact/nact-main-window.c:
655 * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
656 * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
658 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
660 Improve ExecutionMode implementation by defining a new user preference
662 * src/core/na-settings.c:
663 * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
665 * src/core/na-tokens.c:
666 * src/core/na-tokens.h
667 (na_tokens_command_from_terminal_prefix): New function.
668 (na_tokens_execute_action): New NASettings parameter.
670 * src/nact/nact-preferences-editor.c:
671 * src/nact/nact-preferences.ui: Let the user edit the preference.
673 * src/utils/nautilus-actions-run.c:
674 * po/POTFILES.in: Updated accordingly.
676 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
678 * src/core/na-settings.c:
679 * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
681 * src/plugin-menu/nautilus-actions.c:
682 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
685 * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
686 syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
688 * configure.ac: Bump Nautilus required version to 2.16
689 for having nautilus_menu_provider_emit_items_updated_signal() function.
692 * src/plugin-menu/nautilus-actions.c:
693 Check for nautilus_menu_provider_get_toolbar_items() function.
695 * src/core/na-selected-info.c (instance_init, instance_finalize):
696 Improve debug messages.
698 * src/core/na-icontext.c:
699 * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
700 (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
702 Move Nautilus-Actions configuration files to nautilus-actions/ subdir
704 * src/core/na-settings.c (na_settings_new):
705 * src/utils/na-gconf2key.sh.in: Updated accordingly.
707 Implement execution mode property
709 * m4/na-check-for-gtk.m4: Check for Gio-unix.
711 * src/core/na-object-profile-factory.c: Improve translation comment.
713 * src/core/na-tokens.c (execute_action_command): Display output.
715 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
717 * src/api/na-object.h:
718 * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
719 Deprecated functions.
721 * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
723 Rewrite copy stack to get ride of iteration on class hierarchy
725 * src/api/na-object-api.h
726 (na_object_copy, na_object_get_hierarchy): Removed macros.
728 * src/api/na-icontext.h:
729 * src/core/na-icontext.c (na_icontext_copy): New function.
731 * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
732 * src/core/na-object-item.c (object_copy):
733 * src/core/na-object-action.c (object_copy):
734 * src/core/na-object-profile.c (object_copy):
735 * src/core/na-object-menu.c (object_copy): Updated accordingly.
737 Rewrite validity status check stack
739 * src/api/na-icontext.h:
740 * src/core/na-icontext.c (na_icontext_are_equal): New function.
742 * src/core/na-factory-object.c (na_factory_object_is_valid):
743 * src/core/na-object.c (iduplicable_is_valid):
744 * src/core/na-object-id.c (object_is_valid):
745 * src/core/na-object-id-factory.c:
746 * src/core/na-object-item.c (object_is_valid):
747 * src/core/na-object-action.c (object_is_valid):
748 * src/core/na-object-profile.c (object_is_valid):
749 * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
751 Rewrite modification status check stack
753 * src/api/na-object-item.h:
754 * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
756 * src/api/na-object.h:
757 * src/core/na-factory-object.c:
758 * src/core/na-iduplicable.c: Improve comment.
760 * src/core/na-object.c:
761 * src/core/na-object-id.c:
762 * src/core/na-object-menu.c:
763 * src/core/na-object-action.c:
764 * src/core/na-object-profile.c: Modification is checked from
765 NAObject-virtual method instead of NAIFactoryObject interface.
767 * src/api/na-iduplicable.h:
768 * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
770 * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
772 * src/api/na-icontext.h:
773 * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
774 Renamed as na_icontext_check_mimetypes().
776 * src/api/na-ifactory-object-data.h:
777 * src/api/na-object-api.h:
778 * src/core/na-icontext-factory.c:
779 * src/core/na-object-profile.c: Updated accordingly.
781 * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
783 * src/core/na-icontext.c (na_icontext_get_running_environment):
786 * src/core/na-boxed.c (string_list_from_string,
787 string_list_from_value, string_list_from_void): Check for duplicates.
789 * src/utils/nautilus-actions-new.c: Fix default mimetype.
791 * src/core/na-icontext.c (get_running_environment): New function.
793 * src/utils/na-print-schemas.c: Also display menu schemas.
795 * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
796 Data are deprecated and not writable.
798 * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
800 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
802 * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
803 NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
804 NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
806 * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
807 show-if-true, show-if-running and capability options.
809 * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
810 NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
811 * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
812 NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
813 * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
814 Fix options definition.
816 * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
818 * src/core/na-icontext-factory.c
819 (NAFO_DATA_SELECTION_COUNT): Fix option definition.
821 * src/utils/nautilus-actions-new.c: Add selection-count option.
823 * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
824 locale_is_default): Fix default value test.
826 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
828 * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
829 na_object_set_multiple): Deprecated functions.
831 * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
834 * src/utils/nautilus-actions-new.c: Updated accordingly.
836 * src/nact/nact-providers-list.c:
837 * src/nact/nact-schemes-list.c: Does not recompute if preferences are
838 locked, but use na_updater_are_preferences_locked() function.
840 * src/api/na-iio-provider.h:
841 Define new reason when the level zero is not writable.
843 * src/core/na-updater.c:
844 * src/core/na-updater.h (na_updater_is_item_writable):
845 Renamed as na_updater_check_item_writability_status.
847 * src/nact/nact-main-window.c (setup_writability_status):
848 * src/nact/nact-menubar-edit.c (get_deletables):
849 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
852 * src/nact/base-assistant.c (class_init):
853 Apply patch provided by Christian Kirback. Fix #640920.
855 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
857 * src/core/na-pivot.h:
858 * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
860 * src/nact/base-window.h:
861 * src/nact/base-window.c (class_init):
862 Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
864 * src/nact/nact-main-window.c:
865 Connect to the signal instead of implementing a virtual method.
867 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
869 * src/core/na-iduplicable.c (interface_base_init):
870 * src/core/na-settings.c (class_init):
871 * src/nact/base-window.c (class_init):
872 Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
874 * docs/reference/Makefile.am:
875 * src/nact/Makefile.am:
876 * run-distcheck.sh: Fix make distcheck.
878 * docs/reference/Makefile.am:
879 Do not documente NAGconfMonitor class when deprecated symbols are disabled.
881 * src/api/na-data-boxed.h:
882 * src/api/na-gconf-utils.h:
883 * src/core/na-data-boxed.c:
884 * src/core/na-iduplicable.c:
885 * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
888 * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
890 * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
892 * src/api/na-iduplicable.h:
893 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
896 * src/core/na-factory-object.c (na_factory_object_are_equal):
897 * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
898 Improve debug messages.
900 * src/core/na-icontext-factory.c:
901 * src/core/na-object-action-factory.c:
902 * src/core/na-object-id-factory.c: Set missing default values.
904 * src/core/na-object-action.c (ifactory_object_are_equal):
905 An action is modified as soon as at least one profile is modified.
907 * src/core/na-icontext-factory.c: Fix string list regression
909 * src/core/na-boxed.c: Fix regression when setting values.
911 * src/core/na-selected-info.c (query_file_attributes):
912 Keep selection info even when unable to query attributes.
915 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
917 Do not compile with GConf library when disabled
919 * src/api/na-gconf-monitor.h:
920 * src/api/na-gconf-utils.h:
921 * src/core/na-gconf-migration.c:
922 * src/core/na-gconf-monitor.c:
923 * src/core/na-gconf-utils.c:
924 * src/io-gconf/Makefile.am:
925 * src/io-xml/naxml-reader.c:
926 * src/utils/Makefile.am: Updated accordingly.
928 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
930 Add --enable-gconf configure argument
931 Define HAVE_GCONF conditional
933 * m4/na-check-for-gconf.m4: New file.
936 * data/gconf-schemas/Makefile.am: Updated accordingly.
938 Only GConf writing operations are marked deprecated
940 * src/api/na-gconf-monitor.h:
941 * src/api/na-gconf-utils.h:
942 * src/core/na-gconf-monitor.c:
943 * src/core/na-gconf-utils.c:
944 * src/io-gconf/nagp-writer.c:
945 * src/io-gconf/nagp-writer.h: Updated accordingly.
947 No more use deprecated functions
949 * src/core/na-factory-object.c:
950 * src/io-desktop/nadp-reader.c:
951 * src/io-desktop/nadp-writer.c:
952 * src/io-gconf/nagp-reader.c:
953 * src/io-gconf/nagp-writer.c:
954 * src/io-xml/naxml-reader.c:
955 * src/io-xml/naxml-writer.c: Updated accordingly.
957 NADataBoxed class now derives from NABoxed
959 * src/api/na-boxed.h:
960 * src/api/na-data-boxed.h:
961 * src/api/na-data-types.h:
962 * src/core/na-boxed.c:
963 * src/core/na-core-utils.c:
964 * src/core/na-data-boxed.c:
965 * src/core/na-data-types.c:
966 * src/core/na-factory-object.c:
967 * src/core/na-ifactory-object.c:
968 * src/core/na-settings.c:
969 * src/io-desktop/nadp-writer.c:
970 * src/io-gconf/nagp-writer.c:
971 * src/io-xml/naxml-writer.c: Updated accordingly.
973 * src/api/na-boxed.h:
974 * src/core/na-boxed.c: Convert to the NABoxed class.
976 * src/core/na-settings.c: Updated accordingly.
978 * src/api/na-data-boxed.h:
979 * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
981 Merge NABoxed and NADataBoxed data type definitions.
982 Data type are remaned as NA_DATA_TYPE.
984 * src/api/na-boxed.h:
985 * src/api/na-data-def.h:
986 * src/api/na-data-types.h:
987 * src/core/na-boxed.c:
988 * src/core/na-data-boxed.c:
989 * src/core/na-data-types.c:
990 * src/core/na-factory-object.c:
991 * src/core/na-icontext-factory.c:
992 * src/core/na-ifactory-object.c:
993 * src/core/na-object-action-factory.c:
994 * src/core/na-object-id-factory.c:
995 * src/core/na-object-item-factory.c:
996 * src/core/na-object-profile-factory.c:
997 * src/core/na-settings.c:
998 * src/io-desktop/nadp-reader.c:
999 * src/io-desktop/nadp-writer.c:
1000 * src/io-gconf/nagp-reader.c:
1001 * src/io-gconf/nagp-writer.c:
1002 * src/io-xml/naxml-reader.c:
1003 * src/io-xml/naxml-writer.c:
1004 * src/utils/na-print-schemas.c: Updated accordingly.
1006 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
1008 * src/api/na-iduplicable.h:
1009 * src/core/na-iduplicable.c:
1010 Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
1011 Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
1013 * src/api/na-object-api.h:
1014 * src/core/na-object.c:
1015 * src/core/na-object-item.c:
1016 * src/core/na-object-item.h:
1017 Deprecated na_object_check_status_up macro.
1018 Merge na_object_item_check_status() and na_object_item_check_status_up().
1020 * src/nact/nact-iaction-tab.c:
1021 * src/nact/nact-ibasenames-tab.c:
1022 * src/nact/nact-icapabilities-tab.c:
1023 * src/nact/nact-icommand-tab.c:
1024 * src/nact/nact-ienvironment-tab.c:
1025 * src/nact/nact-iexecution-tab.c:
1026 * src/nact/nact-ifolders-tab.c:
1027 * src/nact/nact-iproperties-tab.c:
1028 * src/nact/nact-ischemes-tab.c:
1029 * src/nact/nact-main-window.c:
1030 * src/nact/nact-main-window.h:
1031 * src/nact/nact-match-list.c: Properties are renamed.
1033 * src/nact/nact-main-tab.c:
1034 * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
1036 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
1038 In the process of replacing NactIActionsList interface with:
1039 - the NactTreeView class
1040 - plus the NactTreeIEditable interface.
1042 Almost all NACT files modified. Compilation is OK.
1044 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1046 * src/nact/nact-tree-model.c:
1047 * src/nact/nact-tree-model.h (nact_tree_model_get_items):
1048 * src/nact/nact-tree-view.c:
1049 * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
1051 Allow an items list to be referenced in a new list.
1053 * src/api/na-object-api.h (na_object_ref_items): New macro.
1055 * src/api/na-object-item.h:
1056 * src/core/na-object-item.c (na_object_item_ref_items): New function.
1058 * src/nact/nact-assistant-export.c
1059 (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
1061 Review NAObject reference management
1063 * src/api/na-object-api.h
1064 (na_object_unref_items, na_object_unref_items_rec): Removed macros.
1065 (na_object_free_items): New macro.
1067 * src/api/na-object-item.h:
1068 * src/core/na-object-item.c
1069 (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
1070 (na_object_item_free_items): New function.
1072 * src/core/na-io-provider.c (na_io_provider_load_items):
1073 * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
1074 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
1075 na_pivot_set_new_items):
1076 * src/nact/nact-assistant-import.c (assistant_apply):
1077 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
1078 * src/nact/nact-iactions-list.c (free_items_callback):
1079 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
1080 nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
1081 nact_main_menubar_edit_on_paste_into,
1082 nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
1083 * src/nact/nact-main-menubar-file.c
1084 (nact_main_menubar_file_on_new_menu,
1085 nact_main_menubar_file_on_new_action,
1086 nact_main_menubar_file_on_new_profile):
1087 * src/nact/nact-main-menubar-maintainer.c
1088 (nact_main_menubar_maintainer_on_dump_selection):
1089 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1090 * src/nact/nact-main-window.c (instance_dispose,
1091 nact_main_window_remove_deleted, reload):
1092 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1093 * src/nact/nact-tree-model.c (fill_tree_store):
1094 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1095 * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
1097 * src/nact/nact-main-menubar-maintainer.c
1098 (nact_main_menubar_maintainer_on_dump_selection):
1099 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1100 * src/nact/nact-main-window.c (instance_dispose,
1101 nact_main_window_remove_deleted, reload):
1102 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1103 * src/nact/nact-tree-model.c (fill_tree_store):
1104 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1105 * src/plugin-menu/nautilus-actions.c (get_menus_items):
1106 Updated accordingly.
1108 New NactTreeView convenience class
1110 * src/nact/nact-tree-view.c:
1111 * src/nact/nact-tree-view.h: New files.
1113 * src/nact/Makefile.am:
1114 * src/nact/nact-assistant-export.c:
1115 * src/nact/nact-iactions-list-priv.c:
1116 * src/nact/nact-iactions-list.h:
1117 * src/nact/nact-marshal.list:
1118 * src/nact/nact-tree-model.c: Updated accordingly.
1120 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1122 Refactoring of menubar files:
1123 - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
1124 - nact-main-menubar-*.h are removed.
1126 * src/nact/Makefile.am:
1127 * src/nact/nact-confirm-logout.c:
1128 * src/nact/nact-iactions-list.c: Updated accordingly.
1130 * src/nact/nact-main-window.c:
1131 * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
1132 which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
1134 Termination of the main window is managed in NactMainWindow.
1136 * src/nact/nact-main-window.c:
1137 * src/nact/nact-main-window.h (nact_main_window_quit): New function.
1139 * src/nact/nact-main-menubar-file.c: Updated accordingly.
1141 Move a NASettings getter to NAUpdater
1143 * src/core/na-updater.c:
1144 * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
1146 * src/nact/nact-main-menubar-edit.c:
1147 * src/nact/nact-main-menubar-edit.h
1148 (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
1150 * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
1152 * src/nact/base-application.c (class_init):
1153 * src/nact/base-assistant.c (class_init):
1154 * src/nact/base-window.c (class_init):
1155 * src/nact/nact-main-window.c (instance_constructed):
1156 Setup construction properties.
1158 * src/nact/nact-application.c:
1159 * src/nact/nact-application.h (nact_application_get_updater):
1160 Set NactApplication as a const argument.
1162 Deprecate NAIPivotConsumer interface
1164 * src/core/na-ipivot-consumer.c:
1165 * src/core/na-ipivot-consumer.h: Removed files.
1167 * src/core/Makefile.am:
1168 * src/core/na-pivot.c:
1169 * src/core/na-pivot.h:
1170 * src/nact/nact-application.c:
1171 * src/nact/nact-main-menubar-file.c:
1172 * src/nact/nact-main-window.c:
1173 * src/nact/nact-menubar.c: Updated accordingly.
1175 * src/core/na-pivot.c:
1176 * src/core/na-pivot.h
1177 (na_pivot_set_automatic_reload): Remove unused function.
1179 * src/test/test-reader.c: Updated accordingly.
1181 * src/nact/nact-main-window.c (instance_constructed):
1182 Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
1184 Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
1186 * src/nact/base-iprefs.c:
1187 * src/nact/base-iprefs.c: Removed files.
1189 * src/nact/Makefile.am:
1190 * src/nact/base-gtk-utils.c:
1191 * src/nact/base-gtk-utils.h:
1192 * src/nact/base-window.c:
1193 * src/nact/nact-assistant-export.c:
1194 * src/nact/nact-export-ask.c:
1195 * src/nact/nact-export-format.c:
1196 * src/nact/nact-iaction-tab.c:
1197 * src/nact/nact-ibasenames-tab.c:
1198 * src/nact/nact-icommand-tab.c:
1199 * src/nact/nact-icon-chooser.c:
1200 * src/nact/nact-ienvironment-tab.c:
1201 * src/nact/nact-iexecution-tab.c:
1202 * src/nact/nact-ifolders-tab.c:
1203 * src/nact/nact-iproperties-tab.c:
1204 * src/nact/nact-ischemes-tab.c:
1205 * src/nact/nact-main-statusbar.c:
1206 * src/nact/nact-main-window.c:
1207 * src/nact/nact-match-list.c:
1208 * src/nact/nact-preferences-editor.c:
1209 * src/nact/nact-providers-list.c:
1210 * src/nact/nact-schemes-list.c:
1211 * src/nact/nact-tree-model.c: Updated accordingly.
1213 Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1216 * src/core/na-settings.c:
1217 * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1219 * src/nact/base-iprefs.c:
1220 * src/nact/base-iprefs.h
1221 (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1223 (get_wsp_id): Remove interface method.
1225 * src/nact/base-window.c:
1226 * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1228 * src/nact/nact-add-capability-dialog.c:
1229 * src/nact/nact-add-scheme-dialog.c:
1230 * src/nact/nact-assistant-export.c:
1231 * src/nact/nact-assistant-import.c:
1232 * src/nact/nact-confirm-logout.c:
1233 * src/nact/nact-export-ask.c:
1234 * src/nact/nact-gtk-utils.c:
1235 * src/nact/nact-icommand-tab.c:
1236 * src/nact/nact-icon-chooser.c:
1237 * src/nact/nact-ifolders-tab.c:
1238 * src/nact/nact-main-window.c:
1239 * src/nact/nact-preferences-editor.c: Updated accordingly.
1241 * src/core/na-updater.c:
1242 * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1244 Homogeneize marshalling
1246 * src/core/na-marshal: Renamed as src/core/na-marshal.def
1247 * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1249 * src/core/Makefile.am:
1250 * src/nact/Makefile.am:
1251 * src/nact/nact-iactions-list.c (interface_base_init):
1252 * src/nact/nact-main-window.c (class_init): Updated accordingly.
1254 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1256 Review menu items sensitivity updates
1258 * src/api/na-object-api.h
1259 (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1261 * src/api/na-object-item.h:
1262 * src/core/na-object-item.c
1263 (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1266 * src/core/na-updater.c:
1267 * src/core/na-updater.h (na_updater_load_items): New function.
1269 * src/nact/nact-application.c (appli_main_window_new):
1270 * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1271 No more load items when instanciating the main window, but when
1274 * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1275 Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1277 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1278 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1279 * src/nact/nact-menubar-priv.h:
1280 * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1281 Rely on indicators pre-computed on selection changes.
1283 * src/nact/nact-window.c:
1284 * src/nact/nact-window.h (nact_window_has_writable_providers):
1287 * src/nact/nact-menubar-priv.h:
1288 * src/nact/nact-menubar.c: Updated accordingly.
1290 * src/core/na-iprefs.c:
1291 * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1292 Moved to NAUpdater class.
1294 * src/core/na-updater.c:
1295 * src/core/na-updater.h (na_updater_is_level_zero_writable):
1296 Moved from NAIPrefs.
1298 * src/nact/nact-menubar-priv.h:
1299 * src/nact/nact-menubar.c (on_base_initialize_window):
1300 * src/nact/nact-sort-buttons.c (enable_buttons):
1301 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1302 Updated accordingly.
1304 Review I/O providers writability status management.
1306 * src/api/na-iio-provider.h: Review writability reason.
1308 * src/core/na-io-provider.c:
1309 * src/core/na-io-provider.h
1310 (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1312 (na_io_provider_is_finally_writable): New function.
1314 * src/core/na-pivot.c:
1315 * src/core/na-pivot.h
1316 (na_pivot_is_configuration_locked_by_admin): Removed function.
1318 * src/core/na-updater.c
1319 * src/core/na-updater.h (na_updater_is_item_writable):
1320 * src/nact/nact-main-menubar-edit.c (get_deletables):
1321 * src/nact/nact-main-window.c: Updated accordingly.
1323 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1325 * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1326 Renamed as nact_menubar_enable_item() and moved to private resources.
1328 * src/nact/nact-main-menubar-edit.c:
1329 * src/nact/nact-main-menubar-file.c:
1330 * src/nact/nact-main-menubar-help.c:
1331 * src/nact/nact-main-menubar-tools.c:
1332 * src/nact/nact-main-menubar-view.c:
1333 * src/nact/nact-menubar-priv.h:
1334 * src/nact/nact-menubar.h: Updated accordingly.
1336 Move MenubarIndicatorsStruct structure to private instance data
1338 * src/nact/nact-menubar-priv.h: New file.
1340 * src/nact/Makefile.am:
1341 * src/nact/nact-main-menubar-edit.c:
1342 * src/nact/nact-main-menubar-edit.h:
1343 * src/nact/nact-main-menubar-file.c:
1344 * src/nact/nact-main-menubar-file.h:
1345 * src/nact/nact-main-menubar-help.c:
1346 * src/nact/nact-main-menubar-help.h:
1347 * src/nact/nact-main-menubar-maintainer.c:
1348 * src/nact/nact-main-menubar-maintainer.h:
1349 * src/nact/nact-main-menubar-tools.c:
1350 * src/nact/nact-main-menubar-tools.h:
1351 * src/nact/nact-main-menubar-view.c:
1352 * src/nact/nact-main-menubar-view.h:
1353 * src/nact/nact-menubar.c:
1354 * src/nact/nact-menubar.h: Updated accordingly.
1356 Define a new NactMenubar convenience class
1358 * src/nact/nact-main-menubar.c:
1359 * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1361 * src/nact/Makefile.am:
1362 * src/nact/nact-iactions-list.c:
1363 * src/nact/nact-main-menubar-edit.h:
1364 * src/nact/nact-main-menubar-file.h:
1365 * src/nact/nact-main-menubar-help.c:
1366 * src/nact/nact-main-menubar-help.h:
1367 * src/nact/nact-main-menubar-maintainer.c:
1368 * src/nact/nact-main-menubar-maintainer.h:
1369 * src/nact/nact-main-menubar-tools.c:
1370 * src/nact/nact-main-menubar-tools.h:
1371 * src/nact/nact-main-menubar-view.c:
1372 * src/nact/nact-main-menubar-view.h:
1373 * src/nact/nact-main-window.c: Updated accordingly.
1375 * src/api/na-boxed.h:
1376 * src/core/na-boxed.c (na_boxed_dump): New function.
1378 * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1380 * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1382 * src/core/na-marshal: New file.
1384 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1386 * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1388 * src/core/na-settings.c:
1389 * src/core/na-settings.h: No more try to summarize notifications here.
1391 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1392 Register NASettings callbacks on the runtime keys.
1394 * src/nact/nact-main-window.c:
1395 (NAIPivotConsumer->on_display_order_changed):
1396 Moved to on_settings_order_mode_changed() function.
1397 (NAIPivotConsumer->on_autosave_changed):
1398 Moved to nact_main_menubar_file_install_autosave() new function.
1400 * src/nact/nact-main-menubar-file.c:
1401 * src/nact/nact-main-menubar-file.h
1402 (nact_main_menubar_file_install_autosave): New function.
1404 * src/core/na-iprefs.c:
1405 * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1408 * src/core/na-icontext.c (is_candidate_for_basenames):
1409 Fix case insenstive comparison (bug reported by Johan Spee).
1411 Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1413 * src/nact/base-application.c:
1414 * src/nact/base-application.h: Add new exit codes.
1416 * src/nact/base-assistant.c:
1417 * src/nact/base-assistant.h:
1418 Remove 'warn-on-cancel' unused property.
1419 (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1420 Remove unused functions.
1421 Implement run() virtual method.
1423 * src/nact/base-dialog.c:
1424 * src/nact/base-dialog.h:
1425 Implement run() virtual method.
1426 Define new cancel() and ok() virtual methods.
1428 * src/nact/base-iprefs.c:
1429 * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1431 * src/nact/base-window.c:
1432 * src/nact/base-window.h
1433 (dialog_response, delete_event): Remove no more used virtual methods.
1434 (run): Define new virtual method.
1436 * src/nact/nact-add-capability-dialog.c:
1437 * src/nact/nact-add-scheme-dialog.c:
1438 * src/nact/nact-assistant-export.c:
1439 * src/nact/nact-assistant-import.c:
1440 * src/nact/nact-confirm-logout.c:
1441 * src/nact/nact-export-ask.c:
1442 * src/nact/nact-icon-chooser.c:
1443 * src/nact/nact-main-window.c:
1444 * src/nact/nact-preferences-editor.c: Updated accordingly.
1446 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1448 * src/nact/nact-providers-list.c:
1449 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1450 Do not initialize the widgets with the future BaseWindow.
1452 * src/nact/nact-preferences-editor.c (preferences_editor_new):
1453 Updated accordingly.
1455 * src/nact/nact-schemes-list.c: Only ask for preferences once.
1457 * src/nact/nact-assistant-import.c (assist_new):
1458 Reload the common XML UI file into the private builder.
1460 * src/nact/base-dialog.c:
1461 * src/nact/base-dialog.h:
1462 * src/nact/base-window.h: Do some code and comments cleanup.
1464 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1465 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1466 * src/nact/base-window.c (setup_builder):
1467 Add a debug message.
1469 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1471 * src/plugin-menu/nautilus-actions.c:
1472 * src/plugin-menu/nautilus-actions.h:
1473 Takes advantage of the new NASettings signal notification system.
1475 * src/core/na-pivot.c:
1476 * src/core/na-pivot.h: Review the notification system.
1478 * src/core/na-settings.c:
1479 * src/core/na-settings.h:
1480 Add a signal notification to the existing callback pregistration system.
1482 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1483 * docs/des-ema/des-ema-0.15:
1484 * docs/nact/C/nact-conditions.xml:
1485 * docs/nact/C/nact-menus.xml:
1486 * src/api/na-extension.h:
1487 * src/api/na-ifactory-provider.h:
1488 * src/api/na-iio-provider.h:
1489 * src/api/na-object.h:
1490 * src/core/na-core-utils.c:
1491 * src/core/na-factory-object.c:
1492 * src/core/na-gconf-utils.c:
1493 * src/core/na-icontext-factory.c:
1494 * src/core/na-icontext.c:
1495 * src/core/na-ifactory-provider.c:
1496 * src/core/na-io-provider.c:
1497 * src/core/na-io-provider.h:
1498 * src/core/na-iprefs.c:
1499 * src/core/na-object-action.c:
1500 * src/core/na-object-id-factory.c:
1501 * src/core/na-object-id.c:
1502 * src/core/na-object-item-factory.c:
1503 * src/core/na-object-item.c:
1504 * src/core/na-pivot.h:
1505 * src/core/na-settings.c:
1506 * src/core/na-settings.h:
1507 * src/core/na-tokens.h:
1508 * src/io-desktop/nadp-desktop-file.c:
1509 * src/io-desktop/nadp-reader.c:
1510 * src/io-desktop/nadp-utils.c:
1511 * src/io-gconf/nagp-reader.c:
1512 * src/io-xml/naxml-reader.c:
1513 * src/nact/nact-gtk-utils.c:
1514 * src/nact/nautilus-actions-config-tool.ui:
1515 * src/plugin-menu/nautilus-actions.c:
1516 * src/utils/nautilus-actions-new.c:
1517 * src/utils/nautilus-actions-run.c:
1518 * tools/check-headers.sh:
1519 * tools/init-finalize-diff.sh:
1520 Apply patch provided by Christian Kirbach. Fix #640216.
1522 * src/nact/nautilus-actions-config-tool.ui:
1523 * src/utils/na-delete-xmltree.c:
1524 * src/utils/nautilus-actions-print.c:
1525 Fix string errors reported by fr translation team.
1527 * src/api/na-timeout.h:
1528 * src/core/na-timeout.c: New files.
1530 * src/api/Makefile.am:
1531 * src/core/Makefile.am: Updated accordingly.
1533 * src/core/na-pivot.c (on_item_changed_timeout):
1534 * src/core/na-settings.c (on_keyfile_changed_timeout):
1535 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1536 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1537 Take advantage of new NATimeout convenience structure.
1539 * src/api/na-iio-provider.h:
1540 * src/core/na-io-provider.c:
1541 * src/core/na-io-provider.h: Fix comments.
1543 * src/core/na-iio-provider.c (interface_base_init):
1544 The 'item-changed' signal actually does not send any argument.
1546 * src/core/na-pivot.c:
1547 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1548 Updated accordingly.
1550 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1552 * src/nact/base-window.c: Handles the recorded signals in a GList.
1554 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1556 * src/nact/nact-main-window.c
1557 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1558 Calls the parent class method if willing to quit.
1560 * src/nact/nact-window.c:
1561 * src/nact/nact-window.h
1562 (nact_window_is_item_writable): Remove unused function.
1564 * src/nact/base-window.c:
1565 * src/nact/base-window.h
1566 (runtime_init_toplevel): Renamed as initialize_base_window().
1567 (class_init): Fix cclosure_marshall for signals without argument.
1569 * src/nact/base-window.c:
1570 * src/nact/base-window.h
1571 (get_toplevel_name, get_ui_filename): Removed virtual functions.
1573 * src/nact/nact-add-capability-dialog.c:
1574 * src/nact/nact-add-scheme-dialog.c:
1575 * src/nact/nact-assistant-export.c:
1576 * src/nact/nact-assistant-import.c:
1577 * src/nact/nact-confirm-logout.c:
1578 * src/nact/nact-export-ask.c:
1579 * src/nact/nact-icon-chooser.c:
1580 * src/nact/nact-main-window.c:
1581 * src/nact/nact-preferences-editor.c: Updated accordingly.
1583 * src/nact/base-window.c:
1584 * src/nact/base-window.h:
1585 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1587 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1589 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1591 * src/nact/nact-main-window.c:
1592 No more connect to the signal, but implement the virtual method.
1594 * src/nact/base-application.c (appli_initialize_manage_options):
1595 * src/nact/base-application.h (manage_options):
1596 * src/nact/nact-application.c (appli_manage_options):
1597 Revert commit 3acf600874.
1599 * src/test/test-virtuals.c: Do some more tests on virtual methods.
1601 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1602 on_initialize_base_window_class_handler,
1603 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1604 Succssively invoke all derived class methods.
1606 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1607 all_widgets_showed, is_willing_to_quit): Update comments.
1609 * src/nact/base-application.c (appli_initialize_manage_options):
1610 Successively invoke all derived class methods.
1612 * src/nact/base-application.h (manage_options): Update comment.
1614 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1616 * src/nact/base-builder.c:
1617 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1618 Use a const BaseBuilder as argument;
1620 * src/nact/base-window.c:
1621 * src/nact/base-window.h (base_window_get_widget_from_gtk):
1624 * src/nact/nact-gtk-utils.c:
1625 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1628 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1630 * src/nact/base-application.c (appli_initialize_unique_app):
1633 * src/nact/base-builder.c:
1634 * src/nact/base-builder.h (base_builder_load_named_toplevel):
1635 Renamed as base_builder_get_toplevel_by_name().
1637 * src/nact/base-window.c: Updated accordingly.
1639 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1641 * src/nact/base-window.c:
1642 * src/nact/base-window.h (base_window_peek_widget):
1643 Renamed as base_window_get_widget_from_gtk().
1645 * src/nact/nact-icon-chooser.c: Updated accordingly.
1647 * src/nact/base-window.c:
1648 * src/nact/base-window.h (base_window_get_named_toplevel):
1649 Renamed as base_window_get_gtk_toplevel_by_name().
1651 * src/nact/nact-icommand-tab.c: Updated accordingly.
1653 * src/nact/base-window.c:
1654 * src/nact/base-window.h (base_window_get_toplevel):
1655 Renamed as base_window_get_gtk_toplevel().
1657 * src/nact/base-application.c:
1658 * src/nact/base-assistant.c:
1659 * src/nact/base-iprefs.c:
1660 * src/nact/nact-add-capability-dialog.c:
1661 * src/nact/nact-add-scheme-dialog.c:
1662 * src/nact/nact-assistant-export.c:
1663 * src/nact/nact-assistant-import.c:
1664 * src/nact/nact-confirm-logout.c:
1665 * src/nact/nact-export-ask.c:
1666 * src/nact/nact-gtk-utils.c:
1667 * src/nact/nact-icommand-tab.c:
1668 * src/nact/nact-icon-chooser.c:
1669 * src/nact/nact-ifolders-tab.c:
1670 * src/nact/nact-main-menubar.c:
1671 * src/nact/nact-main-window.c:
1672 * src/nact/nact-match-list.c:
1673 * src/nact/nact-preferences-editor.c:
1674 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1676 * src/nact/base-window.c:
1677 * src/nact/base-window.h: Rename signal defines.
1679 * src/nact/base-assistant.c:
1680 * src/nact/nact-add-capability-dialog.c:
1681 * src/nact/nact-add-scheme-dialog.c:
1682 * src/nact/nact-assistant-export.c:
1683 * src/nact/nact-assistant-import.c:
1684 * src/nact/nact-confirm-logout.c:
1685 * src/nact/nact-export-ask.c:
1686 * src/nact/nact-icon-chooser.c:
1687 * src/nact/nact-main-window.c:
1688 * src/nact/nact-preferences-editor.c: Updated accordingly.
1690 * src/nact/base-window.c:
1691 * src/nact/base-window.h:
1692 Remove unused properties.
1693 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1695 * src/nact/base-assistant.c:
1696 * src/nact/nact-main-menubar-edit.c:
1697 * src/nact/nact-main-menubar-file.c:
1698 * src/nact/nact-main-window.c
1699 * src/nact/nact-window.c: Updated accordingly.
1701 * src/nact/base-window-class.h: Removed file.
1703 * src/nact/base-window.h:
1704 * src/nact/Makefile.am: Updated accordingly.
1706 * src/utils/na-gconf2key.sh.in:
1707 Get ride of possible error messages when forcing gconfd-2 synchro.
1709 * src/nact/base-application.c:
1710 * src/nact/base-application.h (base_application_message_dlg,
1711 base_application_error_dlg, base_application_yesno_dlg):
1712 Functions are moved to BaseWindow class.
1714 * src/nact/base-window.c:
1715 * src/nact/base-window.h
1716 (base_window_display_yesno_dlg, base_window_display_message_dlg):
1719 * src/nact/base-application.c:
1720 * src/nact/base-application.h
1721 (base_application_get_ui_filename): Removed function.
1722 (get_ui_filename): Removed virtual method.
1724 * src/nact/nact-application.c
1725 (appli_get_gtkbuilder_filename):Removed function.
1727 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1729 * src/nact/nact-main-window.c (nact_main_window_new):
1730 Initialize the main window with XML UI properties.
1732 * src/nact/base-window.c:
1733 * src/nact/base-window.h: Rename initialization properties.
1735 * src/nact/nact-add-capability-dialog.c:
1736 * src/nact/nact-add-scheme-dialog.c:
1737 * src/nact/nact-assistant-export.c:
1738 * src/nact/nact-assistant-import.c:
1739 * src/nact/nact-confirm-logout.c:
1740 * src/nact/nact-export-ask.c:
1741 * src/nact/nact-icon-chooser.c:
1742 * src/nact/nact-main-window.c:
1743 * src/nact/nact-preferences-editor.c: Updated accordingly.
1745 * src/nact/base-application.c:
1746 * src/nact/base-application.h:
1747 Define new 'base-application-description' property.
1748 Remove unused properties.
1750 * src/nact/nact-application.c (nact_application_new):
1751 Make use of the new property at instanciation time.
1753 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1755 * src/nact/base-window.c:
1756 * src/nact/base-window.h (base_window_display_error_dlg): New function.
1758 * src/nact/base-application.c:
1759 * src/nact/base-application.h (base_application_get_icon_name):
1762 * src/nact/base-application.c:
1763 * src/nact/base-application.h
1764 (initialize_i18n, initialize_application_name, get_application_name,
1765 initialize_default_icon, get_icon_name, initialize_gtk,
1766 initialize_session_manager, get_unique_app_name, initialize_ui,
1767 initialize_unique_app, initialize, run, get_main_window,
1768 initialize_application): Remove virtual methods.
1770 * src/nact/nact-application.c (appli_get_application_name,
1771 appli_get_icon_name, appli_get_unique_app_name,
1772 appli_initialize_application): Removed functions.
1774 * src/nact/nact-application.c (nact_application_new_with_args):
1775 Make NactApplication initializes with these new properties.
1777 * src/nact/base-application.c:
1778 * src/nact/base-application.h: Define new properties.
1780 * src/nact/base-application-class.h: Removed file.
1782 * src/nact/Makefile.am:
1783 * src/nact/base-application.h:
1784 * src/nact/base-window-class.h:
1785 * src/nact/base-window.h: Updated accordingly.
1787 * src/nact/base-application-class.h (main_window_new):
1788 * src/nact/base-application.c (application_do_run):
1789 * src/nact/nact-application.c
1790 * src/nact/nact-main-window.h (appli_main_window_new):
1791 Move the creation of the main window to the main_window_new() method.
1792 Remove base_application_get_main_window() function.
1794 * src/nact/base-application-class.h (manage_options):
1795 * src/nact/base-application.c:
1796 * src/nact/nact-application.c: Return exit code of the program.
1798 * src/nact/nact-tree-model-dnd.c
1799 (drop_inside, is_drop_possible, drop_uri_list):
1800 * src/nact/base-window.c (is_main):
1801 Remove base_application_get_main_window() invocations.
1803 * src/nact/nact-main.c: Renamed as main.c
1805 * src/nact/Makefile.am: Updated accordingly.
1807 * tools/Makefile.am: Generate the check-header.c source if it is missing.
1809 * src/plugin-tracker/na-tracker-dbus.c:
1810 * src/plugin-tracker/na-tracker-dbus.h:
1811 * src/plugin-tracker/na-tracker.c:
1812 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1814 * src/plugin-menu/nautilus-actions.c:
1815 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1817 * src/nact/base-application.c:
1818 * src/nact/base-application-class.h:
1819 * src/nact/base-assistant.c:
1820 * src/nact/base-assistant.h:
1821 * src/nact/base-builder.c:
1822 * src/nact/base-builder.h:
1823 * src/nact/base-dialog.c:
1824 * src/nact/base-dialog.h:
1825 * src/nact/base-iprefs.c:
1826 * src/nact/base-iprefs.h:
1827 * src/nact/base-window.c:
1828 * src/nact/base-window-class.h:
1829 * src/nact/egg-tree-multi-dnd.h:
1830 * src/nact/nact-add-capability-dialog.c:
1831 * src/nact/nact-add-capability-dialog.h:
1832 * src/nact/nact-add-scheme-dialog.c:
1833 * src/nact/nact-add-scheme-dialog.h:
1834 * src/nact/nact-application.c:
1835 * src/nact/nact-application.h:
1836 * src/nact/nact-assistant-export.c:
1837 * src/nact/nact-assistant-export.h:
1838 * src/nact/nact-assistant-import.c:
1839 * src/nact/nact-assistant-import.h:
1840 * src/nact/nact-clipboard.c:
1841 * src/nact/nact-clipboard.h:
1842 * src/nact/nact-confirm-logout.c:
1843 * src/nact/nact-confirm-logout.h:
1844 * src/nact/nact-export-ask.c:
1845 * src/nact/nact-export-ask.h:
1846 * src/nact/nact-iactions-list.c:
1847 * src/nact/nact-iactions-list.h:
1848 * src/nact/nact-iaction-tab.c:
1849 * src/nact/nact-iaction-tab.h:
1850 * src/nact/nact-ibasenames-tab.c:
1851 * src/nact/nact-ibasenames-tab.h:
1852 * src/nact/nact-icapabilities-tab.c:
1853 * src/nact/nact-icapabilities-tab.h:
1854 * src/nact/nact-icommand-tab.c:
1855 * src/nact/nact-icommand-tab.h:
1856 * src/nact/nact-icon-chooser.h:
1857 * src/nact/nact-ienvironment-tab.c:
1858 * src/nact/nact-ienvironment-tab.h:
1859 * src/nact/nact-iexecution-tab.c:
1860 * src/nact/nact-iexecution-tab.h:
1861 * src/nact/nact-ifolders-tab.c:
1862 * src/nact/nact-ifolders-tab.h:
1863 * src/nact/nact-imimetypes-tab.c:
1864 * src/nact/nact-imimetypes-tab.h:
1865 * src/nact/nact-iproperties-tab.c:
1866 * src/nact/nact-iproperties-tab.h:
1867 * src/nact/nact-ischemes-tab.c:
1868 * src/nact/nact-ischemes-tab.h:
1869 * src/nact/nact-main-window.c:
1870 * src/nact/nact-main-window.h:
1871 * src/nact/nact-preferences-editor.c:
1872 * src/nact/nact-preferences-editor.h:
1873 * src/nact/nact-tree-model.c:
1874 * src/nact/nact-tree-model.h:
1875 * src/nact/nact-tree-model-priv.h:
1876 * src/nact/nact-window.c:
1877 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1879 * src/io-xml/naxml-provider.c:
1880 * src/io-xml/naxml-provider.h:
1881 * src/io-xml/naxml-reader.c:
1882 * src/io-xml/naxml-reader.h:
1883 * src/io-xml/naxml-writer.c:
1884 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1886 * src/io-gconf/nagp-gconf-provider.c:
1887 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1889 * src/io-desktop/nadp-desktop-file.c:
1890 * src/io-desktop/nadp-desktop-file.h:
1891 * src/io-desktop/nadp-desktop-provider.c:
1892 * src/io-desktop/nadp-desktop-provider.h:
1893 * src/io-desktop/nadp-monitor.c:
1894 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1896 * src/core/na-export-format.h:
1897 * src/core/na-iabout.h:
1898 * src/core/na-importer-ask.h:
1899 * src/core/na-io-provider.h:
1900 * src/core/na-ipivot-consumer.h:
1901 * src/core/na-module.h:
1902 * src/core/na-pivot.h:
1903 * src/core/na-selected-info.h:
1904 * src/core/na-settings.h:
1905 * src/core/na-tokens.h:
1906 * src/core/na-updater.h: Cosmetic changes in src/core headers.
1908 * src/api/na-data-boxed.h:
1909 * src/api/na-data-types.h:
1910 * src/api/na-gconf-monitor.h:
1911 * src/api/na-gconf-utils.h:
1912 * src/api/na-icontext.h:
1913 * src/api/na-iduplicable.h:
1914 * src/api/na-iexporter.h:
1915 * src/api/na-ifactory-object.h:
1916 * src/api/na-ifactory-provider.h:
1917 * src/api/na-iio-provider.h:
1918 * src/api/na-object-action.h:
1919 * src/api/na-object.h:
1920 * src/api/na-object-id.h:
1921 * src/api/na-object-item.h:
1922 * src/api/na-object-menu.h:
1923 * src/api/na-object-profile.h:
1924 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1926 * src/utils/na-gconf2key.sh.in:
1927 * tools/check-headers.sh:
1928 * tools/check-po.sh:
1929 * tools/init-finalize-diff.sh:
1930 * tools/release-tarball.sh: Replace basename with a shell substitution.
1932 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1934 * tools/release-tarball.sh: Full script rewrite.
1937 * Makefile.am: Add README-GCONF to the distribution.
1939 * tools/check-po.sh: Script rewriting.
1941 * NEWS: Update before 3.0.7 release.
1943 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1945 * src/core/na-export-format.c (na_export_format_get_description):
1946 * src/core/na-importer-ask.c (na_importer_ask_user):
1947 * src/core/na-importer.c (import_from_uri):
1948 * src/core/na-io-provider.c (na_io_provider_get_name):
1949 * src/core/na-iprefs.c:
1950 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1951 na_iprefs_get_order_mode, na_iprefs_get_export_format):
1952 * src/core/na-settings.c:
1953 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1954 * nact/nact-assistant-import.c (runtime_init_duplicates):
1955 * src/nact/nact-clipboard.c (export_row_object):
1956 * src/nact/nact-export-ask.c:
1957 * nact/nact-export-format.c:
1958 * src/nact/nact-export-format.h(nact_export_format_init_display):
1959 * src/nact/nact-gtk-utils.c:
1960 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1961 nact_gtk_utils_radio_reset_initial_state,
1962 nact_gtk_utils_toggle_set_initial_state,
1963 nact_gtk_utils_toggle_reset_initial_state):
1964 * src/nact/nact-ienvironment-tab.c
1965 (on_tab_updatable_selection_changed):
1966 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1967 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1968 * src/nact/nact-preferences-editor.c:
1969 * src/nact/nact-preferences.ui:
1970 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1971 * src/nact/nact-tree-model.c (tree_model_new):
1972 Manage locked and mandatory preferences.
1974 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1975 Do not eat last character.
1978 * src/core/na-settings.h:
1979 * src/utils/na-gconf2key.sh.in:
1980 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1982 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1984 * src/nact/nact-preferences-editor.c:
1985 Reopen the Preferences on the last used tab.
1987 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1988 Fix handling of last separator.
1990 * src/nact/nact-schemes-list.c: Do not allow modification
1991 of default schemes list if preferences are locked or property
1994 * src/core/na-io-provider.c:
1995 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1996 na_io_provider_is_conf_writable):
1997 Returns mandatory flag.
1998 List I/O providers in write order.
2000 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
2002 * src/nact/nact-providers-list.c: Do not allow modification of I/O
2003 providers readability/writability/write order properties if
2004 preferences are locked or properties mandatory.
2006 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
2008 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
2010 * run-distcheck.sh: New file.
2012 Add a script to check completeness of header files.
2015 * tools/Makefile.am:
2016 * tools/check-headers.sh: New files.
2018 * src/test/test-include.c:
2019 Renamed as tools/check-header.c and set it as ignored by git.
2021 * src/test/.gitignore:
2022 * src/test/Makefile.am: Updated accordingly.
2025 * configure.ac: configure in tools/.
2027 * src/api/na-data-boxed.h:
2028 * src/api/na-data-types.h:
2029 * src/api/na-gconf-monitor.h:
2030 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
2032 * run-distcheck.sh: New file.
2034 * tools/check-po.sh: Rewrite to have options and messages management.
2036 * src/utils/na-gconf2key.sh.in: Review comment.
2038 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
2040 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
2042 * tools/check-po.sh: Set the count of errors as exit code.
2044 * po/POTFILES.in: Updated.
2046 * src/api/na-gconf-utils.h:
2047 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
2049 * src/api/na-gconf-monitor.h:
2050 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
2052 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
2054 * src/utils/na-print-schemas.c: Add a deprecation comment.
2056 * src/core/na-io-provider.c:
2057 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
2060 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
2062 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
2064 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
2066 * src/test/test-module.c:
2067 * src/test/test-module-plugin.c: New files.
2069 * src/test/.gitignore:
2070 * src/test/Makefile.am: Updated accordingly.
2072 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
2074 * src/nact/base-iprefs.c
2075 (base_iprefs_position_named_window): Do not force a null window size or position.
2077 * src/core/na-settings.c
2078 (na_settings_get_string_list): Do not allocate an empty string list.
2080 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
2082 * src/core/na-object-id.c:
2083 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
2085 * src/core/na-data-boxed.c:
2086 * src/core/na-gconf-monitor.c:
2087 * src/core/na-io-provider.c:
2088 * src/core/na-tokens.c:
2089 * src/core/na-updater.c:
2090 * src/io-desktop/nadp-desktop-file.c:
2091 * src/io-desktop/nadp-desktop-provider.c:
2092 * src/io-desktop/nadp-monitor.c:
2093 * src/io-gconf/nagp-gconf-provider.c:
2094 * src/io-xml/naxml-provider.c:
2095 * src/nact/base-application.c:
2096 * src/nact/base-builder.c:
2097 * src/nact/base-window.c:
2098 * src/nact/nact-application.c:
2099 * src/nact/nact-clipboard.c:
2100 * src/nact/nact-main-window.c:
2101 * src/nact/nact-tree-model.c:
2102 * src/nact/nact-window.c: Add instance_finalize debug message.
2104 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
2106 * src/core/na-boxed.c
2107 (na_boxed_free): Only free a non null structure.
2108 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
2109 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
2110 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
2111 Do not try to return a value for a null structure.
2113 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
2115 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
2117 * src/utils/na-delete-xmltree.c:
2118 * src/utils/nautilus-actions-print.c: Add localization code.
2120 * src/utils/nautilus-actions-new.c:
2121 * src/utils/nautilus-actions-run.c:
2122 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
2124 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
2125 na_boxed_new_from_string_with_sep, na_boxed_free):
2126 Add debug messages when allocating/freeing a NABoxed structure.
2128 * src/nact/nact-icommand-tab.c (on_wdir_browse):
2129 Remove no more used default value.
2131 * src/nact/nact-icon-chooser.c
2132 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
2134 * src/core/na-settings.h: Preference renamed accordingly.
2137 * src/core/na-settings.h:
2138 * src/utils/na-gconf2key.sh.in:
2139 '-last-folder-uri' preferences are renamed as '-lfu'.
2141 * src/core/na-settings.c: Set default values.
2143 * src/nact/nact-gtk-utils.c:
2144 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
2145 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
2146 Remove no more used default value.
2148 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
2149 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
2150 on_show_if_running_browse): Updated accordingly.
2152 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
2153 Do not allocate the empty last element.
2155 * src/core/na-io-provider.c (load_items_get_merged_list):
2156 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
2157 Use the correct list pointer.
2159 * src/core/na-iprefs.c:
2160 * src/core/na-iprefs.h
2161 (na_iprefs_get_export_format, na_iprefs_set_export_format):
2162 Functions moved from src/nact/nact-iprefs.c.
2164 * src/nact/nact-iprefs.c:
2165 * src/nact/nact-iprefs.h: Removed files.
2167 * src/nact/Makefile.am:
2168 * src/nact/base-window.c:
2169 * src/nact/nact-assistant-export.c:
2170 * src/nact/nact-assistant-import.c:
2171 * src/nact/nact-clipboard.c:
2172 * src/nact/nact-export-ask.c:
2173 * src/nact/nact-export-format.c:
2174 * src/nact/nact-gtk-utils.c:
2175 * src/nact/nact-iaction-tab.c:
2176 * src/nact/nact-icommand-tab.c:
2177 * src/nact/nact-ifolders-tab.c:
2178 * src/nact/nact-main-toolbar.c:
2179 * src/nact/nact-preferences-editor.c:
2180 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
2182 * src/nact/nact-iprefs.c:
2183 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
2184 nact_iprefs_write_string): Remove deprecated functions.
2186 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
2187 Updated accordingly.
2189 * src/nact/base-iprefs.c:
2190 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
2191 Remove deprecated functions.
2193 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
2194 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2195 Updated accordingly.
2197 * src/nact/nact-iprefs.c:
2198 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2200 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2201 Updated accordingly.
2203 Global renaming of preferences.
2206 * src/api/na-iio-provider.h:
2207 * src/core/na-export-format.h:
2208 * src/core/na-exporter.h:
2209 * src/core/na-importer-ask.h:
2210 * src/core/na-importer.c:
2211 * src/core/na-io-provider.c:
2212 * src/core/na-io-provider.h:
2213 * src/core/na-iprefs.c:
2214 * src/core/na-iprefs.h:
2215 * src/core/na-module.c:
2216 * src/core/na-pivot.c:
2217 * src/core/na-pivot.h:
2218 * src/core/na-settings.c:
2219 * src/core/na-settings.h:
2220 * src/core/na-updater.c:
2221 * src/nact/nact-add-capability-dialog.c:
2222 * src/nact/nact-add-scheme-dialog.c:
2223 * src/nact/nact-assistant-export.c:
2224 * src/nact/nact-assistant-import.c:
2225 * src/nact/nact-clipboard.c:
2226 * src/nact/nact-export-ask.c:
2227 * src/nact/nact-gtk-utils.c:
2228 * src/nact/nact-iactions-list.c:
2229 * src/nact/nact-icommand-tab.c:
2230 * src/nact/nact-icon-chooser.c:
2231 * src/nact/nact-ienvironment-tab.c:
2232 * src/nact/nact-ifolders-tab.c:
2233 * src/nact/nact-iprefs.c:
2234 * src/nact/nact-iprefs.h:
2235 * src/nact/nact-main-menubar-edit.c:
2236 * src/nact/nact-main-menubar-file.c:
2237 * src/nact/nact-main-menubar.c:
2238 * src/nact/nact-main-toolbar.c:
2239 * src/nact/nact-main-window.c:
2240 * src/nact/nact-preferences-editor.c:
2241 * src/nact/nact-providers-list.c:
2242 * src/nact/nact-schemes-list.c:
2243 * src/nact/nact-sort-buttons.c:
2244 * src/nact/nact-tree-model-dnd.c:
2245 * src/nact/nact-tree-model.c:
2246 * src/nact/nact-window.c:
2247 * src/nact/nact-window.h:
2248 * src/plugin-menu/nautilus-actions.c:
2249 * src/utils/na-gconf2key.sh.in:
2250 * src/utils/nautilus-actions-new.c: Rename preferences.
2251 >>>>>>> Globally rename preferences
2253 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2255 * src/core/na-settings.c:
2256 * src/core/na-settings.h: Preference names are defined as '#define' values.
2259 * src/utils/na-gconf2key.sh.in: Adjust preferences.
2261 * src/core/na-iprefs.c:
2262 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2264 * src/api/na-iimporter.h:
2265 * src/core/na-importer-ask.c:
2266 * src/core/na-importer-ask.h:
2267 * src/core/na-importer.c: Updated accordingly.
2269 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2271 * src/nact/nact-iprefs.c:
2272 * src/nact/nact-iprefs.h: Get ride of GConf.
2275 * src/core/na-settings.c:
2276 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2278 * src/nact/nact-icommand-tab.c:
2279 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2282 * src/core/na-settings.c:
2283 * src/utils/na-gconf2key.sh.in:
2284 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2286 * src/nact/nact-ifolders-tab.c: Updated accordingly.
2289 * src/core/na-settings.c:
2290 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2292 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2293 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2294 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2295 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2296 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2297 * src/nact/nact-main-window.c
2298 (instance_dispose, base_get_iprefs_window_id):
2299 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2300 Update all preference names when saving/restoring window size and position.
2302 * src/core/na-settings.c:
2303 * src/core/na-settings.h: All getters/setters are implemented.
2305 * src/nact/base-iprefs.c: Remove GConf stuff.
2307 * src/nact/nact-icon-chooser.c:
2308 * src/nact/nact-icon-chooser.ui: Implement all preferences.
2310 * src/utils/na-gconf2key.sh.in:
2311 Renamed preferences for windows size and position '-wsp'.
2312 Also delete from GConf if only preferences have been migrated.
2313 Re-sync after tree delete.
2315 * src/api/na-boxed.h:
2316 * src/core/na-boxed.c
2317 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2320 * configure.ac: Enable silent rules by default.
2322 * run-autogen.sh: Add sysconfdir argument to autogen.sh
2324 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2325 Search a pixbuf by icon theme if not found as filename or stock.
2327 * src/nact/base-window.c:
2328 * src/nact/base-window.h (base_window_peek_widget): New function.
2330 * src/nact/nact-icon-chooser.c:
2331 * src/nact/nact-icon-chooser.h:
2332 * src/nact/nact-icon-chooser.ui: New files.
2334 * src/nact/Makefile.am:
2335 * src/nact/nact-iaction-tab.c:
2336 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2338 * src/core/na-settings.c (content_load_keys):
2339 Do not warn if configuration file does not exist.
2341 * src/api/na-boxed.h:
2342 * src/api/na-data-boxed.h:
2343 * src/api/na-data-types.h:
2344 * src/core/na-boxed.c:
2345 * src/core/na-data-boxed.c:
2346 * src/core/na-data-types.c:
2347 Update reference documentation to deprecate NADataBoxed and NADataType
2348 in favor of NABoxed.
2350 * src/core/na-settings.c:
2351 * src/core/na-settings.h: Configuration monitoring.
2353 * src/plugin-menu/nautilus-actions.c:
2354 Monitor all runtime preferences with only one callback.
2356 * src/api/na-boxed.h:
2357 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2359 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2361 * src/api/na-data-types.h:
2362 * src/core/na-data-types.c
2363 (na_data_types_copy, na_data_types_free): Removed functions.
2366 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2368 * src/api/na-boxed.h:
2369 * src/core/na-boxed.c: New files.
2371 * src/api/Makefile.am:
2372 * src/core/Makefile.am: Updated accordingly.
2374 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2376 * src/api/na-data-types.h:
2377 * src/core/na-data-types.c
2378 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2381 * src/core/na-settings.c
2382 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2384 * src/core/na-settings.h
2385 (na_settings_get_boolean_ex, na_settings_get_string_list):
2388 * src/plugin-menu/nautilus-actions.c:
2389 Implement runtime preferences monitoring.
2390 No more use deprecated na_pivot_set_automatic_reload().
2392 * src/core/na-pivot.c:
2393 * src/core/na-pivot.h:
2394 Replace GConf preferences monitoring with NASettings.
2395 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2397 * src/core/na-settings.c:
2398 * src/core/na-settings.h
2399 (na_settings_register_key_callback,
2400 na_settings_register_global_callback, na_settings_get_boolean):
2403 * src/api/na-iio-provider.h:
2404 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2405 definition is moved (and renamed) from public API to internal one.
2407 * src/core/na-iio-provider.c (interface_base_init):
2408 * src/core/na-io-provider.c (io_provider_set_provider):
2409 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2411 * src/core/na-iio-provider.c
2412 * src/core/na-settings.c (na_settings_new):
2413 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2415 * src/core/na-pivot.c:
2416 * src/core/na-pivot.h (na_pivot_register):
2417 * src/core/na-settings.c:
2418 * src/core/na-settings.h (na_settings_register):
2419 * src/plugin-menu/nautilus-actions.c (instance_constructed):
2422 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2424 * src/nact/base-application.c (display_dlg): Setup parent window.
2426 * src/api/na-iimporter.h:
2427 * src/core/na-io-provider.c:
2428 * src/core/na-object-id.c:
2429 * src/core/na-object-item.c:
2430 * src/io-desktop/nadp-utils.c:
2431 * src/nact/nact-assistant-import.c:
2432 * src/nact/nact-iactions-list-bis.c:
2433 * src/nact/nact-iactions-list.h:
2434 * src/nact/nact-main-window.c:
2435 * src/nact/nact-preferences.ui:
2436 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2438 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2440 * src/core/na-object-profile-factory.c:
2441 Remove %o/%O parameters from description of version 2.0.
2442 Add a missing line feed.
2444 * tools/check-po.sh: Adapt to glade files.
2446 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2448 * src/utils/nautilus-actions-new.c (init_options):
2449 * src/utils/nautilus-actions-run.c (init_options):
2450 * src/utils/nautilus-actions-schemas.c (init_options):
2451 Initialize translation domain for GOptionContext.
2453 * src/core/na-data-boxed.c
2454 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2455 * src/core/na-export-format.c
2456 (na_export_format_get_label, na_export_format_get_description):
2457 * src/core/na-iabout.c (na_iabout_display):
2458 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2459 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2460 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2461 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2462 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2463 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2464 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2465 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2466 * src/nact/nact-tree-model-dnd.c
2467 (is_drop_possible, is_drop_possible_before_iter,
2468 is_drop_possible_into_dest, is_parent_accept_new_childs):
2469 Use gettext() to display localized static strings.
2471 * src/api/na-data-def.h: Complete the description of the fields.
2473 * src/core/na-io-provider.c:
2474 * src/core/na-object-profile-factory.c:
2475 * src/nact/nact-assistant-export.ui:
2476 * src/nact/nautilus-actions-config-tool.ui:
2477 Fix various mistakes and mispellings reported by Fr translation team.
2479 * configure.ac: Post-release bump version number.
2481 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2483 * src/core/na-pivot.c (na_pivot_register): New function.
2485 * src/plugin-menu/nautilus-actions.c:
2486 Replace NAIPivotConsumer interface with na_settings() accessors.
2488 * src/core/na-settings.c:
2489 * src/core/na-settings.h: New files.
2491 * src/utils/na-gconf2key.sh.in:
2492 Make sure that GConf is at the end of the list of I/O providers.
2493 Make sure that GConf is locked.
2494 Migrate all I/O provider preferences.
2497 * src/utils/Makefile.am:
2498 * src/utils/na-gconf2key.sh.in:
2499 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2500 and is installed in PKGLIBEXECDIR.
2502 * src/core/Makefile.am:
2503 * src/core/na-gconf-migration.c: Updated accordingly.
2505 * src/utils/Makefile.am:
2506 nautilus-actions-delete is renamed as na-delete-xmltree,
2507 and is installed in PKGLIBEXECDIR.
2509 * src/core/na-core-utils.c (na_core_utils_print_version):
2510 Print the compilation version of GLib2 and Gtk+ when in debug mode.
2512 * src/utils/Makefile.am:
2513 nautilus-actions-schemas is renamed as na-print-schemas,
2514 and is installed in PKGLIBEXECDIR.
2516 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2518 * src/nact/nact-main-window.c (iabout_get_toplevel):
2519 Let the About dialog get the toplevel window.
2521 * src/nact/nact-preferences.ui:
2522 * src/nact/nautilus-actions-config-tool.ui:
2523 Apply patch provided by Christian Kirbach. Fix #638548.
2525 Use the same script to migrate items and preferences.
2527 * README-GCONF: Document migrated and renamed preferences.
2529 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2530 Rewrite migrated preferences as keyed files.
2531 At last, remove the whole Nautilus-Actions tree from GConf.
2533 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2535 * src/utils/console-utils.c (console_cmdline_get_description):
2536 Returns the full address of the page to enter a new bug in Bugzilla.
2538 * src/core/na-gconf-migration.c:
2539 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2541 * src/core/Makefile.am: Updated accordingly.
2543 * src/nact/nact-main.c (main):
2544 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2545 * src/utils/nautilus-actions-new.c (main):
2546 * src/utils/nautilus-actions-run.c (main):
2547 Automatically run the migration tool at startup.
2549 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2550 * src/utils/nautilus-actions-delete.c:
2551 * src/utils/nautilus-actions-print.c:
2552 New items migration script and programs.
2553 They take care of migrating users and mandatory items to .desktop files.
2556 * src/utils/Makefile.am:
2557 * src/utils/.gitignore: Updated accordingly.
2559 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2561 * src/core/na-tokens.c (na_tokens_new_from_selection):
2562 No more prepare the list string of selection.
2563 Directly build the selection list in the correct order.
2564 (execute_action_command): Setup the working directory.
2566 * src/core/na-tokens.c:
2567 * src/core/na-tokens.h (na_tokens_parse_parameters):
2568 Renamed as na_tokens_parse_for_display() as filenames are not quoted
2569 when displayed as part of an expanded label.
2571 * src/nact/nact-icommand-tab.c (parse_parameters):
2572 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2573 Updated accordingly.
2575 * configure.ac: Fix "API Reference generation" message.
2577 * m4/na-enable-manuals.m4:
2578 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2580 * src/core/na-selected-info.c (new_from_uri):
2581 - Add an excerpt from RFC 2396 about valid characters in URIs.
2582 - Prefer the filename from g_filename_from_uri() when possible.
2584 * src/core/na-tokens.c
2585 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2586 (build_string_lists_item): Removed function.
2588 * src/core/na-iabout.c (na_iabout_display):
2589 Fix typo in comment, adding a note to the translators.
2591 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2593 * src/core/na-io-provider.c:
2594 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2597 * configure.ac: Define a conditional if we have both GSettings and GConf.
2599 * src/core/na-gsettings-migrate.c:
2600 * src/core/na-gsettings-migrate.h: New files.
2602 * src/core/Makefile.am: Updated accordingly.
2604 * src/core/na-pivot.c (instance_constructed):
2605 Call na_gsettings_migrate() if we have both GSettings and GConf.
2608 - Define HAVE_GSETTINGS variable.
2609 - Define HAVE_GCONF variable.
2611 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2613 * src/nact/egg-desktop-file.c:
2614 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2616 * src/nact/base-keysyms.h:
2617 * src/nact/egg-sm-client-private.h:
2618 * src/nact/egg-sm-client-xsmp.c:
2619 * src/nact/nact-add-capability-dialog.c:
2620 * src/nact/nact-add-scheme-dialog.c:
2621 * src/nact/nact-main-tab.c:
2622 * src/nact/nact-clipboard.c:
2623 * src/nact/nact-tree-model-dnd.c:
2624 * src/nact/nact-gtk-utils.c:
2625 * src/nact/nact-iaction-tab.c:
2626 * src/nact/nact-main-statusbar.c:
2627 * src/nact/nact-main-menubar.c:
2628 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2631 * m4/na-check-for-gtk.m4:
2632 Move back gtk_required variable to improve readibility of configure.ac.
2634 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2636 * configure.ac: Post release version bump.
2638 * NEWS: Update NEWS before release.
2640 * src/plugin-menu/nautilus-actions.c (create_root_menu):
2641 Update the root menu label to better reflect the product name.
2643 * src/nact/nautilus-actions-config-tool.ui:
2644 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2646 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2647 Display again stock icons in NACT.
2648 Fix #638461 - Stock icons are no more displayed in NACT.
2650 * Almost all files modified:
2651 Update copyright message.
2652 Set Nautilus-Actions as being the actual official product name.
2654 * src/core/na-selected-info.c (new_from_nautilus_file_info):
2655 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2656 Fix #638450 - Nautilus crashes when opening Trash or Network.