1 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
3 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
4 on_initialize_base_window_class_handler,
5 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
6 Succssively invoke all derived class methods.
8 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
9 all_widgets_showed, is_willing_to_quit): Update comments.
11 * src/nact/base-application.c (appli_initialize_manage_options):
12 Successively invoke all derived class methods.
14 * src/nact/base-application.h (manage_options): Update comment.
16 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
18 * src/nact/base-builder.c:
19 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
20 Use a const BaseBuilder as argument;
22 * src/nact/base-window.c:
23 * src/nact/base-window.h (base_window_get_widget_from_gtk):
26 * src/nact/nact-gtk-utils.c:
27 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
30 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
32 * src/nact/base-application.c (appli_initialize_unique_app):
35 * src/nact/base-builder.c:
36 * src/nact/base-builder.h (base_builder_load_named_toplevel):
37 Renamed as base_builder_get_toplevel_by_name().
39 * src/nact/base-window.c: Updated accordingly.
41 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
43 * src/nact/base-window.c:
44 * src/nact/base-window.h (base_window_peek_widget):
45 Renamed as base_window_get_widget_from_gtk().
47 * src/nact/nact-icon-chooser.c: Updated accordingly.
49 * src/nact/base-window.c:
50 * src/nact/base-window.h (base_window_get_named_toplevel):
51 Renamed as base_window_get_gtk_toplevel_by_name().
53 * src/nact/nact-icommand-tab.c: Updated accordingly.
55 * src/nact/base-window.c:
56 * src/nact/base-window.h (base_window_get_toplevel):
57 Renamed as base_window_get_gtk_toplevel().
59 * src/nact/base-application.c:
60 * src/nact/base-assistant.c:
61 * src/nact/base-iprefs.c:
62 * src/nact/nact-add-capability-dialog.c:
63 * src/nact/nact-add-scheme-dialog.c:
64 * src/nact/nact-assistant-export.c:
65 * src/nact/nact-assistant-import.c:
66 * src/nact/nact-confirm-logout.c:
67 * src/nact/nact-export-ask.c:
68 * src/nact/nact-gtk-utils.c:
69 * src/nact/nact-icommand-tab.c:
70 * src/nact/nact-icon-chooser.c:
71 * src/nact/nact-ifolders-tab.c:
72 * src/nact/nact-main-menubar.c:
73 * src/nact/nact-main-window.c:
74 * src/nact/nact-match-list.c:
75 * src/nact/nact-preferences-editor.c:
76 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
78 * src/nact/base-window.c:
79 * src/nact/base-window.h: Rename signal defines.
81 * src/nact/base-assistant.c:
82 * src/nact/nact-add-capability-dialog.c:
83 * src/nact/nact-add-scheme-dialog.c:
84 * src/nact/nact-assistant-export.c:
85 * src/nact/nact-assistant-import.c:
86 * src/nact/nact-confirm-logout.c:
87 * src/nact/nact-export-ask.c:
88 * src/nact/nact-icon-chooser.c:
89 * src/nact/nact-main-window.c:
90 * src/nact/nact-preferences-editor.c: Updated accordingly.
92 * src/nact/base-window.c:
93 * src/nact/base-window.h:
94 Remove unused properties.
95 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
97 * src/nact/base-assistant.c:
98 * src/nact/nact-main-menubar-edit.c:
99 * src/nact/nact-main-menubar-file.c:
100 * src/nact/nact-main-window.c
101 * src/nact/nact-window.c: Updated accordingly.
103 * src/nact/base-window-class.h: Removed file.
105 * src/nact/base-window.h:
106 * src/nact/Makefile.am: Updated accordingly.
108 * src/utils/na-gconf2key.sh.in:
109 Get ride of possible error messages when forcing gconfd-2 synchro.
111 * src/nact/base-application.c:
112 * src/nact/base-application.h (base_application_message_dlg,
113 base_application_error_dlg, base_application_yesno_dlg):
114 Functions are moved to BaseWindow class.
116 * src/nact/base-window.c:
117 * src/nact/base-window.h
118 (base_window_display_yesno_dlg, base_window_display_message_dlg):
121 * src/nact/base-application.c:
122 * src/nact/base-application.h
123 (base_application_get_ui_filename): Removed function.
124 (get_ui_filename): Removed virtual method.
126 * src/nact/nact-application.c
127 (appli_get_gtkbuilder_filename):Removed function.
129 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
131 * src/nact/nact-main-window.c (nact_main_window_new):
132 Initialize the main window with XML UI properties.
134 * src/nact/base-window.c:
135 * src/nact/base-window.h: Rename initialization properties.
137 * src/nact/nact-add-capability-dialog.c:
138 * src/nact/nact-add-scheme-dialog.c:
139 * src/nact/nact-assistant-export.c:
140 * src/nact/nact-assistant-import.c:
141 * src/nact/nact-confirm-logout.c:
142 * src/nact/nact-export-ask.c:
143 * src/nact/nact-icon-chooser.c:
144 * src/nact/nact-main-window.c:
145 * src/nact/nact-preferences-editor.c: Updated accordingly.
147 * src/nact/base-application.c:
148 * src/nact/base-application.h:
149 Define new 'base-application-description' property.
150 Remove unused properties.
152 * src/nact/nact-application.c (nact_application_new):
153 Make use of the new property at instanciation time.
155 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
157 * src/nact/base-window.c:
158 * src/nact/base-window.h (base_window_display_error_dlg): New function.
160 * src/nact/base-application.c:
161 * src/nact/base-application.h (base_application_get_icon_name):
164 * src/nact/base-application.c:
165 * src/nact/base-application.h
166 (initialize_i18n, initialize_application_name, get_application_name,
167 initialize_default_icon, get_icon_name, initialize_gtk,
168 initialize_session_manager, get_unique_app_name, initialize_ui,
169 initialize_unique_app, initialize, run, get_main_window,
170 initialize_application): Remove virtual methods.
172 * src/nact/nact-application.c (appli_get_application_name,
173 appli_get_icon_name, appli_get_unique_app_name,
174 appli_initialize_application): Removed functions.
176 * src/nact/nact-application.c (nact_application_new_with_args):
177 Make NactApplication initializes with these new properties.
179 * src/nact/base-application.c:
180 * src/nact/base-application.h: Define new properties.
182 * src/nact/base-application-class.h: Removed file.
184 * src/nact/Makefile.am:
185 * src/nact/base-application.h:
186 * src/nact/base-window-class.h:
187 * src/nact/base-window.h: Updated accordingly.
189 * src/nact/base-application-class.h (main_window_new):
190 * src/nact/base-application.c (application_do_run):
191 * src/nact/nact-application.c
192 * src/nact/nact-main-window.h (appli_main_window_new):
193 Move the creation of the main window to the main_window_new() method.
194 Remove base_application_get_main_window() function.
196 * src/nact/base-application-class.h (manage_options):
197 * src/nact/base-application.c:
198 * src/nact/nact-application.c: Return exit code of the program.
200 * src/nact/nact-tree-model-dnd.c
201 (drop_inside, is_drop_possible, drop_uri_list):
202 * src/nact/base-window.c (is_main):
203 Remove base_application_get_main_window() invocations.
205 * src/nact/nact-main.c: Renamed as main.c
207 * src/nact/Makefile.am: Updated accordingly.
209 * tools/Makefile.am: Generate the check-header.c source if it is missing.
211 * src/plugin-tracker/na-tracker-dbus.c:
212 * src/plugin-tracker/na-tracker-dbus.h:
213 * src/plugin-tracker/na-tracker.c:
214 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
216 * src/plugin-menu/nautilus-actions.c:
217 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
219 * src/nact/base-application.c:
220 * src/nact/base-application-class.h:
221 * src/nact/base-assistant.c:
222 * src/nact/base-assistant.h:
223 * src/nact/base-builder.c:
224 * src/nact/base-builder.h:
225 * src/nact/base-dialog.c:
226 * src/nact/base-dialog.h:
227 * src/nact/base-iprefs.c:
228 * src/nact/base-iprefs.h:
229 * src/nact/base-window.c:
230 * src/nact/base-window-class.h:
231 * src/nact/egg-tree-multi-dnd.h:
232 * src/nact/nact-add-capability-dialog.c:
233 * src/nact/nact-add-capability-dialog.h:
234 * src/nact/nact-add-scheme-dialog.c:
235 * src/nact/nact-add-scheme-dialog.h:
236 * src/nact/nact-application.c:
237 * src/nact/nact-application.h:
238 * src/nact/nact-assistant-export.c:
239 * src/nact/nact-assistant-export.h:
240 * src/nact/nact-assistant-import.c:
241 * src/nact/nact-assistant-import.h:
242 * src/nact/nact-clipboard.c:
243 * src/nact/nact-clipboard.h:
244 * src/nact/nact-confirm-logout.c:
245 * src/nact/nact-confirm-logout.h:
246 * src/nact/nact-export-ask.c:
247 * src/nact/nact-export-ask.h:
248 * src/nact/nact-iactions-list.c:
249 * src/nact/nact-iactions-list.h:
250 * src/nact/nact-iaction-tab.c:
251 * src/nact/nact-iaction-tab.h:
252 * src/nact/nact-ibasenames-tab.c:
253 * src/nact/nact-ibasenames-tab.h:
254 * src/nact/nact-icapabilities-tab.c:
255 * src/nact/nact-icapabilities-tab.h:
256 * src/nact/nact-icommand-tab.c:
257 * src/nact/nact-icommand-tab.h:
258 * src/nact/nact-icon-chooser.h:
259 * src/nact/nact-ienvironment-tab.c:
260 * src/nact/nact-ienvironment-tab.h:
261 * src/nact/nact-iexecution-tab.c:
262 * src/nact/nact-iexecution-tab.h:
263 * src/nact/nact-ifolders-tab.c:
264 * src/nact/nact-ifolders-tab.h:
265 * src/nact/nact-imimetypes-tab.c:
266 * src/nact/nact-imimetypes-tab.h:
267 * src/nact/nact-iproperties-tab.c:
268 * src/nact/nact-iproperties-tab.h:
269 * src/nact/nact-ischemes-tab.c:
270 * src/nact/nact-ischemes-tab.h:
271 * src/nact/nact-main-window.c:
272 * src/nact/nact-main-window.h:
273 * src/nact/nact-preferences-editor.c:
274 * src/nact/nact-preferences-editor.h:
275 * src/nact/nact-tree-model.c:
276 * src/nact/nact-tree-model.h:
277 * src/nact/nact-tree-model-priv.h:
278 * src/nact/nact-window.c:
279 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
281 * src/io-xml/naxml-provider.c:
282 * src/io-xml/naxml-provider.h:
283 * src/io-xml/naxml-reader.c:
284 * src/io-xml/naxml-reader.h:
285 * src/io-xml/naxml-writer.c:
286 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
288 * src/io-gconf/nagp-gconf-provider.c:
289 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
291 * src/io-desktop/nadp-desktop-file.c:
292 * src/io-desktop/nadp-desktop-file.h:
293 * src/io-desktop/nadp-desktop-provider.c:
294 * src/io-desktop/nadp-desktop-provider.h:
295 * src/io-desktop/nadp-monitor.c:
296 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
298 * src/core/na-export-format.h:
299 * src/core/na-iabout.h:
300 * src/core/na-importer-ask.h:
301 * src/core/na-io-provider.h:
302 * src/core/na-ipivot-consumer.h:
303 * src/core/na-module.h:
304 * src/core/na-pivot.h:
305 * src/core/na-selected-info.h:
306 * src/core/na-settings.h:
307 * src/core/na-tokens.h:
308 * src/core/na-updater.h: Cosmetic changes in src/core headers.
310 * src/api/na-data-boxed.h:
311 * src/api/na-data-types.h:
312 * src/api/na-gconf-monitor.h:
313 * src/api/na-gconf-utils.h:
314 * src/api/na-icontext.h:
315 * src/api/na-iduplicable.h:
316 * src/api/na-iexporter.h:
317 * src/api/na-ifactory-object.h:
318 * src/api/na-ifactory-provider.h:
319 * src/api/na-iio-provider.h:
320 * src/api/na-object-action.h:
321 * src/api/na-object.h:
322 * src/api/na-object-id.h:
323 * src/api/na-object-item.h:
324 * src/api/na-object-menu.h:
325 * src/api/na-object-profile.h:
326 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
328 * src/utils/na-gconf2key.sh.in:
329 * tools/check-headers.sh:
331 * tools/init-finalize-diff.sh:
332 * tools/release-tarball.sh: Replace basename with a shell substitution.
334 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
336 * tools/release-tarball.sh: Full script rewrite.
339 * Makefile.am: Add README-GCONF to the distribution.
341 * tools/check-po.sh: Script rewriting.
343 * NEWS: Update before 3.0.7 release.
345 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
347 * src/core/na-export-format.c (na_export_format_get_description):
348 * src/core/na-importer-ask.c (na_importer_ask_user):
349 * src/core/na-importer.c (import_from_uri):
350 * src/core/na-io-provider.c (na_io_provider_get_name):
351 * src/core/na-iprefs.c:
352 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
353 na_iprefs_get_order_mode, na_iprefs_get_export_format):
354 * src/core/na-settings.c:
355 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
356 * nact/nact-assistant-import.c (runtime_init_duplicates):
357 * src/nact/nact-clipboard.c (export_row_object):
358 * src/nact/nact-export-ask.c:
359 * nact/nact-export-format.c:
360 * src/nact/nact-export-format.h(nact_export_format_init_display):
361 * src/nact/nact-gtk-utils.c:
362 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
363 nact_gtk_utils_radio_reset_initial_state,
364 nact_gtk_utils_toggle_set_initial_state,
365 nact_gtk_utils_toggle_reset_initial_state):
366 * src/nact/nact-ienvironment-tab.c
367 (on_tab_updatable_selection_changed):
368 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
369 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
370 * src/nact/nact-preferences-editor.c:
371 * src/nact/nact-preferences.ui:
372 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
373 * src/nact/nact-tree-model.c (tree_model_new):
374 Manage locked and mandatory preferences.
376 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
377 Do not eat last character.
380 * src/core/na-settings.h:
381 * src/utils/na-gconf2key.sh.in:
382 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
384 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
386 * src/nact/nact-preferences-editor.c:
387 Reopen the Preferences on the last used tab.
389 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
390 Fix handling of last separator.
392 * src/nact/nact-schemes-list.c: Do not allow modification
393 of default schemes list if preferences are locked or property
396 * src/core/na-io-provider.c:
397 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
398 na_io_provider_is_conf_writable):
399 Returns mandatory flag.
400 List I/O providers in write order.
402 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
404 * src/nact/nact-providers-list.c: Do not allow modification of I/O
405 providers readability/writability/write order properties if
406 preferences are locked or properties mandatory.
408 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
410 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
412 * run-distcheck.sh: New file.
414 Add a script to check completeness of header files.
418 * tools/check-headers.sh: New files.
420 * src/test/test-include.c:
421 Renamed as tools/check-header.c and set it as ignored by git.
423 * src/test/.gitignore:
424 * src/test/Makefile.am: Updated accordingly.
427 * configure.ac: configure in tools/.
429 * src/api/na-data-boxed.h:
430 * src/api/na-data-types.h:
431 * src/api/na-gconf-monitor.h:
432 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
434 * run-distcheck.sh: New file.
436 * tools/check-po.sh: Rewrite to have options and messages management.
438 * src/utils/na-gconf2key.sh.in: Review comment.
440 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
442 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
444 * tools/check-po.sh: Set the count of errors as exit code.
446 * po/POTFILES.in: Updated.
448 * src/api/na-gconf-utils.h:
449 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
451 * src/api/na-gconf-monitor.h:
452 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
454 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
456 * src/utils/na-print-schemas.c: Add a deprecation comment.
458 * src/core/na-io-provider.c:
459 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
462 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
464 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
466 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
468 * src/test/test-module.c:
469 * src/test/test-module-plugin.c: New files.
471 * src/test/.gitignore:
472 * src/test/Makefile.am: Updated accordingly.
474 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
476 * src/nact/base-iprefs.c
477 (base_iprefs_position_named_window): Do not force a null window size or position.
479 * src/core/na-settings.c
480 (na_settings_get_string_list): Do not allocate an empty string list.
482 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
484 * src/core/na-object-id.c:
485 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
487 * src/core/na-data-boxed.c:
488 * src/core/na-gconf-monitor.c:
489 * src/core/na-io-provider.c:
490 * src/core/na-tokens.c:
491 * src/core/na-updater.c:
492 * src/io-desktop/nadp-desktop-file.c:
493 * src/io-desktop/nadp-desktop-provider.c:
494 * src/io-desktop/nadp-monitor.c:
495 * src/io-gconf/nagp-gconf-provider.c:
496 * src/io-xml/naxml-provider.c:
497 * src/nact/base-application.c:
498 * src/nact/base-builder.c:
499 * src/nact/base-window.c:
500 * src/nact/nact-application.c:
501 * src/nact/nact-clipboard.c:
502 * src/nact/nact-main-window.c:
503 * src/nact/nact-tree-model.c:
504 * src/nact/nact-window.c: Add instance_finalize debug message.
506 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
508 * src/core/na-boxed.c
509 (na_boxed_free): Only free a non null structure.
510 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
511 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
512 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
513 Do not try to return a value for a null structure.
515 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
517 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
519 * src/utils/na-delete-xmltree.c:
520 * src/utils/nautilus-actions-print.c: Add localization code.
522 * src/utils/nautilus-actions-new.c:
523 * src/utils/nautilus-actions-run.c:
524 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
526 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
527 na_boxed_new_from_string_with_sep, na_boxed_free):
528 Add debug messages when allocating/freeing a NABoxed structure.
530 * src/nact/nact-icommand-tab.c (on_wdir_browse):
531 Remove no more used default value.
533 * src/nact/nact-icon-chooser.c
534 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
536 * src/core/na-settings.h: Preference renamed accordingly.
539 * src/core/na-settings.h:
540 * src/utils/na-gconf2key.sh.in:
541 '-last-folder-uri' preferences are renamed as '-lfu'.
543 * src/core/na-settings.c: Set default values.
545 * src/nact/nact-gtk-utils.c:
546 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
547 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
548 Remove no more used default value.
550 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
551 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
552 on_show_if_running_browse): Updated accordingly.
554 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
555 Do not allocate the empty last element.
557 * src/core/na-io-provider.c (load_items_get_merged_list):
558 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
559 Use the correct list pointer.
561 * src/core/na-iprefs.c:
562 * src/core/na-iprefs.h
563 (na_iprefs_get_export_format, na_iprefs_set_export_format):
564 Functions moved from src/nact/nact-iprefs.c.
566 * src/nact/nact-iprefs.c:
567 * src/nact/nact-iprefs.h: Removed files.
569 * src/nact/Makefile.am:
570 * src/nact/base-window.c:
571 * src/nact/nact-assistant-export.c:
572 * src/nact/nact-assistant-import.c:
573 * src/nact/nact-clipboard.c:
574 * src/nact/nact-export-ask.c:
575 * src/nact/nact-export-format.c:
576 * src/nact/nact-gtk-utils.c:
577 * src/nact/nact-iaction-tab.c:
578 * src/nact/nact-icommand-tab.c:
579 * src/nact/nact-ifolders-tab.c:
580 * src/nact/nact-main-toolbar.c:
581 * src/nact/nact-preferences-editor.c:
582 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
584 * src/nact/nact-iprefs.c:
585 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
586 nact_iprefs_write_string): Remove deprecated functions.
588 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
591 * src/nact/base-iprefs.c:
592 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
593 Remove deprecated functions.
595 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
596 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
599 * src/nact/nact-iprefs.c:
600 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
602 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
605 Global renaming of preferences.
608 * src/api/na-iio-provider.h:
609 * src/core/na-export-format.h:
610 * src/core/na-exporter.h:
611 * src/core/na-importer-ask.h:
612 * src/core/na-importer.c:
613 * src/core/na-io-provider.c:
614 * src/core/na-io-provider.h:
615 * src/core/na-iprefs.c:
616 * src/core/na-iprefs.h:
617 * src/core/na-module.c:
618 * src/core/na-pivot.c:
619 * src/core/na-pivot.h:
620 * src/core/na-settings.c:
621 * src/core/na-settings.h:
622 * src/core/na-updater.c:
623 * src/nact/nact-add-capability-dialog.c:
624 * src/nact/nact-add-scheme-dialog.c:
625 * src/nact/nact-assistant-export.c:
626 * src/nact/nact-assistant-import.c:
627 * src/nact/nact-clipboard.c:
628 * src/nact/nact-export-ask.c:
629 * src/nact/nact-gtk-utils.c:
630 * src/nact/nact-iactions-list.c:
631 * src/nact/nact-icommand-tab.c:
632 * src/nact/nact-icon-chooser.c:
633 * src/nact/nact-ienvironment-tab.c:
634 * src/nact/nact-ifolders-tab.c:
635 * src/nact/nact-iprefs.c:
636 * src/nact/nact-iprefs.h:
637 * src/nact/nact-main-menubar-edit.c:
638 * src/nact/nact-main-menubar-file.c:
639 * src/nact/nact-main-menubar.c:
640 * src/nact/nact-main-toolbar.c:
641 * src/nact/nact-main-window.c:
642 * src/nact/nact-preferences-editor.c:
643 * src/nact/nact-providers-list.c:
644 * src/nact/nact-schemes-list.c:
645 * src/nact/nact-sort-buttons.c:
646 * src/nact/nact-tree-model-dnd.c:
647 * src/nact/nact-tree-model.c:
648 * src/nact/nact-window.c:
649 * src/nact/nact-window.h:
650 * src/plugin-menu/nautilus-actions.c:
651 * src/utils/na-gconf2key.sh.in:
652 * src/utils/nautilus-actions-new.c: Rename preferences.
653 >>>>>>> Globally rename preferences
655 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
657 * src/core/na-settings.c:
658 * src/core/na-settings.h: Preference names are defined as '#define' values.
661 * src/utils/na-gconf2key.sh.in: Adjust preferences.
663 * src/core/na-iprefs.c:
664 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
666 * src/api/na-iimporter.h:
667 * src/core/na-importer-ask.c:
668 * src/core/na-importer-ask.h:
669 * src/core/na-importer.c: Updated accordingly.
671 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
673 * src/nact/nact-iprefs.c:
674 * src/nact/nact-iprefs.h: Get ride of GConf.
677 * src/core/na-settings.c:
678 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
680 * src/nact/nact-icommand-tab.c:
681 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
684 * src/core/na-settings.c:
685 * src/utils/na-gconf2key.sh.in:
686 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
688 * src/nact/nact-ifolders-tab.c: Updated accordingly.
691 * src/core/na-settings.c:
692 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
694 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
695 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
696 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
697 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
698 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
699 * src/nact/nact-main-window.c
700 (instance_dispose, base_get_iprefs_window_id):
701 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
702 Update all preference names when saving/restoring window size and position.
704 * src/core/na-settings.c:
705 * src/core/na-settings.h: All getters/setters are implemented.
707 * src/nact/base-iprefs.c: Remove GConf stuff.
709 * src/nact/nact-icon-chooser.c:
710 * src/nact/nact-icon-chooser.ui: Implement all preferences.
712 * src/utils/na-gconf2key.sh.in:
713 Renamed preferences for windows size and position '-wsp'.
714 Also delete from GConf if only preferences have been migrated.
715 Re-sync after tree delete.
717 * src/api/na-boxed.h:
718 * src/core/na-boxed.c
719 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
722 * configure.ac: Enable silent rules by default.
724 * run-autogen.sh: Add sysconfdir argument to autogen.sh
726 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
727 Search a pixbuf by icon theme if not found as filename or stock.
729 * src/nact/base-window.c:
730 * src/nact/base-window.h (base_window_peek_widget): New function.
732 * src/nact/nact-icon-chooser.c:
733 * src/nact/nact-icon-chooser.h:
734 * src/nact/nact-icon-chooser.ui: New files.
736 * src/nact/Makefile.am:
737 * src/nact/nact-iaction-tab.c:
738 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
740 * src/core/na-settings.c (content_load_keys):
741 Do not warn if configuration file does not exist.
743 * src/api/na-boxed.h:
744 * src/api/na-data-boxed.h:
745 * src/api/na-data-types.h:
746 * src/core/na-boxed.c:
747 * src/core/na-data-boxed.c:
748 * src/core/na-data-types.c:
749 Update reference documentation to deprecate NADataBoxed and NADataType
752 * src/core/na-settings.c:
753 * src/core/na-settings.h: Configuration monitoring.
755 * src/plugin-menu/nautilus-actions.c:
756 Monitor all runtime preferences with only one callback.
758 * src/api/na-boxed.h:
759 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
761 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
763 * src/api/na-data-types.h:
764 * src/core/na-data-types.c
765 (na_data_types_copy, na_data_types_free): Removed functions.
768 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
770 * src/api/na-boxed.h:
771 * src/core/na-boxed.c: New files.
773 * src/api/Makefile.am:
774 * src/core/Makefile.am: Updated accordingly.
776 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
778 * src/api/na-data-types.h:
779 * src/core/na-data-types.c
780 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
783 * src/core/na-settings.c
784 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
786 * src/core/na-settings.h
787 (na_settings_get_boolean_ex, na_settings_get_string_list):
790 * src/plugin-menu/nautilus-actions.c:
791 Implement runtime preferences monitoring.
792 No more use deprecated na_pivot_set_automatic_reload().
794 * src/core/na-pivot.c:
795 * src/core/na-pivot.h:
796 Replace GConf preferences monitoring with NASettings.
797 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
799 * src/core/na-settings.c:
800 * src/core/na-settings.h
801 (na_settings_register_key_callback,
802 na_settings_register_global_callback, na_settings_get_boolean):
805 * src/api/na-iio-provider.h:
806 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
807 definition is moved (and renamed) from public API to internal one.
809 * src/core/na-iio-provider.c (interface_base_init):
810 * src/core/na-io-provider.c (io_provider_set_provider):
811 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
813 * src/core/na-iio-provider.c
814 * src/core/na-settings.c (na_settings_new):
815 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
817 * src/core/na-pivot.c:
818 * src/core/na-pivot.h (na_pivot_register):
819 * src/core/na-settings.c:
820 * src/core/na-settings.h (na_settings_register):
821 * src/plugin-menu/nautilus-actions.c (instance_constructed):
824 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
826 * src/nact/base-application.c (display_dlg): Setup parent window.
828 * src/api/na-iimporter.h:
829 * src/core/na-io-provider.c:
830 * src/core/na-object-id.c:
831 * src/core/na-object-item.c:
832 * src/io-desktop/nadp-utils.c:
833 * src/nact/nact-assistant-import.c:
834 * src/nact/nact-iactions-list-bis.c:
835 * src/nact/nact-iactions-list.h:
836 * src/nact/nact-main-window.c:
837 * src/nact/nact-preferences.ui:
838 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
840 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
842 * src/core/na-object-profile-factory.c:
843 Remove %o/%O parameters from description of version 2.0.
844 Add a missing line feed.
846 * tools/check-po.sh: Adapt to glade files.
848 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
850 * src/utils/nautilus-actions-new.c (init_options):
851 * src/utils/nautilus-actions-run.c (init_options):
852 * src/utils/nautilus-actions-schemas.c (init_options):
853 Initialize translation domain for GOptionContext.
855 * src/core/na-data-boxed.c
856 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
857 * src/core/na-export-format.c
858 (na_export_format_get_label, na_export_format_get_description):
859 * src/core/na-iabout.c (na_iabout_display):
860 * src/core/na-object-action.c (na_object_action_new_with_defaults):
861 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
862 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
863 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
864 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
865 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
866 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
867 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
868 * src/nact/nact-tree-model-dnd.c
869 (is_drop_possible, is_drop_possible_before_iter,
870 is_drop_possible_into_dest, is_parent_accept_new_childs):
871 Use gettext() to display localized static strings.
873 * src/api/na-data-def.h: Complete the description of the fields.
875 * src/core/na-io-provider.c:
876 * src/core/na-object-profile-factory.c:
877 * src/nact/nact-assistant-export.ui:
878 * src/nact/nautilus-actions-config-tool.ui:
879 Fix various mistakes and mispellings reported by Fr translation team.
881 * configure.ac: Post-release bump version number.
883 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
885 * src/core/na-pivot.c (na_pivot_register): New function.
887 * src/plugin-menu/nautilus-actions.c:
888 Replace NAIPivotConsumer interface with na_settings() accessors.
890 * src/core/na-settings.c:
891 * src/core/na-settings.h: New files.
893 * src/utils/na-gconf2key.sh.in:
894 Make sure that GConf is at the end of the list of I/O providers.
895 Make sure that GConf is locked.
896 Migrate all I/O provider preferences.
899 * src/utils/Makefile.am:
900 * src/utils/na-gconf2key.sh.in:
901 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
902 and is installed in PKGLIBEXECDIR.
904 * src/core/Makefile.am:
905 * src/core/na-gconf-migration.c: Updated accordingly.
907 * src/utils/Makefile.am:
908 nautilus-actions-delete is renamed as na-delete-xmltree,
909 and is installed in PKGLIBEXECDIR.
911 * src/core/na-core-utils.c (na_core_utils_print_version):
912 Print the compilation version of GLib2 and Gtk+ when in debug mode.
914 * src/utils/Makefile.am:
915 nautilus-actions-schemas is renamed as na-print-schemas,
916 and is installed in PKGLIBEXECDIR.
918 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
920 * src/nact/nact-main-window.c (iabout_get_toplevel):
921 Let the About dialog get the toplevel window.
923 * src/nact/nact-preferences.ui:
924 * src/nact/nautilus-actions-config-tool.ui:
925 Apply patch provided by Christian Kirbach. Fix #638548.
927 Use the same script to migrate items and preferences.
929 * README-GCONF: Document migrated and renamed preferences.
931 * src/utils/nautilus-actions-gconf2desktop.sh.in:
932 Rewrite migrated preferences as keyed files.
933 At last, remove the whole Nautilus-Actions tree from GConf.
935 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
937 * src/utils/console-utils.c (console_cmdline_get_description):
938 Returns the full address of the page to enter a new bug in Bugzilla.
940 * src/core/na-gconf-migration.c:
941 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
943 * src/core/Makefile.am: Updated accordingly.
945 * src/nact/nact-main.c (main):
946 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
947 * src/utils/nautilus-actions-new.c (main):
948 * src/utils/nautilus-actions-run.c (main):
949 Automatically run the migration tool at startup.
951 * src/utils/nautilus-actions-gconf2desktop.sh.in:
952 * src/utils/nautilus-actions-delete.c:
953 * src/utils/nautilus-actions-print.c:
954 New items migration script and programs.
955 They take care of migrating users and mandatory items to .desktop files.
958 * src/utils/Makefile.am:
959 * src/utils/.gitignore: Updated accordingly.
961 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
963 * src/core/na-tokens.c (na_tokens_new_from_selection):
964 No more prepare the list string of selection.
965 Directly build the selection list in the correct order.
966 (execute_action_command): Setup the working directory.
968 * src/core/na-tokens.c:
969 * src/core/na-tokens.h (na_tokens_parse_parameters):
970 Renamed as na_tokens_parse_for_display() as filenames are not quoted
971 when displayed as part of an expanded label.
973 * src/nact/nact-icommand-tab.c (parse_parameters):
974 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
977 * configure.ac: Fix "API Reference generation" message.
979 * m4/na-enable-manuals.m4:
980 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
982 * src/core/na-selected-info.c (new_from_uri):
983 - Add an excerpt from RFC 2396 about valid characters in URIs.
984 - Prefer the filename from g_filename_from_uri() when possible.
986 * src/core/na-tokens.c
987 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
988 (build_string_lists_item): Removed function.
990 * src/core/na-iabout.c (na_iabout_display):
991 Fix typo in comment, adding a note to the translators.
993 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
995 * src/core/na-io-provider.c:
996 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
999 * configure.ac: Define a conditional if we have both GSettings and GConf.
1001 * src/core/na-gsettings-migrate.c:
1002 * src/core/na-gsettings-migrate.h: New files.
1004 * src/core/Makefile.am: Updated accordingly.
1006 * src/core/na-pivot.c (instance_constructed):
1007 Call na_gsettings_migrate() if we have both GSettings and GConf.
1010 - Define HAVE_GSETTINGS variable.
1011 - Define HAVE_GCONF variable.
1013 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1015 * src/nact/egg-desktop-file.c:
1016 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1018 * src/nact/base-keysyms.h:
1019 * src/nact/egg-sm-client-private.h:
1020 * src/nact/egg-sm-client-xsmp.c:
1021 * src/nact/nact-add-capability-dialog.c:
1022 * src/nact/nact-add-scheme-dialog.c:
1023 * src/nact/nact-main-tab.c:
1024 * src/nact/nact-clipboard.c:
1025 * src/nact/nact-tree-model-dnd.c:
1026 * src/nact/nact-gtk-utils.c:
1027 * src/nact/nact-iaction-tab.c:
1028 * src/nact/nact-main-statusbar.c:
1029 * src/nact/nact-main-menubar.c:
1030 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1033 * m4/na-check-for-gtk.m4:
1034 Move back gtk_required variable to improve readibility of configure.ac.
1036 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1038 * configure.ac: Post release version bump.
1040 * NEWS: Update NEWS before release.
1042 * src/plugin-menu/nautilus-actions.c (create_root_menu):
1043 Update the root menu label to better reflect the product name.
1045 * src/nact/nautilus-actions-config-tool.ui:
1046 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1048 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1049 Display again stock icons in NACT.
1050 Fix #638461 - Stock icons are no more displayed in NACT.
1052 * Almost all files modified:
1053 Update copyright message.
1054 Set Nautilus-Actions as being the actual official product name.
1056 * src/core/na-selected-info.c (new_from_nautilus_file_info):
1057 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1058 Fix #638450 - Nautilus crashes when opening Trash or Network.