1 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
3 * src/io-desktop/nadp-desktop-file.c (check_key_file):
4 - Do not even try to read zero byte length files.
5 - Check Type key before trying to import the file.
7 * src/core/na-importer-ask.c:
8 * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
9 response codes, and quit on Esc.
11 * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
14 * run-distcheck.sh: Review in order to be able to build several guests
15 from a common single source tree.
17 * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
18 Get ride of the superfluous 'name' entry field when selecting the folder.
20 * src/nact/nact-export-ask.c (nact_export_ask_user):
21 Actually do not export the item if the user cancels the operation.
23 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
24 Only display debug messages (try to minimize warnings on import).
26 * src/io-xml/naxml-reader.c
27 (publish_undealt_nodes): Removed useless (and buggy) function.
28 (manage_import_mode): Returns all messages to the caller.
30 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
31 Returns all messages to the caller.
33 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
35 * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
36 Limit the window size, maximizing with the screen size.
38 * nact/nact-tree-view.h:
39 * nact/nact-tree-view.c: Define parent property.
41 * nact/nact-tree-view.c (on_tree_view_realized):
42 Delay all signal connection until the widget be actually realized.
44 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
45 Delay the connection to the NactTreeView signal until we are sure the
48 * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
49 Delay the initialization of the NactTreeView until the Gtk toplevel has
50 been loaded from XML Glade file.
52 * src/nact/nact-assistant-export.c: Adapt to gtk3.
54 * src/nact/nact-export-format.c (nact_export_format_init_display):
55 Remove the useless intermediate GtkGrid.
57 * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
59 * src/core/na-gtk-utils.c (dump_children):
60 Also dump the address of the child widget.
61 Also dump children which do not have a name (dynamically allocated).
63 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
65 * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
66 before returning so that the list returns as unchanged to the caller.
68 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
69 Slightly optimize code.
71 * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
73 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
74 any error message if we do not identify at least a well-formed document
75 with a known root node.
78 * src/api/na-timeout.h:
79 * src/core/na-boxed.c:
80 * src/core/na-data-boxed.c:
81 * src/core/na-gconf-migration.c:
82 * src/core/na-gconf-monitor.c:
83 * src/core/na-gconf-utils.c:
84 * src/core/na-icontext.c:
85 * src/core/na-iduplicable.c:
86 * src/core/na-iprefs.c:
87 * src/core/na-object-item.c:
88 * src/core/na-object.c:
89 * src/core/na-settings.c:
90 * src/core/na-updater.c: Only reference minor version in 'Since:' and
91 'Deprecated' comments.
93 * run-autogen.sh: Change development installation directory to _install.
95 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
97 m4_ifdef is not a good way to test if these packages are available, as the
98 m4 files default ot be distributed.
100 * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
102 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
104 * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
106 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
109 No more try to rebuild manuals when making distcheck.
110 Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
113 Rename 'autogen_target' variable to 'target'.
114 Remove distcheck target as doc is enough to build manuals.
116 * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
118 * docs/reference/Makefile.am:
119 gtk-doc is no more a mandatory package.
120 Requires gtk-doc 1.15 to take advantage of new source option.
122 * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
124 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
126 * src/nact/nautilus-actions-config-tool.ui:
127 Remove empty children from GtkAssistant container.
129 * src/nact/nact-assistant-import.c:
130 Adapt to the new way Gtk+ 3.2 builds the assistant.
132 * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
134 * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
135 Increment the level of the first child of the hierarchy.
137 * run-autogen.sh: Be able to run from another directory.
139 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
141 * src/nact/base-window.c:
142 * src/nact/base-window.h (base_window_dump_children): New function.
144 * src/core/na-gtk-utils.c:
145 * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
147 * docs/nact/C/nact-conditions.xml:
148 * docs/nact/C/nact-edit.xml:
149 * docs/nact/C/nact-execution.xml:
150 * docs/nact/C/nact-profiles.xml:
151 * docs/nact/C/nact-sorting.xml:
152 * src/nact/nact-assistant-import.c:
153 Fix with advices of Christian Kirbach.
154 Fix #660399, reported by Christian Kirbach.
156 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
158 * src/nact/nact-export-format.c:
159 * src/nact/nact-main-toolbar.c:
160 Get ride of deprecated GtkHBox and GtkVBox.
162 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
164 * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
166 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
168 * docs/nact/C/nact-conditions.xml:
169 * docs/nact/C/nact-edit.xml:
170 * docs/nact/C/nact-execution.xml:
171 * docs/nact/C/nact-menus.xml:
172 * docs/nact/C/nact-profiles.xml:
173 Apply patch provided by Christian Kirbach.
174 Fix #661498 reported by Christian Kirbach.
176 * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
178 From #660399, reported by Gabor Karsay.
180 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
182 * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
183 * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
184 * src/nact/nact-assistant-import.c (prepare_confirm):
185 * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
186 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
187 * src/nact/nact-preferences-editor.c (desktop_setup):
188 * src/nact/nact-providers-list.c (on_selection_changed):
189 * src/test/test-virtuals-without-test.c (first_instance_dispose):
190 Remove set but unused variables.
192 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
194 * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
195 Fix #655237 - Toolbar icons are not created.
197 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
199 * configure.ac: Post-release version bump.
201 * NEWS: Update before releasing.
203 * TODO: Update before releasing.
205 * src/utils/na-gconf2key.sh.in: Update comment.
207 * docs/nact/C/nact-conditions.xml:
208 * docs/nact/C/nact-execution.xml:
209 * docs/nact/C/nact-where.xml:
210 Fix #652664 - [doc] couple of spelling and improvement suggestions;
211 patch provided by Christian Kirbach.
213 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
215 * src/core/na-boxed.c (string_to_array):
216 Accepts now both semi-comma-separated list of strings and
217 comma-separated between square brackets (à la GConf) from string lists.
219 * src/io-xml/naxml-reader.c (slist_to_string):
220 Formats string list as a semi-comma-separated list of strings for NABoxed.
222 * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
223 as it may sometimes be needed to re-migrate a newly inserted item.
225 * src/io-gconf/nagp-reader.c (get_boxed_from_path):
226 Only allocate a new box when a non-null value has been read.
228 * src/core/na-settings.c (read_key_value_from_key_file):
229 Also dump the value read from a key file.
231 * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
233 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
235 * src/api/na-object-api.h:
236 * docs/reference/nautilus-actions-sections.txt
237 (na_object_is_file, na_object_is_dir, na_object_is_multiple):
238 Macros are moved from the official API as deprecated.
240 * src/core/na-icontext-factory.c
241 (ISFILE, ISDIR): No more declare properties for deprecated data.
242 (SCHEMES): Declare 'file' as the default.
244 * src/core/na-factory-object.c:
245 * src/core/na-factory-object.h (na_factory_object_is_set): New function.
247 * src/core/na-object-action.c (ifactory_object_read_done):
248 Dump the rough read data.
249 First create a v2 profile before converting it to last version.
251 * src/core/na-object-menu.c (ifactory_object_read_done):
252 Dump the rough read data.
254 * src/core/na-object-profile.c
255 (ifactory_object_read_done): Dump the rough read data.
256 (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
258 * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
259 * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
260 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
261 Dump the whole read item, maybe after conversion.
263 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
265 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
266 Setup default values.
268 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
269 Add trace message before unreffing the imported object.
271 * src/nact/nact-assistant-import.c (assistant_apply):
272 Do not try to import an empty list.
274 * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
275 Check for non empty list.
277 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
279 * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
281 * nautilus-actions.doap: Update download page and mailing list infos.
283 * configure.ac: Post release version bump.
285 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
287 * docs/nact/figures: Update screenshots.
289 * docs/nact/C/nact-properties.xml: New file.
291 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
293 * src/core/na-selected-info.c: Extract filename for a GFile location.
295 * src/utils/na-gconf2keys.sh: Requires ksh.
297 * src/core/na-settings.c: Create the configuration directory if
300 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
302 * src/test/Makefile.am: Do not build test programs in release mode.
304 * docs/nact/C/nact-sorting.xml:
305 * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
307 * docs/nact/C/articleinfo.xml:
308 Convert to *nix-like file.
309 Update manual copyright.
311 * docs/nact/C/figures/nact-desktop-environment-frame.png:
312 * docs/nact/C/figures/nact-execution-environment-frame.png:
313 * docs/nact/C/figures/nact-preferences-export.png:
314 * docs/nact/C/figures/nact-preferences-import.png:
315 * docs/nact/C/figures/nact-preferences-io-providers.png:
316 * docs/nact/C/figures/nact-preferences-runtime.png:
317 * docs/nact/C/figures/nact-preferences-schemes.png:
318 * docs/nact/C/figures/nact-preferences-ui.png:
319 * docs/nact/C/figures/nact-schemes-tab.png:
320 * docs/nact/C/figures/nact-target-location.png:
321 * docs/nact/C/figures/nact-working-directory-frame.png:
322 * docs/nact/C/figures/nact-export-done.png:
323 * docs/nact/C/figures/nact-export-format.png:
324 * docs/nact/C/figures/nact-export-home.png:
325 * docs/nact/C/figures/nact-export-items.png:
326 * docs/nact/C/figures/nact-export-summary.png:
327 * docs/nact/C/figures/nact-export-target.png:
328 * docs/nact/C/figures/nact-import-done.png:
329 * docs/nact/C/figures/nact-import-files.png:
330 * docs/nact/C/figures/nact-import-home.png:
331 * docs/nact/C/figures/nact-import-mode.png:
332 * docs/nact/C/figures/nact-import-resultat.png:
333 * docs/nact/C/figures/nact-import-summary.png:
334 * docs/nact/C/figures/nact-preferences-desktop.png:
335 * docs/nact/C/figures/nact-preferences-execution.png:
336 Updated and new screenshots for version 3.1.
338 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
340 * configure.ac: Post-release version bump.
342 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
344 * NEWS: Pre-release update.
346 * src/core/na-tokens.c (execute_action_command):
347 Only use g_spawn_async_with_pipes when required by execution mode
348 (work-around for #644289).
349 Do not close child pid before the end of the child process.
351 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
353 * configure.ac: Post-release bump version.
355 * NEWS: Pre-release udate.
357 * src/core/na-settings.c:
358 * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
360 * src/plugin-menu/nautilus-module.c (set_log_handler):
361 Test if log are enabled before installing the log handler.
363 * src/plugin-menu/nautilus-actions.c:
364 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
365 Removed function. Fix #643359.
367 * configure.ac: Post-release bump version.
369 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
373 * README-GCONF: Update before releasing.
375 * src/api/na-core-utils.h:
376 * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
378 * src/core/na-settings.c:
379 * src/core/na-settings.h:
380 Rename "terminal-prefix" user preference as "terminal-pattern".
382 * src/core/na-tokens.c:
383 * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
384 Renamed as na_tokens_command_for_terminal().
386 * docs/reference/nautilus-actions-sections.txt:
387 * src/nact/nact-preferences-editor.c:
388 * src/nact/nact-preferences.ui: Updated accordingly.
390 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
391 Disable not implemented frames.
393 * src/nact/nautilus-actions-config-tool.ui:
394 Add a tooltip comment on not yet implemented fields.
396 * src/core/na-icontext.c (is_candidate_for_show_in):
397 First try desktop from user preferences.
399 NASettings is now a private singleton which allocates itself when needed.
400 Preference are so available anywhere without requiring an object.
402 * src/core/na-importer-ask.c (na_importer_ask_user):
403 * src/core/na-importer.c (import_from_uri):
404 * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
405 * src/core/na-iprefs.c:
406 * src/core/na-iprefs.h:
407 * src/core/na-pivot.c (instance_constructed, instance_dispose):
408 * src/core/na-pivot.h (na_pivot_get_settings):
409 * src/core/na-settings.c:
410 * src/core/na-settings.h:
411 * src/core/na-tokens.c:
412 * src/core/na-tokens.h(na_tokens_execute_action):
413 * src/core/na-updater.c (are_preferences_locked):
414 * src/nact/base-gtk-utils.c:
415 * src/nact/nact-assistant-export.c (nact_assistant_export_run):
416 * src/nact/nact-assistant-import.c (nact_assistant_import_run):
417 * src/nact/nact-clipboard.c (export_row_object):
418 * src/nact/nact-export-ask.c (nact_export_ask_user):
419 * src/nact/nact-icon-chooser.c:
420 * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
421 * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
422 * src/nact/nact-main-window.c (on_base_initialize_base_window):
423 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
424 * src/nact/nact-preferences-editor.c:
425 * src/nact/nact-providers-list.c (nact_providers_list_save):
426 * src/nact/nact-schemes-list.c (init_view_get_default_list):
427 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
428 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
429 * src/nact/nact-tree-model.c (nact_tree_model_new):
430 * src/plugin-menu/nautilus-actions.c:
431 * src/utils/nautilus-actions-run.c: Updated accordingly.
433 Current desktop environment can be a user preference
435 * src/core/na-desktop-environment.c:
436 * src/core/na-desktop-environment.h: New files.
439 * src/core/Makefile.am:
440 * src/core/na-icontext.c (is_candidate_for_show_in):
441 * nact/nact-ienvironment-tab.c
442 (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
444 * src/core/na-settings.c:
445 * src/core/na-settings.h:
446 Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
447 (set_key_value): Setting a NULL string actually removes the key.
449 * src/nact/nact-preferences-editor.c:
450 * src/nact/nact-preferences.ui: Let the user choose his desktop.
452 * src/core/na-iabout.c: Renamed as src/core/na-about.c.
453 * src/core/na-iabout.h: Renamed as src/core/na-about.h.
454 NAIAbout is no more an interface, but just a set of functions.
456 * src/core/Makefile.am:
457 * src/core/na-core-utils.c (na_core_utils_print_version):
458 * src/nact/nact-application.c (nact_application_new_with_args):
459 * src/nact/nact-main-window.c:
460 * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
461 * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
463 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
465 Improve ExecutionMode implementation by defining a new user preference
467 * src/core/na-settings.c:
468 * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
470 * src/core/na-tokens.c:
471 * src/core/na-tokens.h
472 (na_tokens_command_from_terminal_prefix): New function.
473 (na_tokens_execute_action): New NASettings parameter.
475 * src/nact/nact-preferences-editor.c:
476 * src/nact/nact-preferences.ui: Let the user edit the preference.
478 * src/utils/nautilus-actions-run.c:
479 * po/POTFILES.in: Updated accordingly.
481 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
483 * src/core/na-settings.c:
484 * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
486 * src/plugin-menu/nautilus-actions.c:
487 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
490 * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
491 syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
493 * configure.ac: Bump Nautilus required version to 2.16
494 for having nautilus_menu_provider_emit_items_updated_signal() function.
497 * src/plugin-menu/nautilus-actions.c:
498 Check for nautilus_menu_provider_get_toolbar_items() function.
500 * src/core/na-selected-info.c (instance_init, instance_finalize):
501 Improve debug messages.
503 * src/core/na-icontext.c:
504 * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
505 (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
507 Move Nautilus-Actions configuration files to nautilus-actions/ subdir
509 * src/core/na-settings.c (na_settings_new):
510 * src/utils/na-gconf2key.sh.in: Updated accordingly.
512 Implement execution mode property
514 * m4/na-check-for-gtk.m4: Check for Gio-unix.
516 * src/core/na-object-profile-factory.c: Improve translation comment.
518 * src/core/na-tokens.c (execute_action_command): Display output.
520 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
522 * src/api/na-object.h:
523 * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
524 Deprecated functions.
526 * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
528 Rewrite copy stack to get ride of iteration on class hierarchy
530 * src/api/na-object-api.h
531 (na_object_copy, na_object_get_hierarchy): Removed macros.
533 * src/api/na-icontext.h:
534 * src/core/na-icontext.c (na_icontext_copy): New function.
536 * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
537 * src/core/na-object-item.c (object_copy):
538 * src/core/na-object-action.c (object_copy):
539 * src/core/na-object-profile.c (object_copy):
540 * src/core/na-object-menu.c (object_copy): Updated accordingly.
542 Rewrite validity status check stack
544 * src/api/na-icontext.h:
545 * src/core/na-icontext.c (na_icontext_are_equal): New function.
547 * src/core/na-factory-object.c (na_factory_object_is_valid):
548 * src/core/na-object.c (iduplicable_is_valid):
549 * src/core/na-object-id.c (object_is_valid):
550 * src/core/na-object-id-factory.c:
551 * src/core/na-object-item.c (object_is_valid):
552 * src/core/na-object-action.c (object_is_valid):
553 * src/core/na-object-profile.c (object_is_valid):
554 * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
556 Rewrite modification status check stack
558 * src/api/na-object-item.h:
559 * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
561 * src/api/na-object.h:
562 * src/core/na-factory-object.c:
563 * src/core/na-iduplicable.c: Improve comment.
565 * src/core/na-object.c:
566 * src/core/na-object-id.c:
567 * src/core/na-object-menu.c:
568 * src/core/na-object-action.c:
569 * src/core/na-object-profile.c: Modification is checked from
570 NAObject-virtual method instead of NAIFactoryObject interface.
572 * src/api/na-iduplicable.h:
573 * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
575 * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
577 * src/api/na-icontext.h:
578 * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
579 Renamed as na_icontext_check_mimetypes().
581 * src/api/na-ifactory-object-data.h:
582 * src/api/na-object-api.h:
583 * src/core/na-icontext-factory.c:
584 * src/core/na-object-profile.c: Updated accordingly.
586 * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
588 * src/core/na-icontext.c (na_icontext_get_running_environment):
591 * src/core/na-boxed.c (string_list_from_string,
592 string_list_from_value, string_list_from_void): Check for duplicates.
594 * src/utils/nautilus-actions-new.c: Fix default mimetype.
596 * src/core/na-icontext.c (get_running_environment): New function.
598 * src/utils/na-print-schemas.c: Also display menu schemas.
600 * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
601 Data are deprecated and not writable.
603 * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
605 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
607 * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
608 NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
609 NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
611 * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
612 show-if-true, show-if-running and capability options.
614 * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
615 NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
616 * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
617 NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
618 * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
619 Fix options definition.
621 * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
623 * src/core/na-icontext-factory.c
624 (NAFO_DATA_SELECTION_COUNT): Fix option definition.
626 * src/utils/nautilus-actions-new.c: Add selection-count option.
628 * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
629 locale_is_default): Fix default value test.
631 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
633 * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
634 na_object_set_multiple): Deprecated functions.
636 * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
639 * src/utils/nautilus-actions-new.c: Updated accordingly.
641 * src/nact/nact-providers-list.c:
642 * src/nact/nact-schemes-list.c: Does not recompute if preferences are
643 locked, but use na_updater_are_preferences_locked() function.
645 * src/api/na-iio-provider.h:
646 Define new reason when the level zero is not writable.
648 * src/core/na-updater.c:
649 * src/core/na-updater.h (na_updater_is_item_writable):
650 Renamed as na_updater_check_item_writability_status.
652 * src/nact/nact-main-window.c (setup_writability_status):
653 * src/nact/nact-menubar-edit.c (get_deletables):
654 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
657 * src/nact/base-assistant.c (class_init):
658 Apply patch provided by Christian Kirback. Fix #640920.
660 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
662 * src/core/na-pivot.h:
663 * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
665 * src/nact/base-window.h:
666 * src/nact/base-window.c (class_init):
667 Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
669 * src/nact/nact-main-window.c:
670 Connect to the signal instead of implementing a virtual method.
672 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
674 * src/core/na-iduplicable.c (interface_base_init):
675 * src/core/na-settings.c (class_init):
676 * src/nact/base-window.c (class_init):
677 Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
679 * docs/reference/Makefile.am:
680 * src/nact/Makefile.am:
681 * run-distcheck.sh: Fix make distcheck.
683 * docs/reference/Makefile.am:
684 Do not documente NAGconfMonitor class when deprecated symbols are disabled.
686 * src/api/na-data-boxed.h:
687 * src/api/na-gconf-utils.h:
688 * src/core/na-data-boxed.c:
689 * src/core/na-iduplicable.c:
690 * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
693 * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
695 * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
697 * src/api/na-iduplicable.h:
698 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
701 * src/core/na-factory-object.c (na_factory_object_are_equal):
702 * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
703 Improve debug messages.
705 * src/core/na-icontext-factory.c:
706 * src/core/na-object-action-factory.c:
707 * src/core/na-object-id-factory.c: Set missing default values.
709 * src/core/na-object-action.c (ifactory_object_are_equal):
710 An action is modified as soon as at least one profile is modified.
712 * src/core/na-icontext-factory.c: Fix string list regression
714 * src/core/na-boxed.c: Fix regression when setting values.
716 * src/core/na-selected-info.c (query_file_attributes):
717 Keep selection info even when unable to query attributes.
720 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
722 Do not compile with GConf library when disabled
724 * src/api/na-gconf-monitor.h:
725 * src/api/na-gconf-utils.h:
726 * src/core/na-gconf-migration.c:
727 * src/core/na-gconf-monitor.c:
728 * src/core/na-gconf-utils.c:
729 * src/io-gconf/Makefile.am:
730 * src/io-xml/naxml-reader.c:
731 * src/utils/Makefile.am: Updated accordingly.
733 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
735 Add --enable-gconf configure argument
736 Define HAVE_GCONF conditional
738 * m4/na-check-for-gconf.m4: New file.
741 * data/gconf-schemas/Makefile.am: Updated accordingly.
743 Only GConf writing operations are marked deprecated
745 * src/api/na-gconf-monitor.h:
746 * src/api/na-gconf-utils.h:
747 * src/core/na-gconf-monitor.c:
748 * src/core/na-gconf-utils.c:
749 * src/io-gconf/nagp-writer.c:
750 * src/io-gconf/nagp-writer.h: Updated accordingly.
752 No more use deprecated functions
754 * src/core/na-factory-object.c:
755 * src/io-desktop/nadp-reader.c:
756 * src/io-desktop/nadp-writer.c:
757 * src/io-gconf/nagp-reader.c:
758 * src/io-gconf/nagp-writer.c:
759 * src/io-xml/naxml-reader.c:
760 * src/io-xml/naxml-writer.c: Updated accordingly.
762 NADataBoxed class now derives from NABoxed
764 * src/api/na-boxed.h:
765 * src/api/na-data-boxed.h:
766 * src/api/na-data-types.h:
767 * src/core/na-boxed.c:
768 * src/core/na-core-utils.c:
769 * src/core/na-data-boxed.c:
770 * src/core/na-data-types.c:
771 * src/core/na-factory-object.c:
772 * src/core/na-ifactory-object.c:
773 * src/core/na-settings.c:
774 * src/io-desktop/nadp-writer.c:
775 * src/io-gconf/nagp-writer.c:
776 * src/io-xml/naxml-writer.c: Updated accordingly.
778 * src/api/na-boxed.h:
779 * src/core/na-boxed.c: Convert to the NABoxed class.
781 * src/core/na-settings.c: Updated accordingly.
783 * src/api/na-data-boxed.h:
784 * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
786 Merge NABoxed and NADataBoxed data type definitions.
787 Data type are remaned as NA_DATA_TYPE.
789 * src/api/na-boxed.h:
790 * src/api/na-data-def.h:
791 * src/api/na-data-types.h:
792 * src/core/na-boxed.c:
793 * src/core/na-data-boxed.c:
794 * src/core/na-data-types.c:
795 * src/core/na-factory-object.c:
796 * src/core/na-icontext-factory.c:
797 * src/core/na-ifactory-object.c:
798 * src/core/na-object-action-factory.c:
799 * src/core/na-object-id-factory.c:
800 * src/core/na-object-item-factory.c:
801 * src/core/na-object-profile-factory.c:
802 * src/core/na-settings.c:
803 * src/io-desktop/nadp-reader.c:
804 * src/io-desktop/nadp-writer.c:
805 * src/io-gconf/nagp-reader.c:
806 * src/io-gconf/nagp-writer.c:
807 * src/io-xml/naxml-reader.c:
808 * src/io-xml/naxml-writer.c:
809 * src/utils/na-print-schemas.c: Updated accordingly.
811 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
813 * src/api/na-iduplicable.h:
814 * src/core/na-iduplicable.c:
815 Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
816 Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
818 * src/api/na-object-api.h:
819 * src/core/na-object.c:
820 * src/core/na-object-item.c:
821 * src/core/na-object-item.h:
822 Deprecated na_object_check_status_up macro.
823 Merge na_object_item_check_status() and na_object_item_check_status_up().
825 * src/nact/nact-iaction-tab.c:
826 * src/nact/nact-ibasenames-tab.c:
827 * src/nact/nact-icapabilities-tab.c:
828 * src/nact/nact-icommand-tab.c:
829 * src/nact/nact-ienvironment-tab.c:
830 * src/nact/nact-iexecution-tab.c:
831 * src/nact/nact-ifolders-tab.c:
832 * src/nact/nact-iproperties-tab.c:
833 * src/nact/nact-ischemes-tab.c:
834 * src/nact/nact-main-window.c:
835 * src/nact/nact-main-window.h:
836 * src/nact/nact-match-list.c: Properties are renamed.
838 * src/nact/nact-main-tab.c:
839 * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
841 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
843 In the process of replacing NactIActionsList interface with:
844 - the NactTreeView class
845 - plus the NactTreeIEditable interface.
847 Almost all NACT files modified. Compilation is OK.
849 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
851 * src/nact/nact-tree-model.c:
852 * src/nact/nact-tree-model.h (nact_tree_model_get_items):
853 * src/nact/nact-tree-view.c:
854 * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
856 Allow an items list to be referenced in a new list.
858 * src/api/na-object-api.h (na_object_ref_items): New macro.
860 * src/api/na-object-item.h:
861 * src/core/na-object-item.c (na_object_item_ref_items): New function.
863 * src/nact/nact-assistant-export.c
864 (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
866 Review NAObject reference management
868 * src/api/na-object-api.h
869 (na_object_unref_items, na_object_unref_items_rec): Removed macros.
870 (na_object_free_items): New macro.
872 * src/api/na-object-item.h:
873 * src/core/na-object-item.c
874 (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
875 (na_object_item_free_items): New function.
877 * src/core/na-io-provider.c (na_io_provider_load_items):
878 * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
879 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
880 na_pivot_set_new_items):
881 * src/nact/nact-assistant-import.c (assistant_apply):
882 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
883 * src/nact/nact-iactions-list.c (free_items_callback):
884 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
885 nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
886 nact_main_menubar_edit_on_paste_into,
887 nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
888 * src/nact/nact-main-menubar-file.c
889 (nact_main_menubar_file_on_new_menu,
890 nact_main_menubar_file_on_new_action,
891 nact_main_menubar_file_on_new_profile):
892 * src/nact/nact-main-menubar-maintainer.c
893 (nact_main_menubar_maintainer_on_dump_selection):
894 * src/nact/nact-main-menubar.c (on_update_sensitivities):
895 * src/nact/nact-main-window.c (instance_dispose,
896 nact_main_window_remove_deleted, reload):
897 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
898 * src/nact/nact-tree-model.c (fill_tree_store):
899 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
900 * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
902 * src/nact/nact-main-menubar-maintainer.c
903 (nact_main_menubar_maintainer_on_dump_selection):
904 * src/nact/nact-main-menubar.c (on_update_sensitivities):
905 * src/nact/nact-main-window.c (instance_dispose,
906 nact_main_window_remove_deleted, reload):
907 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
908 * src/nact/nact-tree-model.c (fill_tree_store):
909 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
910 * src/plugin-menu/nautilus-actions.c (get_menus_items):
913 New NactTreeView convenience class
915 * src/nact/nact-tree-view.c:
916 * src/nact/nact-tree-view.h: New files.
918 * src/nact/Makefile.am:
919 * src/nact/nact-assistant-export.c:
920 * src/nact/nact-iactions-list-priv.c:
921 * src/nact/nact-iactions-list.h:
922 * src/nact/nact-marshal.list:
923 * src/nact/nact-tree-model.c: Updated accordingly.
925 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
927 Refactoring of menubar files:
928 - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
929 - nact-main-menubar-*.h are removed.
931 * src/nact/Makefile.am:
932 * src/nact/nact-confirm-logout.c:
933 * src/nact/nact-iactions-list.c: Updated accordingly.
935 * src/nact/nact-main-window.c:
936 * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
937 which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
939 Termination of the main window is managed in NactMainWindow.
941 * src/nact/nact-main-window.c:
942 * src/nact/nact-main-window.h (nact_main_window_quit): New function.
944 * src/nact/nact-main-menubar-file.c: Updated accordingly.
946 Move a NASettings getter to NAUpdater
948 * src/core/na-updater.c:
949 * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
951 * src/nact/nact-main-menubar-edit.c:
952 * src/nact/nact-main-menubar-edit.h
953 (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
955 * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
957 * src/nact/base-application.c (class_init):
958 * src/nact/base-assistant.c (class_init):
959 * src/nact/base-window.c (class_init):
960 * src/nact/nact-main-window.c (instance_constructed):
961 Setup construction properties.
963 * src/nact/nact-application.c:
964 * src/nact/nact-application.h (nact_application_get_updater):
965 Set NactApplication as a const argument.
967 Deprecate NAIPivotConsumer interface
969 * src/core/na-ipivot-consumer.c:
970 * src/core/na-ipivot-consumer.h: Removed files.
972 * src/core/Makefile.am:
973 * src/core/na-pivot.c:
974 * src/core/na-pivot.h:
975 * src/nact/nact-application.c:
976 * src/nact/nact-main-menubar-file.c:
977 * src/nact/nact-main-window.c:
978 * src/nact/nact-menubar.c: Updated accordingly.
980 * src/core/na-pivot.c:
981 * src/core/na-pivot.h
982 (na_pivot_set_automatic_reload): Remove unused function.
984 * src/test/test-reader.c: Updated accordingly.
986 * src/nact/nact-main-window.c (instance_constructed):
987 Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
989 Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
991 * src/nact/base-iprefs.c:
992 * src/nact/base-iprefs.c: Removed files.
994 * src/nact/Makefile.am:
995 * src/nact/base-gtk-utils.c:
996 * src/nact/base-gtk-utils.h:
997 * src/nact/base-window.c:
998 * src/nact/nact-assistant-export.c:
999 * src/nact/nact-export-ask.c:
1000 * src/nact/nact-export-format.c:
1001 * src/nact/nact-iaction-tab.c:
1002 * src/nact/nact-ibasenames-tab.c:
1003 * src/nact/nact-icommand-tab.c:
1004 * src/nact/nact-icon-chooser.c:
1005 * src/nact/nact-ienvironment-tab.c:
1006 * src/nact/nact-iexecution-tab.c:
1007 * src/nact/nact-ifolders-tab.c:
1008 * src/nact/nact-iproperties-tab.c:
1009 * src/nact/nact-ischemes-tab.c:
1010 * src/nact/nact-main-statusbar.c:
1011 * src/nact/nact-main-window.c:
1012 * src/nact/nact-match-list.c:
1013 * src/nact/nact-preferences-editor.c:
1014 * src/nact/nact-providers-list.c:
1015 * src/nact/nact-schemes-list.c:
1016 * src/nact/nact-tree-model.c: Updated accordingly.
1018 Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1021 * src/core/na-settings.c:
1022 * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1024 * src/nact/base-iprefs.c:
1025 * src/nact/base-iprefs.h
1026 (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1028 (get_wsp_id): Remove interface method.
1030 * src/nact/base-window.c:
1031 * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1033 * src/nact/nact-add-capability-dialog.c:
1034 * src/nact/nact-add-scheme-dialog.c:
1035 * src/nact/nact-assistant-export.c:
1036 * src/nact/nact-assistant-import.c:
1037 * src/nact/nact-confirm-logout.c:
1038 * src/nact/nact-export-ask.c:
1039 * src/nact/nact-gtk-utils.c:
1040 * src/nact/nact-icommand-tab.c:
1041 * src/nact/nact-icon-chooser.c:
1042 * src/nact/nact-ifolders-tab.c:
1043 * src/nact/nact-main-window.c:
1044 * src/nact/nact-preferences-editor.c: Updated accordingly.
1046 * src/core/na-updater.c:
1047 * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1049 Homogeneize marshalling
1051 * src/core/na-marshal: Renamed as src/core/na-marshal.def
1052 * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1054 * src/core/Makefile.am:
1055 * src/nact/Makefile.am:
1056 * src/nact/nact-iactions-list.c (interface_base_init):
1057 * src/nact/nact-main-window.c (class_init): Updated accordingly.
1059 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1061 Review menu items sensitivity updates
1063 * src/api/na-object-api.h
1064 (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1066 * src/api/na-object-item.h:
1067 * src/core/na-object-item.c
1068 (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1071 * src/core/na-updater.c:
1072 * src/core/na-updater.h (na_updater_load_items): New function.
1074 * src/nact/nact-application.c (appli_main_window_new):
1075 * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1076 No more load items when instanciating the main window, but when
1079 * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1080 Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1082 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1083 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1084 * src/nact/nact-menubar-priv.h:
1085 * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1086 Rely on indicators pre-computed on selection changes.
1088 * src/nact/nact-window.c:
1089 * src/nact/nact-window.h (nact_window_has_writable_providers):
1092 * src/nact/nact-menubar-priv.h:
1093 * src/nact/nact-menubar.c: Updated accordingly.
1095 * src/core/na-iprefs.c:
1096 * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1097 Moved to NAUpdater class.
1099 * src/core/na-updater.c:
1100 * src/core/na-updater.h (na_updater_is_level_zero_writable):
1101 Moved from NAIPrefs.
1103 * src/nact/nact-menubar-priv.h:
1104 * src/nact/nact-menubar.c (on_base_initialize_window):
1105 * src/nact/nact-sort-buttons.c (enable_buttons):
1106 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1107 Updated accordingly.
1109 Review I/O providers writability status management.
1111 * src/api/na-iio-provider.h: Review writability reason.
1113 * src/core/na-io-provider.c:
1114 * src/core/na-io-provider.h
1115 (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1117 (na_io_provider_is_finally_writable): New function.
1119 * src/core/na-pivot.c:
1120 * src/core/na-pivot.h
1121 (na_pivot_is_configuration_locked_by_admin): Removed function.
1123 * src/core/na-updater.c
1124 * src/core/na-updater.h (na_updater_is_item_writable):
1125 * src/nact/nact-main-menubar-edit.c (get_deletables):
1126 * src/nact/nact-main-window.c: Updated accordingly.
1128 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1130 * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1131 Renamed as nact_menubar_enable_item() and moved to private resources.
1133 * src/nact/nact-main-menubar-edit.c:
1134 * src/nact/nact-main-menubar-file.c:
1135 * src/nact/nact-main-menubar-help.c:
1136 * src/nact/nact-main-menubar-tools.c:
1137 * src/nact/nact-main-menubar-view.c:
1138 * src/nact/nact-menubar-priv.h:
1139 * src/nact/nact-menubar.h: Updated accordingly.
1141 Move MenubarIndicatorsStruct structure to private instance data
1143 * src/nact/nact-menubar-priv.h: New file.
1145 * src/nact/Makefile.am:
1146 * src/nact/nact-main-menubar-edit.c:
1147 * src/nact/nact-main-menubar-edit.h:
1148 * src/nact/nact-main-menubar-file.c:
1149 * src/nact/nact-main-menubar-file.h:
1150 * src/nact/nact-main-menubar-help.c:
1151 * src/nact/nact-main-menubar-help.h:
1152 * src/nact/nact-main-menubar-maintainer.c:
1153 * src/nact/nact-main-menubar-maintainer.h:
1154 * src/nact/nact-main-menubar-tools.c:
1155 * src/nact/nact-main-menubar-tools.h:
1156 * src/nact/nact-main-menubar-view.c:
1157 * src/nact/nact-main-menubar-view.h:
1158 * src/nact/nact-menubar.c:
1159 * src/nact/nact-menubar.h: Updated accordingly.
1161 Define a new NactMenubar convenience class
1163 * src/nact/nact-main-menubar.c:
1164 * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1166 * src/nact/Makefile.am:
1167 * src/nact/nact-iactions-list.c:
1168 * src/nact/nact-main-menubar-edit.h:
1169 * src/nact/nact-main-menubar-file.h:
1170 * src/nact/nact-main-menubar-help.c:
1171 * src/nact/nact-main-menubar-help.h:
1172 * src/nact/nact-main-menubar-maintainer.c:
1173 * src/nact/nact-main-menubar-maintainer.h:
1174 * src/nact/nact-main-menubar-tools.c:
1175 * src/nact/nact-main-menubar-tools.h:
1176 * src/nact/nact-main-menubar-view.c:
1177 * src/nact/nact-main-menubar-view.h:
1178 * src/nact/nact-main-window.c: Updated accordingly.
1180 * src/api/na-boxed.h:
1181 * src/core/na-boxed.c (na_boxed_dump): New function.
1183 * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1185 * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1187 * src/core/na-marshal: New file.
1189 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1191 * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1193 * src/core/na-settings.c:
1194 * src/core/na-settings.h: No more try to summarize notifications here.
1196 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1197 Register NASettings callbacks on the runtime keys.
1199 * src/nact/nact-main-window.c:
1200 (NAIPivotConsumer->on_display_order_changed):
1201 Moved to on_settings_order_mode_changed() function.
1202 (NAIPivotConsumer->on_autosave_changed):
1203 Moved to nact_main_menubar_file_install_autosave() new function.
1205 * src/nact/nact-main-menubar-file.c:
1206 * src/nact/nact-main-menubar-file.h
1207 (nact_main_menubar_file_install_autosave): New function.
1209 * src/core/na-iprefs.c:
1210 * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1213 * src/core/na-icontext.c (is_candidate_for_basenames):
1214 Fix case insenstive comparison (bug reported by Johan Spee).
1216 Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1218 * src/nact/base-application.c:
1219 * src/nact/base-application.h: Add new exit codes.
1221 * src/nact/base-assistant.c:
1222 * src/nact/base-assistant.h:
1223 Remove 'warn-on-cancel' unused property.
1224 (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1225 Remove unused functions.
1226 Implement run() virtual method.
1228 * src/nact/base-dialog.c:
1229 * src/nact/base-dialog.h:
1230 Implement run() virtual method.
1231 Define new cancel() and ok() virtual methods.
1233 * src/nact/base-iprefs.c:
1234 * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1236 * src/nact/base-window.c:
1237 * src/nact/base-window.h
1238 (dialog_response, delete_event): Remove no more used virtual methods.
1239 (run): Define new virtual method.
1241 * src/nact/nact-add-capability-dialog.c:
1242 * src/nact/nact-add-scheme-dialog.c:
1243 * src/nact/nact-assistant-export.c:
1244 * src/nact/nact-assistant-import.c:
1245 * src/nact/nact-confirm-logout.c:
1246 * src/nact/nact-export-ask.c:
1247 * src/nact/nact-icon-chooser.c:
1248 * src/nact/nact-main-window.c:
1249 * src/nact/nact-preferences-editor.c: Updated accordingly.
1251 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1253 * src/nact/nact-providers-list.c:
1254 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1255 Do not initialize the widgets with the future BaseWindow.
1257 * src/nact/nact-preferences-editor.c (preferences_editor_new):
1258 Updated accordingly.
1260 * src/nact/nact-schemes-list.c: Only ask for preferences once.
1262 * src/nact/nact-assistant-import.c (assist_new):
1263 Reload the common XML UI file into the private builder.
1265 * src/nact/base-dialog.c:
1266 * src/nact/base-dialog.h:
1267 * src/nact/base-window.h: Do some code and comments cleanup.
1269 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1270 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1271 * src/nact/base-window.c (setup_builder):
1272 Add a debug message.
1274 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1276 * src/plugin-menu/nautilus-actions.c:
1277 * src/plugin-menu/nautilus-actions.h:
1278 Takes advantage of the new NASettings signal notification system.
1280 * src/core/na-pivot.c:
1281 * src/core/na-pivot.h: Review the notification system.
1283 * src/core/na-settings.c:
1284 * src/core/na-settings.h:
1285 Add a signal notification to the existing callback pregistration system.
1287 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1288 * docs/des-ema/des-ema-0.15:
1289 * docs/nact/C/nact-conditions.xml:
1290 * docs/nact/C/nact-menus.xml:
1291 * src/api/na-extension.h:
1292 * src/api/na-ifactory-provider.h:
1293 * src/api/na-iio-provider.h:
1294 * src/api/na-object.h:
1295 * src/core/na-core-utils.c:
1296 * src/core/na-factory-object.c:
1297 * src/core/na-gconf-utils.c:
1298 * src/core/na-icontext-factory.c:
1299 * src/core/na-icontext.c:
1300 * src/core/na-ifactory-provider.c:
1301 * src/core/na-io-provider.c:
1302 * src/core/na-io-provider.h:
1303 * src/core/na-iprefs.c:
1304 * src/core/na-object-action.c:
1305 * src/core/na-object-id-factory.c:
1306 * src/core/na-object-id.c:
1307 * src/core/na-object-item-factory.c:
1308 * src/core/na-object-item.c:
1309 * src/core/na-pivot.h:
1310 * src/core/na-settings.c:
1311 * src/core/na-settings.h:
1312 * src/core/na-tokens.h:
1313 * src/io-desktop/nadp-desktop-file.c:
1314 * src/io-desktop/nadp-reader.c:
1315 * src/io-desktop/nadp-utils.c:
1316 * src/io-gconf/nagp-reader.c:
1317 * src/io-xml/naxml-reader.c:
1318 * src/nact/nact-gtk-utils.c:
1319 * src/nact/nautilus-actions-config-tool.ui:
1320 * src/plugin-menu/nautilus-actions.c:
1321 * src/utils/nautilus-actions-new.c:
1322 * src/utils/nautilus-actions-run.c:
1323 * tools/check-headers.sh:
1324 * tools/init-finalize-diff.sh:
1325 Apply patch provided by Christian Kirbach. Fix #640216.
1327 * src/nact/nautilus-actions-config-tool.ui:
1328 * src/utils/na-delete-xmltree.c:
1329 * src/utils/nautilus-actions-print.c:
1330 Fix string errors reported by fr translation team.
1332 * src/api/na-timeout.h:
1333 * src/core/na-timeout.c: New files.
1335 * src/api/Makefile.am:
1336 * src/core/Makefile.am: Updated accordingly.
1338 * src/core/na-pivot.c (on_item_changed_timeout):
1339 * src/core/na-settings.c (on_keyfile_changed_timeout):
1340 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1341 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1342 Take advantage of new NATimeout convenience structure.
1344 * src/api/na-iio-provider.h:
1345 * src/core/na-io-provider.c:
1346 * src/core/na-io-provider.h: Fix comments.
1348 * src/core/na-iio-provider.c (interface_base_init):
1349 The 'item-changed' signal actually does not send any argument.
1351 * src/core/na-pivot.c:
1352 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1353 Updated accordingly.
1355 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1357 * src/nact/base-window.c: Handles the recorded signals in a GList.
1359 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1361 * src/nact/nact-main-window.c
1362 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1363 Calls the parent class method if willing to quit.
1365 * src/nact/nact-window.c:
1366 * src/nact/nact-window.h
1367 (nact_window_is_item_writable): Remove unused function.
1369 * src/nact/base-window.c:
1370 * src/nact/base-window.h
1371 (runtime_init_toplevel): Renamed as initialize_base_window().
1372 (class_init): Fix cclosure_marshall for signals without argument.
1374 * src/nact/base-window.c:
1375 * src/nact/base-window.h
1376 (get_toplevel_name, get_ui_filename): Removed virtual functions.
1378 * src/nact/nact-add-capability-dialog.c:
1379 * src/nact/nact-add-scheme-dialog.c:
1380 * src/nact/nact-assistant-export.c:
1381 * src/nact/nact-assistant-import.c:
1382 * src/nact/nact-confirm-logout.c:
1383 * src/nact/nact-export-ask.c:
1384 * src/nact/nact-icon-chooser.c:
1385 * src/nact/nact-main-window.c:
1386 * src/nact/nact-preferences-editor.c: Updated accordingly.
1388 * src/nact/base-window.c:
1389 * src/nact/base-window.h:
1390 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1392 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1394 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1396 * src/nact/nact-main-window.c:
1397 No more connect to the signal, but implement the virtual method.
1399 * src/nact/base-application.c (appli_initialize_manage_options):
1400 * src/nact/base-application.h (manage_options):
1401 * src/nact/nact-application.c (appli_manage_options):
1402 Revert commit 3acf600874.
1404 * src/test/test-virtuals.c: Do some more tests on virtual methods.
1406 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1407 on_initialize_base_window_class_handler,
1408 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1409 Succssively invoke all derived class methods.
1411 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1412 all_widgets_showed, is_willing_to_quit): Update comments.
1414 * src/nact/base-application.c (appli_initialize_manage_options):
1415 Successively invoke all derived class methods.
1417 * src/nact/base-application.h (manage_options): Update comment.
1419 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1421 * src/nact/base-builder.c:
1422 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1423 Use a const BaseBuilder as argument;
1425 * src/nact/base-window.c:
1426 * src/nact/base-window.h (base_window_get_widget_from_gtk):
1429 * src/nact/nact-gtk-utils.c:
1430 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1433 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1435 * src/nact/base-application.c (appli_initialize_unique_app):
1438 * src/nact/base-builder.c:
1439 * src/nact/base-builder.h (base_builder_load_named_toplevel):
1440 Renamed as base_builder_get_toplevel_by_name().
1442 * src/nact/base-window.c: Updated accordingly.
1444 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1446 * src/nact/base-window.c:
1447 * src/nact/base-window.h (base_window_peek_widget):
1448 Renamed as base_window_get_widget_from_gtk().
1450 * src/nact/nact-icon-chooser.c: Updated accordingly.
1452 * src/nact/base-window.c:
1453 * src/nact/base-window.h (base_window_get_named_toplevel):
1454 Renamed as base_window_get_gtk_toplevel_by_name().
1456 * src/nact/nact-icommand-tab.c: Updated accordingly.
1458 * src/nact/base-window.c:
1459 * src/nact/base-window.h (base_window_get_toplevel):
1460 Renamed as base_window_get_gtk_toplevel().
1462 * src/nact/base-application.c:
1463 * src/nact/base-assistant.c:
1464 * src/nact/base-iprefs.c:
1465 * src/nact/nact-add-capability-dialog.c:
1466 * src/nact/nact-add-scheme-dialog.c:
1467 * src/nact/nact-assistant-export.c:
1468 * src/nact/nact-assistant-import.c:
1469 * src/nact/nact-confirm-logout.c:
1470 * src/nact/nact-export-ask.c:
1471 * src/nact/nact-gtk-utils.c:
1472 * src/nact/nact-icommand-tab.c:
1473 * src/nact/nact-icon-chooser.c:
1474 * src/nact/nact-ifolders-tab.c:
1475 * src/nact/nact-main-menubar.c:
1476 * src/nact/nact-main-window.c:
1477 * src/nact/nact-match-list.c:
1478 * src/nact/nact-preferences-editor.c:
1479 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1481 * src/nact/base-window.c:
1482 * src/nact/base-window.h: Rename signal defines.
1484 * src/nact/base-assistant.c:
1485 * src/nact/nact-add-capability-dialog.c:
1486 * src/nact/nact-add-scheme-dialog.c:
1487 * src/nact/nact-assistant-export.c:
1488 * src/nact/nact-assistant-import.c:
1489 * src/nact/nact-confirm-logout.c:
1490 * src/nact/nact-export-ask.c:
1491 * src/nact/nact-icon-chooser.c:
1492 * src/nact/nact-main-window.c:
1493 * src/nact/nact-preferences-editor.c: Updated accordingly.
1495 * src/nact/base-window.c:
1496 * src/nact/base-window.h:
1497 Remove unused properties.
1498 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1500 * src/nact/base-assistant.c:
1501 * src/nact/nact-main-menubar-edit.c:
1502 * src/nact/nact-main-menubar-file.c:
1503 * src/nact/nact-main-window.c
1504 * src/nact/nact-window.c: Updated accordingly.
1506 * src/nact/base-window-class.h: Removed file.
1508 * src/nact/base-window.h:
1509 * src/nact/Makefile.am: Updated accordingly.
1511 * src/utils/na-gconf2key.sh.in:
1512 Get ride of possible error messages when forcing gconfd-2 synchro.
1514 * src/nact/base-application.c:
1515 * src/nact/base-application.h (base_application_message_dlg,
1516 base_application_error_dlg, base_application_yesno_dlg):
1517 Functions are moved to BaseWindow class.
1519 * src/nact/base-window.c:
1520 * src/nact/base-window.h
1521 (base_window_display_yesno_dlg, base_window_display_message_dlg):
1524 * src/nact/base-application.c:
1525 * src/nact/base-application.h
1526 (base_application_get_ui_filename): Removed function.
1527 (get_ui_filename): Removed virtual method.
1529 * src/nact/nact-application.c
1530 (appli_get_gtkbuilder_filename):Removed function.
1532 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1534 * src/nact/nact-main-window.c (nact_main_window_new):
1535 Initialize the main window with XML UI properties.
1537 * src/nact/base-window.c:
1538 * src/nact/base-window.h: Rename initialization properties.
1540 * src/nact/nact-add-capability-dialog.c:
1541 * src/nact/nact-add-scheme-dialog.c:
1542 * src/nact/nact-assistant-export.c:
1543 * src/nact/nact-assistant-import.c:
1544 * src/nact/nact-confirm-logout.c:
1545 * src/nact/nact-export-ask.c:
1546 * src/nact/nact-icon-chooser.c:
1547 * src/nact/nact-main-window.c:
1548 * src/nact/nact-preferences-editor.c: Updated accordingly.
1550 * src/nact/base-application.c:
1551 * src/nact/base-application.h:
1552 Define new 'base-application-description' property.
1553 Remove unused properties.
1555 * src/nact/nact-application.c (nact_application_new):
1556 Make use of the new property at instanciation time.
1558 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
1560 * src/nact/base-window.c:
1561 * src/nact/base-window.h (base_window_display_error_dlg): New function.
1563 * src/nact/base-application.c:
1564 * src/nact/base-application.h (base_application_get_icon_name):
1567 * src/nact/base-application.c:
1568 * src/nact/base-application.h
1569 (initialize_i18n, initialize_application_name, get_application_name,
1570 initialize_default_icon, get_icon_name, initialize_gtk,
1571 initialize_session_manager, get_unique_app_name, initialize_ui,
1572 initialize_unique_app, initialize, run, get_main_window,
1573 initialize_application): Remove virtual methods.
1575 * src/nact/nact-application.c (appli_get_application_name,
1576 appli_get_icon_name, appli_get_unique_app_name,
1577 appli_initialize_application): Removed functions.
1579 * src/nact/nact-application.c (nact_application_new_with_args):
1580 Make NactApplication initializes with these new properties.
1582 * src/nact/base-application.c:
1583 * src/nact/base-application.h: Define new properties.
1585 * src/nact/base-application-class.h: Removed file.
1587 * src/nact/Makefile.am:
1588 * src/nact/base-application.h:
1589 * src/nact/base-window-class.h:
1590 * src/nact/base-window.h: Updated accordingly.
1592 * src/nact/base-application-class.h (main_window_new):
1593 * src/nact/base-application.c (application_do_run):
1594 * src/nact/nact-application.c
1595 * src/nact/nact-main-window.h (appli_main_window_new):
1596 Move the creation of the main window to the main_window_new() method.
1597 Remove base_application_get_main_window() function.
1599 * src/nact/base-application-class.h (manage_options):
1600 * src/nact/base-application.c:
1601 * src/nact/nact-application.c: Return exit code of the program.
1603 * src/nact/nact-tree-model-dnd.c
1604 (drop_inside, is_drop_possible, drop_uri_list):
1605 * src/nact/base-window.c (is_main):
1606 Remove base_application_get_main_window() invocations.
1608 * src/nact/nact-main.c: Renamed as main.c
1610 * src/nact/Makefile.am: Updated accordingly.
1612 * tools/Makefile.am: Generate the check-header.c source if it is missing.
1614 * src/plugin-tracker/na-tracker-dbus.c:
1615 * src/plugin-tracker/na-tracker-dbus.h:
1616 * src/plugin-tracker/na-tracker.c:
1617 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
1619 * src/plugin-menu/nautilus-actions.c:
1620 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
1622 * src/nact/base-application.c:
1623 * src/nact/base-application-class.h:
1624 * src/nact/base-assistant.c:
1625 * src/nact/base-assistant.h:
1626 * src/nact/base-builder.c:
1627 * src/nact/base-builder.h:
1628 * src/nact/base-dialog.c:
1629 * src/nact/base-dialog.h:
1630 * src/nact/base-iprefs.c:
1631 * src/nact/base-iprefs.h:
1632 * src/nact/base-window.c:
1633 * src/nact/base-window-class.h:
1634 * src/nact/egg-tree-multi-dnd.h:
1635 * src/nact/nact-add-capability-dialog.c:
1636 * src/nact/nact-add-capability-dialog.h:
1637 * src/nact/nact-add-scheme-dialog.c:
1638 * src/nact/nact-add-scheme-dialog.h:
1639 * src/nact/nact-application.c:
1640 * src/nact/nact-application.h:
1641 * src/nact/nact-assistant-export.c:
1642 * src/nact/nact-assistant-export.h:
1643 * src/nact/nact-assistant-import.c:
1644 * src/nact/nact-assistant-import.h:
1645 * src/nact/nact-clipboard.c:
1646 * src/nact/nact-clipboard.h:
1647 * src/nact/nact-confirm-logout.c:
1648 * src/nact/nact-confirm-logout.h:
1649 * src/nact/nact-export-ask.c:
1650 * src/nact/nact-export-ask.h:
1651 * src/nact/nact-iactions-list.c:
1652 * src/nact/nact-iactions-list.h:
1653 * src/nact/nact-iaction-tab.c:
1654 * src/nact/nact-iaction-tab.h:
1655 * src/nact/nact-ibasenames-tab.c:
1656 * src/nact/nact-ibasenames-tab.h:
1657 * src/nact/nact-icapabilities-tab.c:
1658 * src/nact/nact-icapabilities-tab.h:
1659 * src/nact/nact-icommand-tab.c:
1660 * src/nact/nact-icommand-tab.h:
1661 * src/nact/nact-icon-chooser.h:
1662 * src/nact/nact-ienvironment-tab.c:
1663 * src/nact/nact-ienvironment-tab.h:
1664 * src/nact/nact-iexecution-tab.c:
1665 * src/nact/nact-iexecution-tab.h:
1666 * src/nact/nact-ifolders-tab.c:
1667 * src/nact/nact-ifolders-tab.h:
1668 * src/nact/nact-imimetypes-tab.c:
1669 * src/nact/nact-imimetypes-tab.h:
1670 * src/nact/nact-iproperties-tab.c:
1671 * src/nact/nact-iproperties-tab.h:
1672 * src/nact/nact-ischemes-tab.c:
1673 * src/nact/nact-ischemes-tab.h:
1674 * src/nact/nact-main-window.c:
1675 * src/nact/nact-main-window.h:
1676 * src/nact/nact-preferences-editor.c:
1677 * src/nact/nact-preferences-editor.h:
1678 * src/nact/nact-tree-model.c:
1679 * src/nact/nact-tree-model.h:
1680 * src/nact/nact-tree-model-priv.h:
1681 * src/nact/nact-window.c:
1682 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1684 * src/io-xml/naxml-provider.c:
1685 * src/io-xml/naxml-provider.h:
1686 * src/io-xml/naxml-reader.c:
1687 * src/io-xml/naxml-reader.h:
1688 * src/io-xml/naxml-writer.c:
1689 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1691 * src/io-gconf/nagp-gconf-provider.c:
1692 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1694 * src/io-desktop/nadp-desktop-file.c:
1695 * src/io-desktop/nadp-desktop-file.h:
1696 * src/io-desktop/nadp-desktop-provider.c:
1697 * src/io-desktop/nadp-desktop-provider.h:
1698 * src/io-desktop/nadp-monitor.c:
1699 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1701 * src/core/na-export-format.h:
1702 * src/core/na-iabout.h:
1703 * src/core/na-importer-ask.h:
1704 * src/core/na-io-provider.h:
1705 * src/core/na-ipivot-consumer.h:
1706 * src/core/na-module.h:
1707 * src/core/na-pivot.h:
1708 * src/core/na-selected-info.h:
1709 * src/core/na-settings.h:
1710 * src/core/na-tokens.h:
1711 * src/core/na-updater.h: Cosmetic changes in src/core headers.
1713 * src/api/na-data-boxed.h:
1714 * src/api/na-data-types.h:
1715 * src/api/na-gconf-monitor.h:
1716 * src/api/na-gconf-utils.h:
1717 * src/api/na-icontext.h:
1718 * src/api/na-iduplicable.h:
1719 * src/api/na-iexporter.h:
1720 * src/api/na-ifactory-object.h:
1721 * src/api/na-ifactory-provider.h:
1722 * src/api/na-iio-provider.h:
1723 * src/api/na-object-action.h:
1724 * src/api/na-object.h:
1725 * src/api/na-object-id.h:
1726 * src/api/na-object-item.h:
1727 * src/api/na-object-menu.h:
1728 * src/api/na-object-profile.h:
1729 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1731 * src/utils/na-gconf2key.sh.in:
1732 * tools/check-headers.sh:
1733 * tools/check-po.sh:
1734 * tools/init-finalize-diff.sh:
1735 * tools/release-tarball.sh: Replace basename with a shell substitution.
1737 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1739 * tools/release-tarball.sh: Full script rewrite.
1742 * Makefile.am: Add README-GCONF to the distribution.
1744 * tools/check-po.sh: Script rewriting.
1746 * NEWS: Update before 3.0.7 release.
1748 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1750 * src/core/na-export-format.c (na_export_format_get_description):
1751 * src/core/na-importer-ask.c (na_importer_ask_user):
1752 * src/core/na-importer.c (import_from_uri):
1753 * src/core/na-io-provider.c (na_io_provider_get_name):
1754 * src/core/na-iprefs.c:
1755 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1756 na_iprefs_get_order_mode, na_iprefs_get_export_format):
1757 * src/core/na-settings.c:
1758 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1759 * nact/nact-assistant-import.c (runtime_init_duplicates):
1760 * src/nact/nact-clipboard.c (export_row_object):
1761 * src/nact/nact-export-ask.c:
1762 * nact/nact-export-format.c:
1763 * src/nact/nact-export-format.h(nact_export_format_init_display):
1764 * src/nact/nact-gtk-utils.c:
1765 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1766 nact_gtk_utils_radio_reset_initial_state,
1767 nact_gtk_utils_toggle_set_initial_state,
1768 nact_gtk_utils_toggle_reset_initial_state):
1769 * src/nact/nact-ienvironment-tab.c
1770 (on_tab_updatable_selection_changed):
1771 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1772 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1773 * src/nact/nact-preferences-editor.c:
1774 * src/nact/nact-preferences.ui:
1775 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1776 * src/nact/nact-tree-model.c (tree_model_new):
1777 Manage locked and mandatory preferences.
1779 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1780 Do not eat last character.
1783 * src/core/na-settings.h:
1784 * src/utils/na-gconf2key.sh.in:
1785 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1787 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1789 * src/nact/nact-preferences-editor.c:
1790 Reopen the Preferences on the last used tab.
1792 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1793 Fix handling of last separator.
1795 * src/nact/nact-schemes-list.c: Do not allow modification
1796 of default schemes list if preferences are locked or property
1799 * src/core/na-io-provider.c:
1800 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1801 na_io_provider_is_conf_writable):
1802 Returns mandatory flag.
1803 List I/O providers in write order.
1805 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1807 * src/nact/nact-providers-list.c: Do not allow modification of I/O
1808 providers readability/writability/write order properties if
1809 preferences are locked or properties mandatory.
1811 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1813 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1815 * run-distcheck.sh: New file.
1817 Add a script to check completeness of header files.
1820 * tools/Makefile.am:
1821 * tools/check-headers.sh: New files.
1823 * src/test/test-include.c:
1824 Renamed as tools/check-header.c and set it as ignored by git.
1826 * src/test/.gitignore:
1827 * src/test/Makefile.am: Updated accordingly.
1830 * configure.ac: configure in tools/.
1832 * src/api/na-data-boxed.h:
1833 * src/api/na-data-types.h:
1834 * src/api/na-gconf-monitor.h:
1835 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1837 * run-distcheck.sh: New file.
1839 * tools/check-po.sh: Rewrite to have options and messages management.
1841 * src/utils/na-gconf2key.sh.in: Review comment.
1843 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1845 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1847 * tools/check-po.sh: Set the count of errors as exit code.
1849 * po/POTFILES.in: Updated.
1851 * src/api/na-gconf-utils.h:
1852 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1854 * src/api/na-gconf-monitor.h:
1855 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1857 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1859 * src/utils/na-print-schemas.c: Add a deprecation comment.
1861 * src/core/na-io-provider.c:
1862 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1865 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1867 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1869 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1871 * src/test/test-module.c:
1872 * src/test/test-module-plugin.c: New files.
1874 * src/test/.gitignore:
1875 * src/test/Makefile.am: Updated accordingly.
1877 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1879 * src/nact/base-iprefs.c
1880 (base_iprefs_position_named_window): Do not force a null window size or position.
1882 * src/core/na-settings.c
1883 (na_settings_get_string_list): Do not allocate an empty string list.
1885 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1887 * src/core/na-object-id.c:
1888 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1890 * src/core/na-data-boxed.c:
1891 * src/core/na-gconf-monitor.c:
1892 * src/core/na-io-provider.c:
1893 * src/core/na-tokens.c:
1894 * src/core/na-updater.c:
1895 * src/io-desktop/nadp-desktop-file.c:
1896 * src/io-desktop/nadp-desktop-provider.c:
1897 * src/io-desktop/nadp-monitor.c:
1898 * src/io-gconf/nagp-gconf-provider.c:
1899 * src/io-xml/naxml-provider.c:
1900 * src/nact/base-application.c:
1901 * src/nact/base-builder.c:
1902 * src/nact/base-window.c:
1903 * src/nact/nact-application.c:
1904 * src/nact/nact-clipboard.c:
1905 * src/nact/nact-main-window.c:
1906 * src/nact/nact-tree-model.c:
1907 * src/nact/nact-window.c: Add instance_finalize debug message.
1909 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1911 * src/core/na-boxed.c
1912 (na_boxed_free): Only free a non null structure.
1913 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1914 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1915 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1916 Do not try to return a value for a null structure.
1918 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1920 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1922 * src/utils/na-delete-xmltree.c:
1923 * src/utils/nautilus-actions-print.c: Add localization code.
1925 * src/utils/nautilus-actions-new.c:
1926 * src/utils/nautilus-actions-run.c:
1927 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1929 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1930 na_boxed_new_from_string_with_sep, na_boxed_free):
1931 Add debug messages when allocating/freeing a NABoxed structure.
1933 * src/nact/nact-icommand-tab.c (on_wdir_browse):
1934 Remove no more used default value.
1936 * src/nact/nact-icon-chooser.c
1937 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1939 * src/core/na-settings.h: Preference renamed accordingly.
1942 * src/core/na-settings.h:
1943 * src/utils/na-gconf2key.sh.in:
1944 '-last-folder-uri' preferences are renamed as '-lfu'.
1946 * src/core/na-settings.c: Set default values.
1948 * src/nact/nact-gtk-utils.c:
1949 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1950 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1951 Remove no more used default value.
1953 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1954 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1955 on_show_if_running_browse): Updated accordingly.
1957 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1958 Do not allocate the empty last element.
1960 * src/core/na-io-provider.c (load_items_get_merged_list):
1961 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1962 Use the correct list pointer.
1964 * src/core/na-iprefs.c:
1965 * src/core/na-iprefs.h
1966 (na_iprefs_get_export_format, na_iprefs_set_export_format):
1967 Functions moved from src/nact/nact-iprefs.c.
1969 * src/nact/nact-iprefs.c:
1970 * src/nact/nact-iprefs.h: Removed files.
1972 * src/nact/Makefile.am:
1973 * src/nact/base-window.c:
1974 * src/nact/nact-assistant-export.c:
1975 * src/nact/nact-assistant-import.c:
1976 * src/nact/nact-clipboard.c:
1977 * src/nact/nact-export-ask.c:
1978 * src/nact/nact-export-format.c:
1979 * src/nact/nact-gtk-utils.c:
1980 * src/nact/nact-iaction-tab.c:
1981 * src/nact/nact-icommand-tab.c:
1982 * src/nact/nact-ifolders-tab.c:
1983 * src/nact/nact-main-toolbar.c:
1984 * src/nact/nact-preferences-editor.c:
1985 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1987 * src/nact/nact-iprefs.c:
1988 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1989 nact_iprefs_write_string): Remove deprecated functions.
1991 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1992 Updated accordingly.
1994 * src/nact/base-iprefs.c:
1995 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1996 Remove deprecated functions.
1998 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1999 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2000 Updated accordingly.
2002 * src/nact/nact-iprefs.c:
2003 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2005 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2006 Updated accordingly.
2008 Global renaming of preferences.
2011 * src/api/na-iio-provider.h:
2012 * src/core/na-export-format.h:
2013 * src/core/na-exporter.h:
2014 * src/core/na-importer-ask.h:
2015 * src/core/na-importer.c:
2016 * src/core/na-io-provider.c:
2017 * src/core/na-io-provider.h:
2018 * src/core/na-iprefs.c:
2019 * src/core/na-iprefs.h:
2020 * src/core/na-module.c:
2021 * src/core/na-pivot.c:
2022 * src/core/na-pivot.h:
2023 * src/core/na-settings.c:
2024 * src/core/na-settings.h:
2025 * src/core/na-updater.c:
2026 * src/nact/nact-add-capability-dialog.c:
2027 * src/nact/nact-add-scheme-dialog.c:
2028 * src/nact/nact-assistant-export.c:
2029 * src/nact/nact-assistant-import.c:
2030 * src/nact/nact-clipboard.c:
2031 * src/nact/nact-export-ask.c:
2032 * src/nact/nact-gtk-utils.c:
2033 * src/nact/nact-iactions-list.c:
2034 * src/nact/nact-icommand-tab.c:
2035 * src/nact/nact-icon-chooser.c:
2036 * src/nact/nact-ienvironment-tab.c:
2037 * src/nact/nact-ifolders-tab.c:
2038 * src/nact/nact-iprefs.c:
2039 * src/nact/nact-iprefs.h:
2040 * src/nact/nact-main-menubar-edit.c:
2041 * src/nact/nact-main-menubar-file.c:
2042 * src/nact/nact-main-menubar.c:
2043 * src/nact/nact-main-toolbar.c:
2044 * src/nact/nact-main-window.c:
2045 * src/nact/nact-preferences-editor.c:
2046 * src/nact/nact-providers-list.c:
2047 * src/nact/nact-schemes-list.c:
2048 * src/nact/nact-sort-buttons.c:
2049 * src/nact/nact-tree-model-dnd.c:
2050 * src/nact/nact-tree-model.c:
2051 * src/nact/nact-window.c:
2052 * src/nact/nact-window.h:
2053 * src/plugin-menu/nautilus-actions.c:
2054 * src/utils/na-gconf2key.sh.in:
2055 * src/utils/nautilus-actions-new.c: Rename preferences.
2056 >>>>>>> Globally rename preferences
2058 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2060 * src/core/na-settings.c:
2061 * src/core/na-settings.h: Preference names are defined as '#define' values.
2064 * src/utils/na-gconf2key.sh.in: Adjust preferences.
2066 * src/core/na-iprefs.c:
2067 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2069 * src/api/na-iimporter.h:
2070 * src/core/na-importer-ask.c:
2071 * src/core/na-importer-ask.h:
2072 * src/core/na-importer.c: Updated accordingly.
2074 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2076 * src/nact/nact-iprefs.c:
2077 * src/nact/nact-iprefs.h: Get ride of GConf.
2080 * src/core/na-settings.c:
2081 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2083 * src/nact/nact-icommand-tab.c:
2084 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2087 * src/core/na-settings.c:
2088 * src/utils/na-gconf2key.sh.in:
2089 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2091 * src/nact/nact-ifolders-tab.c: Updated accordingly.
2094 * src/core/na-settings.c:
2095 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2097 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2098 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2099 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2100 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2101 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2102 * src/nact/nact-main-window.c
2103 (instance_dispose, base_get_iprefs_window_id):
2104 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2105 Update all preference names when saving/restoring window size and position.
2107 * src/core/na-settings.c:
2108 * src/core/na-settings.h: All getters/setters are implemented.
2110 * src/nact/base-iprefs.c: Remove GConf stuff.
2112 * src/nact/nact-icon-chooser.c:
2113 * src/nact/nact-icon-chooser.ui: Implement all preferences.
2115 * src/utils/na-gconf2key.sh.in:
2116 Renamed preferences for windows size and position '-wsp'.
2117 Also delete from GConf if only preferences have been migrated.
2118 Re-sync after tree delete.
2120 * src/api/na-boxed.h:
2121 * src/core/na-boxed.c
2122 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2125 * configure.ac: Enable silent rules by default.
2127 * run-autogen.sh: Add sysconfdir argument to autogen.sh
2129 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2130 Search a pixbuf by icon theme if not found as filename or stock.
2132 * src/nact/base-window.c:
2133 * src/nact/base-window.h (base_window_peek_widget): New function.
2135 * src/nact/nact-icon-chooser.c:
2136 * src/nact/nact-icon-chooser.h:
2137 * src/nact/nact-icon-chooser.ui: New files.
2139 * src/nact/Makefile.am:
2140 * src/nact/nact-iaction-tab.c:
2141 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2143 * src/core/na-settings.c (content_load_keys):
2144 Do not warn if configuration file does not exist.
2146 * src/api/na-boxed.h:
2147 * src/api/na-data-boxed.h:
2148 * src/api/na-data-types.h:
2149 * src/core/na-boxed.c:
2150 * src/core/na-data-boxed.c:
2151 * src/core/na-data-types.c:
2152 Update reference documentation to deprecate NADataBoxed and NADataType
2153 in favor of NABoxed.
2155 * src/core/na-settings.c:
2156 * src/core/na-settings.h: Configuration monitoring.
2158 * src/plugin-menu/nautilus-actions.c:
2159 Monitor all runtime preferences with only one callback.
2161 * src/api/na-boxed.h:
2162 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2164 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2166 * src/api/na-data-types.h:
2167 * src/core/na-data-types.c
2168 (na_data_types_copy, na_data_types_free): Removed functions.
2171 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2173 * src/api/na-boxed.h:
2174 * src/core/na-boxed.c: New files.
2176 * src/api/Makefile.am:
2177 * src/core/Makefile.am: Updated accordingly.
2179 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2181 * src/api/na-data-types.h:
2182 * src/core/na-data-types.c
2183 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2186 * src/core/na-settings.c
2187 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2189 * src/core/na-settings.h
2190 (na_settings_get_boolean_ex, na_settings_get_string_list):
2193 * src/plugin-menu/nautilus-actions.c:
2194 Implement runtime preferences monitoring.
2195 No more use deprecated na_pivot_set_automatic_reload().
2197 * src/core/na-pivot.c:
2198 * src/core/na-pivot.h:
2199 Replace GConf preferences monitoring with NASettings.
2200 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2202 * src/core/na-settings.c:
2203 * src/core/na-settings.h
2204 (na_settings_register_key_callback,
2205 na_settings_register_global_callback, na_settings_get_boolean):
2208 * src/api/na-iio-provider.h:
2209 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2210 definition is moved (and renamed) from public API to internal one.
2212 * src/core/na-iio-provider.c (interface_base_init):
2213 * src/core/na-io-provider.c (io_provider_set_provider):
2214 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2216 * src/core/na-iio-provider.c
2217 * src/core/na-settings.c (na_settings_new):
2218 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2220 * src/core/na-pivot.c:
2221 * src/core/na-pivot.h (na_pivot_register):
2222 * src/core/na-settings.c:
2223 * src/core/na-settings.h (na_settings_register):
2224 * src/plugin-menu/nautilus-actions.c (instance_constructed):
2227 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2229 * src/nact/base-application.c (display_dlg): Setup parent window.
2231 * src/api/na-iimporter.h:
2232 * src/core/na-io-provider.c:
2233 * src/core/na-object-id.c:
2234 * src/core/na-object-item.c:
2235 * src/io-desktop/nadp-utils.c:
2236 * src/nact/nact-assistant-import.c:
2237 * src/nact/nact-iactions-list-bis.c:
2238 * src/nact/nact-iactions-list.h:
2239 * src/nact/nact-main-window.c:
2240 * src/nact/nact-preferences.ui:
2241 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2243 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2245 * src/core/na-object-profile-factory.c:
2246 Remove %o/%O parameters from description of version 2.0.
2247 Add a missing line feed.
2249 * tools/check-po.sh: Adapt to glade files.
2251 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2253 * src/utils/nautilus-actions-new.c (init_options):
2254 * src/utils/nautilus-actions-run.c (init_options):
2255 * src/utils/nautilus-actions-schemas.c (init_options):
2256 Initialize translation domain for GOptionContext.
2258 * src/core/na-data-boxed.c
2259 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2260 * src/core/na-export-format.c
2261 (na_export_format_get_label, na_export_format_get_description):
2262 * src/core/na-iabout.c (na_iabout_display):
2263 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2264 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2265 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2266 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2267 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2268 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2269 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2270 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2271 * src/nact/nact-tree-model-dnd.c
2272 (is_drop_possible, is_drop_possible_before_iter,
2273 is_drop_possible_into_dest, is_parent_accept_new_childs):
2274 Use gettext() to display localized static strings.
2276 * src/api/na-data-def.h: Complete the description of the fields.
2278 * src/core/na-io-provider.c:
2279 * src/core/na-object-profile-factory.c:
2280 * src/nact/nact-assistant-export.ui:
2281 * src/nact/nautilus-actions-config-tool.ui:
2282 Fix various mistakes and mispellings reported by Fr translation team.
2284 * configure.ac: Post-release bump version number.
2286 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2288 * src/core/na-pivot.c (na_pivot_register): New function.
2290 * src/plugin-menu/nautilus-actions.c:
2291 Replace NAIPivotConsumer interface with na_settings() accessors.
2293 * src/core/na-settings.c:
2294 * src/core/na-settings.h: New files.
2296 * src/utils/na-gconf2key.sh.in:
2297 Make sure that GConf is at the end of the list of I/O providers.
2298 Make sure that GConf is locked.
2299 Migrate all I/O provider preferences.
2302 * src/utils/Makefile.am:
2303 * src/utils/na-gconf2key.sh.in:
2304 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2305 and is installed in PKGLIBEXECDIR.
2307 * src/core/Makefile.am:
2308 * src/core/na-gconf-migration.c: Updated accordingly.
2310 * src/utils/Makefile.am:
2311 nautilus-actions-delete is renamed as na-delete-xmltree,
2312 and is installed in PKGLIBEXECDIR.
2314 * src/core/na-core-utils.c (na_core_utils_print_version):
2315 Print the compilation version of GLib2 and Gtk+ when in debug mode.
2317 * src/utils/Makefile.am:
2318 nautilus-actions-schemas is renamed as na-print-schemas,
2319 and is installed in PKGLIBEXECDIR.
2321 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2323 * src/nact/nact-main-window.c (iabout_get_toplevel):
2324 Let the About dialog get the toplevel window.
2326 * src/nact/nact-preferences.ui:
2327 * src/nact/nautilus-actions-config-tool.ui:
2328 Apply patch provided by Christian Kirbach. Fix #638548.
2330 Use the same script to migrate items and preferences.
2332 * README-GCONF: Document migrated and renamed preferences.
2334 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2335 Rewrite migrated preferences as keyed files.
2336 At last, remove the whole Nautilus-Actions tree from GConf.
2338 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2340 * src/utils/console-utils.c (console_cmdline_get_description):
2341 Returns the full address of the page to enter a new bug in Bugzilla.
2343 * src/core/na-gconf-migration.c:
2344 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2346 * src/core/Makefile.am: Updated accordingly.
2348 * src/nact/nact-main.c (main):
2349 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2350 * src/utils/nautilus-actions-new.c (main):
2351 * src/utils/nautilus-actions-run.c (main):
2352 Automatically run the migration tool at startup.
2354 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2355 * src/utils/nautilus-actions-delete.c:
2356 * src/utils/nautilus-actions-print.c:
2357 New items migration script and programs.
2358 They take care of migrating users and mandatory items to .desktop files.
2361 * src/utils/Makefile.am:
2362 * src/utils/.gitignore: Updated accordingly.
2364 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2366 * src/core/na-tokens.c (na_tokens_new_from_selection):
2367 No more prepare the list string of selection.
2368 Directly build the selection list in the correct order.
2369 (execute_action_command): Setup the working directory.
2371 * src/core/na-tokens.c:
2372 * src/core/na-tokens.h (na_tokens_parse_parameters):
2373 Renamed as na_tokens_parse_for_display() as filenames are not quoted
2374 when displayed as part of an expanded label.
2376 * src/nact/nact-icommand-tab.c (parse_parameters):
2377 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2378 Updated accordingly.
2380 * configure.ac: Fix "API Reference generation" message.
2382 * m4/na-enable-manuals.m4:
2383 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2385 * src/core/na-selected-info.c (new_from_uri):
2386 - Add an excerpt from RFC 2396 about valid characters in URIs.
2387 - Prefer the filename from g_filename_from_uri() when possible.
2389 * src/core/na-tokens.c
2390 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2391 (build_string_lists_item): Removed function.
2393 * src/core/na-iabout.c (na_iabout_display):
2394 Fix typo in comment, adding a note to the translators.
2396 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2398 * src/core/na-io-provider.c:
2399 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2402 * configure.ac: Define a conditional if we have both GSettings and GConf.
2404 * src/core/na-gsettings-migrate.c:
2405 * src/core/na-gsettings-migrate.h: New files.
2407 * src/core/Makefile.am: Updated accordingly.
2409 * src/core/na-pivot.c (instance_constructed):
2410 Call na_gsettings_migrate() if we have both GSettings and GConf.
2413 - Define HAVE_GSETTINGS variable.
2414 - Define HAVE_GCONF variable.
2416 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2418 * src/nact/egg-desktop-file.c:
2419 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2421 * src/nact/base-keysyms.h:
2422 * src/nact/egg-sm-client-private.h:
2423 * src/nact/egg-sm-client-xsmp.c:
2424 * src/nact/nact-add-capability-dialog.c:
2425 * src/nact/nact-add-scheme-dialog.c:
2426 * src/nact/nact-main-tab.c:
2427 * src/nact/nact-clipboard.c:
2428 * src/nact/nact-tree-model-dnd.c:
2429 * src/nact/nact-gtk-utils.c:
2430 * src/nact/nact-iaction-tab.c:
2431 * src/nact/nact-main-statusbar.c:
2432 * src/nact/nact-main-menubar.c:
2433 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2436 * m4/na-check-for-gtk.m4:
2437 Move back gtk_required variable to improve readibility of configure.ac.
2439 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2441 * configure.ac: Post release version bump.
2443 * NEWS: Update NEWS before release.
2445 * src/plugin-menu/nautilus-actions.c (create_root_menu):
2446 Update the root menu label to better reflect the product name.
2448 * src/nact/nautilus-actions-config-tool.ui:
2449 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2451 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2452 Display again stock icons in NACT.
2453 Fix #638461 - Stock icons are no more displayed in NACT.
2455 * Almost all files modified:
2456 Update copyright message.
2457 Set Nautilus-Actions as being the actual official product name.
2459 * src/core/na-selected-info.c (new_from_nautilus_file_info):
2460 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2461 Fix #638450 - Nautilus crashes when opening Trash or Network.