1 2011-12-06 Pierre Wieser <pwieser@trychlos.org>
3 * src/core/na-settings.c (settings_new):
4 * src/io-desktop/nadp-writer.c
5 (nadp_iio_provider_is_able_to_write, nadp_iio_provider_write_item):
6 Fix permissions when creating the configuration directory.
8 * src/api/na-core-utils.h:
9 * src/core/na-core-utils.c (na_core_utils_dir_list_perms): New function.
11 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
12 Fix and improve error messages during drop operations.
14 Fix a coredump when trying to import an empty file by DnD.
15 Extend the fix by checking the size and the type of the candidate.
17 * src/api/na-core-utils.h:
18 * src/core/na-core-utils.c (na_core_utils_file_is_loadable): New function.
20 * src/api/na-iimporter.h (IMPORTER_CODE_NOT_LOADABLE): New return code.
22 * src/core/na-importer.c (import_from_uri):
23 Do not try other modules one the first detects that a file is not loadable.
25 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
26 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
27 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
28 Check whether the file is loadable before trying to import it.
30 * src/nact/nact-main-tab.h:
31 * src/nact/nact-main-window.h: Fix comments.
33 * src/nact/nact-main-window.c: Fix typo.
35 * src/nact/nact-tree-model.c (nact_tree_model_new):
36 No more connect to base-window-initialize-gtk signal.
37 Initialize model without waiting for signal triggering.
39 * src/nact/nact-tree-view.c (instance_constructed):
40 No more connect to base-window-initialize-gtk signal.
42 2011-12-05 Pierre Wieser <pwieser@trychlos.org>
44 * src/core/na-importer-ask.c (import_ask_new):
45 * src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
46 * src/nact/nact-add-capability.ui:
47 * src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
48 * src/nact/nact-add-scheme.ui:
49 * src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
50 * src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
51 * src/nact/nact-icon-chooser.ui:
52 * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
53 Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.
55 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
56 Display an synthetic error message if cannot handle the file.
58 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
59 Display an synthetic error message if cannot handle the file.
61 * po/POTFILES.in: Updated accordingly.
63 * src/core/na-importer.c (import_from_uri): Only display error messages
64 of the interface which has eventually successfully imported the item.
66 * src/core/na-importer.c (import_from_uri):
67 Make sure of the population against which we check for existance.
69 * src/core/na-iimporter.h: Improve comment.
71 2011-12-04 Pierre Wieser <pwieser@trychlos.org>
73 * docs/nact/Makefile.am: Work-around against #664768.
75 When a bug is detected in dblatex, we re-run it in debug mode, so that
76 we may be able to get the .pdf from temp directory.
78 * docs/nact/Makefile.am: Fix User's Manual generation.
80 * docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.
82 * run-autogen.sh: Do not automatically make && make install after configure.
84 * run-distcheck.sh: Fix cleanup before making distcheck.
86 2011-12-03 Pierre Wieser <pwieser@trychlos.org>
88 * tools/check-headers.sh: Fix when builddir not equal to srcdir.
90 * run-distcheck.sh: Make sure that the document wil be rebuilt.
92 * m4/na-enable-manuals.m4:
93 Fix the test as possible values are 'gdt', 'db2html' and 'no.
95 * docs/reference/Makefile.am: Fix when builddir not equal to srcdir.
97 2011-12-02 Pierre Wieser <pwieser@trychlos.org>
99 Do not build the documentation at all if not asked for.
101 * m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.
103 * docs/nact/Makefile.am:
104 Make use of new ENABLE_MANUALS conditional.
105 Also test for conditionals when installing.
107 * run-autogen.sh: Yet improve the build script.
109 2011-12-01 Pierre Wieser <pwieser@trychlos.org>
111 * src/core/na-importer-ask.c (na_importer_ask_user):
112 Save window size and position when quitting, restoring it on next init.
114 2011-11-30 Pierre Wieser <pwieser@trychlos.org>
116 * src/core/na-gtk-utils.c:
117 * src/core/na-gtk-utils.h
118 (na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
121 * src/nact/base-gtk-utils.c
122 (base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
125 * src/nact/base-gtk-utils.h: Fix a comment.
127 * src/core/na-importer-ask.c:
128 * src/core/na-importer-ask.h: Now derives from GObject.
130 * src/core/na-importer-ask.c (import_ask_new):
131 All one-time initialization is made here, being able to return NULL if failed.
133 * src/core/na-importer-ask.c (on_destroy_toplevel):
134 NAImporterAsk is now attached to its parent, and destroyed with it.
136 * src/nact/nact-assistant-import.c (assistant_apply):
137 Make the assistant the parent of NAImporterAsk (instead of main window).
139 2011-11-29 Pierre Wieser <pwieser@trychlos.org>
141 * src/core/na-object-item-factory.c:
142 Do not let a read or imported item go until the UI with an empty label.
144 * src/io-xml/naxml-reader.c (schema_parse_schema_content):
145 Only search for identifier in <applyto> schema key.
147 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
149 * src/io-desktop/nadp-desktop-file.c (check_key_file):
150 - Do not even try to read zero byte length files.
151 - Check Type key before trying to import the file.
153 * src/core/na-importer-ask.c:
154 * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
155 response codes, and quit on Esc.
157 * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
160 * run-distcheck.sh: Review in order to be able to build several guests
161 from a common single source tree.
163 * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
164 Get ride of the superfluous 'name' entry field when selecting the folder.
166 * src/nact/nact-export-ask.c (nact_export_ask_user):
167 Actually do not export the item if the user cancels the operation.
169 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
170 Only display debug messages (try to minimize warnings on import).
172 * src/io-xml/naxml-reader.c
173 (publish_undealt_nodes): Removed useless (and buggy) function.
174 (manage_import_mode): Returns all messages to the caller.
176 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
177 Returns all messages to the caller.
179 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
181 * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
182 Limit the window size, maximizing with the screen size.
184 * nact/nact-tree-view.h:
185 * nact/nact-tree-view.c: Define parent property.
187 * nact/nact-tree-view.c (on_tree_view_realized):
188 Delay all signal connection until the widget be actually realized.
190 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
191 Delay the connection to the NactTreeView signal until we are sure the
194 * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
195 Delay the initialization of the NactTreeView until the Gtk toplevel has
196 been loaded from XML Glade file.
198 * src/nact/nact-assistant-export.c: Adapt to gtk3.
200 * src/nact/nact-export-format.c (nact_export_format_init_display):
201 Remove the useless intermediate GtkGrid.
203 * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
205 * src/core/na-gtk-utils.c (dump_children):
206 Also dump the address of the child widget.
207 Also dump children which do not have a name (dynamically allocated).
209 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
211 * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
212 before returning so that the list returns as unchanged to the caller.
214 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
215 Slightly optimize code.
217 * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
219 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
220 any error message if we do not identify at least a well-formed document
221 with a known root node.
223 * src/api/na-boxed.h:
224 * src/api/na-timeout.h:
225 * src/core/na-boxed.c:
226 * src/core/na-data-boxed.c:
227 * src/core/na-gconf-migration.c:
228 * src/core/na-gconf-monitor.c:
229 * src/core/na-gconf-utils.c:
230 * src/core/na-icontext.c:
231 * src/core/na-iduplicable.c:
232 * src/core/na-iprefs.c:
233 * src/core/na-object-item.c:
234 * src/core/na-object.c:
235 * src/core/na-settings.c:
236 * src/core/na-updater.c: Only reference minor version in 'Since:' and
237 'Deprecated' comments.
239 * run-autogen.sh: Change development installation directory to _install.
241 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
243 m4_ifdef is not a good way to test if these packages are available, as the
244 m4 files default ot be distributed.
246 * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
248 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
250 * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
252 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
255 No more try to rebuild manuals when making distcheck.
256 Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
259 Rename 'autogen_target' variable to 'target'.
260 Remove distcheck target as doc is enough to build manuals.
262 * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
264 * docs/reference/Makefile.am:
265 gtk-doc is no more a mandatory package.
266 Requires gtk-doc 1.15 to take advantage of new source option.
268 * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
270 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
272 * src/nact/nautilus-actions-config-tool.ui:
273 Remove empty children from GtkAssistant container.
275 * src/nact/nact-assistant-import.c:
276 Adapt to the new way Gtk+ 3.2 builds the assistant.
278 * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
280 * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
281 Increment the level of the first child of the hierarchy.
283 * run-autogen.sh: Be able to run from another directory.
285 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
287 * src/nact/base-window.c:
288 * src/nact/base-window.h (base_window_dump_children): New function.
290 * src/core/na-gtk-utils.c:
291 * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
293 * docs/nact/C/nact-conditions.xml:
294 * docs/nact/C/nact-edit.xml:
295 * docs/nact/C/nact-execution.xml:
296 * docs/nact/C/nact-profiles.xml:
297 * docs/nact/C/nact-sorting.xml:
298 * src/nact/nact-assistant-import.c:
299 Fix with advices of Christian Kirbach.
300 Fix #660399, reported by Christian Kirbach.
302 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
304 * src/nact/nact-export-format.c:
305 * src/nact/nact-main-toolbar.c:
306 Get ride of deprecated GtkHBox and GtkVBox.
308 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
310 * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
312 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
314 * docs/nact/C/nact-conditions.xml:
315 * docs/nact/C/nact-edit.xml:
316 * docs/nact/C/nact-execution.xml:
317 * docs/nact/C/nact-menus.xml:
318 * docs/nact/C/nact-profiles.xml:
319 Apply patch provided by Christian Kirbach.
320 Fix #661498 reported by Christian Kirbach.
322 * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
324 From #660399, reported by Gabor Karsay.
326 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
328 * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
329 * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
330 * src/nact/nact-assistant-import.c (prepare_confirm):
331 * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
332 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
333 * src/nact/nact-preferences-editor.c (desktop_setup):
334 * src/nact/nact-providers-list.c (on_selection_changed):
335 * src/test/test-virtuals-without-test.c (first_instance_dispose):
336 Remove set but unused variables.
338 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
340 * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
341 Fix #655237 - Toolbar icons are not created.
343 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
345 * configure.ac: Post-release version bump.
347 * NEWS: Update before releasing.
349 * TODO: Update before releasing.
351 * src/utils/na-gconf2key.sh.in: Update comment.
353 * docs/nact/C/nact-conditions.xml:
354 * docs/nact/C/nact-execution.xml:
355 * docs/nact/C/nact-where.xml:
356 Fix #652664 - [doc] couple of spelling and improvement suggestions;
357 patch provided by Christian Kirbach.
359 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
361 * src/core/na-boxed.c (string_to_array):
362 Accepts now both semi-comma-separated list of strings and
363 comma-separated between square brackets (Ã la GConf) from string lists.
365 * src/io-xml/naxml-reader.c (slist_to_string):
366 Formats string list as a semi-comma-separated list of strings for NABoxed.
368 * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
369 as it may sometimes be needed to re-migrate a newly inserted item.
371 * src/io-gconf/nagp-reader.c (get_boxed_from_path):
372 Only allocate a new box when a non-null value has been read.
374 * src/core/na-settings.c (read_key_value_from_key_file):
375 Also dump the value read from a key file.
377 * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
379 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
381 * src/api/na-object-api.h:
382 * docs/reference/nautilus-actions-sections.txt
383 (na_object_is_file, na_object_is_dir, na_object_is_multiple):
384 Macros are moved from the official API as deprecated.
386 * src/core/na-icontext-factory.c
387 (ISFILE, ISDIR): No more declare properties for deprecated data.
388 (SCHEMES): Declare 'file' as the default.
390 * src/core/na-factory-object.c:
391 * src/core/na-factory-object.h (na_factory_object_is_set): New function.
393 * src/core/na-object-action.c (ifactory_object_read_done):
394 Dump the rough read data.
395 First create a v2 profile before converting it to last version.
397 * src/core/na-object-menu.c (ifactory_object_read_done):
398 Dump the rough read data.
400 * src/core/na-object-profile.c
401 (ifactory_object_read_done): Dump the rough read data.
402 (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
404 * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
405 * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
406 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
407 Dump the whole read item, maybe after conversion.
409 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
411 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
412 Setup default values.
414 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
415 Add trace message before unreffing the imported object.
417 * src/nact/nact-assistant-import.c (assistant_apply):
418 Do not try to import an empty list.
420 * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
421 Check for non empty list.
423 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
425 * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
427 * nautilus-actions.doap: Update download page and mailing list infos.
429 * configure.ac: Post release version bump.
431 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
433 * docs/nact/figures: Update screenshots.
435 * docs/nact/C/nact-properties.xml: New file.
437 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
439 * src/core/na-selected-info.c: Extract filename for a GFile location.
441 * src/utils/na-gconf2keys.sh: Requires ksh.
443 * src/core/na-settings.c: Create the configuration directory if
446 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
448 * src/test/Makefile.am: Do not build test programs in release mode.
450 * docs/nact/C/nact-sorting.xml:
451 * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
453 * docs/nact/C/articleinfo.xml:
454 Convert to *nix-like file.
455 Update manual copyright.
457 * docs/nact/C/figures/nact-desktop-environment-frame.png:
458 * docs/nact/C/figures/nact-execution-environment-frame.png:
459 * docs/nact/C/figures/nact-preferences-export.png:
460 * docs/nact/C/figures/nact-preferences-import.png:
461 * docs/nact/C/figures/nact-preferences-io-providers.png:
462 * docs/nact/C/figures/nact-preferences-runtime.png:
463 * docs/nact/C/figures/nact-preferences-schemes.png:
464 * docs/nact/C/figures/nact-preferences-ui.png:
465 * docs/nact/C/figures/nact-schemes-tab.png:
466 * docs/nact/C/figures/nact-target-location.png:
467 * docs/nact/C/figures/nact-working-directory-frame.png:
468 * docs/nact/C/figures/nact-export-done.png:
469 * docs/nact/C/figures/nact-export-format.png:
470 * docs/nact/C/figures/nact-export-home.png:
471 * docs/nact/C/figures/nact-export-items.png:
472 * docs/nact/C/figures/nact-export-summary.png:
473 * docs/nact/C/figures/nact-export-target.png:
474 * docs/nact/C/figures/nact-import-done.png:
475 * docs/nact/C/figures/nact-import-files.png:
476 * docs/nact/C/figures/nact-import-home.png:
477 * docs/nact/C/figures/nact-import-mode.png:
478 * docs/nact/C/figures/nact-import-resultat.png:
479 * docs/nact/C/figures/nact-import-summary.png:
480 * docs/nact/C/figures/nact-preferences-desktop.png:
481 * docs/nact/C/figures/nact-preferences-execution.png:
482 Updated and new screenshots for version 3.1.
484 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
486 * configure.ac: Post-release version bump.
488 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
490 * NEWS: Pre-release update.
492 * src/core/na-tokens.c (execute_action_command):
493 Only use g_spawn_async_with_pipes when required by execution mode
494 (work-around for #644289).
495 Do not close child pid before the end of the child process.
497 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
499 * configure.ac: Post-release bump version.
501 * NEWS: Pre-release udate.
503 * src/core/na-settings.c:
504 * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
506 * src/plugin-menu/nautilus-module.c (set_log_handler):
507 Test if log are enabled before installing the log handler.
509 * src/plugin-menu/nautilus-actions.c:
510 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
511 Removed function. Fix #643359.
513 * configure.ac: Post-release bump version.
515 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
519 * README-GCONF: Update before releasing.
521 * src/api/na-core-utils.h:
522 * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
524 * src/core/na-settings.c:
525 * src/core/na-settings.h:
526 Rename "terminal-prefix" user preference as "terminal-pattern".
528 * src/core/na-tokens.c:
529 * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
530 Renamed as na_tokens_command_for_terminal().
532 * docs/reference/nautilus-actions-sections.txt:
533 * src/nact/nact-preferences-editor.c:
534 * src/nact/nact-preferences.ui: Updated accordingly.
536 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
537 Disable not implemented frames.
539 * src/nact/nautilus-actions-config-tool.ui:
540 Add a tooltip comment on not yet implemented fields.
542 * src/core/na-icontext.c (is_candidate_for_show_in):
543 First try desktop from user preferences.
545 NASettings is now a private singleton which allocates itself when needed.
546 Preference are so available anywhere without requiring an object.
548 * src/core/na-importer-ask.c (na_importer_ask_user):
549 * src/core/na-importer.c (import_from_uri):
550 * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
551 * src/core/na-iprefs.c:
552 * src/core/na-iprefs.h:
553 * src/core/na-pivot.c (instance_constructed, instance_dispose):
554 * src/core/na-pivot.h (na_pivot_get_settings):
555 * src/core/na-settings.c:
556 * src/core/na-settings.h:
557 * src/core/na-tokens.c:
558 * src/core/na-tokens.h(na_tokens_execute_action):
559 * src/core/na-updater.c (are_preferences_locked):
560 * src/nact/base-gtk-utils.c:
561 * src/nact/nact-assistant-export.c (nact_assistant_export_run):
562 * src/nact/nact-assistant-import.c (nact_assistant_import_run):
563 * src/nact/nact-clipboard.c (export_row_object):
564 * src/nact/nact-export-ask.c (nact_export_ask_user):
565 * src/nact/nact-icon-chooser.c:
566 * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
567 * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
568 * src/nact/nact-main-window.c (on_base_initialize_base_window):
569 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
570 * src/nact/nact-preferences-editor.c:
571 * src/nact/nact-providers-list.c (nact_providers_list_save):
572 * src/nact/nact-schemes-list.c (init_view_get_default_list):
573 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
574 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
575 * src/nact/nact-tree-model.c (nact_tree_model_new):
576 * src/plugin-menu/nautilus-actions.c:
577 * src/utils/nautilus-actions-run.c: Updated accordingly.
579 Current desktop environment can be a user preference
581 * src/core/na-desktop-environment.c:
582 * src/core/na-desktop-environment.h: New files.
585 * src/core/Makefile.am:
586 * src/core/na-icontext.c (is_candidate_for_show_in):
587 * nact/nact-ienvironment-tab.c
588 (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
590 * src/core/na-settings.c:
591 * src/core/na-settings.h:
592 Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
593 (set_key_value): Setting a NULL string actually removes the key.
595 * src/nact/nact-preferences-editor.c:
596 * src/nact/nact-preferences.ui: Let the user choose his desktop.
598 * src/core/na-iabout.c: Renamed as src/core/na-about.c.
599 * src/core/na-iabout.h: Renamed as src/core/na-about.h.
600 NAIAbout is no more an interface, but just a set of functions.
602 * src/core/Makefile.am:
603 * src/core/na-core-utils.c (na_core_utils_print_version):
604 * src/nact/nact-application.c (nact_application_new_with_args):
605 * src/nact/nact-main-window.c:
606 * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
607 * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
609 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
611 Improve ExecutionMode implementation by defining a new user preference
613 * src/core/na-settings.c:
614 * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
616 * src/core/na-tokens.c:
617 * src/core/na-tokens.h
618 (na_tokens_command_from_terminal_prefix): New function.
619 (na_tokens_execute_action): New NASettings parameter.
621 * src/nact/nact-preferences-editor.c:
622 * src/nact/nact-preferences.ui: Let the user edit the preference.
624 * src/utils/nautilus-actions-run.c:
625 * po/POTFILES.in: Updated accordingly.
627 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
629 * src/core/na-settings.c:
630 * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
632 * src/plugin-menu/nautilus-actions.c:
633 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
636 * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
637 syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
639 * configure.ac: Bump Nautilus required version to 2.16
640 for having nautilus_menu_provider_emit_items_updated_signal() function.
643 * src/plugin-menu/nautilus-actions.c:
644 Check for nautilus_menu_provider_get_toolbar_items() function.
646 * src/core/na-selected-info.c (instance_init, instance_finalize):
647 Improve debug messages.
649 * src/core/na-icontext.c:
650 * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
651 (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
653 Move Nautilus-Actions configuration files to nautilus-actions/ subdir
655 * src/core/na-settings.c (na_settings_new):
656 * src/utils/na-gconf2key.sh.in: Updated accordingly.
658 Implement execution mode property
660 * m4/na-check-for-gtk.m4: Check for Gio-unix.
662 * src/core/na-object-profile-factory.c: Improve translation comment.
664 * src/core/na-tokens.c (execute_action_command): Display output.
666 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
668 * src/api/na-object.h:
669 * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
670 Deprecated functions.
672 * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
674 Rewrite copy stack to get ride of iteration on class hierarchy
676 * src/api/na-object-api.h
677 (na_object_copy, na_object_get_hierarchy): Removed macros.
679 * src/api/na-icontext.h:
680 * src/core/na-icontext.c (na_icontext_copy): New function.
682 * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
683 * src/core/na-object-item.c (object_copy):
684 * src/core/na-object-action.c (object_copy):
685 * src/core/na-object-profile.c (object_copy):
686 * src/core/na-object-menu.c (object_copy): Updated accordingly.
688 Rewrite validity status check stack
690 * src/api/na-icontext.h:
691 * src/core/na-icontext.c (na_icontext_are_equal): New function.
693 * src/core/na-factory-object.c (na_factory_object_is_valid):
694 * src/core/na-object.c (iduplicable_is_valid):
695 * src/core/na-object-id.c (object_is_valid):
696 * src/core/na-object-id-factory.c:
697 * src/core/na-object-item.c (object_is_valid):
698 * src/core/na-object-action.c (object_is_valid):
699 * src/core/na-object-profile.c (object_is_valid):
700 * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
702 Rewrite modification status check stack
704 * src/api/na-object-item.h:
705 * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
707 * src/api/na-object.h:
708 * src/core/na-factory-object.c:
709 * src/core/na-iduplicable.c: Improve comment.
711 * src/core/na-object.c:
712 * src/core/na-object-id.c:
713 * src/core/na-object-menu.c:
714 * src/core/na-object-action.c:
715 * src/core/na-object-profile.c: Modification is checked from
716 NAObject-virtual method instead of NAIFactoryObject interface.
718 * src/api/na-iduplicable.h:
719 * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
721 * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
723 * src/api/na-icontext.h:
724 * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
725 Renamed as na_icontext_check_mimetypes().
727 * src/api/na-ifactory-object-data.h:
728 * src/api/na-object-api.h:
729 * src/core/na-icontext-factory.c:
730 * src/core/na-object-profile.c: Updated accordingly.
732 * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
734 * src/core/na-icontext.c (na_icontext_get_running_environment):
737 * src/core/na-boxed.c (string_list_from_string,
738 string_list_from_value, string_list_from_void): Check for duplicates.
740 * src/utils/nautilus-actions-new.c: Fix default mimetype.
742 * src/core/na-icontext.c (get_running_environment): New function.
744 * src/utils/na-print-schemas.c: Also display menu schemas.
746 * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
747 Data are deprecated and not writable.
749 * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
751 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
753 * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
754 NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
755 NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
757 * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
758 show-if-true, show-if-running and capability options.
760 * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
761 NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
762 * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
763 NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
764 * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
765 Fix options definition.
767 * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
769 * src/core/na-icontext-factory.c
770 (NAFO_DATA_SELECTION_COUNT): Fix option definition.
772 * src/utils/nautilus-actions-new.c: Add selection-count option.
774 * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
775 locale_is_default): Fix default value test.
777 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
779 * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
780 na_object_set_multiple): Deprecated functions.
782 * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
785 * src/utils/nautilus-actions-new.c: Updated accordingly.
787 * src/nact/nact-providers-list.c:
788 * src/nact/nact-schemes-list.c: Does not recompute if preferences are
789 locked, but use na_updater_are_preferences_locked() function.
791 * src/api/na-iio-provider.h:
792 Define new reason when the level zero is not writable.
794 * src/core/na-updater.c:
795 * src/core/na-updater.h (na_updater_is_item_writable):
796 Renamed as na_updater_check_item_writability_status.
798 * src/nact/nact-main-window.c (setup_writability_status):
799 * src/nact/nact-menubar-edit.c (get_deletables):
800 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
803 * src/nact/base-assistant.c (class_init):
804 Apply patch provided by Christian Kirback. Fix #640920.
806 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
808 * src/core/na-pivot.h:
809 * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
811 * src/nact/base-window.h:
812 * src/nact/base-window.c (class_init):
813 Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
815 * src/nact/nact-main-window.c:
816 Connect to the signal instead of implementing a virtual method.
818 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
820 * src/core/na-iduplicable.c (interface_base_init):
821 * src/core/na-settings.c (class_init):
822 * src/nact/base-window.c (class_init):
823 Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
825 * docs/reference/Makefile.am:
826 * src/nact/Makefile.am:
827 * run-distcheck.sh: Fix make distcheck.
829 * docs/reference/Makefile.am:
830 Do not documente NAGconfMonitor class when deprecated symbols are disabled.
832 * src/api/na-data-boxed.h:
833 * src/api/na-gconf-utils.h:
834 * src/core/na-data-boxed.c:
835 * src/core/na-iduplicable.c:
836 * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
839 * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
841 * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
843 * src/api/na-iduplicable.h:
844 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
847 * src/core/na-factory-object.c (na_factory_object_are_equal):
848 * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
849 Improve debug messages.
851 * src/core/na-icontext-factory.c:
852 * src/core/na-object-action-factory.c:
853 * src/core/na-object-id-factory.c: Set missing default values.
855 * src/core/na-object-action.c (ifactory_object_are_equal):
856 An action is modified as soon as at least one profile is modified.
858 * src/core/na-icontext-factory.c: Fix string list regression
860 * src/core/na-boxed.c: Fix regression when setting values.
862 * src/core/na-selected-info.c (query_file_attributes):
863 Keep selection info even when unable to query attributes.
866 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
868 Do not compile with GConf library when disabled
870 * src/api/na-gconf-monitor.h:
871 * src/api/na-gconf-utils.h:
872 * src/core/na-gconf-migration.c:
873 * src/core/na-gconf-monitor.c:
874 * src/core/na-gconf-utils.c:
875 * src/io-gconf/Makefile.am:
876 * src/io-xml/naxml-reader.c:
877 * src/utils/Makefile.am: Updated accordingly.
879 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
881 Add --enable-gconf configure argument
882 Define HAVE_GCONF conditional
884 * m4/na-check-for-gconf.m4: New file.
887 * data/gconf-schemas/Makefile.am: Updated accordingly.
889 Only GConf writing operations are marked deprecated
891 * src/api/na-gconf-monitor.h:
892 * src/api/na-gconf-utils.h:
893 * src/core/na-gconf-monitor.c:
894 * src/core/na-gconf-utils.c:
895 * src/io-gconf/nagp-writer.c:
896 * src/io-gconf/nagp-writer.h: Updated accordingly.
898 No more use deprecated functions
900 * src/core/na-factory-object.c:
901 * src/io-desktop/nadp-reader.c:
902 * src/io-desktop/nadp-writer.c:
903 * src/io-gconf/nagp-reader.c:
904 * src/io-gconf/nagp-writer.c:
905 * src/io-xml/naxml-reader.c:
906 * src/io-xml/naxml-writer.c: Updated accordingly.
908 NADataBoxed class now derives from NABoxed
910 * src/api/na-boxed.h:
911 * src/api/na-data-boxed.h:
912 * src/api/na-data-types.h:
913 * src/core/na-boxed.c:
914 * src/core/na-core-utils.c:
915 * src/core/na-data-boxed.c:
916 * src/core/na-data-types.c:
917 * src/core/na-factory-object.c:
918 * src/core/na-ifactory-object.c:
919 * src/core/na-settings.c:
920 * src/io-desktop/nadp-writer.c:
921 * src/io-gconf/nagp-writer.c:
922 * src/io-xml/naxml-writer.c: Updated accordingly.
924 * src/api/na-boxed.h:
925 * src/core/na-boxed.c: Convert to the NABoxed class.
927 * src/core/na-settings.c: Updated accordingly.
929 * src/api/na-data-boxed.h:
930 * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
932 Merge NABoxed and NADataBoxed data type definitions.
933 Data type are remaned as NA_DATA_TYPE.
935 * src/api/na-boxed.h:
936 * src/api/na-data-def.h:
937 * src/api/na-data-types.h:
938 * src/core/na-boxed.c:
939 * src/core/na-data-boxed.c:
940 * src/core/na-data-types.c:
941 * src/core/na-factory-object.c:
942 * src/core/na-icontext-factory.c:
943 * src/core/na-ifactory-object.c:
944 * src/core/na-object-action-factory.c:
945 * src/core/na-object-id-factory.c:
946 * src/core/na-object-item-factory.c:
947 * src/core/na-object-profile-factory.c:
948 * src/core/na-settings.c:
949 * src/io-desktop/nadp-reader.c:
950 * src/io-desktop/nadp-writer.c:
951 * src/io-gconf/nagp-reader.c:
952 * src/io-gconf/nagp-writer.c:
953 * src/io-xml/naxml-reader.c:
954 * src/io-xml/naxml-writer.c:
955 * src/utils/na-print-schemas.c: Updated accordingly.
957 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
959 * src/api/na-iduplicable.h:
960 * src/core/na-iduplicable.c:
961 Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
962 Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
964 * src/api/na-object-api.h:
965 * src/core/na-object.c:
966 * src/core/na-object-item.c:
967 * src/core/na-object-item.h:
968 Deprecated na_object_check_status_up macro.
969 Merge na_object_item_check_status() and na_object_item_check_status_up().
971 * src/nact/nact-iaction-tab.c:
972 * src/nact/nact-ibasenames-tab.c:
973 * src/nact/nact-icapabilities-tab.c:
974 * src/nact/nact-icommand-tab.c:
975 * src/nact/nact-ienvironment-tab.c:
976 * src/nact/nact-iexecution-tab.c:
977 * src/nact/nact-ifolders-tab.c:
978 * src/nact/nact-iproperties-tab.c:
979 * src/nact/nact-ischemes-tab.c:
980 * src/nact/nact-main-window.c:
981 * src/nact/nact-main-window.h:
982 * src/nact/nact-match-list.c: Properties are renamed.
984 * src/nact/nact-main-tab.c:
985 * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
987 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
989 In the process of replacing NactIActionsList interface with:
990 - the NactTreeView class
991 - plus the NactTreeIEditable interface.
993 Almost all NACT files modified. Compilation is OK.
995 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
997 * src/nact/nact-tree-model.c:
998 * src/nact/nact-tree-model.h (nact_tree_model_get_items):
999 * src/nact/nact-tree-view.c:
1000 * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
1002 Allow an items list to be referenced in a new list.
1004 * src/api/na-object-api.h (na_object_ref_items): New macro.
1006 * src/api/na-object-item.h:
1007 * src/core/na-object-item.c (na_object_item_ref_items): New function.
1009 * src/nact/nact-assistant-export.c
1010 (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
1012 Review NAObject reference management
1014 * src/api/na-object-api.h
1015 (na_object_unref_items, na_object_unref_items_rec): Removed macros.
1016 (na_object_free_items): New macro.
1018 * src/api/na-object-item.h:
1019 * src/core/na-object-item.c
1020 (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
1021 (na_object_item_free_items): New function.
1023 * src/core/na-io-provider.c (na_io_provider_load_items):
1024 * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
1025 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
1026 na_pivot_set_new_items):
1027 * src/nact/nact-assistant-import.c (assistant_apply):
1028 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
1029 * src/nact/nact-iactions-list.c (free_items_callback):
1030 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
1031 nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
1032 nact_main_menubar_edit_on_paste_into,
1033 nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
1034 * src/nact/nact-main-menubar-file.c
1035 (nact_main_menubar_file_on_new_menu,
1036 nact_main_menubar_file_on_new_action,
1037 nact_main_menubar_file_on_new_profile):
1038 * src/nact/nact-main-menubar-maintainer.c
1039 (nact_main_menubar_maintainer_on_dump_selection):
1040 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1041 * src/nact/nact-main-window.c (instance_dispose,
1042 nact_main_window_remove_deleted, reload):
1043 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1044 * src/nact/nact-tree-model.c (fill_tree_store):
1045 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1046 * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
1048 * src/nact/nact-main-menubar-maintainer.c
1049 (nact_main_menubar_maintainer_on_dump_selection):
1050 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1051 * src/nact/nact-main-window.c (instance_dispose,
1052 nact_main_window_remove_deleted, reload):
1053 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1054 * src/nact/nact-tree-model.c (fill_tree_store):
1055 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1056 * src/plugin-menu/nautilus-actions.c (get_menus_items):
1057 Updated accordingly.
1059 New NactTreeView convenience class
1061 * src/nact/nact-tree-view.c:
1062 * src/nact/nact-tree-view.h: New files.
1064 * src/nact/Makefile.am:
1065 * src/nact/nact-assistant-export.c:
1066 * src/nact/nact-iactions-list-priv.c:
1067 * src/nact/nact-iactions-list.h:
1068 * src/nact/nact-marshal.list:
1069 * src/nact/nact-tree-model.c: Updated accordingly.
1071 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1073 Refactoring of menubar files:
1074 - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
1075 - nact-main-menubar-*.h are removed.
1077 * src/nact/Makefile.am:
1078 * src/nact/nact-confirm-logout.c:
1079 * src/nact/nact-iactions-list.c: Updated accordingly.
1081 * src/nact/nact-main-window.c:
1082 * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
1083 which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
1085 Termination of the main window is managed in NactMainWindow.
1087 * src/nact/nact-main-window.c:
1088 * src/nact/nact-main-window.h (nact_main_window_quit): New function.
1090 * src/nact/nact-main-menubar-file.c: Updated accordingly.
1092 Move a NASettings getter to NAUpdater
1094 * src/core/na-updater.c:
1095 * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
1097 * src/nact/nact-main-menubar-edit.c:
1098 * src/nact/nact-main-menubar-edit.h
1099 (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
1101 * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
1103 * src/nact/base-application.c (class_init):
1104 * src/nact/base-assistant.c (class_init):
1105 * src/nact/base-window.c (class_init):
1106 * src/nact/nact-main-window.c (instance_constructed):
1107 Setup construction properties.
1109 * src/nact/nact-application.c:
1110 * src/nact/nact-application.h (nact_application_get_updater):
1111 Set NactApplication as a const argument.
1113 Deprecate NAIPivotConsumer interface
1115 * src/core/na-ipivot-consumer.c:
1116 * src/core/na-ipivot-consumer.h: Removed files.
1118 * src/core/Makefile.am:
1119 * src/core/na-pivot.c:
1120 * src/core/na-pivot.h:
1121 * src/nact/nact-application.c:
1122 * src/nact/nact-main-menubar-file.c:
1123 * src/nact/nact-main-window.c:
1124 * src/nact/nact-menubar.c: Updated accordingly.
1126 * src/core/na-pivot.c:
1127 * src/core/na-pivot.h
1128 (na_pivot_set_automatic_reload): Remove unused function.
1130 * src/test/test-reader.c: Updated accordingly.
1132 * src/nact/nact-main-window.c (instance_constructed):
1133 Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
1135 Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
1137 * src/nact/base-iprefs.c:
1138 * src/nact/base-iprefs.c: Removed files.
1140 * src/nact/Makefile.am:
1141 * src/nact/base-gtk-utils.c:
1142 * src/nact/base-gtk-utils.h:
1143 * src/nact/base-window.c:
1144 * src/nact/nact-assistant-export.c:
1145 * src/nact/nact-export-ask.c:
1146 * src/nact/nact-export-format.c:
1147 * src/nact/nact-iaction-tab.c:
1148 * src/nact/nact-ibasenames-tab.c:
1149 * src/nact/nact-icommand-tab.c:
1150 * src/nact/nact-icon-chooser.c:
1151 * src/nact/nact-ienvironment-tab.c:
1152 * src/nact/nact-iexecution-tab.c:
1153 * src/nact/nact-ifolders-tab.c:
1154 * src/nact/nact-iproperties-tab.c:
1155 * src/nact/nact-ischemes-tab.c:
1156 * src/nact/nact-main-statusbar.c:
1157 * src/nact/nact-main-window.c:
1158 * src/nact/nact-match-list.c:
1159 * src/nact/nact-preferences-editor.c:
1160 * src/nact/nact-providers-list.c:
1161 * src/nact/nact-schemes-list.c:
1162 * src/nact/nact-tree-model.c: Updated accordingly.
1164 Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1167 * src/core/na-settings.c:
1168 * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1170 * src/nact/base-iprefs.c:
1171 * src/nact/base-iprefs.h
1172 (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1174 (get_wsp_id): Remove interface method.
1176 * src/nact/base-window.c:
1177 * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1179 * src/nact/nact-add-capability-dialog.c:
1180 * src/nact/nact-add-scheme-dialog.c:
1181 * src/nact/nact-assistant-export.c:
1182 * src/nact/nact-assistant-import.c:
1183 * src/nact/nact-confirm-logout.c:
1184 * src/nact/nact-export-ask.c:
1185 * src/nact/nact-gtk-utils.c:
1186 * src/nact/nact-icommand-tab.c:
1187 * src/nact/nact-icon-chooser.c:
1188 * src/nact/nact-ifolders-tab.c:
1189 * src/nact/nact-main-window.c:
1190 * src/nact/nact-preferences-editor.c: Updated accordingly.
1192 * src/core/na-updater.c:
1193 * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1195 Homogeneize marshalling
1197 * src/core/na-marshal: Renamed as src/core/na-marshal.def
1198 * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1200 * src/core/Makefile.am:
1201 * src/nact/Makefile.am:
1202 * src/nact/nact-iactions-list.c (interface_base_init):
1203 * src/nact/nact-main-window.c (class_init): Updated accordingly.
1205 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1207 Review menu items sensitivity updates
1209 * src/api/na-object-api.h
1210 (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1212 * src/api/na-object-item.h:
1213 * src/core/na-object-item.c
1214 (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1217 * src/core/na-updater.c:
1218 * src/core/na-updater.h (na_updater_load_items): New function.
1220 * src/nact/nact-application.c (appli_main_window_new):
1221 * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1222 No more load items when instanciating the main window, but when
1225 * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1226 Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1228 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1229 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1230 * src/nact/nact-menubar-priv.h:
1231 * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1232 Rely on indicators pre-computed on selection changes.
1234 * src/nact/nact-window.c:
1235 * src/nact/nact-window.h (nact_window_has_writable_providers):
1238 * src/nact/nact-menubar-priv.h:
1239 * src/nact/nact-menubar.c: Updated accordingly.
1241 * src/core/na-iprefs.c:
1242 * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1243 Moved to NAUpdater class.
1245 * src/core/na-updater.c:
1246 * src/core/na-updater.h (na_updater_is_level_zero_writable):
1247 Moved from NAIPrefs.
1249 * src/nact/nact-menubar-priv.h:
1250 * src/nact/nact-menubar.c (on_base_initialize_window):
1251 * src/nact/nact-sort-buttons.c (enable_buttons):
1252 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1253 Updated accordingly.
1255 Review I/O providers writability status management.
1257 * src/api/na-iio-provider.h: Review writability reason.
1259 * src/core/na-io-provider.c:
1260 * src/core/na-io-provider.h
1261 (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1263 (na_io_provider_is_finally_writable): New function.
1265 * src/core/na-pivot.c:
1266 * src/core/na-pivot.h
1267 (na_pivot_is_configuration_locked_by_admin): Removed function.
1269 * src/core/na-updater.c
1270 * src/core/na-updater.h (na_updater_is_item_writable):
1271 * src/nact/nact-main-menubar-edit.c (get_deletables):
1272 * src/nact/nact-main-window.c: Updated accordingly.
1274 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1276 * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1277 Renamed as nact_menubar_enable_item() and moved to private resources.
1279 * src/nact/nact-main-menubar-edit.c:
1280 * src/nact/nact-main-menubar-file.c:
1281 * src/nact/nact-main-menubar-help.c:
1282 * src/nact/nact-main-menubar-tools.c:
1283 * src/nact/nact-main-menubar-view.c:
1284 * src/nact/nact-menubar-priv.h:
1285 * src/nact/nact-menubar.h: Updated accordingly.
1287 Move MenubarIndicatorsStruct structure to private instance data
1289 * src/nact/nact-menubar-priv.h: New file.
1291 * src/nact/Makefile.am:
1292 * src/nact/nact-main-menubar-edit.c:
1293 * src/nact/nact-main-menubar-edit.h:
1294 * src/nact/nact-main-menubar-file.c:
1295 * src/nact/nact-main-menubar-file.h:
1296 * src/nact/nact-main-menubar-help.c:
1297 * src/nact/nact-main-menubar-help.h:
1298 * src/nact/nact-main-menubar-maintainer.c:
1299 * src/nact/nact-main-menubar-maintainer.h:
1300 * src/nact/nact-main-menubar-tools.c:
1301 * src/nact/nact-main-menubar-tools.h:
1302 * src/nact/nact-main-menubar-view.c:
1303 * src/nact/nact-main-menubar-view.h:
1304 * src/nact/nact-menubar.c:
1305 * src/nact/nact-menubar.h: Updated accordingly.
1307 Define a new NactMenubar convenience class
1309 * src/nact/nact-main-menubar.c:
1310 * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1312 * src/nact/Makefile.am:
1313 * src/nact/nact-iactions-list.c:
1314 * src/nact/nact-main-menubar-edit.h:
1315 * src/nact/nact-main-menubar-file.h:
1316 * src/nact/nact-main-menubar-help.c:
1317 * src/nact/nact-main-menubar-help.h:
1318 * src/nact/nact-main-menubar-maintainer.c:
1319 * src/nact/nact-main-menubar-maintainer.h:
1320 * src/nact/nact-main-menubar-tools.c:
1321 * src/nact/nact-main-menubar-tools.h:
1322 * src/nact/nact-main-menubar-view.c:
1323 * src/nact/nact-main-menubar-view.h:
1324 * src/nact/nact-main-window.c: Updated accordingly.
1326 * src/api/na-boxed.h:
1327 * src/core/na-boxed.c (na_boxed_dump): New function.
1329 * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1331 * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1333 * src/core/na-marshal: New file.
1335 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1337 * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1339 * src/core/na-settings.c:
1340 * src/core/na-settings.h: No more try to summarize notifications here.
1342 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1343 Register NASettings callbacks on the runtime keys.
1345 * src/nact/nact-main-window.c:
1346 (NAIPivotConsumer->on_display_order_changed):
1347 Moved to on_settings_order_mode_changed() function.
1348 (NAIPivotConsumer->on_autosave_changed):
1349 Moved to nact_main_menubar_file_install_autosave() new function.
1351 * src/nact/nact-main-menubar-file.c:
1352 * src/nact/nact-main-menubar-file.h
1353 (nact_main_menubar_file_install_autosave): New function.
1355 * src/core/na-iprefs.c:
1356 * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1359 * src/core/na-icontext.c (is_candidate_for_basenames):
1360 Fix case insenstive comparison (bug reported by Johan Spee).
1362 Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1364 * src/nact/base-application.c:
1365 * src/nact/base-application.h: Add new exit codes.
1367 * src/nact/base-assistant.c:
1368 * src/nact/base-assistant.h:
1369 Remove 'warn-on-cancel' unused property.
1370 (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1371 Remove unused functions.
1372 Implement run() virtual method.
1374 * src/nact/base-dialog.c:
1375 * src/nact/base-dialog.h:
1376 Implement run() virtual method.
1377 Define new cancel() and ok() virtual methods.
1379 * src/nact/base-iprefs.c:
1380 * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1382 * src/nact/base-window.c:
1383 * src/nact/base-window.h
1384 (dialog_response, delete_event): Remove no more used virtual methods.
1385 (run): Define new virtual method.
1387 * src/nact/nact-add-capability-dialog.c:
1388 * src/nact/nact-add-scheme-dialog.c:
1389 * src/nact/nact-assistant-export.c:
1390 * src/nact/nact-assistant-import.c:
1391 * src/nact/nact-confirm-logout.c:
1392 * src/nact/nact-export-ask.c:
1393 * src/nact/nact-icon-chooser.c:
1394 * src/nact/nact-main-window.c:
1395 * src/nact/nact-preferences-editor.c: Updated accordingly.
1397 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1399 * src/nact/nact-providers-list.c:
1400 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1401 Do not initialize the widgets with the future BaseWindow.
1403 * src/nact/nact-preferences-editor.c (preferences_editor_new):
1404 Updated accordingly.
1406 * src/nact/nact-schemes-list.c: Only ask for preferences once.
1408 * src/nact/nact-assistant-import.c (assist_new):
1409 Reload the common XML UI file into the private builder.
1411 * src/nact/base-dialog.c:
1412 * src/nact/base-dialog.h:
1413 * src/nact/base-window.h: Do some code and comments cleanup.
1415 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1416 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1417 * src/nact/base-window.c (setup_builder):
1418 Add a debug message.
1420 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1422 * src/plugin-menu/nautilus-actions.c:
1423 * src/plugin-menu/nautilus-actions.h:
1424 Takes advantage of the new NASettings signal notification system.
1426 * src/core/na-pivot.c:
1427 * src/core/na-pivot.h: Review the notification system.
1429 * src/core/na-settings.c:
1430 * src/core/na-settings.h:
1431 Add a signal notification to the existing callback pregistration system.
1433 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1434 * docs/des-ema/des-ema-0.15:
1435 * docs/nact/C/nact-conditions.xml:
1436 * docs/nact/C/nact-menus.xml:
1437 * src/api/na-extension.h:
1438 * src/api/na-ifactory-provider.h:
1439 * src/api/na-iio-provider.h:
1440 * src/api/na-object.h:
1441 * src/core/na-core-utils.c:
1442 * src/core/na-factory-object.c:
1443 * src/core/na-gconf-utils.c:
1444 * src/core/na-icontext-factory.c:
1445 * src/core/na-icontext.c:
1446 * src/core/na-ifactory-provider.c:
1447 * src/core/na-io-provider.c:
1448 * src/core/na-io-provider.h:
1449 * src/core/na-iprefs.c:
1450 * src/core/na-object-action.c:
1451 * src/core/na-object-id-factory.c:
1452 * src/core/na-object-id.c:
1453 * src/core/na-object-item-factory.c:
1454 * src/core/na-object-item.c:
1455 * src/core/na-pivot.h:
1456 * src/core/na-settings.c:
1457 * src/core/na-settings.h:
1458 * src/core/na-tokens.h:
1459 * src/io-desktop/nadp-desktop-file.c:
1460 * src/io-desktop/nadp-reader.c:
1461 * src/io-desktop/nadp-utils.c:
1462 * src/io-gconf/nagp-reader.c:
1463 * src/io-xml/naxml-reader.c:
1464 * src/nact/nact-gtk-utils.c:
1465 * src/nact/nautilus-actions-config-tool.ui:
1466 * src/plugin-menu/nautilus-actions.c:
1467 * src/utils/nautilus-actions-new.c:
1468 * src/utils/nautilus-actions-run.c:
1469 * tools/check-headers.sh:
1470 * tools/init-finalize-diff.sh:
1471 Apply patch provided by Christian Kirbach. Fix #640216.
1473 * src/nact/nautilus-actions-config-tool.ui:
1474 * src/utils/na-delete-xmltree.c:
1475 * src/utils/nautilus-actions-print.c:
1476 Fix string errors reported by fr translation team.
1478 * src/api/na-timeout.h:
1479 * src/core/na-timeout.c: New files.
1481 * src/api/Makefile.am:
1482 * src/core/Makefile.am: Updated accordingly.
1484 * src/core/na-pivot.c (on_item_changed_timeout):
1485 * src/core/na-settings.c (on_keyfile_changed_timeout):
1486 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1487 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1488 Take advantage of new NATimeout convenience structure.
1490 * src/api/na-iio-provider.h:
1491 * src/core/na-io-provider.c:
1492 * src/core/na-io-provider.h: Fix comments.
1494 * src/core/na-iio-provider.c (interface_base_init):
1495 The 'item-changed' signal actually does not send any argument.
1497 * src/core/na-pivot.c:
1498 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1499 Updated accordingly.
1501 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1503 * src/nact/base-window.c: Handles the recorded signals in a GList.
1505 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1507 * src/nact/nact-main-window.c
1508 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1509 Calls the parent class method if willing to quit.
1511 * src/nact/nact-window.c:
1512 * src/nact/nact-window.h
1513 (nact_window_is_item_writable): Remove unused function.
1515 * src/nact/base-window.c:
1516 * src/nact/base-window.h
1517 (runtime_init_toplevel): Renamed as initialize_base_window().
1518 (class_init): Fix cclosure_marshall for signals without argument.
1520 * src/nact/base-window.c:
1521 * src/nact/base-window.h
1522 (get_toplevel_name, get_ui_filename): Removed virtual functions.
1524 * src/nact/nact-add-capability-dialog.c:
1525 * src/nact/nact-add-scheme-dialog.c:
1526 * src/nact/nact-assistant-export.c:
1527 * src/nact/nact-assistant-import.c:
1528 * src/nact/nact-confirm-logout.c:
1529 * src/nact/nact-export-ask.c:
1530 * src/nact/nact-icon-chooser.c:
1531 * src/nact/nact-main-window.c:
1532 * src/nact/nact-preferences-editor.c: Updated accordingly.
1534 * src/nact/base-window.c:
1535 * src/nact/base-window.h:
1536 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1538 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1540 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1542 * src/nact/nact-main-window.c:
1543 No more connect to the signal, but implement the virtual method.
1545 * src/nact/base-application.c (appli_initialize_manage_options):
1546 * src/nact/base-application.h (manage_options):
1547 * src/nact/nact-application.c (appli_manage_options):
1548 Revert commit 3acf600874.
1550 * src/test/test-virtuals.c: Do some more tests on virtual methods.
1552 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1553 on_initialize_base_window_class_handler,
1554 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1555 Succssively invoke all derived class methods.
1557 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1558 all_widgets_showed, is_willing_to_quit): Update comments.
1560 * src/nact/base-application.c (appli_initialize_manage_options):
1561 Successively invoke all derived class methods.
1563 * src/nact/base-application.h (manage_options): Update comment.
1565 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1567 * src/nact/base-builder.c:
1568 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1569 Use a const BaseBuilder as argument;
1571 * src/nact/base-window.c:
1572 * src/nact/base-window.h (base_window_get_widget_from_gtk):
1575 * src/nact/nact-gtk-utils.c:
1576 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1579 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1581 * src/nact/base-application.c (appli_initialize_unique_app):
1584 * src/nact/base-builder.c:
1585 * src/nact/base-builder.h (base_builder_load_named_toplevel):
1586 Renamed as base_builder_get_toplevel_by_name().
1588 * src/nact/base-window.c: Updated accordingly.
1590 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1592 * src/nact/base-window.c:
1593 * src/nact/base-window.h (base_window_peek_widget):
1594 Renamed as base_window_get_widget_from_gtk().
1596 * src/nact/nact-icon-chooser.c: Updated accordingly.
1598 * src/nact/base-window.c:
1599 * src/nact/base-window.h (base_window_get_named_toplevel):
1600 Renamed as base_window_get_gtk_toplevel_by_name().
1602 * src/nact/nact-icommand-tab.c: Updated accordingly.
1604 * src/nact/base-window.c:
1605 * src/nact/base-window.h (base_window_get_toplevel):
1606 Renamed as base_window_get_gtk_toplevel().
1608 * src/nact/base-application.c:
1609 * src/nact/base-assistant.c:
1610 * src/nact/base-iprefs.c:
1611 * src/nact/nact-add-capability-dialog.c:
1612 * src/nact/nact-add-scheme-dialog.c:
1613 * src/nact/nact-assistant-export.c:
1614 * src/nact/nact-assistant-import.c:
1615 * src/nact/nact-confirm-logout.c:
1616 * src/nact/nact-export-ask.c:
1617 * src/nact/nact-gtk-utils.c:
1618 * src/nact/nact-icommand-tab.c:
1619 * src/nact/nact-icon-chooser.c:
1620 * src/nact/nact-ifolders-tab.c:
1621 * src/nact/nact-main-menubar.c:
1622 * src/nact/nact-main-window.c:
1623 * src/nact/nact-match-list.c:
1624 * src/nact/nact-preferences-editor.c:
1625 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1627 * src/nact/base-window.c:
1628 * src/nact/base-window.h: Rename signal defines.
1630 * src/nact/base-assistant.c:
1631 * src/nact/nact-add-capability-dialog.c:
1632 * src/nact/nact-add-scheme-dialog.c:
1633 * src/nact/nact-assistant-export.c:
1634 * src/nact/nact-assistant-import.c:
1635 * src/nact/nact-confirm-logout.c:
1636 * src/nact/nact-export-ask.c:
1637 * src/nact/nact-icon-chooser.c:
1638 * src/nact/nact-main-window.c:
1639 * src/nact/nact-preferences-editor.c: Updated accordingly.
1641 * src/nact/base-window.c:
1642 * src/nact/base-window.h:
1643 Remove unused properties.
1644 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1646 * src/nact/base-assistant.c:
1647 * src/nact/nact-main-menubar-edit.c:
1648 * src/nact/nact-main-menubar-file.c:
1649 * src/nact/nact-main-window.c
1650 * src/nact/nact-window.c: Updated accordingly.
1652 * src/nact/base-window-class.h: Removed file.
1654 * src/nact/base-window.h:
1655 * src/nact/Makefile.am: Updated accordingly.
1657 * src/utils/na-gconf2key.sh.in:
1658 Get ride of possible error messages when forcing gconfd-2 synchro.
1660 * src/nact/base-application.c:
1661 * src/nact/base-application.h (base_application_message_dlg,
1662 base_application_error_dlg, base_application_yesno_dlg):
1663 Functions are moved to BaseWindow class.
1665 * src/nact/base-window.c:
1666 * src/nact/base-window.h
1667 (base_window_display_yesno_dlg, base_window_display_message_dlg):
1670 * src/nact/base-application.c:
1671 * src/nact/base-application.h
1672 (base_application_get_ui_filename): Removed function.
1673 (get_ui_filename): Removed virtual method.
1675 * src/nact/nact-application.c
1676 (appli_get_gtkbuilder_filename):Removed function.
1678 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1680 * src/nact/nact-main-window.c (nact_main_window_new):
1681 Initialize the main window with XML UI properties.
1683 * src/nact/base-window.c:
1684 * src/nact/base-window.h: Rename initialization properties.
1686 * src/nact/nact-add-capability-dialog.c:
1687 * src/nact/nact-add-scheme-dialog.c:
1688 * src/nact/nact-assistant-export.c:
1689 * src/nact/nact-assistant-import.c:
1690 * src/nact/nact-confirm-logout.c:
1691 * src/nact/nact-export-ask.c:
1692 * src/nact/nact-icon-chooser.c:
1693 * src/nact/nact-main-window.c:
1694 * src/nact/nact-preferences-editor.c: Updated accordingly.
1696 * src/nact/base-application.c:
1697 * src/nact/base-application.h:
1698 Define new 'base-application-description' property.
1699 Remove unused properties.
1701 * src/nact/nact-application.c (nact_application_new):
1702 Make use of the new property at instanciation time.
1704 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1706 * src/nact/base-window.c:
1707 * src/nact/base-window.h (base_window_display_error_dlg): New function.
1709 * src/nact/base-application.c:
1710 * src/nact/base-application.h (base_application_get_icon_name):
1713 * src/nact/base-application.c:
1714 * src/nact/base-application.h
1715 (initialize_i18n, initialize_application_name, get_application_name,
1716 initialize_default_icon, get_icon_name, initialize_gtk,
1717 initialize_session_manager, get_unique_app_name, initialize_ui,
1718 initialize_unique_app, initialize, run, get_main_window,
1719 initialize_application): Remove virtual methods.
1721 * src/nact/nact-application.c (appli_get_application_name,
1722 appli_get_icon_name, appli_get_unique_app_name,
1723 appli_initialize_application): Removed functions.
1725 * src/nact/nact-application.c (nact_application_new_with_args):
1726 Make NactApplication initializes with these new properties.
1728 * src/nact/base-application.c:
1729 * src/nact/base-application.h: Define new properties.
1731 * src/nact/base-application-class.h: Removed file.
1733 * src/nact/Makefile.am:
1734 * src/nact/base-application.h:
1735 * src/nact/base-window-class.h:
1736 * src/nact/base-window.h: Updated accordingly.
1738 * src/nact/base-application-class.h (main_window_new):
1739 * src/nact/base-application.c (application_do_run):
1740 * src/nact/nact-application.c
1741 * src/nact/nact-main-window.h (appli_main_window_new):
1742 Move the creation of the main window to the main_window_new() method.
1743 Remove base_application_get_main_window() function.
1745 * src/nact/base-application-class.h (manage_options):
1746 * src/nact/base-application.c:
1747 * src/nact/nact-application.c: Return exit code of the program.
1749 * src/nact/nact-tree-model-dnd.c
1750 (drop_inside, is_drop_possible, drop_uri_list):
1751 * src/nact/base-window.c (is_main):
1752 Remove base_application_get_main_window() invocations.
1754 * src/nact/nact-main.c: Renamed as main.c
1756 * src/nact/Makefile.am: Updated accordingly.
1758 * tools/Makefile.am: Generate the check-header.c source if it is missing.
1760 * src/plugin-tracker/na-tracker-dbus.c:
1761 * src/plugin-tracker/na-tracker-dbus.h:
1762 * src/plugin-tracker/na-tracker.c:
1763 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1765 * src/plugin-menu/nautilus-actions.c:
1766 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1768 * src/nact/base-application.c:
1769 * src/nact/base-application-class.h:
1770 * src/nact/base-assistant.c:
1771 * src/nact/base-assistant.h:
1772 * src/nact/base-builder.c:
1773 * src/nact/base-builder.h:
1774 * src/nact/base-dialog.c:
1775 * src/nact/base-dialog.h:
1776 * src/nact/base-iprefs.c:
1777 * src/nact/base-iprefs.h:
1778 * src/nact/base-window.c:
1779 * src/nact/base-window-class.h:
1780 * src/nact/egg-tree-multi-dnd.h:
1781 * src/nact/nact-add-capability-dialog.c:
1782 * src/nact/nact-add-capability-dialog.h:
1783 * src/nact/nact-add-scheme-dialog.c:
1784 * src/nact/nact-add-scheme-dialog.h:
1785 * src/nact/nact-application.c:
1786 * src/nact/nact-application.h:
1787 * src/nact/nact-assistant-export.c:
1788 * src/nact/nact-assistant-export.h:
1789 * src/nact/nact-assistant-import.c:
1790 * src/nact/nact-assistant-import.h:
1791 * src/nact/nact-clipboard.c:
1792 * src/nact/nact-clipboard.h:
1793 * src/nact/nact-confirm-logout.c:
1794 * src/nact/nact-confirm-logout.h:
1795 * src/nact/nact-export-ask.c:
1796 * src/nact/nact-export-ask.h:
1797 * src/nact/nact-iactions-list.c:
1798 * src/nact/nact-iactions-list.h:
1799 * src/nact/nact-iaction-tab.c:
1800 * src/nact/nact-iaction-tab.h:
1801 * src/nact/nact-ibasenames-tab.c:
1802 * src/nact/nact-ibasenames-tab.h:
1803 * src/nact/nact-icapabilities-tab.c:
1804 * src/nact/nact-icapabilities-tab.h:
1805 * src/nact/nact-icommand-tab.c:
1806 * src/nact/nact-icommand-tab.h:
1807 * src/nact/nact-icon-chooser.h:
1808 * src/nact/nact-ienvironment-tab.c:
1809 * src/nact/nact-ienvironment-tab.h:
1810 * src/nact/nact-iexecution-tab.c:
1811 * src/nact/nact-iexecution-tab.h:
1812 * src/nact/nact-ifolders-tab.c:
1813 * src/nact/nact-ifolders-tab.h:
1814 * src/nact/nact-imimetypes-tab.c:
1815 * src/nact/nact-imimetypes-tab.h:
1816 * src/nact/nact-iproperties-tab.c:
1817 * src/nact/nact-iproperties-tab.h:
1818 * src/nact/nact-ischemes-tab.c:
1819 * src/nact/nact-ischemes-tab.h:
1820 * src/nact/nact-main-window.c:
1821 * src/nact/nact-main-window.h:
1822 * src/nact/nact-preferences-editor.c:
1823 * src/nact/nact-preferences-editor.h:
1824 * src/nact/nact-tree-model.c:
1825 * src/nact/nact-tree-model.h:
1826 * src/nact/nact-tree-model-priv.h:
1827 * src/nact/nact-window.c:
1828 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1830 * src/io-xml/naxml-provider.c:
1831 * src/io-xml/naxml-provider.h:
1832 * src/io-xml/naxml-reader.c:
1833 * src/io-xml/naxml-reader.h:
1834 * src/io-xml/naxml-writer.c:
1835 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1837 * src/io-gconf/nagp-gconf-provider.c:
1838 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1840 * src/io-desktop/nadp-desktop-file.c:
1841 * src/io-desktop/nadp-desktop-file.h:
1842 * src/io-desktop/nadp-desktop-provider.c:
1843 * src/io-desktop/nadp-desktop-provider.h:
1844 * src/io-desktop/nadp-monitor.c:
1845 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1847 * src/core/na-export-format.h:
1848 * src/core/na-iabout.h:
1849 * src/core/na-importer-ask.h:
1850 * src/core/na-io-provider.h:
1851 * src/core/na-ipivot-consumer.h:
1852 * src/core/na-module.h:
1853 * src/core/na-pivot.h:
1854 * src/core/na-selected-info.h:
1855 * src/core/na-settings.h:
1856 * src/core/na-tokens.h:
1857 * src/core/na-updater.h: Cosmetic changes in src/core headers.
1859 * src/api/na-data-boxed.h:
1860 * src/api/na-data-types.h:
1861 * src/api/na-gconf-monitor.h:
1862 * src/api/na-gconf-utils.h:
1863 * src/api/na-icontext.h:
1864 * src/api/na-iduplicable.h:
1865 * src/api/na-iexporter.h:
1866 * src/api/na-ifactory-object.h:
1867 * src/api/na-ifactory-provider.h:
1868 * src/api/na-iio-provider.h:
1869 * src/api/na-object-action.h:
1870 * src/api/na-object.h:
1871 * src/api/na-object-id.h:
1872 * src/api/na-object-item.h:
1873 * src/api/na-object-menu.h:
1874 * src/api/na-object-profile.h:
1875 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1877 * src/utils/na-gconf2key.sh.in:
1878 * tools/check-headers.sh:
1879 * tools/check-po.sh:
1880 * tools/init-finalize-diff.sh:
1881 * tools/release-tarball.sh: Replace basename with a shell substitution.
1883 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1885 * tools/release-tarball.sh: Full script rewrite.
1888 * Makefile.am: Add README-GCONF to the distribution.
1890 * tools/check-po.sh: Script rewriting.
1892 * NEWS: Update before 3.0.7 release.
1894 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1896 * src/core/na-export-format.c (na_export_format_get_description):
1897 * src/core/na-importer-ask.c (na_importer_ask_user):
1898 * src/core/na-importer.c (import_from_uri):
1899 * src/core/na-io-provider.c (na_io_provider_get_name):
1900 * src/core/na-iprefs.c:
1901 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1902 na_iprefs_get_order_mode, na_iprefs_get_export_format):
1903 * src/core/na-settings.c:
1904 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1905 * nact/nact-assistant-import.c (runtime_init_duplicates):
1906 * src/nact/nact-clipboard.c (export_row_object):
1907 * src/nact/nact-export-ask.c:
1908 * nact/nact-export-format.c:
1909 * src/nact/nact-export-format.h(nact_export_format_init_display):
1910 * src/nact/nact-gtk-utils.c:
1911 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1912 nact_gtk_utils_radio_reset_initial_state,
1913 nact_gtk_utils_toggle_set_initial_state,
1914 nact_gtk_utils_toggle_reset_initial_state):
1915 * src/nact/nact-ienvironment-tab.c
1916 (on_tab_updatable_selection_changed):
1917 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1918 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1919 * src/nact/nact-preferences-editor.c:
1920 * src/nact/nact-preferences.ui:
1921 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1922 * src/nact/nact-tree-model.c (tree_model_new):
1923 Manage locked and mandatory preferences.
1925 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1926 Do not eat last character.
1929 * src/core/na-settings.h:
1930 * src/utils/na-gconf2key.sh.in:
1931 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1933 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1935 * src/nact/nact-preferences-editor.c:
1936 Reopen the Preferences on the last used tab.
1938 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1939 Fix handling of last separator.
1941 * src/nact/nact-schemes-list.c: Do not allow modification
1942 of default schemes list if preferences are locked or property
1945 * src/core/na-io-provider.c:
1946 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1947 na_io_provider_is_conf_writable):
1948 Returns mandatory flag.
1949 List I/O providers in write order.
1951 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1953 * src/nact/nact-providers-list.c: Do not allow modification of I/O
1954 providers readability/writability/write order properties if
1955 preferences are locked or properties mandatory.
1957 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1959 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1961 * run-distcheck.sh: New file.
1963 Add a script to check completeness of header files.
1966 * tools/Makefile.am:
1967 * tools/check-headers.sh: New files.
1969 * src/test/test-include.c:
1970 Renamed as tools/check-header.c and set it as ignored by git.
1972 * src/test/.gitignore:
1973 * src/test/Makefile.am: Updated accordingly.
1976 * configure.ac: configure in tools/.
1978 * src/api/na-data-boxed.h:
1979 * src/api/na-data-types.h:
1980 * src/api/na-gconf-monitor.h:
1981 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1983 * run-distcheck.sh: New file.
1985 * tools/check-po.sh: Rewrite to have options and messages management.
1987 * src/utils/na-gconf2key.sh.in: Review comment.
1989 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1991 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1993 * tools/check-po.sh: Set the count of errors as exit code.
1995 * po/POTFILES.in: Updated.
1997 * src/api/na-gconf-utils.h:
1998 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
2000 * src/api/na-gconf-monitor.h:
2001 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
2003 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
2005 * src/utils/na-print-schemas.c: Add a deprecation comment.
2007 * src/core/na-io-provider.c:
2008 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
2011 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
2013 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
2015 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
2017 * src/test/test-module.c:
2018 * src/test/test-module-plugin.c: New files.
2020 * src/test/.gitignore:
2021 * src/test/Makefile.am: Updated accordingly.
2023 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
2025 * src/nact/base-iprefs.c
2026 (base_iprefs_position_named_window): Do not force a null window size or position.
2028 * src/core/na-settings.c
2029 (na_settings_get_string_list): Do not allocate an empty string list.
2031 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
2033 * src/core/na-object-id.c:
2034 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
2036 * src/core/na-data-boxed.c:
2037 * src/core/na-gconf-monitor.c:
2038 * src/core/na-io-provider.c:
2039 * src/core/na-tokens.c:
2040 * src/core/na-updater.c:
2041 * src/io-desktop/nadp-desktop-file.c:
2042 * src/io-desktop/nadp-desktop-provider.c:
2043 * src/io-desktop/nadp-monitor.c:
2044 * src/io-gconf/nagp-gconf-provider.c:
2045 * src/io-xml/naxml-provider.c:
2046 * src/nact/base-application.c:
2047 * src/nact/base-builder.c:
2048 * src/nact/base-window.c:
2049 * src/nact/nact-application.c:
2050 * src/nact/nact-clipboard.c:
2051 * src/nact/nact-main-window.c:
2052 * src/nact/nact-tree-model.c:
2053 * src/nact/nact-window.c: Add instance_finalize debug message.
2055 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
2057 * src/core/na-boxed.c
2058 (na_boxed_free): Only free a non null structure.
2059 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
2060 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
2061 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
2062 Do not try to return a value for a null structure.
2064 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
2066 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
2068 * src/utils/na-delete-xmltree.c:
2069 * src/utils/nautilus-actions-print.c: Add localization code.
2071 * src/utils/nautilus-actions-new.c:
2072 * src/utils/nautilus-actions-run.c:
2073 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
2075 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
2076 na_boxed_new_from_string_with_sep, na_boxed_free):
2077 Add debug messages when allocating/freeing a NABoxed structure.
2079 * src/nact/nact-icommand-tab.c (on_wdir_browse):
2080 Remove no more used default value.
2082 * src/nact/nact-icon-chooser.c
2083 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
2085 * src/core/na-settings.h: Preference renamed accordingly.
2088 * src/core/na-settings.h:
2089 * src/utils/na-gconf2key.sh.in:
2090 '-last-folder-uri' preferences are renamed as '-lfu'.
2092 * src/core/na-settings.c: Set default values.
2094 * src/nact/nact-gtk-utils.c:
2095 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
2096 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
2097 Remove no more used default value.
2099 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
2100 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
2101 on_show_if_running_browse): Updated accordingly.
2103 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
2104 Do not allocate the empty last element.
2106 * src/core/na-io-provider.c (load_items_get_merged_list):
2107 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
2108 Use the correct list pointer.
2110 * src/core/na-iprefs.c:
2111 * src/core/na-iprefs.h
2112 (na_iprefs_get_export_format, na_iprefs_set_export_format):
2113 Functions moved from src/nact/nact-iprefs.c.
2115 * src/nact/nact-iprefs.c:
2116 * src/nact/nact-iprefs.h: Removed files.
2118 * src/nact/Makefile.am:
2119 * src/nact/base-window.c:
2120 * src/nact/nact-assistant-export.c:
2121 * src/nact/nact-assistant-import.c:
2122 * src/nact/nact-clipboard.c:
2123 * src/nact/nact-export-ask.c:
2124 * src/nact/nact-export-format.c:
2125 * src/nact/nact-gtk-utils.c:
2126 * src/nact/nact-iaction-tab.c:
2127 * src/nact/nact-icommand-tab.c:
2128 * src/nact/nact-ifolders-tab.c:
2129 * src/nact/nact-main-toolbar.c:
2130 * src/nact/nact-preferences-editor.c:
2131 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
2133 * src/nact/nact-iprefs.c:
2134 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
2135 nact_iprefs_write_string): Remove deprecated functions.
2137 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
2138 Updated accordingly.
2140 * src/nact/base-iprefs.c:
2141 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
2142 Remove deprecated functions.
2144 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
2145 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2146 Updated accordingly.
2148 * src/nact/nact-iprefs.c:
2149 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2151 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2152 Updated accordingly.
2154 Global renaming of preferences.
2157 * src/api/na-iio-provider.h:
2158 * src/core/na-export-format.h:
2159 * src/core/na-exporter.h:
2160 * src/core/na-importer-ask.h:
2161 * src/core/na-importer.c:
2162 * src/core/na-io-provider.c:
2163 * src/core/na-io-provider.h:
2164 * src/core/na-iprefs.c:
2165 * src/core/na-iprefs.h:
2166 * src/core/na-module.c:
2167 * src/core/na-pivot.c:
2168 * src/core/na-pivot.h:
2169 * src/core/na-settings.c:
2170 * src/core/na-settings.h:
2171 * src/core/na-updater.c:
2172 * src/nact/nact-add-capability-dialog.c:
2173 * src/nact/nact-add-scheme-dialog.c:
2174 * src/nact/nact-assistant-export.c:
2175 * src/nact/nact-assistant-import.c:
2176 * src/nact/nact-clipboard.c:
2177 * src/nact/nact-export-ask.c:
2178 * src/nact/nact-gtk-utils.c:
2179 * src/nact/nact-iactions-list.c:
2180 * src/nact/nact-icommand-tab.c:
2181 * src/nact/nact-icon-chooser.c:
2182 * src/nact/nact-ienvironment-tab.c:
2183 * src/nact/nact-ifolders-tab.c:
2184 * src/nact/nact-iprefs.c:
2185 * src/nact/nact-iprefs.h:
2186 * src/nact/nact-main-menubar-edit.c:
2187 * src/nact/nact-main-menubar-file.c:
2188 * src/nact/nact-main-menubar.c:
2189 * src/nact/nact-main-toolbar.c:
2190 * src/nact/nact-main-window.c:
2191 * src/nact/nact-preferences-editor.c:
2192 * src/nact/nact-providers-list.c:
2193 * src/nact/nact-schemes-list.c:
2194 * src/nact/nact-sort-buttons.c:
2195 * src/nact/nact-tree-model-dnd.c:
2196 * src/nact/nact-tree-model.c:
2197 * src/nact/nact-window.c:
2198 * src/nact/nact-window.h:
2199 * src/plugin-menu/nautilus-actions.c:
2200 * src/utils/na-gconf2key.sh.in:
2201 * src/utils/nautilus-actions-new.c: Rename preferences.
2202 >>>>>>> Globally rename preferences
2204 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2206 * src/core/na-settings.c:
2207 * src/core/na-settings.h: Preference names are defined as '#define' values.
2210 * src/utils/na-gconf2key.sh.in: Adjust preferences.
2212 * src/core/na-iprefs.c:
2213 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2215 * src/api/na-iimporter.h:
2216 * src/core/na-importer-ask.c:
2217 * src/core/na-importer-ask.h:
2218 * src/core/na-importer.c: Updated accordingly.
2220 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2222 * src/nact/nact-iprefs.c:
2223 * src/nact/nact-iprefs.h: Get ride of GConf.
2226 * src/core/na-settings.c:
2227 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2229 * src/nact/nact-icommand-tab.c:
2230 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2233 * src/core/na-settings.c:
2234 * src/utils/na-gconf2key.sh.in:
2235 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2237 * src/nact/nact-ifolders-tab.c: Updated accordingly.
2240 * src/core/na-settings.c:
2241 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2243 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2244 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2245 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2246 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2247 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2248 * src/nact/nact-main-window.c
2249 (instance_dispose, base_get_iprefs_window_id):
2250 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2251 Update all preference names when saving/restoring window size and position.
2253 * src/core/na-settings.c:
2254 * src/core/na-settings.h: All getters/setters are implemented.
2256 * src/nact/base-iprefs.c: Remove GConf stuff.
2258 * src/nact/nact-icon-chooser.c:
2259 * src/nact/nact-icon-chooser.ui: Implement all preferences.
2261 * src/utils/na-gconf2key.sh.in:
2262 Renamed preferences for windows size and position '-wsp'.
2263 Also delete from GConf if only preferences have been migrated.
2264 Re-sync after tree delete.
2266 * src/api/na-boxed.h:
2267 * src/core/na-boxed.c
2268 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2271 * configure.ac: Enable silent rules by default.
2273 * run-autogen.sh: Add sysconfdir argument to autogen.sh
2275 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2276 Search a pixbuf by icon theme if not found as filename or stock.
2278 * src/nact/base-window.c:
2279 * src/nact/base-window.h (base_window_peek_widget): New function.
2281 * src/nact/nact-icon-chooser.c:
2282 * src/nact/nact-icon-chooser.h:
2283 * src/nact/nact-icon-chooser.ui: New files.
2285 * src/nact/Makefile.am:
2286 * src/nact/nact-iaction-tab.c:
2287 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2289 * src/core/na-settings.c (content_load_keys):
2290 Do not warn if configuration file does not exist.
2292 * src/api/na-boxed.h:
2293 * src/api/na-data-boxed.h:
2294 * src/api/na-data-types.h:
2295 * src/core/na-boxed.c:
2296 * src/core/na-data-boxed.c:
2297 * src/core/na-data-types.c:
2298 Update reference documentation to deprecate NADataBoxed and NADataType
2299 in favor of NABoxed.
2301 * src/core/na-settings.c:
2302 * src/core/na-settings.h: Configuration monitoring.
2304 * src/plugin-menu/nautilus-actions.c:
2305 Monitor all runtime preferences with only one callback.
2307 * src/api/na-boxed.h:
2308 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2310 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2312 * src/api/na-data-types.h:
2313 * src/core/na-data-types.c
2314 (na_data_types_copy, na_data_types_free): Removed functions.
2317 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2319 * src/api/na-boxed.h:
2320 * src/core/na-boxed.c: New files.
2322 * src/api/Makefile.am:
2323 * src/core/Makefile.am: Updated accordingly.
2325 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2327 * src/api/na-data-types.h:
2328 * src/core/na-data-types.c
2329 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2332 * src/core/na-settings.c
2333 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2335 * src/core/na-settings.h
2336 (na_settings_get_boolean_ex, na_settings_get_string_list):
2339 * src/plugin-menu/nautilus-actions.c:
2340 Implement runtime preferences monitoring.
2341 No more use deprecated na_pivot_set_automatic_reload().
2343 * src/core/na-pivot.c:
2344 * src/core/na-pivot.h:
2345 Replace GConf preferences monitoring with NASettings.
2346 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2348 * src/core/na-settings.c:
2349 * src/core/na-settings.h
2350 (na_settings_register_key_callback,
2351 na_settings_register_global_callback, na_settings_get_boolean):
2354 * src/api/na-iio-provider.h:
2355 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2356 definition is moved (and renamed) from public API to internal one.
2358 * src/core/na-iio-provider.c (interface_base_init):
2359 * src/core/na-io-provider.c (io_provider_set_provider):
2360 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2362 * src/core/na-iio-provider.c
2363 * src/core/na-settings.c (na_settings_new):
2364 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2366 * src/core/na-pivot.c:
2367 * src/core/na-pivot.h (na_pivot_register):
2368 * src/core/na-settings.c:
2369 * src/core/na-settings.h (na_settings_register):
2370 * src/plugin-menu/nautilus-actions.c (instance_constructed):
2373 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2375 * src/nact/base-application.c (display_dlg): Setup parent window.
2377 * src/api/na-iimporter.h:
2378 * src/core/na-io-provider.c:
2379 * src/core/na-object-id.c:
2380 * src/core/na-object-item.c:
2381 * src/io-desktop/nadp-utils.c:
2382 * src/nact/nact-assistant-import.c:
2383 * src/nact/nact-iactions-list-bis.c:
2384 * src/nact/nact-iactions-list.h:
2385 * src/nact/nact-main-window.c:
2386 * src/nact/nact-preferences.ui:
2387 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2389 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2391 * src/core/na-object-profile-factory.c:
2392 Remove %o/%O parameters from description of version 2.0.
2393 Add a missing line feed.
2395 * tools/check-po.sh: Adapt to glade files.
2397 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2399 * src/utils/nautilus-actions-new.c (init_options):
2400 * src/utils/nautilus-actions-run.c (init_options):
2401 * src/utils/nautilus-actions-schemas.c (init_options):
2402 Initialize translation domain for GOptionContext.
2404 * src/core/na-data-boxed.c
2405 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2406 * src/core/na-export-format.c
2407 (na_export_format_get_label, na_export_format_get_description):
2408 * src/core/na-iabout.c (na_iabout_display):
2409 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2410 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2411 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2412 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2413 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2414 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2415 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2416 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2417 * src/nact/nact-tree-model-dnd.c
2418 (is_drop_possible, is_drop_possible_before_iter,
2419 is_drop_possible_into_dest, is_parent_accept_new_childs):
2420 Use gettext() to display localized static strings.
2422 * src/api/na-data-def.h: Complete the description of the fields.
2424 * src/core/na-io-provider.c:
2425 * src/core/na-object-profile-factory.c:
2426 * src/nact/nact-assistant-export.ui:
2427 * src/nact/nautilus-actions-config-tool.ui:
2428 Fix various mistakes and mispellings reported by Fr translation team.
2430 * configure.ac: Post-release bump version number.
2432 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2434 * src/core/na-pivot.c (na_pivot_register): New function.
2436 * src/plugin-menu/nautilus-actions.c:
2437 Replace NAIPivotConsumer interface with na_settings() accessors.
2439 * src/core/na-settings.c:
2440 * src/core/na-settings.h: New files.
2442 * src/utils/na-gconf2key.sh.in:
2443 Make sure that GConf is at the end of the list of I/O providers.
2444 Make sure that GConf is locked.
2445 Migrate all I/O provider preferences.
2448 * src/utils/Makefile.am:
2449 * src/utils/na-gconf2key.sh.in:
2450 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2451 and is installed in PKGLIBEXECDIR.
2453 * src/core/Makefile.am:
2454 * src/core/na-gconf-migration.c: Updated accordingly.
2456 * src/utils/Makefile.am:
2457 nautilus-actions-delete is renamed as na-delete-xmltree,
2458 and is installed in PKGLIBEXECDIR.
2460 * src/core/na-core-utils.c (na_core_utils_print_version):
2461 Print the compilation version of GLib2 and Gtk+ when in debug mode.
2463 * src/utils/Makefile.am:
2464 nautilus-actions-schemas is renamed as na-print-schemas,
2465 and is installed in PKGLIBEXECDIR.
2467 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2469 * src/nact/nact-main-window.c (iabout_get_toplevel):
2470 Let the About dialog get the toplevel window.
2472 * src/nact/nact-preferences.ui:
2473 * src/nact/nautilus-actions-config-tool.ui:
2474 Apply patch provided by Christian Kirbach. Fix #638548.
2476 Use the same script to migrate items and preferences.
2478 * README-GCONF: Document migrated and renamed preferences.
2480 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2481 Rewrite migrated preferences as keyed files.
2482 At last, remove the whole Nautilus-Actions tree from GConf.
2484 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2486 * src/utils/console-utils.c (console_cmdline_get_description):
2487 Returns the full address of the page to enter a new bug in Bugzilla.
2489 * src/core/na-gconf-migration.c:
2490 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2492 * src/core/Makefile.am: Updated accordingly.
2494 * src/nact/nact-main.c (main):
2495 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2496 * src/utils/nautilus-actions-new.c (main):
2497 * src/utils/nautilus-actions-run.c (main):
2498 Automatically run the migration tool at startup.
2500 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2501 * src/utils/nautilus-actions-delete.c:
2502 * src/utils/nautilus-actions-print.c:
2503 New items migration script and programs.
2504 They take care of migrating users and mandatory items to .desktop files.
2507 * src/utils/Makefile.am:
2508 * src/utils/.gitignore: Updated accordingly.
2510 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2512 * src/core/na-tokens.c (na_tokens_new_from_selection):
2513 No more prepare the list string of selection.
2514 Directly build the selection list in the correct order.
2515 (execute_action_command): Setup the working directory.
2517 * src/core/na-tokens.c:
2518 * src/core/na-tokens.h (na_tokens_parse_parameters):
2519 Renamed as na_tokens_parse_for_display() as filenames are not quoted
2520 when displayed as part of an expanded label.
2522 * src/nact/nact-icommand-tab.c (parse_parameters):
2523 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2524 Updated accordingly.
2526 * configure.ac: Fix "API Reference generation" message.
2528 * m4/na-enable-manuals.m4:
2529 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2531 * src/core/na-selected-info.c (new_from_uri):
2532 - Add an excerpt from RFC 2396 about valid characters in URIs.
2533 - Prefer the filename from g_filename_from_uri() when possible.
2535 * src/core/na-tokens.c
2536 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2537 (build_string_lists_item): Removed function.
2539 * src/core/na-iabout.c (na_iabout_display):
2540 Fix typo in comment, adding a note to the translators.
2542 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2544 * src/core/na-io-provider.c:
2545 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2548 * configure.ac: Define a conditional if we have both GSettings and GConf.
2550 * src/core/na-gsettings-migrate.c:
2551 * src/core/na-gsettings-migrate.h: New files.
2553 * src/core/Makefile.am: Updated accordingly.
2555 * src/core/na-pivot.c (instance_constructed):
2556 Call na_gsettings_migrate() if we have both GSettings and GConf.
2559 - Define HAVE_GSETTINGS variable.
2560 - Define HAVE_GCONF variable.
2562 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2564 * src/nact/egg-desktop-file.c:
2565 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2567 * src/nact/base-keysyms.h:
2568 * src/nact/egg-sm-client-private.h:
2569 * src/nact/egg-sm-client-xsmp.c:
2570 * src/nact/nact-add-capability-dialog.c:
2571 * src/nact/nact-add-scheme-dialog.c:
2572 * src/nact/nact-main-tab.c:
2573 * src/nact/nact-clipboard.c:
2574 * src/nact/nact-tree-model-dnd.c:
2575 * src/nact/nact-gtk-utils.c:
2576 * src/nact/nact-iaction-tab.c:
2577 * src/nact/nact-main-statusbar.c:
2578 * src/nact/nact-main-menubar.c:
2579 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2582 * m4/na-check-for-gtk.m4:
2583 Move back gtk_required variable to improve readibility of configure.ac.
2585 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2587 * configure.ac: Post release version bump.
2589 * NEWS: Update NEWS before release.
2591 * src/plugin-menu/nautilus-actions.c (create_root_menu):
2592 Update the root menu label to better reflect the product name.
2594 * src/nact/nautilus-actions-config-tool.ui:
2595 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2597 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2598 Display again stock icons in NACT.
2599 Fix #638461 - Stock icons are no more displayed in NACT.
2601 * Almost all files modified:
2602 Update copyright message.
2603 Set Nautilus-Actions as being the actual official product name.
2605 * src/core/na-selected-info.c (new_from_nautilus_file_info):
2606 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2607 Fix #638450 - Nautilus crashes when opening Trash or Network.