1 2011-12-09 Pierre Wieser <pwieser@trychlos.org>
4 * TODO: Update before release.
6 * src/core/na-gconf-migration.c (na_gconf_migration_run):
9 * src/utils/na-gconf2key.sh.in: Fix unset variable.
11 * src/nact/nact-match-list.c (insert_new_row):
12 New rows now default to be 'matched'.
14 * src/core/na-updater.c (na_updater_delete_item):
15 Do not try to remove from the backend an item which has never been written.
17 * src/nact/nact-menubar-file.c:
18 Fix typo in translatable message.
19 (nact_menubar_file_save_items): Reinitialize messages pointer.
21 * src/nact/nact-tree-ieditable.c (add_to_deleted_rec):
22 Only count as deleted items which were read from the backend.
23 Compute level zero status.
25 * src/core/na-importer-ask.c (na_importer_ask_user):
26 * src/core/na-settings.h:
27 Change import default mode and export default format to 'Ask'.
29 * src/io-xml/naxml-writer.c
30 (write_data_schema_v2, write_data_dump):
31 String and uint lists have the GConf format (between square brackets).
33 * src/io-xml/naxml-reader.c (read_done_action_read_profiles):
34 Make sure we have at least one profile attached to the action.
36 * src/io-gconf/nagp-reader.c (read_done_action_read_profiles):
37 Make sure we have at least one profile attached to the action.
39 * src/io-desktop/nadp-desktop-file.c:
40 * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_has_profile):
43 * src/io-desktop/nadp-reader.c
44 (item_from_desktop_path):
45 Replace the warning with an error message to be returned to the caller.
46 (read_done_action_read_profiles):
47 Attach at least a default profile to the action.
48 (read_done_action_load_profile):
49 Define a default profile if not found in .desktop file.
51 * src/core/na-icontext-factory.c: Fix mimetypes and schemes default values.
53 * src/core/na-icontext.c (is_compatible_scheme): Fix scheme test.
55 2011-12-06 Pierre Wieser <pwieser@trychlos.org>
57 * src/utils/na-gconf2key.sh.in:
58 Fix permissions when creating the configuration directory.
60 * src/core/na-settings.c (settings_new):
61 * src/io-desktop/nadp-writer.c
62 (nadp_iio_provider_is_able_to_write, nadp_iio_provider_write_item):
63 Fix permissions when creating the configuration directory.
65 * src/api/na-core-utils.h:
66 * src/core/na-core-utils.c (na_core_utils_dir_list_perms): New function.
68 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
69 Fix and improve error messages during drop operations.
71 Fix a coredump when trying to import an empty file by DnD.
72 Extend the fix by checking the size and the type of the candidate.
74 * src/api/na-core-utils.h:
75 * src/core/na-core-utils.c (na_core_utils_file_is_loadable): New function.
77 * src/api/na-iimporter.h (IMPORTER_CODE_NOT_LOADABLE): New return code.
79 * src/core/na-importer.c (import_from_uri):
80 Do not try other modules one the first detects that a file is not loadable.
82 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
83 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
84 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
85 Check whether the file is loadable before trying to import it.
87 * src/nact/nact-main-tab.h:
88 * src/nact/nact-main-window.h: Fix comments.
90 * src/nact/nact-main-window.c: Fix typo.
92 * src/nact/nact-tree-model.c (nact_tree_model_new):
93 No more connect to base-window-initialize-gtk signal.
94 Initialize model without waiting for signal triggering.
96 * src/nact/nact-tree-view.c (instance_constructed):
97 No more connect to base-window-initialize-gtk signal.
99 2011-12-05 Pierre Wieser <pwieser@trychlos.org>
101 * src/core/na-importer-ask.c (import_ask_new):
102 * src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
103 * src/nact/nact-add-capability.ui:
104 * src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
105 * src/nact/nact-add-scheme.ui:
106 * src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
107 * src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
108 * src/nact/nact-icon-chooser.ui:
109 * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
110 Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.
112 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
113 Display an synthetic error message if cannot handle the file.
115 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
116 Display an synthetic error message if cannot handle the file.
118 * po/POTFILES.in: Updated accordingly.
120 * src/core/na-importer.c (import_from_uri): Only display error messages
121 of the interface which has eventually successfully imported the item.
123 * src/core/na-importer.c (import_from_uri):
124 Make sure of the population against which we check for existance.
126 * src/core/na-iimporter.h: Improve comment.
128 2011-12-04 Pierre Wieser <pwieser@trychlos.org>
130 * docs/nact/Makefile.am: Work-around against #664768.
132 When a bug is detected in dblatex, we re-run it in debug mode, so that
133 we may be able to get the .pdf from temp directory.
135 * docs/nact/Makefile.am: Fix User's Manual generation.
137 * docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.
139 * run-autogen.sh: Do not automatically make && make install after configure.
141 * run-distcheck.sh: Fix cleanup before making distcheck.
143 2011-12-03 Pierre Wieser <pwieser@trychlos.org>
145 * tools/check-headers.sh: Fix when builddir not equal to srcdir.
147 * run-distcheck.sh: Make sure that the document wil be rebuilt.
149 * m4/na-enable-manuals.m4:
150 Fix the test as possible values are 'gdt', 'db2html' and 'no.
152 * docs/reference/Makefile.am: Fix when builddir not equal to srcdir.
154 2011-12-02 Pierre Wieser <pwieser@trychlos.org>
156 Do not build the documentation at all if not asked for.
158 * m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.
160 * docs/nact/Makefile.am:
161 Make use of new ENABLE_MANUALS conditional.
162 Also test for conditionals when installing.
164 * run-autogen.sh: Yet improve the build script.
166 2011-12-01 Pierre Wieser <pwieser@trychlos.org>
168 * src/core/na-importer-ask.c (na_importer_ask_user):
169 Save window size and position when quitting, restoring it on next init.
171 2011-11-30 Pierre Wieser <pwieser@trychlos.org>
173 * src/core/na-gtk-utils.c:
174 * src/core/na-gtk-utils.h
175 (na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
178 * src/nact/base-gtk-utils.c
179 (base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
182 * src/nact/base-gtk-utils.h: Fix a comment.
184 * src/core/na-importer-ask.c:
185 * src/core/na-importer-ask.h: Now derives from GObject.
187 * src/core/na-importer-ask.c (import_ask_new):
188 All one-time initialization is made here, being able to return NULL if failed.
190 * src/core/na-importer-ask.c (on_destroy_toplevel):
191 NAImporterAsk is now attached to its parent, and destroyed with it.
193 * src/nact/nact-assistant-import.c (assistant_apply):
194 Make the assistant the parent of NAImporterAsk (instead of main window).
196 2011-11-29 Pierre Wieser <pwieser@trychlos.org>
198 * src/core/na-object-item-factory.c:
199 Do not let a read or imported item go until the UI with an empty label.
201 * src/io-xml/naxml-reader.c (schema_parse_schema_content):
202 Only search for identifier in <applyto> schema key.
204 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
206 * src/io-desktop/nadp-desktop-file.c (check_key_file):
207 - Do not even try to read zero byte length files.
208 - Check Type key before trying to import the file.
210 * src/core/na-importer-ask.c:
211 * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
212 response codes, and quit on Esc.
214 * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
217 * run-distcheck.sh: Review in order to be able to build several guests
218 from a common single source tree.
220 * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
221 Get ride of the superfluous 'name' entry field when selecting the folder.
223 * src/nact/nact-export-ask.c (nact_export_ask_user):
224 Actually do not export the item if the user cancels the operation.
226 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
227 Only display debug messages (try to minimize warnings on import).
229 * src/io-xml/naxml-reader.c
230 (publish_undealt_nodes): Removed useless (and buggy) function.
231 (manage_import_mode): Returns all messages to the caller.
233 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
234 Returns all messages to the caller.
236 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
238 * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
239 Limit the window size, maximizing with the screen size.
241 * nact/nact-tree-view.h:
242 * nact/nact-tree-view.c: Define parent property.
244 * nact/nact-tree-view.c (on_tree_view_realized):
245 Delay all signal connection until the widget be actually realized.
247 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
248 Delay the connection to the NactTreeView signal until we are sure the
251 * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
252 Delay the initialization of the NactTreeView until the Gtk toplevel has
253 been loaded from XML Glade file.
255 * src/nact/nact-assistant-export.c: Adapt to gtk3.
257 * src/nact/nact-export-format.c (nact_export_format_init_display):
258 Remove the useless intermediate GtkGrid.
260 * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
262 * src/core/na-gtk-utils.c (dump_children):
263 Also dump the address of the child widget.
264 Also dump children which do not have a name (dynamically allocated).
266 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
268 * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
269 before returning so that the list returns as unchanged to the caller.
271 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
272 Slightly optimize code.
274 * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
276 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
277 any error message if we do not identify at least a well-formed document
278 with a known root node.
280 * src/api/na-boxed.h:
281 * src/api/na-timeout.h:
282 * src/core/na-boxed.c:
283 * src/core/na-data-boxed.c:
284 * src/core/na-gconf-migration.c:
285 * src/core/na-gconf-monitor.c:
286 * src/core/na-gconf-utils.c:
287 * src/core/na-icontext.c:
288 * src/core/na-iduplicable.c:
289 * src/core/na-iprefs.c:
290 * src/core/na-object-item.c:
291 * src/core/na-object.c:
292 * src/core/na-settings.c:
293 * src/core/na-updater.c: Only reference minor version in 'Since:' and
294 'Deprecated' comments.
296 * run-autogen.sh: Change development installation directory to _install.
298 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
300 m4_ifdef is not a good way to test if these packages are available, as the
301 m4 files default ot be distributed.
303 * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
305 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
307 * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
309 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
312 No more try to rebuild manuals when making distcheck.
313 Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
316 Rename 'autogen_target' variable to 'target'.
317 Remove distcheck target as doc is enough to build manuals.
319 * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
321 * docs/reference/Makefile.am:
322 gtk-doc is no more a mandatory package.
323 Requires gtk-doc 1.15 to take advantage of new source option.
325 * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
327 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
329 * src/nact/nautilus-actions-config-tool.ui:
330 Remove empty children from GtkAssistant container.
332 * src/nact/nact-assistant-import.c:
333 Adapt to the new way Gtk+ 3.2 builds the assistant.
335 * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
337 * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
338 Increment the level of the first child of the hierarchy.
340 * run-autogen.sh: Be able to run from another directory.
342 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
344 * src/nact/base-window.c:
345 * src/nact/base-window.h (base_window_dump_children): New function.
347 * src/core/na-gtk-utils.c:
348 * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
350 * docs/nact/C/nact-conditions.xml:
351 * docs/nact/C/nact-edit.xml:
352 * docs/nact/C/nact-execution.xml:
353 * docs/nact/C/nact-profiles.xml:
354 * docs/nact/C/nact-sorting.xml:
355 * src/nact/nact-assistant-import.c:
356 Fix with advices of Christian Kirbach.
357 Fix #660399, reported by Christian Kirbach.
359 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
361 * src/nact/nact-export-format.c:
362 * src/nact/nact-main-toolbar.c:
363 Get ride of deprecated GtkHBox and GtkVBox.
365 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
367 * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
369 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
371 * docs/nact/C/nact-conditions.xml:
372 * docs/nact/C/nact-edit.xml:
373 * docs/nact/C/nact-execution.xml:
374 * docs/nact/C/nact-menus.xml:
375 * docs/nact/C/nact-profiles.xml:
376 Apply patch provided by Christian Kirbach.
377 Fix #661498 reported by Christian Kirbach.
379 * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
381 From #660399, reported by Gabor Karsay.
383 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
385 * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
386 * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
387 * src/nact/nact-assistant-import.c (prepare_confirm):
388 * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
389 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
390 * src/nact/nact-preferences-editor.c (desktop_setup):
391 * src/nact/nact-providers-list.c (on_selection_changed):
392 * src/test/test-virtuals-without-test.c (first_instance_dispose):
393 Remove set but unused variables.
395 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
397 * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
398 Fix #655237 - Toolbar icons are not created.
400 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
402 * configure.ac: Post-release version bump.
404 * NEWS: Update before releasing.
406 * TODO: Update before releasing.
408 * src/utils/na-gconf2key.sh.in: Update comment.
410 * docs/nact/C/nact-conditions.xml:
411 * docs/nact/C/nact-execution.xml:
412 * docs/nact/C/nact-where.xml:
413 Fix #652664 - [doc] couple of spelling and improvement suggestions;
414 patch provided by Christian Kirbach.
416 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
418 * src/core/na-boxed.c (string_to_array):
419 Accepts now both semi-comma-separated list of strings and
420 comma-separated between square brackets (Ã la GConf) from string lists.
422 * src/io-xml/naxml-reader.c (slist_to_string):
423 Formats string list as a semi-comma-separated list of strings for NABoxed.
425 * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
426 as it may sometimes be needed to re-migrate a newly inserted item.
428 * src/io-gconf/nagp-reader.c (get_boxed_from_path):
429 Only allocate a new box when a non-null value has been read.
431 * src/core/na-settings.c (read_key_value_from_key_file):
432 Also dump the value read from a key file.
434 * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
436 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
438 * src/api/na-object-api.h:
439 * docs/reference/nautilus-actions-sections.txt
440 (na_object_is_file, na_object_is_dir, na_object_is_multiple):
441 Macros are moved from the official API as deprecated.
443 * src/core/na-icontext-factory.c
444 (ISFILE, ISDIR): No more declare properties for deprecated data.
445 (SCHEMES): Declare 'file' as the default.
447 * src/core/na-factory-object.c:
448 * src/core/na-factory-object.h (na_factory_object_is_set): New function.
450 * src/core/na-object-action.c (ifactory_object_read_done):
451 Dump the rough read data.
452 First create a v2 profile before converting it to last version.
454 * src/core/na-object-menu.c (ifactory_object_read_done):
455 Dump the rough read data.
457 * src/core/na-object-profile.c
458 (ifactory_object_read_done): Dump the rough read data.
459 (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
461 * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
462 * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
463 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
464 Dump the whole read item, maybe after conversion.
466 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
468 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
469 Setup default values.
471 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
472 Add trace message before unreffing the imported object.
474 * src/nact/nact-assistant-import.c (assistant_apply):
475 Do not try to import an empty list.
477 * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
478 Check for non empty list.
480 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
482 * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
484 * nautilus-actions.doap: Update download page and mailing list infos.
486 * configure.ac: Post release version bump.
488 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
490 * docs/nact/figures: Update screenshots.
492 * docs/nact/C/nact-properties.xml: New file.
494 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
496 * src/core/na-selected-info.c: Extract filename for a GFile location.
498 * src/utils/na-gconf2keys.sh: Requires ksh.
500 * src/core/na-settings.c: Create the configuration directory if
503 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
505 * src/test/Makefile.am: Do not build test programs in release mode.
507 * docs/nact/C/nact-sorting.xml:
508 * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
510 * docs/nact/C/articleinfo.xml:
511 Convert to *nix-like file.
512 Update manual copyright.
514 * docs/nact/C/figures/nact-desktop-environment-frame.png:
515 * docs/nact/C/figures/nact-execution-environment-frame.png:
516 * docs/nact/C/figures/nact-preferences-export.png:
517 * docs/nact/C/figures/nact-preferences-import.png:
518 * docs/nact/C/figures/nact-preferences-io-providers.png:
519 * docs/nact/C/figures/nact-preferences-runtime.png:
520 * docs/nact/C/figures/nact-preferences-schemes.png:
521 * docs/nact/C/figures/nact-preferences-ui.png:
522 * docs/nact/C/figures/nact-schemes-tab.png:
523 * docs/nact/C/figures/nact-target-location.png:
524 * docs/nact/C/figures/nact-working-directory-frame.png:
525 * docs/nact/C/figures/nact-export-done.png:
526 * docs/nact/C/figures/nact-export-format.png:
527 * docs/nact/C/figures/nact-export-home.png:
528 * docs/nact/C/figures/nact-export-items.png:
529 * docs/nact/C/figures/nact-export-summary.png:
530 * docs/nact/C/figures/nact-export-target.png:
531 * docs/nact/C/figures/nact-import-done.png:
532 * docs/nact/C/figures/nact-import-files.png:
533 * docs/nact/C/figures/nact-import-home.png:
534 * docs/nact/C/figures/nact-import-mode.png:
535 * docs/nact/C/figures/nact-import-resultat.png:
536 * docs/nact/C/figures/nact-import-summary.png:
537 * docs/nact/C/figures/nact-preferences-desktop.png:
538 * docs/nact/C/figures/nact-preferences-execution.png:
539 Updated and new screenshots for version 3.1.
541 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
543 * configure.ac: Post-release version bump.
545 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
547 * NEWS: Pre-release update.
549 * src/core/na-tokens.c (execute_action_command):
550 Only use g_spawn_async_with_pipes when required by execution mode
551 (work-around for #644289).
552 Do not close child pid before the end of the child process.
554 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
556 * configure.ac: Post-release bump version.
558 * NEWS: Pre-release udate.
560 * src/core/na-settings.c:
561 * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
563 * src/plugin-menu/nautilus-module.c (set_log_handler):
564 Test if log are enabled before installing the log handler.
566 * src/plugin-menu/nautilus-actions.c:
567 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
568 Removed function. Fix #643359.
570 * configure.ac: Post-release bump version.
572 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
576 * README-GCONF: Update before releasing.
578 * src/api/na-core-utils.h:
579 * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
581 * src/core/na-settings.c:
582 * src/core/na-settings.h:
583 Rename "terminal-prefix" user preference as "terminal-pattern".
585 * src/core/na-tokens.c:
586 * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
587 Renamed as na_tokens_command_for_terminal().
589 * docs/reference/nautilus-actions-sections.txt:
590 * src/nact/nact-preferences-editor.c:
591 * src/nact/nact-preferences.ui: Updated accordingly.
593 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
594 Disable not implemented frames.
596 * src/nact/nautilus-actions-config-tool.ui:
597 Add a tooltip comment on not yet implemented fields.
599 * src/core/na-icontext.c (is_candidate_for_show_in):
600 First try desktop from user preferences.
602 NASettings is now a private singleton which allocates itself when needed.
603 Preference are so available anywhere without requiring an object.
605 * src/core/na-importer-ask.c (na_importer_ask_user):
606 * src/core/na-importer.c (import_from_uri):
607 * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
608 * src/core/na-iprefs.c:
609 * src/core/na-iprefs.h:
610 * src/core/na-pivot.c (instance_constructed, instance_dispose):
611 * src/core/na-pivot.h (na_pivot_get_settings):
612 * src/core/na-settings.c:
613 * src/core/na-settings.h:
614 * src/core/na-tokens.c:
615 * src/core/na-tokens.h(na_tokens_execute_action):
616 * src/core/na-updater.c (are_preferences_locked):
617 * src/nact/base-gtk-utils.c:
618 * src/nact/nact-assistant-export.c (nact_assistant_export_run):
619 * src/nact/nact-assistant-import.c (nact_assistant_import_run):
620 * src/nact/nact-clipboard.c (export_row_object):
621 * src/nact/nact-export-ask.c (nact_export_ask_user):
622 * src/nact/nact-icon-chooser.c:
623 * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
624 * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
625 * src/nact/nact-main-window.c (on_base_initialize_base_window):
626 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
627 * src/nact/nact-preferences-editor.c:
628 * src/nact/nact-providers-list.c (nact_providers_list_save):
629 * src/nact/nact-schemes-list.c (init_view_get_default_list):
630 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
631 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
632 * src/nact/nact-tree-model.c (nact_tree_model_new):
633 * src/plugin-menu/nautilus-actions.c:
634 * src/utils/nautilus-actions-run.c: Updated accordingly.
636 Current desktop environment can be a user preference
638 * src/core/na-desktop-environment.c:
639 * src/core/na-desktop-environment.h: New files.
642 * src/core/Makefile.am:
643 * src/core/na-icontext.c (is_candidate_for_show_in):
644 * nact/nact-ienvironment-tab.c
645 (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
647 * src/core/na-settings.c:
648 * src/core/na-settings.h:
649 Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
650 (set_key_value): Setting a NULL string actually removes the key.
652 * src/nact/nact-preferences-editor.c:
653 * src/nact/nact-preferences.ui: Let the user choose his desktop.
655 * src/core/na-iabout.c: Renamed as src/core/na-about.c.
656 * src/core/na-iabout.h: Renamed as src/core/na-about.h.
657 NAIAbout is no more an interface, but just a set of functions.
659 * src/core/Makefile.am:
660 * src/core/na-core-utils.c (na_core_utils_print_version):
661 * src/nact/nact-application.c (nact_application_new_with_args):
662 * src/nact/nact-main-window.c:
663 * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
664 * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
666 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
668 Improve ExecutionMode implementation by defining a new user preference
670 * src/core/na-settings.c:
671 * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
673 * src/core/na-tokens.c:
674 * src/core/na-tokens.h
675 (na_tokens_command_from_terminal_prefix): New function.
676 (na_tokens_execute_action): New NASettings parameter.
678 * src/nact/nact-preferences-editor.c:
679 * src/nact/nact-preferences.ui: Let the user edit the preference.
681 * src/utils/nautilus-actions-run.c:
682 * po/POTFILES.in: Updated accordingly.
684 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
686 * src/core/na-settings.c:
687 * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
689 * src/plugin-menu/nautilus-actions.c:
690 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
693 * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
694 syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
696 * configure.ac: Bump Nautilus required version to 2.16
697 for having nautilus_menu_provider_emit_items_updated_signal() function.
700 * src/plugin-menu/nautilus-actions.c:
701 Check for nautilus_menu_provider_get_toolbar_items() function.
703 * src/core/na-selected-info.c (instance_init, instance_finalize):
704 Improve debug messages.
706 * src/core/na-icontext.c:
707 * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
708 (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
710 Move Nautilus-Actions configuration files to nautilus-actions/ subdir
712 * src/core/na-settings.c (na_settings_new):
713 * src/utils/na-gconf2key.sh.in: Updated accordingly.
715 Implement execution mode property
717 * m4/na-check-for-gtk.m4: Check for Gio-unix.
719 * src/core/na-object-profile-factory.c: Improve translation comment.
721 * src/core/na-tokens.c (execute_action_command): Display output.
723 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
725 * src/api/na-object.h:
726 * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
727 Deprecated functions.
729 * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
731 Rewrite copy stack to get ride of iteration on class hierarchy
733 * src/api/na-object-api.h
734 (na_object_copy, na_object_get_hierarchy): Removed macros.
736 * src/api/na-icontext.h:
737 * src/core/na-icontext.c (na_icontext_copy): New function.
739 * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
740 * src/core/na-object-item.c (object_copy):
741 * src/core/na-object-action.c (object_copy):
742 * src/core/na-object-profile.c (object_copy):
743 * src/core/na-object-menu.c (object_copy): Updated accordingly.
745 Rewrite validity status check stack
747 * src/api/na-icontext.h:
748 * src/core/na-icontext.c (na_icontext_are_equal): New function.
750 * src/core/na-factory-object.c (na_factory_object_is_valid):
751 * src/core/na-object.c (iduplicable_is_valid):
752 * src/core/na-object-id.c (object_is_valid):
753 * src/core/na-object-id-factory.c:
754 * src/core/na-object-item.c (object_is_valid):
755 * src/core/na-object-action.c (object_is_valid):
756 * src/core/na-object-profile.c (object_is_valid):
757 * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
759 Rewrite modification status check stack
761 * src/api/na-object-item.h:
762 * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
764 * src/api/na-object.h:
765 * src/core/na-factory-object.c:
766 * src/core/na-iduplicable.c: Improve comment.
768 * src/core/na-object.c:
769 * src/core/na-object-id.c:
770 * src/core/na-object-menu.c:
771 * src/core/na-object-action.c:
772 * src/core/na-object-profile.c: Modification is checked from
773 NAObject-virtual method instead of NAIFactoryObject interface.
775 * src/api/na-iduplicable.h:
776 * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
778 * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
780 * src/api/na-icontext.h:
781 * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
782 Renamed as na_icontext_check_mimetypes().
784 * src/api/na-ifactory-object-data.h:
785 * src/api/na-object-api.h:
786 * src/core/na-icontext-factory.c:
787 * src/core/na-object-profile.c: Updated accordingly.
789 * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
791 * src/core/na-icontext.c (na_icontext_get_running_environment):
794 * src/core/na-boxed.c (string_list_from_string,
795 string_list_from_value, string_list_from_void): Check for duplicates.
797 * src/utils/nautilus-actions-new.c: Fix default mimetype.
799 * src/core/na-icontext.c (get_running_environment): New function.
801 * src/utils/na-print-schemas.c: Also display menu schemas.
803 * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
804 Data are deprecated and not writable.
806 * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
808 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
810 * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
811 NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
812 NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
814 * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
815 show-if-true, show-if-running and capability options.
817 * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
818 NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
819 * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
820 NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
821 * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
822 Fix options definition.
824 * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
826 * src/core/na-icontext-factory.c
827 (NAFO_DATA_SELECTION_COUNT): Fix option definition.
829 * src/utils/nautilus-actions-new.c: Add selection-count option.
831 * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
832 locale_is_default): Fix default value test.
834 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
836 * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
837 na_object_set_multiple): Deprecated functions.
839 * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
842 * src/utils/nautilus-actions-new.c: Updated accordingly.
844 * src/nact/nact-providers-list.c:
845 * src/nact/nact-schemes-list.c: Does not recompute if preferences are
846 locked, but use na_updater_are_preferences_locked() function.
848 * src/api/na-iio-provider.h:
849 Define new reason when the level zero is not writable.
851 * src/core/na-updater.c:
852 * src/core/na-updater.h (na_updater_is_item_writable):
853 Renamed as na_updater_check_item_writability_status.
855 * src/nact/nact-main-window.c (setup_writability_status):
856 * src/nact/nact-menubar-edit.c (get_deletables):
857 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
860 * src/nact/base-assistant.c (class_init):
861 Apply patch provided by Christian Kirback. Fix #640920.
863 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
865 * src/core/na-pivot.h:
866 * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
868 * src/nact/base-window.h:
869 * src/nact/base-window.c (class_init):
870 Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
872 * src/nact/nact-main-window.c:
873 Connect to the signal instead of implementing a virtual method.
875 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
877 * src/core/na-iduplicable.c (interface_base_init):
878 * src/core/na-settings.c (class_init):
879 * src/nact/base-window.c (class_init):
880 Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
882 * docs/reference/Makefile.am:
883 * src/nact/Makefile.am:
884 * run-distcheck.sh: Fix make distcheck.
886 * docs/reference/Makefile.am:
887 Do not documente NAGconfMonitor class when deprecated symbols are disabled.
889 * src/api/na-data-boxed.h:
890 * src/api/na-gconf-utils.h:
891 * src/core/na-data-boxed.c:
892 * src/core/na-iduplicable.c:
893 * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
896 * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
898 * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
900 * src/api/na-iduplicable.h:
901 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
904 * src/core/na-factory-object.c (na_factory_object_are_equal):
905 * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
906 Improve debug messages.
908 * src/core/na-icontext-factory.c:
909 * src/core/na-object-action-factory.c:
910 * src/core/na-object-id-factory.c: Set missing default values.
912 * src/core/na-object-action.c (ifactory_object_are_equal):
913 An action is modified as soon as at least one profile is modified.
915 * src/core/na-icontext-factory.c: Fix string list regression
917 * src/core/na-boxed.c: Fix regression when setting values.
919 * src/core/na-selected-info.c (query_file_attributes):
920 Keep selection info even when unable to query attributes.
923 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
925 Do not compile with GConf library when disabled
927 * src/api/na-gconf-monitor.h:
928 * src/api/na-gconf-utils.h:
929 * src/core/na-gconf-migration.c:
930 * src/core/na-gconf-monitor.c:
931 * src/core/na-gconf-utils.c:
932 * src/io-gconf/Makefile.am:
933 * src/io-xml/naxml-reader.c:
934 * src/utils/Makefile.am: Updated accordingly.
936 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
938 Add --enable-gconf configure argument
939 Define HAVE_GCONF conditional
941 * m4/na-check-for-gconf.m4: New file.
944 * data/gconf-schemas/Makefile.am: Updated accordingly.
946 Only GConf writing operations are marked deprecated
948 * src/api/na-gconf-monitor.h:
949 * src/api/na-gconf-utils.h:
950 * src/core/na-gconf-monitor.c:
951 * src/core/na-gconf-utils.c:
952 * src/io-gconf/nagp-writer.c:
953 * src/io-gconf/nagp-writer.h: Updated accordingly.
955 No more use deprecated functions
957 * src/core/na-factory-object.c:
958 * src/io-desktop/nadp-reader.c:
959 * src/io-desktop/nadp-writer.c:
960 * src/io-gconf/nagp-reader.c:
961 * src/io-gconf/nagp-writer.c:
962 * src/io-xml/naxml-reader.c:
963 * src/io-xml/naxml-writer.c: Updated accordingly.
965 NADataBoxed class now derives from NABoxed
967 * src/api/na-boxed.h:
968 * src/api/na-data-boxed.h:
969 * src/api/na-data-types.h:
970 * src/core/na-boxed.c:
971 * src/core/na-core-utils.c:
972 * src/core/na-data-boxed.c:
973 * src/core/na-data-types.c:
974 * src/core/na-factory-object.c:
975 * src/core/na-ifactory-object.c:
976 * src/core/na-settings.c:
977 * src/io-desktop/nadp-writer.c:
978 * src/io-gconf/nagp-writer.c:
979 * src/io-xml/naxml-writer.c: Updated accordingly.
981 * src/api/na-boxed.h:
982 * src/core/na-boxed.c: Convert to the NABoxed class.
984 * src/core/na-settings.c: Updated accordingly.
986 * src/api/na-data-boxed.h:
987 * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
989 Merge NABoxed and NADataBoxed data type definitions.
990 Data type are remaned as NA_DATA_TYPE.
992 * src/api/na-boxed.h:
993 * src/api/na-data-def.h:
994 * src/api/na-data-types.h:
995 * src/core/na-boxed.c:
996 * src/core/na-data-boxed.c:
997 * src/core/na-data-types.c:
998 * src/core/na-factory-object.c:
999 * src/core/na-icontext-factory.c:
1000 * src/core/na-ifactory-object.c:
1001 * src/core/na-object-action-factory.c:
1002 * src/core/na-object-id-factory.c:
1003 * src/core/na-object-item-factory.c:
1004 * src/core/na-object-profile-factory.c:
1005 * src/core/na-settings.c:
1006 * src/io-desktop/nadp-reader.c:
1007 * src/io-desktop/nadp-writer.c:
1008 * src/io-gconf/nagp-reader.c:
1009 * src/io-gconf/nagp-writer.c:
1010 * src/io-xml/naxml-reader.c:
1011 * src/io-xml/naxml-writer.c:
1012 * src/utils/na-print-schemas.c: Updated accordingly.
1014 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
1016 * src/api/na-iduplicable.h:
1017 * src/core/na-iduplicable.c:
1018 Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
1019 Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
1021 * src/api/na-object-api.h:
1022 * src/core/na-object.c:
1023 * src/core/na-object-item.c:
1024 * src/core/na-object-item.h:
1025 Deprecated na_object_check_status_up macro.
1026 Merge na_object_item_check_status() and na_object_item_check_status_up().
1028 * src/nact/nact-iaction-tab.c:
1029 * src/nact/nact-ibasenames-tab.c:
1030 * src/nact/nact-icapabilities-tab.c:
1031 * src/nact/nact-icommand-tab.c:
1032 * src/nact/nact-ienvironment-tab.c:
1033 * src/nact/nact-iexecution-tab.c:
1034 * src/nact/nact-ifolders-tab.c:
1035 * src/nact/nact-iproperties-tab.c:
1036 * src/nact/nact-ischemes-tab.c:
1037 * src/nact/nact-main-window.c:
1038 * src/nact/nact-main-window.h:
1039 * src/nact/nact-match-list.c: Properties are renamed.
1041 * src/nact/nact-main-tab.c:
1042 * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
1044 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
1046 In the process of replacing NactIActionsList interface with:
1047 - the NactTreeView class
1048 - plus the NactTreeIEditable interface.
1050 Almost all NACT files modified. Compilation is OK.
1052 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1054 * src/nact/nact-tree-model.c:
1055 * src/nact/nact-tree-model.h (nact_tree_model_get_items):
1056 * src/nact/nact-tree-view.c:
1057 * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
1059 Allow an items list to be referenced in a new list.
1061 * src/api/na-object-api.h (na_object_ref_items): New macro.
1063 * src/api/na-object-item.h:
1064 * src/core/na-object-item.c (na_object_item_ref_items): New function.
1066 * src/nact/nact-assistant-export.c
1067 (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
1069 Review NAObject reference management
1071 * src/api/na-object-api.h
1072 (na_object_unref_items, na_object_unref_items_rec): Removed macros.
1073 (na_object_free_items): New macro.
1075 * src/api/na-object-item.h:
1076 * src/core/na-object-item.c
1077 (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
1078 (na_object_item_free_items): New function.
1080 * src/core/na-io-provider.c (na_io_provider_load_items):
1081 * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
1082 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
1083 na_pivot_set_new_items):
1084 * src/nact/nact-assistant-import.c (assistant_apply):
1085 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
1086 * src/nact/nact-iactions-list.c (free_items_callback):
1087 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
1088 nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
1089 nact_main_menubar_edit_on_paste_into,
1090 nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
1091 * src/nact/nact-main-menubar-file.c
1092 (nact_main_menubar_file_on_new_menu,
1093 nact_main_menubar_file_on_new_action,
1094 nact_main_menubar_file_on_new_profile):
1095 * src/nact/nact-main-menubar-maintainer.c
1096 (nact_main_menubar_maintainer_on_dump_selection):
1097 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1098 * src/nact/nact-main-window.c (instance_dispose,
1099 nact_main_window_remove_deleted, reload):
1100 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1101 * src/nact/nact-tree-model.c (fill_tree_store):
1102 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1103 * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
1105 * src/nact/nact-main-menubar-maintainer.c
1106 (nact_main_menubar_maintainer_on_dump_selection):
1107 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1108 * src/nact/nact-main-window.c (instance_dispose,
1109 nact_main_window_remove_deleted, reload):
1110 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1111 * src/nact/nact-tree-model.c (fill_tree_store):
1112 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1113 * src/plugin-menu/nautilus-actions.c (get_menus_items):
1114 Updated accordingly.
1116 New NactTreeView convenience class
1118 * src/nact/nact-tree-view.c:
1119 * src/nact/nact-tree-view.h: New files.
1121 * src/nact/Makefile.am:
1122 * src/nact/nact-assistant-export.c:
1123 * src/nact/nact-iactions-list-priv.c:
1124 * src/nact/nact-iactions-list.h:
1125 * src/nact/nact-marshal.list:
1126 * src/nact/nact-tree-model.c: Updated accordingly.
1128 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1130 Refactoring of menubar files:
1131 - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
1132 - nact-main-menubar-*.h are removed.
1134 * src/nact/Makefile.am:
1135 * src/nact/nact-confirm-logout.c:
1136 * src/nact/nact-iactions-list.c: Updated accordingly.
1138 * src/nact/nact-main-window.c:
1139 * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
1140 which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
1142 Termination of the main window is managed in NactMainWindow.
1144 * src/nact/nact-main-window.c:
1145 * src/nact/nact-main-window.h (nact_main_window_quit): New function.
1147 * src/nact/nact-main-menubar-file.c: Updated accordingly.
1149 Move a NASettings getter to NAUpdater
1151 * src/core/na-updater.c:
1152 * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
1154 * src/nact/nact-main-menubar-edit.c:
1155 * src/nact/nact-main-menubar-edit.h
1156 (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
1158 * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
1160 * src/nact/base-application.c (class_init):
1161 * src/nact/base-assistant.c (class_init):
1162 * src/nact/base-window.c (class_init):
1163 * src/nact/nact-main-window.c (instance_constructed):
1164 Setup construction properties.
1166 * src/nact/nact-application.c:
1167 * src/nact/nact-application.h (nact_application_get_updater):
1168 Set NactApplication as a const argument.
1170 Deprecate NAIPivotConsumer interface
1172 * src/core/na-ipivot-consumer.c:
1173 * src/core/na-ipivot-consumer.h: Removed files.
1175 * src/core/Makefile.am:
1176 * src/core/na-pivot.c:
1177 * src/core/na-pivot.h:
1178 * src/nact/nact-application.c:
1179 * src/nact/nact-main-menubar-file.c:
1180 * src/nact/nact-main-window.c:
1181 * src/nact/nact-menubar.c: Updated accordingly.
1183 * src/core/na-pivot.c:
1184 * src/core/na-pivot.h
1185 (na_pivot_set_automatic_reload): Remove unused function.
1187 * src/test/test-reader.c: Updated accordingly.
1189 * src/nact/nact-main-window.c (instance_constructed):
1190 Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
1192 Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
1194 * src/nact/base-iprefs.c:
1195 * src/nact/base-iprefs.c: Removed files.
1197 * src/nact/Makefile.am:
1198 * src/nact/base-gtk-utils.c:
1199 * src/nact/base-gtk-utils.h:
1200 * src/nact/base-window.c:
1201 * src/nact/nact-assistant-export.c:
1202 * src/nact/nact-export-ask.c:
1203 * src/nact/nact-export-format.c:
1204 * src/nact/nact-iaction-tab.c:
1205 * src/nact/nact-ibasenames-tab.c:
1206 * src/nact/nact-icommand-tab.c:
1207 * src/nact/nact-icon-chooser.c:
1208 * src/nact/nact-ienvironment-tab.c:
1209 * src/nact/nact-iexecution-tab.c:
1210 * src/nact/nact-ifolders-tab.c:
1211 * src/nact/nact-iproperties-tab.c:
1212 * src/nact/nact-ischemes-tab.c:
1213 * src/nact/nact-main-statusbar.c:
1214 * src/nact/nact-main-window.c:
1215 * src/nact/nact-match-list.c:
1216 * src/nact/nact-preferences-editor.c:
1217 * src/nact/nact-providers-list.c:
1218 * src/nact/nact-schemes-list.c:
1219 * src/nact/nact-tree-model.c: Updated accordingly.
1221 Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1224 * src/core/na-settings.c:
1225 * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1227 * src/nact/base-iprefs.c:
1228 * src/nact/base-iprefs.h
1229 (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1231 (get_wsp_id): Remove interface method.
1233 * src/nact/base-window.c:
1234 * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1236 * src/nact/nact-add-capability-dialog.c:
1237 * src/nact/nact-add-scheme-dialog.c:
1238 * src/nact/nact-assistant-export.c:
1239 * src/nact/nact-assistant-import.c:
1240 * src/nact/nact-confirm-logout.c:
1241 * src/nact/nact-export-ask.c:
1242 * src/nact/nact-gtk-utils.c:
1243 * src/nact/nact-icommand-tab.c:
1244 * src/nact/nact-icon-chooser.c:
1245 * src/nact/nact-ifolders-tab.c:
1246 * src/nact/nact-main-window.c:
1247 * src/nact/nact-preferences-editor.c: Updated accordingly.
1249 * src/core/na-updater.c:
1250 * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1252 Homogeneize marshalling
1254 * src/core/na-marshal: Renamed as src/core/na-marshal.def
1255 * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1257 * src/core/Makefile.am:
1258 * src/nact/Makefile.am:
1259 * src/nact/nact-iactions-list.c (interface_base_init):
1260 * src/nact/nact-main-window.c (class_init): Updated accordingly.
1262 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1264 Review menu items sensitivity updates
1266 * src/api/na-object-api.h
1267 (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1269 * src/api/na-object-item.h:
1270 * src/core/na-object-item.c
1271 (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1274 * src/core/na-updater.c:
1275 * src/core/na-updater.h (na_updater_load_items): New function.
1277 * src/nact/nact-application.c (appli_main_window_new):
1278 * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1279 No more load items when instanciating the main window, but when
1282 * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1283 Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1285 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1286 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1287 * src/nact/nact-menubar-priv.h:
1288 * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1289 Rely on indicators pre-computed on selection changes.
1291 * src/nact/nact-window.c:
1292 * src/nact/nact-window.h (nact_window_has_writable_providers):
1295 * src/nact/nact-menubar-priv.h:
1296 * src/nact/nact-menubar.c: Updated accordingly.
1298 * src/core/na-iprefs.c:
1299 * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1300 Moved to NAUpdater class.
1302 * src/core/na-updater.c:
1303 * src/core/na-updater.h (na_updater_is_level_zero_writable):
1304 Moved from NAIPrefs.
1306 * src/nact/nact-menubar-priv.h:
1307 * src/nact/nact-menubar.c (on_base_initialize_window):
1308 * src/nact/nact-sort-buttons.c (enable_buttons):
1309 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1310 Updated accordingly.
1312 Review I/O providers writability status management.
1314 * src/api/na-iio-provider.h: Review writability reason.
1316 * src/core/na-io-provider.c:
1317 * src/core/na-io-provider.h
1318 (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1320 (na_io_provider_is_finally_writable): New function.
1322 * src/core/na-pivot.c:
1323 * src/core/na-pivot.h
1324 (na_pivot_is_configuration_locked_by_admin): Removed function.
1326 * src/core/na-updater.c
1327 * src/core/na-updater.h (na_updater_is_item_writable):
1328 * src/nact/nact-main-menubar-edit.c (get_deletables):
1329 * src/nact/nact-main-window.c: Updated accordingly.
1331 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1333 * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1334 Renamed as nact_menubar_enable_item() and moved to private resources.
1336 * src/nact/nact-main-menubar-edit.c:
1337 * src/nact/nact-main-menubar-file.c:
1338 * src/nact/nact-main-menubar-help.c:
1339 * src/nact/nact-main-menubar-tools.c:
1340 * src/nact/nact-main-menubar-view.c:
1341 * src/nact/nact-menubar-priv.h:
1342 * src/nact/nact-menubar.h: Updated accordingly.
1344 Move MenubarIndicatorsStruct structure to private instance data
1346 * src/nact/nact-menubar-priv.h: New file.
1348 * src/nact/Makefile.am:
1349 * src/nact/nact-main-menubar-edit.c:
1350 * src/nact/nact-main-menubar-edit.h:
1351 * src/nact/nact-main-menubar-file.c:
1352 * src/nact/nact-main-menubar-file.h:
1353 * src/nact/nact-main-menubar-help.c:
1354 * src/nact/nact-main-menubar-help.h:
1355 * src/nact/nact-main-menubar-maintainer.c:
1356 * src/nact/nact-main-menubar-maintainer.h:
1357 * src/nact/nact-main-menubar-tools.c:
1358 * src/nact/nact-main-menubar-tools.h:
1359 * src/nact/nact-main-menubar-view.c:
1360 * src/nact/nact-main-menubar-view.h:
1361 * src/nact/nact-menubar.c:
1362 * src/nact/nact-menubar.h: Updated accordingly.
1364 Define a new NactMenubar convenience class
1366 * src/nact/nact-main-menubar.c:
1367 * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1369 * src/nact/Makefile.am:
1370 * src/nact/nact-iactions-list.c:
1371 * src/nact/nact-main-menubar-edit.h:
1372 * src/nact/nact-main-menubar-file.h:
1373 * src/nact/nact-main-menubar-help.c:
1374 * src/nact/nact-main-menubar-help.h:
1375 * src/nact/nact-main-menubar-maintainer.c:
1376 * src/nact/nact-main-menubar-maintainer.h:
1377 * src/nact/nact-main-menubar-tools.c:
1378 * src/nact/nact-main-menubar-tools.h:
1379 * src/nact/nact-main-menubar-view.c:
1380 * src/nact/nact-main-menubar-view.h:
1381 * src/nact/nact-main-window.c: Updated accordingly.
1383 * src/api/na-boxed.h:
1384 * src/core/na-boxed.c (na_boxed_dump): New function.
1386 * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1388 * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1390 * src/core/na-marshal: New file.
1392 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1394 * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1396 * src/core/na-settings.c:
1397 * src/core/na-settings.h: No more try to summarize notifications here.
1399 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1400 Register NASettings callbacks on the runtime keys.
1402 * src/nact/nact-main-window.c:
1403 (NAIPivotConsumer->on_display_order_changed):
1404 Moved to on_settings_order_mode_changed() function.
1405 (NAIPivotConsumer->on_autosave_changed):
1406 Moved to nact_main_menubar_file_install_autosave() new function.
1408 * src/nact/nact-main-menubar-file.c:
1409 * src/nact/nact-main-menubar-file.h
1410 (nact_main_menubar_file_install_autosave): New function.
1412 * src/core/na-iprefs.c:
1413 * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1416 * src/core/na-icontext.c (is_candidate_for_basenames):
1417 Fix case insenstive comparison (bug reported by Johan Spee).
1419 Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1421 * src/nact/base-application.c:
1422 * src/nact/base-application.h: Add new exit codes.
1424 * src/nact/base-assistant.c:
1425 * src/nact/base-assistant.h:
1426 Remove 'warn-on-cancel' unused property.
1427 (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1428 Remove unused functions.
1429 Implement run() virtual method.
1431 * src/nact/base-dialog.c:
1432 * src/nact/base-dialog.h:
1433 Implement run() virtual method.
1434 Define new cancel() and ok() virtual methods.
1436 * src/nact/base-iprefs.c:
1437 * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1439 * src/nact/base-window.c:
1440 * src/nact/base-window.h
1441 (dialog_response, delete_event): Remove no more used virtual methods.
1442 (run): Define new virtual method.
1444 * src/nact/nact-add-capability-dialog.c:
1445 * src/nact/nact-add-scheme-dialog.c:
1446 * src/nact/nact-assistant-export.c:
1447 * src/nact/nact-assistant-import.c:
1448 * src/nact/nact-confirm-logout.c:
1449 * src/nact/nact-export-ask.c:
1450 * src/nact/nact-icon-chooser.c:
1451 * src/nact/nact-main-window.c:
1452 * src/nact/nact-preferences-editor.c: Updated accordingly.
1454 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1456 * src/nact/nact-providers-list.c:
1457 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1458 Do not initialize the widgets with the future BaseWindow.
1460 * src/nact/nact-preferences-editor.c (preferences_editor_new):
1461 Updated accordingly.
1463 * src/nact/nact-schemes-list.c: Only ask for preferences once.
1465 * src/nact/nact-assistant-import.c (assist_new):
1466 Reload the common XML UI file into the private builder.
1468 * src/nact/base-dialog.c:
1469 * src/nact/base-dialog.h:
1470 * src/nact/base-window.h: Do some code and comments cleanup.
1472 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1473 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1474 * src/nact/base-window.c (setup_builder):
1475 Add a debug message.
1477 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1479 * src/plugin-menu/nautilus-actions.c:
1480 * src/plugin-menu/nautilus-actions.h:
1481 Takes advantage of the new NASettings signal notification system.
1483 * src/core/na-pivot.c:
1484 * src/core/na-pivot.h: Review the notification system.
1486 * src/core/na-settings.c:
1487 * src/core/na-settings.h:
1488 Add a signal notification to the existing callback pregistration system.
1490 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1491 * docs/des-ema/des-ema-0.15:
1492 * docs/nact/C/nact-conditions.xml:
1493 * docs/nact/C/nact-menus.xml:
1494 * src/api/na-extension.h:
1495 * src/api/na-ifactory-provider.h:
1496 * src/api/na-iio-provider.h:
1497 * src/api/na-object.h:
1498 * src/core/na-core-utils.c:
1499 * src/core/na-factory-object.c:
1500 * src/core/na-gconf-utils.c:
1501 * src/core/na-icontext-factory.c:
1502 * src/core/na-icontext.c:
1503 * src/core/na-ifactory-provider.c:
1504 * src/core/na-io-provider.c:
1505 * src/core/na-io-provider.h:
1506 * src/core/na-iprefs.c:
1507 * src/core/na-object-action.c:
1508 * src/core/na-object-id-factory.c:
1509 * src/core/na-object-id.c:
1510 * src/core/na-object-item-factory.c:
1511 * src/core/na-object-item.c:
1512 * src/core/na-pivot.h:
1513 * src/core/na-settings.c:
1514 * src/core/na-settings.h:
1515 * src/core/na-tokens.h:
1516 * src/io-desktop/nadp-desktop-file.c:
1517 * src/io-desktop/nadp-reader.c:
1518 * src/io-desktop/nadp-utils.c:
1519 * src/io-gconf/nagp-reader.c:
1520 * src/io-xml/naxml-reader.c:
1521 * src/nact/nact-gtk-utils.c:
1522 * src/nact/nautilus-actions-config-tool.ui:
1523 * src/plugin-menu/nautilus-actions.c:
1524 * src/utils/nautilus-actions-new.c:
1525 * src/utils/nautilus-actions-run.c:
1526 * tools/check-headers.sh:
1527 * tools/init-finalize-diff.sh:
1528 Apply patch provided by Christian Kirbach. Fix #640216.
1530 * src/nact/nautilus-actions-config-tool.ui:
1531 * src/utils/na-delete-xmltree.c:
1532 * src/utils/nautilus-actions-print.c:
1533 Fix string errors reported by fr translation team.
1535 * src/api/na-timeout.h:
1536 * src/core/na-timeout.c: New files.
1538 * src/api/Makefile.am:
1539 * src/core/Makefile.am: Updated accordingly.
1541 * src/core/na-pivot.c (on_item_changed_timeout):
1542 * src/core/na-settings.c (on_keyfile_changed_timeout):
1543 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1544 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1545 Take advantage of new NATimeout convenience structure.
1547 * src/api/na-iio-provider.h:
1548 * src/core/na-io-provider.c:
1549 * src/core/na-io-provider.h: Fix comments.
1551 * src/core/na-iio-provider.c (interface_base_init):
1552 The 'item-changed' signal actually does not send any argument.
1554 * src/core/na-pivot.c:
1555 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1556 Updated accordingly.
1558 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1560 * src/nact/base-window.c: Handles the recorded signals in a GList.
1562 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1564 * src/nact/nact-main-window.c
1565 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1566 Calls the parent class method if willing to quit.
1568 * src/nact/nact-window.c:
1569 * src/nact/nact-window.h
1570 (nact_window_is_item_writable): Remove unused function.
1572 * src/nact/base-window.c:
1573 * src/nact/base-window.h
1574 (runtime_init_toplevel): Renamed as initialize_base_window().
1575 (class_init): Fix cclosure_marshall for signals without argument.
1577 * src/nact/base-window.c:
1578 * src/nact/base-window.h
1579 (get_toplevel_name, get_ui_filename): Removed virtual functions.
1581 * src/nact/nact-add-capability-dialog.c:
1582 * src/nact/nact-add-scheme-dialog.c:
1583 * src/nact/nact-assistant-export.c:
1584 * src/nact/nact-assistant-import.c:
1585 * src/nact/nact-confirm-logout.c:
1586 * src/nact/nact-export-ask.c:
1587 * src/nact/nact-icon-chooser.c:
1588 * src/nact/nact-main-window.c:
1589 * src/nact/nact-preferences-editor.c: Updated accordingly.
1591 * src/nact/base-window.c:
1592 * src/nact/base-window.h:
1593 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1595 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1597 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1599 * src/nact/nact-main-window.c:
1600 No more connect to the signal, but implement the virtual method.
1602 * src/nact/base-application.c (appli_initialize_manage_options):
1603 * src/nact/base-application.h (manage_options):
1604 * src/nact/nact-application.c (appli_manage_options):
1605 Revert commit 3acf600874.
1607 * src/test/test-virtuals.c: Do some more tests on virtual methods.
1609 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1610 on_initialize_base_window_class_handler,
1611 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1612 Succssively invoke all derived class methods.
1614 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1615 all_widgets_showed, is_willing_to_quit): Update comments.
1617 * src/nact/base-application.c (appli_initialize_manage_options):
1618 Successively invoke all derived class methods.
1620 * src/nact/base-application.h (manage_options): Update comment.
1622 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1624 * src/nact/base-builder.c:
1625 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1626 Use a const BaseBuilder as argument;
1628 * src/nact/base-window.c:
1629 * src/nact/base-window.h (base_window_get_widget_from_gtk):
1632 * src/nact/nact-gtk-utils.c:
1633 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1636 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1638 * src/nact/base-application.c (appli_initialize_unique_app):
1641 * src/nact/base-builder.c:
1642 * src/nact/base-builder.h (base_builder_load_named_toplevel):
1643 Renamed as base_builder_get_toplevel_by_name().
1645 * src/nact/base-window.c: Updated accordingly.
1647 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1649 * src/nact/base-window.c:
1650 * src/nact/base-window.h (base_window_peek_widget):
1651 Renamed as base_window_get_widget_from_gtk().
1653 * src/nact/nact-icon-chooser.c: Updated accordingly.
1655 * src/nact/base-window.c:
1656 * src/nact/base-window.h (base_window_get_named_toplevel):
1657 Renamed as base_window_get_gtk_toplevel_by_name().
1659 * src/nact/nact-icommand-tab.c: Updated accordingly.
1661 * src/nact/base-window.c:
1662 * src/nact/base-window.h (base_window_get_toplevel):
1663 Renamed as base_window_get_gtk_toplevel().
1665 * src/nact/base-application.c:
1666 * src/nact/base-assistant.c:
1667 * src/nact/base-iprefs.c:
1668 * src/nact/nact-add-capability-dialog.c:
1669 * src/nact/nact-add-scheme-dialog.c:
1670 * src/nact/nact-assistant-export.c:
1671 * src/nact/nact-assistant-import.c:
1672 * src/nact/nact-confirm-logout.c:
1673 * src/nact/nact-export-ask.c:
1674 * src/nact/nact-gtk-utils.c:
1675 * src/nact/nact-icommand-tab.c:
1676 * src/nact/nact-icon-chooser.c:
1677 * src/nact/nact-ifolders-tab.c:
1678 * src/nact/nact-main-menubar.c:
1679 * src/nact/nact-main-window.c:
1680 * src/nact/nact-match-list.c:
1681 * src/nact/nact-preferences-editor.c:
1682 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1684 * src/nact/base-window.c:
1685 * src/nact/base-window.h: Rename signal defines.
1687 * src/nact/base-assistant.c:
1688 * src/nact/nact-add-capability-dialog.c:
1689 * src/nact/nact-add-scheme-dialog.c:
1690 * src/nact/nact-assistant-export.c:
1691 * src/nact/nact-assistant-import.c:
1692 * src/nact/nact-confirm-logout.c:
1693 * src/nact/nact-export-ask.c:
1694 * src/nact/nact-icon-chooser.c:
1695 * src/nact/nact-main-window.c:
1696 * src/nact/nact-preferences-editor.c: Updated accordingly.
1698 * src/nact/base-window.c:
1699 * src/nact/base-window.h:
1700 Remove unused properties.
1701 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1703 * src/nact/base-assistant.c:
1704 * src/nact/nact-main-menubar-edit.c:
1705 * src/nact/nact-main-menubar-file.c:
1706 * src/nact/nact-main-window.c
1707 * src/nact/nact-window.c: Updated accordingly.
1709 * src/nact/base-window-class.h: Removed file.
1711 * src/nact/base-window.h:
1712 * src/nact/Makefile.am: Updated accordingly.
1714 * src/utils/na-gconf2key.sh.in:
1715 Get ride of possible error messages when forcing gconfd-2 synchro.
1717 * src/nact/base-application.c:
1718 * src/nact/base-application.h (base_application_message_dlg,
1719 base_application_error_dlg, base_application_yesno_dlg):
1720 Functions are moved to BaseWindow class.
1722 * src/nact/base-window.c:
1723 * src/nact/base-window.h
1724 (base_window_display_yesno_dlg, base_window_display_message_dlg):
1727 * src/nact/base-application.c:
1728 * src/nact/base-application.h
1729 (base_application_get_ui_filename): Removed function.
1730 (get_ui_filename): Removed virtual method.
1732 * src/nact/nact-application.c
1733 (appli_get_gtkbuilder_filename):Removed function.
1735 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1737 * src/nact/nact-main-window.c (nact_main_window_new):
1738 Initialize the main window with XML UI properties.
1740 * src/nact/base-window.c:
1741 * src/nact/base-window.h: Rename initialization properties.
1743 * src/nact/nact-add-capability-dialog.c:
1744 * src/nact/nact-add-scheme-dialog.c:
1745 * src/nact/nact-assistant-export.c:
1746 * src/nact/nact-assistant-import.c:
1747 * src/nact/nact-confirm-logout.c:
1748 * src/nact/nact-export-ask.c:
1749 * src/nact/nact-icon-chooser.c:
1750 * src/nact/nact-main-window.c:
1751 * src/nact/nact-preferences-editor.c: Updated accordingly.
1753 * src/nact/base-application.c:
1754 * src/nact/base-application.h:
1755 Define new 'base-application-description' property.
1756 Remove unused properties.
1758 * src/nact/nact-application.c (nact_application_new):
1759 Make use of the new property at instanciation time.
1761 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1763 * src/nact/base-window.c:
1764 * src/nact/base-window.h (base_window_display_error_dlg): New function.
1766 * src/nact/base-application.c:
1767 * src/nact/base-application.h (base_application_get_icon_name):
1770 * src/nact/base-application.c:
1771 * src/nact/base-application.h
1772 (initialize_i18n, initialize_application_name, get_application_name,
1773 initialize_default_icon, get_icon_name, initialize_gtk,
1774 initialize_session_manager, get_unique_app_name, initialize_ui,
1775 initialize_unique_app, initialize, run, get_main_window,
1776 initialize_application): Remove virtual methods.
1778 * src/nact/nact-application.c (appli_get_application_name,
1779 appli_get_icon_name, appli_get_unique_app_name,
1780 appli_initialize_application): Removed functions.
1782 * src/nact/nact-application.c (nact_application_new_with_args):
1783 Make NactApplication initializes with these new properties.
1785 * src/nact/base-application.c:
1786 * src/nact/base-application.h: Define new properties.
1788 * src/nact/base-application-class.h: Removed file.
1790 * src/nact/Makefile.am:
1791 * src/nact/base-application.h:
1792 * src/nact/base-window-class.h:
1793 * src/nact/base-window.h: Updated accordingly.
1795 * src/nact/base-application-class.h (main_window_new):
1796 * src/nact/base-application.c (application_do_run):
1797 * src/nact/nact-application.c
1798 * src/nact/nact-main-window.h (appli_main_window_new):
1799 Move the creation of the main window to the main_window_new() method.
1800 Remove base_application_get_main_window() function.
1802 * src/nact/base-application-class.h (manage_options):
1803 * src/nact/base-application.c:
1804 * src/nact/nact-application.c: Return exit code of the program.
1806 * src/nact/nact-tree-model-dnd.c
1807 (drop_inside, is_drop_possible, drop_uri_list):
1808 * src/nact/base-window.c (is_main):
1809 Remove base_application_get_main_window() invocations.
1811 * src/nact/nact-main.c: Renamed as main.c
1813 * src/nact/Makefile.am: Updated accordingly.
1815 * tools/Makefile.am: Generate the check-header.c source if it is missing.
1817 * src/plugin-tracker/na-tracker-dbus.c:
1818 * src/plugin-tracker/na-tracker-dbus.h:
1819 * src/plugin-tracker/na-tracker.c:
1820 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1822 * src/plugin-menu/nautilus-actions.c:
1823 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1825 * src/nact/base-application.c:
1826 * src/nact/base-application-class.h:
1827 * src/nact/base-assistant.c:
1828 * src/nact/base-assistant.h:
1829 * src/nact/base-builder.c:
1830 * src/nact/base-builder.h:
1831 * src/nact/base-dialog.c:
1832 * src/nact/base-dialog.h:
1833 * src/nact/base-iprefs.c:
1834 * src/nact/base-iprefs.h:
1835 * src/nact/base-window.c:
1836 * src/nact/base-window-class.h:
1837 * src/nact/egg-tree-multi-dnd.h:
1838 * src/nact/nact-add-capability-dialog.c:
1839 * src/nact/nact-add-capability-dialog.h:
1840 * src/nact/nact-add-scheme-dialog.c:
1841 * src/nact/nact-add-scheme-dialog.h:
1842 * src/nact/nact-application.c:
1843 * src/nact/nact-application.h:
1844 * src/nact/nact-assistant-export.c:
1845 * src/nact/nact-assistant-export.h:
1846 * src/nact/nact-assistant-import.c:
1847 * src/nact/nact-assistant-import.h:
1848 * src/nact/nact-clipboard.c:
1849 * src/nact/nact-clipboard.h:
1850 * src/nact/nact-confirm-logout.c:
1851 * src/nact/nact-confirm-logout.h:
1852 * src/nact/nact-export-ask.c:
1853 * src/nact/nact-export-ask.h:
1854 * src/nact/nact-iactions-list.c:
1855 * src/nact/nact-iactions-list.h:
1856 * src/nact/nact-iaction-tab.c:
1857 * src/nact/nact-iaction-tab.h:
1858 * src/nact/nact-ibasenames-tab.c:
1859 * src/nact/nact-ibasenames-tab.h:
1860 * src/nact/nact-icapabilities-tab.c:
1861 * src/nact/nact-icapabilities-tab.h:
1862 * src/nact/nact-icommand-tab.c:
1863 * src/nact/nact-icommand-tab.h:
1864 * src/nact/nact-icon-chooser.h:
1865 * src/nact/nact-ienvironment-tab.c:
1866 * src/nact/nact-ienvironment-tab.h:
1867 * src/nact/nact-iexecution-tab.c:
1868 * src/nact/nact-iexecution-tab.h:
1869 * src/nact/nact-ifolders-tab.c:
1870 * src/nact/nact-ifolders-tab.h:
1871 * src/nact/nact-imimetypes-tab.c:
1872 * src/nact/nact-imimetypes-tab.h:
1873 * src/nact/nact-iproperties-tab.c:
1874 * src/nact/nact-iproperties-tab.h:
1875 * src/nact/nact-ischemes-tab.c:
1876 * src/nact/nact-ischemes-tab.h:
1877 * src/nact/nact-main-window.c:
1878 * src/nact/nact-main-window.h:
1879 * src/nact/nact-preferences-editor.c:
1880 * src/nact/nact-preferences-editor.h:
1881 * src/nact/nact-tree-model.c:
1882 * src/nact/nact-tree-model.h:
1883 * src/nact/nact-tree-model-priv.h:
1884 * src/nact/nact-window.c:
1885 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1887 * src/io-xml/naxml-provider.c:
1888 * src/io-xml/naxml-provider.h:
1889 * src/io-xml/naxml-reader.c:
1890 * src/io-xml/naxml-reader.h:
1891 * src/io-xml/naxml-writer.c:
1892 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1894 * src/io-gconf/nagp-gconf-provider.c:
1895 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1897 * src/io-desktop/nadp-desktop-file.c:
1898 * src/io-desktop/nadp-desktop-file.h:
1899 * src/io-desktop/nadp-desktop-provider.c:
1900 * src/io-desktop/nadp-desktop-provider.h:
1901 * src/io-desktop/nadp-monitor.c:
1902 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1904 * src/core/na-export-format.h:
1905 * src/core/na-iabout.h:
1906 * src/core/na-importer-ask.h:
1907 * src/core/na-io-provider.h:
1908 * src/core/na-ipivot-consumer.h:
1909 * src/core/na-module.h:
1910 * src/core/na-pivot.h:
1911 * src/core/na-selected-info.h:
1912 * src/core/na-settings.h:
1913 * src/core/na-tokens.h:
1914 * src/core/na-updater.h: Cosmetic changes in src/core headers.
1916 * src/api/na-data-boxed.h:
1917 * src/api/na-data-types.h:
1918 * src/api/na-gconf-monitor.h:
1919 * src/api/na-gconf-utils.h:
1920 * src/api/na-icontext.h:
1921 * src/api/na-iduplicable.h:
1922 * src/api/na-iexporter.h:
1923 * src/api/na-ifactory-object.h:
1924 * src/api/na-ifactory-provider.h:
1925 * src/api/na-iio-provider.h:
1926 * src/api/na-object-action.h:
1927 * src/api/na-object.h:
1928 * src/api/na-object-id.h:
1929 * src/api/na-object-item.h:
1930 * src/api/na-object-menu.h:
1931 * src/api/na-object-profile.h:
1932 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1934 * src/utils/na-gconf2key.sh.in:
1935 * tools/check-headers.sh:
1936 * tools/check-po.sh:
1937 * tools/init-finalize-diff.sh:
1938 * tools/release-tarball.sh: Replace basename with a shell substitution.
1940 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1942 * tools/release-tarball.sh: Full script rewrite.
1945 * Makefile.am: Add README-GCONF to the distribution.
1947 * tools/check-po.sh: Script rewriting.
1949 * NEWS: Update before 3.0.7 release.
1951 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1953 * src/core/na-export-format.c (na_export_format_get_description):
1954 * src/core/na-importer-ask.c (na_importer_ask_user):
1955 * src/core/na-importer.c (import_from_uri):
1956 * src/core/na-io-provider.c (na_io_provider_get_name):
1957 * src/core/na-iprefs.c:
1958 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1959 na_iprefs_get_order_mode, na_iprefs_get_export_format):
1960 * src/core/na-settings.c:
1961 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1962 * nact/nact-assistant-import.c (runtime_init_duplicates):
1963 * src/nact/nact-clipboard.c (export_row_object):
1964 * src/nact/nact-export-ask.c:
1965 * nact/nact-export-format.c:
1966 * src/nact/nact-export-format.h(nact_export_format_init_display):
1967 * src/nact/nact-gtk-utils.c:
1968 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1969 nact_gtk_utils_radio_reset_initial_state,
1970 nact_gtk_utils_toggle_set_initial_state,
1971 nact_gtk_utils_toggle_reset_initial_state):
1972 * src/nact/nact-ienvironment-tab.c
1973 (on_tab_updatable_selection_changed):
1974 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1975 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1976 * src/nact/nact-preferences-editor.c:
1977 * src/nact/nact-preferences.ui:
1978 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1979 * src/nact/nact-tree-model.c (tree_model_new):
1980 Manage locked and mandatory preferences.
1982 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1983 Do not eat last character.
1986 * src/core/na-settings.h:
1987 * src/utils/na-gconf2key.sh.in:
1988 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1990 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1992 * src/nact/nact-preferences-editor.c:
1993 Reopen the Preferences on the last used tab.
1995 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1996 Fix handling of last separator.
1998 * src/nact/nact-schemes-list.c: Do not allow modification
1999 of default schemes list if preferences are locked or property
2002 * src/core/na-io-provider.c:
2003 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
2004 na_io_provider_is_conf_writable):
2005 Returns mandatory flag.
2006 List I/O providers in write order.
2008 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
2010 * src/nact/nact-providers-list.c: Do not allow modification of I/O
2011 providers readability/writability/write order properties if
2012 preferences are locked or properties mandatory.
2014 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
2016 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
2018 * run-distcheck.sh: New file.
2020 Add a script to check completeness of header files.
2023 * tools/Makefile.am:
2024 * tools/check-headers.sh: New files.
2026 * src/test/test-include.c:
2027 Renamed as tools/check-header.c and set it as ignored by git.
2029 * src/test/.gitignore:
2030 * src/test/Makefile.am: Updated accordingly.
2033 * configure.ac: configure in tools/.
2035 * src/api/na-data-boxed.h:
2036 * src/api/na-data-types.h:
2037 * src/api/na-gconf-monitor.h:
2038 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
2040 * run-distcheck.sh: New file.
2042 * tools/check-po.sh: Rewrite to have options and messages management.
2044 * src/utils/na-gconf2key.sh.in: Review comment.
2046 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
2048 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
2050 * tools/check-po.sh: Set the count of errors as exit code.
2052 * po/POTFILES.in: Updated.
2054 * src/api/na-gconf-utils.h:
2055 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
2057 * src/api/na-gconf-monitor.h:
2058 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
2060 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
2062 * src/utils/na-print-schemas.c: Add a deprecation comment.
2064 * src/core/na-io-provider.c:
2065 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
2068 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
2070 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
2072 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
2074 * src/test/test-module.c:
2075 * src/test/test-module-plugin.c: New files.
2077 * src/test/.gitignore:
2078 * src/test/Makefile.am: Updated accordingly.
2080 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
2082 * src/nact/base-iprefs.c
2083 (base_iprefs_position_named_window): Do not force a null window size or position.
2085 * src/core/na-settings.c
2086 (na_settings_get_string_list): Do not allocate an empty string list.
2088 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
2090 * src/core/na-object-id.c:
2091 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
2093 * src/core/na-data-boxed.c:
2094 * src/core/na-gconf-monitor.c:
2095 * src/core/na-io-provider.c:
2096 * src/core/na-tokens.c:
2097 * src/core/na-updater.c:
2098 * src/io-desktop/nadp-desktop-file.c:
2099 * src/io-desktop/nadp-desktop-provider.c:
2100 * src/io-desktop/nadp-monitor.c:
2101 * src/io-gconf/nagp-gconf-provider.c:
2102 * src/io-xml/naxml-provider.c:
2103 * src/nact/base-application.c:
2104 * src/nact/base-builder.c:
2105 * src/nact/base-window.c:
2106 * src/nact/nact-application.c:
2107 * src/nact/nact-clipboard.c:
2108 * src/nact/nact-main-window.c:
2109 * src/nact/nact-tree-model.c:
2110 * src/nact/nact-window.c: Add instance_finalize debug message.
2112 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
2114 * src/core/na-boxed.c
2115 (na_boxed_free): Only free a non null structure.
2116 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
2117 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
2118 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
2119 Do not try to return a value for a null structure.
2121 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
2123 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
2125 * src/utils/na-delete-xmltree.c:
2126 * src/utils/nautilus-actions-print.c: Add localization code.
2128 * src/utils/nautilus-actions-new.c:
2129 * src/utils/nautilus-actions-run.c:
2130 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
2132 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
2133 na_boxed_new_from_string_with_sep, na_boxed_free):
2134 Add debug messages when allocating/freeing a NABoxed structure.
2136 * src/nact/nact-icommand-tab.c (on_wdir_browse):
2137 Remove no more used default value.
2139 * src/nact/nact-icon-chooser.c
2140 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
2142 * src/core/na-settings.h: Preference renamed accordingly.
2145 * src/core/na-settings.h:
2146 * src/utils/na-gconf2key.sh.in:
2147 '-last-folder-uri' preferences are renamed as '-lfu'.
2149 * src/core/na-settings.c: Set default values.
2151 * src/nact/nact-gtk-utils.c:
2152 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
2153 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
2154 Remove no more used default value.
2156 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
2157 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
2158 on_show_if_running_browse): Updated accordingly.
2160 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
2161 Do not allocate the empty last element.
2163 * src/core/na-io-provider.c (load_items_get_merged_list):
2164 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
2165 Use the correct list pointer.
2167 * src/core/na-iprefs.c:
2168 * src/core/na-iprefs.h
2169 (na_iprefs_get_export_format, na_iprefs_set_export_format):
2170 Functions moved from src/nact/nact-iprefs.c.
2172 * src/nact/nact-iprefs.c:
2173 * src/nact/nact-iprefs.h: Removed files.
2175 * src/nact/Makefile.am:
2176 * src/nact/base-window.c:
2177 * src/nact/nact-assistant-export.c:
2178 * src/nact/nact-assistant-import.c:
2179 * src/nact/nact-clipboard.c:
2180 * src/nact/nact-export-ask.c:
2181 * src/nact/nact-export-format.c:
2182 * src/nact/nact-gtk-utils.c:
2183 * src/nact/nact-iaction-tab.c:
2184 * src/nact/nact-icommand-tab.c:
2185 * src/nact/nact-ifolders-tab.c:
2186 * src/nact/nact-main-toolbar.c:
2187 * src/nact/nact-preferences-editor.c:
2188 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
2190 * src/nact/nact-iprefs.c:
2191 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
2192 nact_iprefs_write_string): Remove deprecated functions.
2194 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
2195 Updated accordingly.
2197 * src/nact/base-iprefs.c:
2198 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
2199 Remove deprecated functions.
2201 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
2202 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2203 Updated accordingly.
2205 * src/nact/nact-iprefs.c:
2206 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2208 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2209 Updated accordingly.
2211 Global renaming of preferences.
2214 * src/api/na-iio-provider.h:
2215 * src/core/na-export-format.h:
2216 * src/core/na-exporter.h:
2217 * src/core/na-importer-ask.h:
2218 * src/core/na-importer.c:
2219 * src/core/na-io-provider.c:
2220 * src/core/na-io-provider.h:
2221 * src/core/na-iprefs.c:
2222 * src/core/na-iprefs.h:
2223 * src/core/na-module.c:
2224 * src/core/na-pivot.c:
2225 * src/core/na-pivot.h:
2226 * src/core/na-settings.c:
2227 * src/core/na-settings.h:
2228 * src/core/na-updater.c:
2229 * src/nact/nact-add-capability-dialog.c:
2230 * src/nact/nact-add-scheme-dialog.c:
2231 * src/nact/nact-assistant-export.c:
2232 * src/nact/nact-assistant-import.c:
2233 * src/nact/nact-clipboard.c:
2234 * src/nact/nact-export-ask.c:
2235 * src/nact/nact-gtk-utils.c:
2236 * src/nact/nact-iactions-list.c:
2237 * src/nact/nact-icommand-tab.c:
2238 * src/nact/nact-icon-chooser.c:
2239 * src/nact/nact-ienvironment-tab.c:
2240 * src/nact/nact-ifolders-tab.c:
2241 * src/nact/nact-iprefs.c:
2242 * src/nact/nact-iprefs.h:
2243 * src/nact/nact-main-menubar-edit.c:
2244 * src/nact/nact-main-menubar-file.c:
2245 * src/nact/nact-main-menubar.c:
2246 * src/nact/nact-main-toolbar.c:
2247 * src/nact/nact-main-window.c:
2248 * src/nact/nact-preferences-editor.c:
2249 * src/nact/nact-providers-list.c:
2250 * src/nact/nact-schemes-list.c:
2251 * src/nact/nact-sort-buttons.c:
2252 * src/nact/nact-tree-model-dnd.c:
2253 * src/nact/nact-tree-model.c:
2254 * src/nact/nact-window.c:
2255 * src/nact/nact-window.h:
2256 * src/plugin-menu/nautilus-actions.c:
2257 * src/utils/na-gconf2key.sh.in:
2258 * src/utils/nautilus-actions-new.c: Rename preferences.
2259 >>>>>>> Globally rename preferences
2261 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2263 * src/core/na-settings.c:
2264 * src/core/na-settings.h: Preference names are defined as '#define' values.
2267 * src/utils/na-gconf2key.sh.in: Adjust preferences.
2269 * src/core/na-iprefs.c:
2270 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2272 * src/api/na-iimporter.h:
2273 * src/core/na-importer-ask.c:
2274 * src/core/na-importer-ask.h:
2275 * src/core/na-importer.c: Updated accordingly.
2277 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2279 * src/nact/nact-iprefs.c:
2280 * src/nact/nact-iprefs.h: Get ride of GConf.
2283 * src/core/na-settings.c:
2284 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2286 * src/nact/nact-icommand-tab.c:
2287 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2290 * src/core/na-settings.c:
2291 * src/utils/na-gconf2key.sh.in:
2292 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2294 * src/nact/nact-ifolders-tab.c: Updated accordingly.
2297 * src/core/na-settings.c:
2298 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2300 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2301 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2302 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2303 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2304 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2305 * src/nact/nact-main-window.c
2306 (instance_dispose, base_get_iprefs_window_id):
2307 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2308 Update all preference names when saving/restoring window size and position.
2310 * src/core/na-settings.c:
2311 * src/core/na-settings.h: All getters/setters are implemented.
2313 * src/nact/base-iprefs.c: Remove GConf stuff.
2315 * src/nact/nact-icon-chooser.c:
2316 * src/nact/nact-icon-chooser.ui: Implement all preferences.
2318 * src/utils/na-gconf2key.sh.in:
2319 Renamed preferences for windows size and position '-wsp'.
2320 Also delete from GConf if only preferences have been migrated.
2321 Re-sync after tree delete.
2323 * src/api/na-boxed.h:
2324 * src/core/na-boxed.c
2325 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2328 * configure.ac: Enable silent rules by default.
2330 * run-autogen.sh: Add sysconfdir argument to autogen.sh
2332 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2333 Search a pixbuf by icon theme if not found as filename or stock.
2335 * src/nact/base-window.c:
2336 * src/nact/base-window.h (base_window_peek_widget): New function.
2338 * src/nact/nact-icon-chooser.c:
2339 * src/nact/nact-icon-chooser.h:
2340 * src/nact/nact-icon-chooser.ui: New files.
2342 * src/nact/Makefile.am:
2343 * src/nact/nact-iaction-tab.c:
2344 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2346 * src/core/na-settings.c (content_load_keys):
2347 Do not warn if configuration file does not exist.
2349 * src/api/na-boxed.h:
2350 * src/api/na-data-boxed.h:
2351 * src/api/na-data-types.h:
2352 * src/core/na-boxed.c:
2353 * src/core/na-data-boxed.c:
2354 * src/core/na-data-types.c:
2355 Update reference documentation to deprecate NADataBoxed and NADataType
2356 in favor of NABoxed.
2358 * src/core/na-settings.c:
2359 * src/core/na-settings.h: Configuration monitoring.
2361 * src/plugin-menu/nautilus-actions.c:
2362 Monitor all runtime preferences with only one callback.
2364 * src/api/na-boxed.h:
2365 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2367 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2369 * src/api/na-data-types.h:
2370 * src/core/na-data-types.c
2371 (na_data_types_copy, na_data_types_free): Removed functions.
2374 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2376 * src/api/na-boxed.h:
2377 * src/core/na-boxed.c: New files.
2379 * src/api/Makefile.am:
2380 * src/core/Makefile.am: Updated accordingly.
2382 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2384 * src/api/na-data-types.h:
2385 * src/core/na-data-types.c
2386 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2389 * src/core/na-settings.c
2390 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2392 * src/core/na-settings.h
2393 (na_settings_get_boolean_ex, na_settings_get_string_list):
2396 * src/plugin-menu/nautilus-actions.c:
2397 Implement runtime preferences monitoring.
2398 No more use deprecated na_pivot_set_automatic_reload().
2400 * src/core/na-pivot.c:
2401 * src/core/na-pivot.h:
2402 Replace GConf preferences monitoring with NASettings.
2403 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2405 * src/core/na-settings.c:
2406 * src/core/na-settings.h
2407 (na_settings_register_key_callback,
2408 na_settings_register_global_callback, na_settings_get_boolean):
2411 * src/api/na-iio-provider.h:
2412 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2413 definition is moved (and renamed) from public API to internal one.
2415 * src/core/na-iio-provider.c (interface_base_init):
2416 * src/core/na-io-provider.c (io_provider_set_provider):
2417 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2419 * src/core/na-iio-provider.c
2420 * src/core/na-settings.c (na_settings_new):
2421 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2423 * src/core/na-pivot.c:
2424 * src/core/na-pivot.h (na_pivot_register):
2425 * src/core/na-settings.c:
2426 * src/core/na-settings.h (na_settings_register):
2427 * src/plugin-menu/nautilus-actions.c (instance_constructed):
2430 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2432 * src/nact/base-application.c (display_dlg): Setup parent window.
2434 * src/api/na-iimporter.h:
2435 * src/core/na-io-provider.c:
2436 * src/core/na-object-id.c:
2437 * src/core/na-object-item.c:
2438 * src/io-desktop/nadp-utils.c:
2439 * src/nact/nact-assistant-import.c:
2440 * src/nact/nact-iactions-list-bis.c:
2441 * src/nact/nact-iactions-list.h:
2442 * src/nact/nact-main-window.c:
2443 * src/nact/nact-preferences.ui:
2444 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2446 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2448 * src/core/na-object-profile-factory.c:
2449 Remove %o/%O parameters from description of version 2.0.
2450 Add a missing line feed.
2452 * tools/check-po.sh: Adapt to glade files.
2454 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2456 * src/utils/nautilus-actions-new.c (init_options):
2457 * src/utils/nautilus-actions-run.c (init_options):
2458 * src/utils/nautilus-actions-schemas.c (init_options):
2459 Initialize translation domain for GOptionContext.
2461 * src/core/na-data-boxed.c
2462 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2463 * src/core/na-export-format.c
2464 (na_export_format_get_label, na_export_format_get_description):
2465 * src/core/na-iabout.c (na_iabout_display):
2466 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2467 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2468 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2469 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2470 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2471 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2472 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2473 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2474 * src/nact/nact-tree-model-dnd.c
2475 (is_drop_possible, is_drop_possible_before_iter,
2476 is_drop_possible_into_dest, is_parent_accept_new_childs):
2477 Use gettext() to display localized static strings.
2479 * src/api/na-data-def.h: Complete the description of the fields.
2481 * src/core/na-io-provider.c:
2482 * src/core/na-object-profile-factory.c:
2483 * src/nact/nact-assistant-export.ui:
2484 * src/nact/nautilus-actions-config-tool.ui:
2485 Fix various mistakes and mispellings reported by Fr translation team.
2487 * configure.ac: Post-release bump version number.
2489 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2491 * src/core/na-pivot.c (na_pivot_register): New function.
2493 * src/plugin-menu/nautilus-actions.c:
2494 Replace NAIPivotConsumer interface with na_settings() accessors.
2496 * src/core/na-settings.c:
2497 * src/core/na-settings.h: New files.
2499 * src/utils/na-gconf2key.sh.in:
2500 Make sure that GConf is at the end of the list of I/O providers.
2501 Make sure that GConf is locked.
2502 Migrate all I/O provider preferences.
2505 * src/utils/Makefile.am:
2506 * src/utils/na-gconf2key.sh.in:
2507 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2508 and is installed in PKGLIBEXECDIR.
2510 * src/core/Makefile.am:
2511 * src/core/na-gconf-migration.c: Updated accordingly.
2513 * src/utils/Makefile.am:
2514 nautilus-actions-delete is renamed as na-delete-xmltree,
2515 and is installed in PKGLIBEXECDIR.
2517 * src/core/na-core-utils.c (na_core_utils_print_version):
2518 Print the compilation version of GLib2 and Gtk+ when in debug mode.
2520 * src/utils/Makefile.am:
2521 nautilus-actions-schemas is renamed as na-print-schemas,
2522 and is installed in PKGLIBEXECDIR.
2524 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2526 * src/nact/nact-main-window.c (iabout_get_toplevel):
2527 Let the About dialog get the toplevel window.
2529 * src/nact/nact-preferences.ui:
2530 * src/nact/nautilus-actions-config-tool.ui:
2531 Apply patch provided by Christian Kirbach. Fix #638548.
2533 Use the same script to migrate items and preferences.
2535 * README-GCONF: Document migrated and renamed preferences.
2537 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2538 Rewrite migrated preferences as keyed files.
2539 At last, remove the whole Nautilus-Actions tree from GConf.
2541 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2543 * src/utils/console-utils.c (console_cmdline_get_description):
2544 Returns the full address of the page to enter a new bug in Bugzilla.
2546 * src/core/na-gconf-migration.c:
2547 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2549 * src/core/Makefile.am: Updated accordingly.
2551 * src/nact/nact-main.c (main):
2552 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2553 * src/utils/nautilus-actions-new.c (main):
2554 * src/utils/nautilus-actions-run.c (main):
2555 Automatically run the migration tool at startup.
2557 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2558 * src/utils/nautilus-actions-delete.c:
2559 * src/utils/nautilus-actions-print.c:
2560 New items migration script and programs.
2561 They take care of migrating users and mandatory items to .desktop files.
2564 * src/utils/Makefile.am:
2565 * src/utils/.gitignore: Updated accordingly.
2567 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2569 * src/core/na-tokens.c (na_tokens_new_from_selection):
2570 No more prepare the list string of selection.
2571 Directly build the selection list in the correct order.
2572 (execute_action_command): Setup the working directory.
2574 * src/core/na-tokens.c:
2575 * src/core/na-tokens.h (na_tokens_parse_parameters):
2576 Renamed as na_tokens_parse_for_display() as filenames are not quoted
2577 when displayed as part of an expanded label.
2579 * src/nact/nact-icommand-tab.c (parse_parameters):
2580 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2581 Updated accordingly.
2583 * configure.ac: Fix "API Reference generation" message.
2585 * m4/na-enable-manuals.m4:
2586 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2588 * src/core/na-selected-info.c (new_from_uri):
2589 - Add an excerpt from RFC 2396 about valid characters in URIs.
2590 - Prefer the filename from g_filename_from_uri() when possible.
2592 * src/core/na-tokens.c
2593 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2594 (build_string_lists_item): Removed function.
2596 * src/core/na-iabout.c (na_iabout_display):
2597 Fix typo in comment, adding a note to the translators.
2599 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2601 * src/core/na-io-provider.c:
2602 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2605 * configure.ac: Define a conditional if we have both GSettings and GConf.
2607 * src/core/na-gsettings-migrate.c:
2608 * src/core/na-gsettings-migrate.h: New files.
2610 * src/core/Makefile.am: Updated accordingly.
2612 * src/core/na-pivot.c (instance_constructed):
2613 Call na_gsettings_migrate() if we have both GSettings and GConf.
2616 - Define HAVE_GSETTINGS variable.
2617 - Define HAVE_GCONF variable.
2619 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2621 * src/nact/egg-desktop-file.c:
2622 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2624 * src/nact/base-keysyms.h:
2625 * src/nact/egg-sm-client-private.h:
2626 * src/nact/egg-sm-client-xsmp.c:
2627 * src/nact/nact-add-capability-dialog.c:
2628 * src/nact/nact-add-scheme-dialog.c:
2629 * src/nact/nact-main-tab.c:
2630 * src/nact/nact-clipboard.c:
2631 * src/nact/nact-tree-model-dnd.c:
2632 * src/nact/nact-gtk-utils.c:
2633 * src/nact/nact-iaction-tab.c:
2634 * src/nact/nact-main-statusbar.c:
2635 * src/nact/nact-main-menubar.c:
2636 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2639 * m4/na-check-for-gtk.m4:
2640 Move back gtk_required variable to improve readibility of configure.ac.
2642 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2644 * configure.ac: Post release version bump.
2646 * NEWS: Update NEWS before release.
2648 * src/plugin-menu/nautilus-actions.c (create_root_menu):
2649 Update the root menu label to better reflect the product name.
2651 * src/nact/nautilus-actions-config-tool.ui:
2652 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2654 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2655 Display again stock icons in NACT.
2656 Fix #638461 - Stock icons are no more displayed in NACT.
2658 * Almost all files modified:
2659 Update copyright message.
2660 Set Nautilus-Actions as being the actual official product name.
2662 * src/core/na-selected-info.c (new_from_nautilus_file_info):
2663 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2664 Fix #638450 - Nautilus crashes when opening Trash or Network.