Update po/POTFILES.in
[nautilus-actions.git] / ChangeLog
blob280f5e67f4523872f174f517229cd95d74db30b4
1 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
3         * src/api/na-iduplicable.h:
4         * src/core/na-iduplicable.c:
5         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
6         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
8         * src/api/na-object-api.h:
9         * src/core/na-object.c:
10         * src/core/na-object-item.c:
11         * src/core/na-object-item.h:
12         Deprecated na_object_check_status_up macro.
13         Merge na_object_item_check_status() and na_object_item_check_status_up().
15         * src/nact/nact-iaction-tab.c:
16         * src/nact/nact-ibasenames-tab.c:
17         * src/nact/nact-icapabilities-tab.c:
18         * src/nact/nact-icommand-tab.c:
19         * src/nact/nact-ienvironment-tab.c:
20         * src/nact/nact-iexecution-tab.c:
21         * src/nact/nact-ifolders-tab.c:
22         * src/nact/nact-iproperties-tab.c:
23         * src/nact/nact-ischemes-tab.c:
24         * src/nact/nact-main-window.c:
25         * src/nact/nact-main-window.h:
26         * src/nact/nact-match-list.c: Properties are renamed.
28         * src/nact/nact-main-tab.c:
29         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
31 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
33         In the process of replacing NactIActionsList interface with:
34         - the NactTreeView class
35         - plus the NactTreeIEditable interface.
37         Almost all NACT files modified. Compilation is OK.
39 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
41         * src/nact/nact-tree-model.c:
42         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
43         * src/nact/nact-tree-view.c:
44         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
46         Allow an items list to be referenced in a new list.
48         * src/api/na-object-api.h (na_object_ref_items): New macro.
50         * src/api/na-object-item.h:
51         * src/core/na-object-item.c (na_object_item_ref_items): New function.
53         * src/nact/nact-assistant-export.c
54         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
56         Review NAObject reference management
58         * src/api/na-object-api.h
59         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
60         (na_object_free_items): New macro.
62         * src/api/na-object-item.h:
63         * src/core/na-object-item.c
64         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
65         (na_object_item_free_items): New function.
67         * src/core/na-io-provider.c (na_io_provider_load_items):
68         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
69         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
70         na_pivot_set_new_items):
71         * src/nact/nact-assistant-import.c (assistant_apply):
72         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
73         * src/nact/nact-iactions-list.c (free_items_callback):
74         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
75         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
76         nact_main_menubar_edit_on_paste_into,
77         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
78         * src/nact/nact-main-menubar-file.c
79         (nact_main_menubar_file_on_new_menu,
80         nact_main_menubar_file_on_new_action,
81         nact_main_menubar_file_on_new_profile):
82         * src/nact/nact-main-menubar-maintainer.c
83         (nact_main_menubar_maintainer_on_dump_selection):
84         * src/nact/nact-main-menubar.c (on_update_sensitivities):
85         * src/nact/nact-main-window.c (instance_dispose,
86         nact_main_window_remove_deleted, reload):
87         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
88         * src/nact/nact-tree-model.c (fill_tree_store):
89         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
90         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
91         accordingl
92         * src/nact/nact-main-menubar-maintainer.c
93         (nact_main_menubar_maintainer_on_dump_selection):
94         * src/nact/nact-main-menubar.c (on_update_sensitivities):
95         * src/nact/nact-main-window.c (instance_dispose,
96         nact_main_window_remove_deleted, reload):
97         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
98         * src/nact/nact-tree-model.c (fill_tree_store):
99         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
100         * src/plugin-menu/nautilus-actions.c (get_menus_items):
101         Updated accordingly.
103         New NactTreeView convenience class
105         * src/nact/nact-tree-view.c:
106         * src/nact/nact-tree-view.h: New files.
108         * src/nact/Makefile.am:
109         * src/nact/nact-assistant-export.c:
110         * src/nact/nact-iactions-list-priv.c:
111         * src/nact/nact-iactions-list.h:
112         * src/nact/nact-marshal.list:
113         * src/nact/nact-tree-model.c: Updated accordingly.
115 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
117         Refactoring of menubar files:
118         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
119         - nact-main-menubar-*.h are removed.
121         * src/nact/Makefile.am:
122         * src/nact/nact-confirm-logout.c:
123         * src/nact/nact-iactions-list.c: Updated accordingly.
125         * src/nact/nact-main-window.c:
126         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
127         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
129         Termination of the main window is managed in NactMainWindow.
131         * src/nact/nact-main-window.c:
132         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
134         * src/nact/nact-main-menubar-file.c: Updated accordingly.
136         Move a NASettings getter to NAUpdater
138         * src/core/na-updater.c:
139         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
141         * src/nact/nact-main-menubar-edit.c:
142         * src/nact/nact-main-menubar-edit.h
143         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
145         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
147         * src/nact/base-application.c (class_init):
148         * src/nact/base-assistant.c (class_init):
149         * src/nact/base-window.c (class_init):
150         * src/nact/nact-main-window.c (instance_constructed):
151         Setup construction properties.
153         * src/nact/nact-application.c:
154         * src/nact/nact-application.h (nact_application_get_updater):
155         Set NactApplication as a const argument.
157         Deprecate NAIPivotConsumer interface
159         * src/core/na-ipivot-consumer.c:
160         * src/core/na-ipivot-consumer.h: Removed files.
162         * src/core/Makefile.am:
163         * src/core/na-pivot.c:
164         * src/core/na-pivot.h:
165         * src/nact/nact-application.c:
166         * src/nact/nact-main-menubar-file.c:
167         * src/nact/nact-main-window.c:
168         * src/nact/nact-menubar.c: Updated accordingly.
170         * src/core/na-pivot.c:
171         * src/core/na-pivot.h
172         (na_pivot_set_automatic_reload): Remove unused function.
174         * src/test/test-reader.c: Updated accordingly.
176         * src/nact/nact-main-window.c (instance_constructed):
177         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
179         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
181         * src/nact/base-iprefs.c:
182         * src/nact/base-iprefs.c: Removed files.
184         * src/nact/Makefile.am:
185         * src/nact/base-gtk-utils.c:
186         * src/nact/base-gtk-utils.h:
187         * src/nact/base-window.c:
188         * src/nact/nact-assistant-export.c:
189         * src/nact/nact-export-ask.c:
190         * src/nact/nact-export-format.c:
191         * src/nact/nact-iaction-tab.c:
192         * src/nact/nact-ibasenames-tab.c:
193         * src/nact/nact-icommand-tab.c:
194         * src/nact/nact-icon-chooser.c:
195         * src/nact/nact-ienvironment-tab.c:
196         * src/nact/nact-iexecution-tab.c:
197         * src/nact/nact-ifolders-tab.c:
198         * src/nact/nact-iproperties-tab.c:
199         * src/nact/nact-ischemes-tab.c:
200         * src/nact/nact-main-statusbar.c:
201         * src/nact/nact-main-window.c:
202         * src/nact/nact-match-list.c:
203         * src/nact/nact-preferences-editor.c:
204         * src/nact/nact-providers-list.c:
205         * src/nact/nact-schemes-list.c:
206         * src/nact/nact-tree-model.c: Updated accordingly.
208         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
209         BaseWindow property
211         * src/core/na-settings.c:
212         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
214         * src/nact/base-iprefs.c:
215         * src/nact/base-iprefs.h
216         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
217         Removed functions.
218         (get_wsp_id): Remove interface method.
220         * src/nact/base-window.c:
221         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
223         * src/nact/nact-add-capability-dialog.c:
224         * src/nact/nact-add-scheme-dialog.c:
225         * src/nact/nact-assistant-export.c:
226         * src/nact/nact-assistant-import.c:
227         * src/nact/nact-confirm-logout.c:
228         * src/nact/nact-export-ask.c:
229         * src/nact/nact-gtk-utils.c:
230         * src/nact/nact-icommand-tab.c:
231         * src/nact/nact-icon-chooser.c:
232         * src/nact/nact-ifolders-tab.c:
233         * src/nact/nact-main-window.c:
234         * src/nact/nact-preferences-editor.c: Updated accordingly.
236         * src/core/na-updater.c:
237         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
239         Homogeneize marshalling
241         * src/core/na-marshal: Renamed as src/core/na-marshal.def
242         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
244         * src/core/Makefile.am:
245         * src/nact/Makefile.am:
246         * src/nact/nact-iactions-list.c (interface_base_init):
247         * src/nact/nact-main-window.c (class_init): Updated accordingly.
249 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
251         Review menu items sensitivity updates
253         * src/api/na-object-api.h
254         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
256         * src/api/na-object-item.h:
257         * src/core/na-object-item.c
258         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
259         New functions.
261         * src/core/na-updater.c:
262         * src/core/na-updater.h (na_updater_load_items): New function.
264         * src/nact/nact-application.c (appli_main_window_new):
265         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
266         No more load items when instanciating the main window, but when
267         initializing it.
269         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
270         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
272         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
273         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
274         * src/nact/nact-menubar-priv.h:
275         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
276         Rely on indicators pre-computed on selection changes.
278         * src/nact/nact-window.c:
279         * src/nact/nact-window.h (nact_window_has_writable_providers):
280         Removed function.
282         * src/nact/nact-menubar-priv.h:
283         * src/nact/nact-menubar.c: Updated accordingly.
285         * src/core/na-iprefs.c:
286         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
287         Moved to NAUpdater class.
289         * src/core/na-updater.c:
290         * src/core/na-updater.h (na_updater_is_level_zero_writable):
291         Moved from NAIPrefs.
293         * src/nact/nact-menubar-priv.h:
294         * src/nact/nact-menubar.c (on_base_initialize_window):
295         * src/nact/nact-sort-buttons.c (enable_buttons):
296         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
297         Updated accordingly.
299         Review I/O providers writability status management.
301         * src/api/na-iio-provider.h: Review writability reason.
303         * src/core/na-io-provider.c:
304         * src/core/na-io-provider.h
305         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
306         Removed functions.
307         (na_io_provider_is_finally_writable): New function.
309         * src/core/na-pivot.c:
310         * src/core/na-pivot.h
311         (na_pivot_is_configuration_locked_by_admin): Removed function.
313         * src/core/na-updater.c
314         * src/core/na-updater.h (na_updater_is_item_writable):
315         * src/nact/nact-main-menubar-edit.c (get_deletables):
316         * src/nact/nact-main-window.c: Updated accordingly.
318 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
320         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
321         Renamed as nact_menubar_enable_item() and moved to private resources.
323         * src/nact/nact-main-menubar-edit.c:
324         * src/nact/nact-main-menubar-file.c:
325         * src/nact/nact-main-menubar-help.c:
326         * src/nact/nact-main-menubar-tools.c:
327         * src/nact/nact-main-menubar-view.c:
328         * src/nact/nact-menubar-priv.h:
329         * src/nact/nact-menubar.h: Updated accordingly.
331         Move MenubarIndicatorsStruct structure to private instance data
333         * src/nact/nact-menubar-priv.h: New file.
335         * src/nact/Makefile.am:
336         * src/nact/nact-main-menubar-edit.c:
337         * src/nact/nact-main-menubar-edit.h:
338         * src/nact/nact-main-menubar-file.c:
339         * src/nact/nact-main-menubar-file.h:
340         * src/nact/nact-main-menubar-help.c:
341         * src/nact/nact-main-menubar-help.h:
342         * src/nact/nact-main-menubar-maintainer.c:
343         * src/nact/nact-main-menubar-maintainer.h:
344         * src/nact/nact-main-menubar-tools.c:
345         * src/nact/nact-main-menubar-tools.h:
346         * src/nact/nact-main-menubar-view.c:
347         * src/nact/nact-main-menubar-view.h:
348         * src/nact/nact-menubar.c:
349         * src/nact/nact-menubar.h: Updated accordingly.
351         Define a new NactMenubar convenience class
353         * src/nact/nact-main-menubar.c:
354         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
356         * src/nact/Makefile.am:
357         * src/nact/nact-iactions-list.c:
358         * src/nact/nact-main-menubar-edit.h:
359         * src/nact/nact-main-menubar-file.h:
360         * src/nact/nact-main-menubar-help.c:
361         * src/nact/nact-main-menubar-help.h:
362         * src/nact/nact-main-menubar-maintainer.c:
363         * src/nact/nact-main-menubar-maintainer.h:
364         * src/nact/nact-main-menubar-tools.c:
365         * src/nact/nact-main-menubar-tools.h:
366         * src/nact/nact-main-menubar-view.c:
367         * src/nact/nact-main-menubar-view.h:
368         * src/nact/nact-main-window.c: Updated accordingly.
370         * src/api/na-boxed.h:
371         * src/core/na-boxed.c (na_boxed_dump): New function.
373         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
375         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
377         * src/core/na-marshal: New file.
379 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
381         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
383         * src/core/na-settings.c:
384         * src/core/na-settings.h: No more try to summarize notifications here.
386         * src/plugin-menu/nautilus-actions.c (instance_constructed):
387         Register NASettings callbacks on the runtime keys.
389         * src/nact/nact-main-window.c:
390         (NAIPivotConsumer->on_display_order_changed):
391         Moved to on_settings_order_mode_changed() function.
392         (NAIPivotConsumer->on_autosave_changed):
393         Moved to nact_main_menubar_file_install_autosave() new function.
395         * src/nact/nact-main-menubar-file.c:
396         * src/nact/nact-main-menubar-file.h
397         (nact_main_menubar_file_install_autosave): New function.
399         * src/core/na-iprefs.c:
400         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
401         New function.
403         * src/core/na-icontext.c (is_candidate_for_basenames):
404         Fix case insenstive comparison (bug reported by Johan Spee).
406         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
408         * src/nact/base-application.c:
409         * src/nact/base-application.h: Add new exit codes.
411         * src/nact/base-assistant.c:
412         * src/nact/base-assistant.h:
413         Remove 'warn-on-cancel' unused property.
414         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
415         Remove unused functions.
416         Implement run() virtual method.
418         * src/nact/base-dialog.c:
419         * src/nact/base-dialog.h:
420         Implement run() virtual method.
421         Define new cancel() and ok() virtual methods.
423         * src/nact/base-iprefs.c:
424         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
426         * src/nact/base-window.c:
427         * src/nact/base-window.h
428         (dialog_response, delete_event): Remove no more used virtual methods.
429         (run): Define new virtual method.
431         * src/nact/nact-add-capability-dialog.c:
432         * src/nact/nact-add-scheme-dialog.c:
433         * src/nact/nact-assistant-export.c:
434         * src/nact/nact-assistant-import.c:
435         * src/nact/nact-confirm-logout.c:
436         * src/nact/nact-export-ask.c:
437         * src/nact/nact-icon-chooser.c:
438         * src/nact/nact-main-window.c:
439         * src/nact/nact-preferences-editor.c: Updated accordingly.
441 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
443         * src/nact/nact-providers-list.c:
444         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
445         Do not initialize the widgets with the future BaseWindow.
447         * src/nact/nact-preferences-editor.c (preferences_editor_new):
448         Updated accordingly.
450         * src/nact/nact-schemes-list.c: Only ask for preferences once.
452         * src/nact/nact-assistant-import.c (assist_new):
453         Reload the common XML UI file into the private builder.
455         * src/nact/base-dialog.c:
456         * src/nact/base-dialog.h:
457         * src/nact/base-window.h: Do some code and comments cleanup.
459         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
460         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
461         * src/nact/base-window.c (setup_builder):
462         Add a debug message.
464 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
466         * src/plugin-menu/nautilus-actions.c:
467         * src/plugin-menu/nautilus-actions.h:
468         Takes advantage of the new NASettings signal notification system.
470         * src/core/na-pivot.c:
471         * src/core/na-pivot.h: Review the notification system.
473         * src/core/na-settings.c:
474         * src/core/na-settings.h:
475         Add a signal notification to the existing callback pregistration system.
477         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
478         * docs/des-ema/des-ema-0.15:
479         * docs/nact/C/nact-conditions.xml:
480         * docs/nact/C/nact-menus.xml:
481         * src/api/na-extension.h:
482         * src/api/na-ifactory-provider.h:
483         * src/api/na-iio-provider.h:
484         * src/api/na-object.h:
485         * src/core/na-core-utils.c:
486         * src/core/na-factory-object.c:
487         * src/core/na-gconf-utils.c:
488         * src/core/na-icontext-factory.c:
489         * src/core/na-icontext.c:
490         * src/core/na-ifactory-provider.c:
491         * src/core/na-io-provider.c:
492         * src/core/na-io-provider.h:
493         * src/core/na-iprefs.c:
494         * src/core/na-object-action.c:
495         * src/core/na-object-id-factory.c:
496         * src/core/na-object-id.c:
497         * src/core/na-object-item-factory.c:
498         * src/core/na-object-item.c:
499         * src/core/na-pivot.h:
500         * src/core/na-settings.c:
501         * src/core/na-settings.h:
502         * src/core/na-tokens.h:
503         * src/io-desktop/nadp-desktop-file.c:
504         * src/io-desktop/nadp-reader.c:
505         * src/io-desktop/nadp-utils.c:
506         * src/io-gconf/nagp-reader.c:
507         * src/io-xml/naxml-reader.c:
508         * src/nact/nact-gtk-utils.c:
509         * src/nact/nautilus-actions-config-tool.ui:
510         * src/plugin-menu/nautilus-actions.c:
511         * src/utils/nautilus-actions-new.c:
512         * src/utils/nautilus-actions-run.c:
513         * tools/check-headers.sh:
514         * tools/init-finalize-diff.sh:
515         Apply patch provided by Christian Kirbach. Fix #640216.
517         * src/nact/nautilus-actions-config-tool.ui:
518         * src/utils/na-delete-xmltree.c:
519         * src/utils/nautilus-actions-print.c:
520         Fix string errors reported by fr translation team.
522         * src/api/na-timeout.h:
523         * src/core/na-timeout.c: New files.
525         * src/api/Makefile.am:
526         * src/core/Makefile.am: Updated accordingly.
528         * src/core/na-pivot.c (on_item_changed_timeout):
529         * src/core/na-settings.c (on_keyfile_changed_timeout):
530         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
531         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
532         Take advantage of new NATimeout convenience structure.
534         * src/api/na-iio-provider.h:
535         * src/core/na-io-provider.c:
536         * src/core/na-io-provider.h: Fix comments.
538         * src/core/na-iio-provider.c (interface_base_init):
539         The 'item-changed' signal actually does not send any argument.
541         * src/core/na-pivot.c:
542         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
543         Updated accordingly.
545 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
547         * src/nact/base-window.c: Handles the recorded signals in a GList.
549         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
551         * src/nact/nact-main-window.c
552         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
553         Calls the parent class method if willing to quit.
555         * src/nact/nact-window.c:
556         * src/nact/nact-window.h
557         (nact_window_is_item_writable): Remove unused function.
559         * src/nact/base-window.c:
560         * src/nact/base-window.h
561         (runtime_init_toplevel): Renamed as initialize_base_window().
562         (class_init): Fix cclosure_marshall for signals without argument.
564         * src/nact/base-window.c:
565         * src/nact/base-window.h
566         (get_toplevel_name, get_ui_filename): Removed virtual functions.
568         * src/nact/nact-add-capability-dialog.c:
569         * src/nact/nact-add-scheme-dialog.c:
570         * src/nact/nact-assistant-export.c:
571         * src/nact/nact-assistant-import.c:
572         * src/nact/nact-confirm-logout.c:
573         * src/nact/nact-export-ask.c:
574         * src/nact/nact-icon-chooser.c:
575         * src/nact/nact-main-window.c:
576         * src/nact/nact-preferences-editor.c: Updated accordingly.
578         * src/nact/base-window.c:
579         * src/nact/base-window.h:
580         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
581         handling paradigm.
582         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
583         signal.
584         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
586         * src/nact/nact-main-window.c:
587         No more connect to the signal, but implement the virtual method.
589         * src/nact/base-application.c (appli_initialize_manage_options):
590         * src/nact/base-application.h (manage_options):
591         * src/nact/nact-application.c (appli_manage_options):
592         Revert commit 3acf600874.
594         * src/test/test-virtuals.c: Do some more tests on virtual methods.
596         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
597         on_initialize_base_window_class_handler,
598         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
599         Succssively invoke all derived class methods.
601         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
602         all_widgets_showed, is_willing_to_quit): Update comments.
604         * src/nact/base-application.c (appli_initialize_manage_options):
605         Successively invoke all derived class methods.
607         * src/nact/base-application.h (manage_options): Update comment.
609         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
611         * src/nact/base-builder.c:
612         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
613         Use a const BaseBuilder as argument;
615         * src/nact/base-window.c:
616         * src/nact/base-window.h (base_window_get_widget_from_gtk):
617         Removed function.
619         * src/nact/nact-gtk-utils.c:
620         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
621         New function.
623         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
625         * src/nact/base-application.c (appli_initialize_unique_app):
626         Fix reverse test.
628         * src/nact/base-builder.c:
629         * src/nact/base-builder.h (base_builder_load_named_toplevel):
630         Renamed as base_builder_get_toplevel_by_name().
632         * src/nact/base-window.c: Updated accordingly.
634 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
636         * src/nact/base-window.c:
637         * src/nact/base-window.h (base_window_peek_widget):
638         Renamed as base_window_get_widget_from_gtk().
640         * src/nact/nact-icon-chooser.c: Updated accordingly.
642         * src/nact/base-window.c:
643         * src/nact/base-window.h (base_window_get_named_toplevel):
644         Renamed as base_window_get_gtk_toplevel_by_name().
646         * src/nact/nact-icommand-tab.c: Updated accordingly.
648         * src/nact/base-window.c:
649         * src/nact/base-window.h (base_window_get_toplevel):
650         Renamed as base_window_get_gtk_toplevel().
652         * src/nact/base-application.c:
653         * src/nact/base-assistant.c:
654         * src/nact/base-iprefs.c:
655         * src/nact/nact-add-capability-dialog.c:
656         * src/nact/nact-add-scheme-dialog.c:
657         * src/nact/nact-assistant-export.c:
658         * src/nact/nact-assistant-import.c:
659         * src/nact/nact-confirm-logout.c:
660         * src/nact/nact-export-ask.c:
661         * src/nact/nact-gtk-utils.c:
662         * src/nact/nact-icommand-tab.c:
663         * src/nact/nact-icon-chooser.c:
664         * src/nact/nact-ifolders-tab.c:
665         * src/nact/nact-main-menubar.c:
666         * src/nact/nact-main-window.c:
667         * src/nact/nact-match-list.c:
668         * src/nact/nact-preferences-editor.c:
669         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
671         * src/nact/base-window.c:
672         * src/nact/base-window.h: Rename signal defines.
674         * src/nact/base-assistant.c:
675         * src/nact/nact-add-capability-dialog.c:
676         * src/nact/nact-add-scheme-dialog.c:
677         * src/nact/nact-assistant-export.c:
678         * src/nact/nact-assistant-import.c:
679         * src/nact/nact-confirm-logout.c:
680         * src/nact/nact-export-ask.c:
681         * src/nact/nact-icon-chooser.c:
682         * src/nact/nact-main-window.c:
683         * src/nact/nact-preferences-editor.c: Updated accordingly.
685         * src/nact/base-window.c:
686         * src/nact/base-window.h:
687         Remove unused properties.
688         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
690         * src/nact/base-assistant.c:
691         * src/nact/nact-main-menubar-edit.c:
692         * src/nact/nact-main-menubar-file.c:
693         * src/nact/nact-main-window.c
694         * src/nact/nact-window.c: Updated accordingly.
696         * src/nact/base-window-class.h: Removed file.
698         * src/nact/base-window.h:
699         * src/nact/Makefile.am: Updated accordingly.
701         * src/utils/na-gconf2key.sh.in:
702         Get ride of possible error messages when forcing gconfd-2 synchro.
704         * src/nact/base-application.c:
705         * src/nact/base-application.h (base_application_message_dlg,
706         base_application_error_dlg, base_application_yesno_dlg):
707         Functions are moved to BaseWindow class.
709         * src/nact/base-window.c:
710         * src/nact/base-window.h
711         (base_window_display_yesno_dlg, base_window_display_message_dlg):
712         New functions.
714         * src/nact/base-application.c:
715         * src/nact/base-application.h
716         (base_application_get_ui_filename): Removed function.
717         (get_ui_filename): Removed virtual method.
719         * src/nact/nact-application.c
720         (appli_get_gtkbuilder_filename):Removed function.
722         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
724         * src/nact/nact-main-window.c (nact_main_window_new):
725         Initialize the main window with XML UI properties.
727         * src/nact/base-window.c:
728         * src/nact/base-window.h: Rename initialization properties.
730         * src/nact/nact-add-capability-dialog.c:
731         * src/nact/nact-add-scheme-dialog.c:
732         * src/nact/nact-assistant-export.c:
733         * src/nact/nact-assistant-import.c:
734         * src/nact/nact-confirm-logout.c:
735         * src/nact/nact-export-ask.c:
736         * src/nact/nact-icon-chooser.c:
737         * src/nact/nact-main-window.c:
738         * src/nact/nact-preferences-editor.c: Updated accordingly.
740         * src/nact/base-application.c:
741         * src/nact/base-application.h:
742         Define new 'base-application-description' property.
743         Remove unused properties.
745         * src/nact/nact-application.c (nact_application_new):
746         Make use of the new property at instanciation time.
748 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
750         * src/nact/base-window.c:
751         * src/nact/base-window.h (base_window_display_error_dlg): New function.
753         * src/nact/base-application.c:
754         * src/nact/base-application.h (base_application_get_icon_name):
755         Removed function.
757         * src/nact/base-application.c:
758         * src/nact/base-application.h
759         (initialize_i18n, initialize_application_name, get_application_name,
760         initialize_default_icon, get_icon_name, initialize_gtk,
761         initialize_session_manager, get_unique_app_name, initialize_ui,
762         initialize_unique_app, initialize, run, get_main_window,
763         initialize_application): Remove virtual methods.
765         * src/nact/nact-application.c (appli_get_application_name,
766         appli_get_icon_name, appli_get_unique_app_name,
767         appli_initialize_application):  Removed functions.
769         * src/nact/nact-application.c (nact_application_new_with_args):
770         Make NactApplication initializes with these new properties.
772         * src/nact/base-application.c:
773         * src/nact/base-application.h: Define new properties.
775         * src/nact/base-application-class.h: Removed file.
777         * src/nact/Makefile.am:
778         * src/nact/base-application.h:
779         * src/nact/base-window-class.h:
780         * src/nact/base-window.h: Updated accordingly.
782         * src/nact/base-application-class.h (main_window_new):
783         * src/nact/base-application.c (application_do_run):
784         * src/nact/nact-application.c
785         * src/nact/nact-main-window.h (appli_main_window_new):
786         Move the creation of the main window to the main_window_new() method.
787         Remove base_application_get_main_window() function.
789         * src/nact/base-application-class.h (manage_options):
790         * src/nact/base-application.c:
791         * src/nact/nact-application.c: Return exit code of the program.
793         * src/nact/nact-tree-model-dnd.c
794         (drop_inside, is_drop_possible, drop_uri_list):
795         * src/nact/base-window.c (is_main):
796         Remove base_application_get_main_window() invocations.
798         * src/nact/nact-main.c: Renamed as main.c
800         * src/nact/Makefile.am: Updated accordingly.
802         * tools/Makefile.am: Generate the check-header.c source if it is missing.
804         * src/plugin-tracker/na-tracker-dbus.c:
805         * src/plugin-tracker/na-tracker-dbus.h:
806         * src/plugin-tracker/na-tracker.c:
807         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
809         * src/plugin-menu/nautilus-actions.c:
810         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
812         * src/nact/base-application.c:
813         * src/nact/base-application-class.h:
814         * src/nact/base-assistant.c:
815         * src/nact/base-assistant.h:
816         * src/nact/base-builder.c:
817         * src/nact/base-builder.h:
818         * src/nact/base-dialog.c:
819         * src/nact/base-dialog.h:
820         * src/nact/base-iprefs.c:
821         * src/nact/base-iprefs.h:
822         * src/nact/base-window.c:
823         * src/nact/base-window-class.h:
824         * src/nact/egg-tree-multi-dnd.h:
825         * src/nact/nact-add-capability-dialog.c:
826         * src/nact/nact-add-capability-dialog.h:
827         * src/nact/nact-add-scheme-dialog.c:
828         * src/nact/nact-add-scheme-dialog.h:
829         * src/nact/nact-application.c:
830         * src/nact/nact-application.h:
831         * src/nact/nact-assistant-export.c:
832         * src/nact/nact-assistant-export.h:
833         * src/nact/nact-assistant-import.c:
834         * src/nact/nact-assistant-import.h:
835         * src/nact/nact-clipboard.c:
836         * src/nact/nact-clipboard.h:
837         * src/nact/nact-confirm-logout.c:
838         * src/nact/nact-confirm-logout.h:
839         * src/nact/nact-export-ask.c:
840         * src/nact/nact-export-ask.h:
841         * src/nact/nact-iactions-list.c:
842         * src/nact/nact-iactions-list.h:
843         * src/nact/nact-iaction-tab.c:
844         * src/nact/nact-iaction-tab.h:
845         * src/nact/nact-ibasenames-tab.c:
846         * src/nact/nact-ibasenames-tab.h:
847         * src/nact/nact-icapabilities-tab.c:
848         * src/nact/nact-icapabilities-tab.h:
849         * src/nact/nact-icommand-tab.c:
850         * src/nact/nact-icommand-tab.h:
851         * src/nact/nact-icon-chooser.h:
852         * src/nact/nact-ienvironment-tab.c:
853         * src/nact/nact-ienvironment-tab.h:
854         * src/nact/nact-iexecution-tab.c:
855         * src/nact/nact-iexecution-tab.h:
856         * src/nact/nact-ifolders-tab.c:
857         * src/nact/nact-ifolders-tab.h:
858         * src/nact/nact-imimetypes-tab.c:
859         * src/nact/nact-imimetypes-tab.h:
860         * src/nact/nact-iproperties-tab.c:
861         * src/nact/nact-iproperties-tab.h:
862         * src/nact/nact-ischemes-tab.c:
863         * src/nact/nact-ischemes-tab.h:
864         * src/nact/nact-main-window.c:
865         * src/nact/nact-main-window.h:
866         * src/nact/nact-preferences-editor.c:
867         * src/nact/nact-preferences-editor.h:
868         * src/nact/nact-tree-model.c:
869         * src/nact/nact-tree-model.h:
870         * src/nact/nact-tree-model-priv.h:
871         * src/nact/nact-window.c:
872         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
874         * src/io-xml/naxml-provider.c:
875         * src/io-xml/naxml-provider.h:
876         * src/io-xml/naxml-reader.c:
877         * src/io-xml/naxml-reader.h:
878         * src/io-xml/naxml-writer.c:
879         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
881         * src/io-gconf/nagp-gconf-provider.c:
882         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
884         * src/io-desktop/nadp-desktop-file.c:
885         * src/io-desktop/nadp-desktop-file.h:
886         * src/io-desktop/nadp-desktop-provider.c:
887         * src/io-desktop/nadp-desktop-provider.h:
888         * src/io-desktop/nadp-monitor.c:
889         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
891         * src/core/na-export-format.h:
892         * src/core/na-iabout.h:
893         * src/core/na-importer-ask.h:
894         * src/core/na-io-provider.h:
895         * src/core/na-ipivot-consumer.h:
896         * src/core/na-module.h:
897         * src/core/na-pivot.h:
898         * src/core/na-selected-info.h:
899         * src/core/na-settings.h:
900         * src/core/na-tokens.h:
901         * src/core/na-updater.h: Cosmetic changes in src/core headers.
903         * src/api/na-data-boxed.h:
904         * src/api/na-data-types.h:
905         * src/api/na-gconf-monitor.h:
906         * src/api/na-gconf-utils.h:
907         * src/api/na-icontext.h:
908         * src/api/na-iduplicable.h:
909         * src/api/na-iexporter.h:
910         * src/api/na-ifactory-object.h:
911         * src/api/na-ifactory-provider.h:
912         * src/api/na-iio-provider.h:
913         * src/api/na-object-action.h:
914         * src/api/na-object.h:
915         * src/api/na-object-id.h:
916         * src/api/na-object-item.h:
917         * src/api/na-object-menu.h:
918         * src/api/na-object-profile.h:
919         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
921         * src/utils/na-gconf2key.sh.in:
922         * tools/check-headers.sh:
923         * tools/check-po.sh:
924         * tools/init-finalize-diff.sh:
925         * tools/release-tarball.sh: Replace basename with a shell substitution.
927 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
929         * tools/release-tarball.sh: Full script rewrite.
931         * README-GCONF:
932         * Makefile.am: Add README-GCONF to the distribution.
934         * tools/check-po.sh: Script rewriting.
936         * NEWS: Update before 3.0.7 release.
938 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
940         * src/core/na-export-format.c (na_export_format_get_description):
941         * src/core/na-importer-ask.c (na_importer_ask_user):
942         * src/core/na-importer.c (import_from_uri):
943         * src/core/na-io-provider.c (na_io_provider_get_name):
944         * src/core/na-iprefs.c:
945         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
946         na_iprefs_get_order_mode, na_iprefs_get_export_format):
947         * src/core/na-settings.c:
948         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
949         * nact/nact-assistant-import.c (runtime_init_duplicates):
950         * src/nact/nact-clipboard.c (export_row_object):
951         * src/nact/nact-export-ask.c:
952         * nact/nact-export-format.c:
953         * src/nact/nact-export-format.h(nact_export_format_init_display):
954         * src/nact/nact-gtk-utils.c:
955         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
956         nact_gtk_utils_radio_reset_initial_state,
957         nact_gtk_utils_toggle_set_initial_state,
958         nact_gtk_utils_toggle_reset_initial_state):
959         * src/nact/nact-ienvironment-tab.c
960         (on_tab_updatable_selection_changed):
961         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
962         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
963         * src/nact/nact-preferences-editor.c:
964         * src/nact/nact-preferences.ui:
965         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
966         * src/nact/nact-tree-model.c (tree_model_new):
967         Manage locked and mandatory preferences.
969         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
970         Do not eat last character.
972         * README-GCONF:
973         * src/core/na-settings.h:
974         * src/utils/na-gconf2key.sh.in:
975         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
977 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
979         * src/nact/nact-preferences-editor.c:
980         Reopen the Preferences on the last used tab.
982         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
983         Fix handling of last separator.
985         * src/nact/nact-schemes-list.c: Do not allow modification
986         of default schemes list if preferences are locked or property
987         mandatory.
989         * src/core/na-io-provider.c:
990         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
991         na_io_provider_is_conf_writable):
992         Returns mandatory flag.
993         List I/O providers in write order.
995         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
997         * src/nact/nact-providers-list.c: Do not allow modification of I/O
998         providers readability/writability/write order properties if
999         preferences are locked or properties mandatory.
1001         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1003 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1005         * run-distcheck.sh: New file.
1007         Add a script to check completeness of header files.
1009         * tools/.gitignore:
1010         * tools/Makefile.am:
1011         * tools/check-headers.sh: New files.
1013         * src/test/test-include.c:
1014         Renamed as tools/check-header.c and set it as ignored by git.
1016         * src/test/.gitignore:
1017         * src/test/Makefile.am: Updated accordingly.
1019         * Makefile.am:
1020         * configure.ac: configure in tools/.
1022         * src/api/na-data-boxed.h:
1023         * src/api/na-data-types.h:
1024         * src/api/na-gconf-monitor.h:
1025         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1027         * run-distcheck.sh: New file.
1029         * tools/check-po.sh: Rewrite to have options and messages management.
1031         * src/utils/na-gconf2key.sh.in: Review comment.
1033         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1035         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1037         * tools/check-po.sh: Set the count of errors as exit code.
1039         * po/POTFILES.in: Updated.
1041         * src/api/na-gconf-utils.h:
1042         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1044         * src/api/na-gconf-monitor.h:
1045         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1047         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1049         * src/utils/na-print-schemas.c: Add a deprecation comment.
1051         * src/core/na-io-provider.c:
1052         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1053         New function.
1055         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1057 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1059         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1061         * src/test/test-module.c:
1062         * src/test/test-module-plugin.c: New files.
1064         * src/test/.gitignore:
1065         * src/test/Makefile.am: Updated accordingly.
1066          
1067         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1069         * src/nact/base-iprefs.c
1070         (base_iprefs_position_named_window): Do not force a null window size or position.
1072         * src/core/na-settings.c
1073         (na_settings_get_string_list): Do not allocate an empty string list.
1075         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1077         * src/core/na-object-id.c:
1078         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1080         * src/core/na-data-boxed.c:
1081         * src/core/na-gconf-monitor.c:
1082         * src/core/na-io-provider.c:
1083         * src/core/na-tokens.c:
1084         * src/core/na-updater.c:
1085         * src/io-desktop/nadp-desktop-file.c:
1086         * src/io-desktop/nadp-desktop-provider.c:
1087         * src/io-desktop/nadp-monitor.c:
1088         * src/io-gconf/nagp-gconf-provider.c:
1089         * src/io-xml/naxml-provider.c:
1090         * src/nact/base-application.c:
1091         * src/nact/base-builder.c:
1092         * src/nact/base-window.c: 
1093         * src/nact/nact-application.c:
1094         * src/nact/nact-clipboard.c:
1095         * src/nact/nact-main-window.c:
1096         * src/nact/nact-tree-model.c:
1097         * src/nact/nact-window.c: Add instance_finalize debug message.
1099         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1101         * src/core/na-boxed.c
1102         (na_boxed_free): Only free a non null structure.
1103         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1104         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1105         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1106         Do not try to return a value for a null structure.
1108         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1110 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1112         * src/utils/na-delete-xmltree.c:
1113         * src/utils/nautilus-actions-print.c: Add localization code.
1115         * src/utils/nautilus-actions-new.c:
1116         * src/utils/nautilus-actions-run.c:
1117         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1119         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1120         na_boxed_new_from_string_with_sep, na_boxed_free):
1121         Add debug messages when allocating/freeing a NABoxed structure.
1123         * src/nact/nact-icommand-tab.c (on_wdir_browse):
1124         Remove no more used default value.
1126         * src/nact/nact-icon-chooser.c
1127         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1129         * src/core/na-settings.h: Preference renamed accordingly.
1131         * README-GCONF:
1132         * src/core/na-settings.h:
1133         * src/utils/na-gconf2key.sh.in:
1134         '-last-folder-uri' preferences are renamed as '-lfu'.
1136         * src/core/na-settings.c: Set default values.
1138         * src/nact/nact-gtk-utils.c:
1139         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1140         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1141         Remove no more used default value.
1143         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1144         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1145         on_show_if_running_browse): Updated accordingly.
1147         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1148         Do not allocate the empty last element.
1150         * src/core/na-io-provider.c (load_items_get_merged_list):
1151         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1152         Use the correct list pointer.
1154         * src/core/na-iprefs.c:
1155         * src/core/na-iprefs.h
1156         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1157         Functions moved from src/nact/nact-iprefs.c.
1159         * src/nact/nact-iprefs.c:
1160         * src/nact/nact-iprefs.h: Removed files.
1162         * src/nact/Makefile.am:
1163         * src/nact/base-window.c:
1164         * src/nact/nact-assistant-export.c:
1165         * src/nact/nact-assistant-import.c:
1166         * src/nact/nact-clipboard.c:
1167         * src/nact/nact-export-ask.c:
1168         * src/nact/nact-export-format.c:
1169         * src/nact/nact-gtk-utils.c:
1170         * src/nact/nact-iaction-tab.c:
1171         * src/nact/nact-icommand-tab.c:
1172         * src/nact/nact-ifolders-tab.c:
1173         * src/nact/nact-main-toolbar.c:
1174         * src/nact/nact-preferences-editor.c:
1175         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1177         * src/nact/nact-iprefs.c:
1178         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1179         nact_iprefs_write_string): Remove deprecated functions.
1181         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1182         Updated accordingly.
1184         * src/nact/base-iprefs.c:
1185         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1186         Remove deprecated functions.
1188         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1189         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
1190         Updated accordingly.
1192         * src/nact/nact-iprefs.c:
1193         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
1195         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
1196         Updated accordingly.
1198         Global renaming of preferences.
1200         * README-GCONF:
1201         * src/api/na-iio-provider.h:
1202         * src/core/na-export-format.h:
1203         * src/core/na-exporter.h:
1204         * src/core/na-importer-ask.h:
1205         * src/core/na-importer.c:
1206         * src/core/na-io-provider.c:
1207         * src/core/na-io-provider.h:
1208         * src/core/na-iprefs.c:
1209         * src/core/na-iprefs.h:
1210         * src/core/na-module.c:
1211         * src/core/na-pivot.c:
1212         * src/core/na-pivot.h:
1213         * src/core/na-settings.c:
1214         * src/core/na-settings.h:
1215         * src/core/na-updater.c:
1216         * src/nact/nact-add-capability-dialog.c:
1217         * src/nact/nact-add-scheme-dialog.c:
1218         * src/nact/nact-assistant-export.c:
1219         * src/nact/nact-assistant-import.c:
1220         * src/nact/nact-clipboard.c:
1221         * src/nact/nact-export-ask.c:
1222         * src/nact/nact-gtk-utils.c:
1223         * src/nact/nact-iactions-list.c:
1224         * src/nact/nact-icommand-tab.c:
1225         * src/nact/nact-icon-chooser.c:
1226         * src/nact/nact-ienvironment-tab.c:
1227         * src/nact/nact-ifolders-tab.c:
1228         * src/nact/nact-iprefs.c:
1229         * src/nact/nact-iprefs.h:
1230         * src/nact/nact-main-menubar-edit.c:
1231         * src/nact/nact-main-menubar-file.c:
1232         * src/nact/nact-main-menubar.c:
1233         * src/nact/nact-main-toolbar.c:
1234         * src/nact/nact-main-window.c:
1235         * src/nact/nact-preferences-editor.c:
1236         * src/nact/nact-providers-list.c:
1237         * src/nact/nact-schemes-list.c:
1238         * src/nact/nact-sort-buttons.c:
1239         * src/nact/nact-tree-model-dnd.c:
1240         * src/nact/nact-tree-model.c:
1241         * src/nact/nact-window.c:
1242         * src/nact/nact-window.h:
1243         * src/plugin-menu/nautilus-actions.c:
1244         * src/utils/na-gconf2key.sh.in:
1245         * src/utils/nautilus-actions-new.c: Rename preferences.
1246 >>>>>>> Globally rename preferences
1248 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
1250         * src/core/na-settings.c:
1251         * src/core/na-settings.h: Preference names are defined as '#define' values.
1253         * README-GCONF:
1254         * src/utils/na-gconf2key.sh.in: Adjust preferences.
1256         * src/core/na-iprefs.c:
1257         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
1259         * src/api/na-iimporter.h:
1260         * src/core/na-importer-ask.c:
1261         * src/core/na-importer-ask.h:
1262         * src/core/na-importer.c: Updated accordingly.
1264 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
1266         * src/nact/nact-iprefs.c:
1267         * src/nact/nact-iprefs.h: Get ride of GConf.
1269         * README-GCONF:
1270         * src/core/na-settings.c:
1271         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
1273         * src/nact/nact-icommand-tab.c:
1274         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
1276         * README-GCONF:
1277         * src/core/na-settings.c:
1278         * src/utils/na-gconf2key.sh.in:
1279         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
1281         * src/nact/nact-ifolders-tab.c: Updated accordingly.
1283         * README-GCONF:
1284         * src/core/na-settings.c:
1285         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
1287         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
1288         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
1289         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
1290         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
1291         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
1292         * src/nact/nact-main-window.c
1293         (instance_dispose, base_get_iprefs_window_id):
1294         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
1295         Update all preference names when saving/restoring window size and position.
1297         * src/core/na-settings.c:
1298         * src/core/na-settings.h: All getters/setters are implemented.
1300         * src/nact/base-iprefs.c: Remove GConf stuff.
1302         * src/nact/nact-icon-chooser.c:
1303         * src/nact/nact-icon-chooser.ui: Implement all preferences.
1305         * src/utils/na-gconf2key.sh.in:
1306         Renamed preferences for windows size and position '-wsp'.
1307         Also delete from GConf if only preferences have been migrated.
1308         Re-sync after tree delete.
1310         * src/api/na-boxed.h:
1311         * src/core/na-boxed.c
1312         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
1313         New functions.
1315         * configure.ac: Enable silent rules by default.
1317         * run-autogen.sh: Add sysconfdir argument to autogen.sh
1319         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1320         Search a pixbuf by icon theme if not found as filename or stock.
1322         * src/nact/base-window.c:
1323         * src/nact/base-window.h (base_window_peek_widget): New function.
1325         * src/nact/nact-icon-chooser.c:
1326         * src/nact/nact-icon-chooser.h:
1327         * src/nact/nact-icon-chooser.ui: New files.
1328         
1329         * src/nact/Makefile.am:
1330         * src/nact/nact-iaction-tab.c:
1331         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1333         * src/core/na-settings.c (content_load_keys):
1334         Do not warn if configuration file does not exist.
1336         * src/api/na-boxed.h:
1337         * src/api/na-data-boxed.h:
1338         * src/api/na-data-types.h:
1339         * src/core/na-boxed.c:
1340         * src/core/na-data-boxed.c:
1341         * src/core/na-data-types.c:
1342         Update reference documentation to deprecate NADataBoxed and NADataType
1343         in favor of NABoxed.
1345         * src/core/na-settings.c:
1346         * src/core/na-settings.h: Configuration monitoring.
1348         * src/plugin-menu/nautilus-actions.c:
1349         Monitor all runtime preferences with only one callback.
1351         * src/api/na-boxed.h:
1352         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
1354         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
1356         * src/api/na-data-types.h:
1357         * src/core/na-data-types.c
1358         (na_data_types_copy, na_data_types_free): Removed functions.
1360         * README-GCONF:
1361         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
1363         * src/api/na-boxed.h:
1364         * src/core/na-boxed.c: New files.
1366         * src/api/Makefile.am:
1367         * src/core/Makefile.am: Updated accordingly.
1369 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
1371         * src/api/na-data-types.h:
1372         * src/core/na-data-types.c
1373         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
1374         New functions.
1376         * src/core/na-settings.c
1377         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
1379         * src/core/na-settings.h
1380         (na_settings_get_boolean_ex, na_settings_get_string_list):
1381         New functions.
1383         * src/plugin-menu/nautilus-actions.c:
1384         Implement runtime preferences monitoring.
1385         No more use deprecated na_pivot_set_automatic_reload().
1387         * src/core/na-pivot.c:
1388         * src/core/na-pivot.h:
1389         Replace GConf preferences monitoring with NASettings.
1390         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
1392         * src/core/na-settings.c:
1393         * src/core/na-settings.h
1394         (na_settings_register_key_callback,
1395         na_settings_register_global_callback, na_settings_get_boolean):
1396         New functions.
1398         * src/api/na-iio-provider.h:
1399         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
1400         definition is moved (and renamed) from public API to internal one.
1402         * src/core/na-iio-provider.c (interface_base_init):
1403         * src/core/na-io-provider.c (io_provider_set_provider):
1404         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
1406         * src/core/na-iio-provider.c
1407         * src/core/na-settings.c (na_settings_new):
1408         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
1410         * src/core/na-pivot.c:
1411         * src/core/na-pivot.h (na_pivot_register):
1412         * src/core/na-settings.c:
1413         * src/core/na-settings.h (na_settings_register):
1414         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1415         Fix compilation.
1417 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
1419         * src/nact/base-application.c (display_dlg): Setup parent window.
1421         * src/api/na-iimporter.h:
1422         * src/core/na-io-provider.c:
1423         * src/core/na-object-id.c:
1424         * src/core/na-object-item.c:
1425         * src/io-desktop/nadp-utils.c:
1426         * src/nact/nact-assistant-import.c:
1427         * src/nact/nact-iactions-list-bis.c:
1428         * src/nact/nact-iactions-list.h:
1429         * src/nact/nact-main-window.c:
1430         * src/nact/nact-preferences.ui:
1431         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
1433         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
1435         * src/core/na-object-profile-factory.c:
1436         Remove %o/%O parameters from description of version 2.0.
1437         Add a missing line feed.
1439         * tools/check-po.sh: Adapt to glade files.
1441 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1443         * src/utils/nautilus-actions-new.c (init_options):
1444         * src/utils/nautilus-actions-run.c (init_options):
1445         * src/utils/nautilus-actions-schemas.c (init_options):
1446         Initialize translation domain for GOptionContext.
1448         * src/core/na-data-boxed.c
1449         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1450         * src/core/na-export-format.c
1451         (na_export_format_get_label, na_export_format_get_description):
1452         * src/core/na-iabout.c (na_iabout_display):
1453         * src/core/na-object-action.c (na_object_action_new_with_defaults):
1454         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1455         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1456         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1457         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1458         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1459         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1460         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1461         * src/nact/nact-tree-model-dnd.c
1462         (is_drop_possible, is_drop_possible_before_iter,
1463         is_drop_possible_into_dest, is_parent_accept_new_childs):
1464         Use gettext() to display localized static strings.
1466         * src/api/na-data-def.h: Complete the description of the fields.
1468         * src/core/na-io-provider.c:
1469         * src/core/na-object-profile-factory.c:
1470         * src/nact/nact-assistant-export.ui:
1471         * src/nact/nautilus-actions-config-tool.ui:
1472         Fix various mistakes and mispellings reported by Fr translation team.
1474         * configure.ac: Post-release bump version number.
1476 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1478         * src/core/na-pivot.c (na_pivot_register): New function.
1480         * src/plugin-menu/nautilus-actions.c:
1481         Replace NAIPivotConsumer interface with na_settings() accessors.
1483         * src/core/na-settings.c:
1484         * src/core/na-settings.h: New files.
1486         * src/utils/na-gconf2key.sh.in:
1487         Make sure that GConf is at the end of the list of I/O providers.
1488         Make sure that GConf is locked.
1489         Migrate all I/O provider preferences.
1491         * configure.ac:
1492         * src/utils/Makefile.am:
1493         * src/utils/na-gconf2key.sh.in:
1494         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
1495         and is installed in PKGLIBEXECDIR.
1497         * src/core/Makefile.am:
1498         * src/core/na-gconf-migration.c: Updated accordingly.
1500         * src/utils/Makefile.am:
1501         nautilus-actions-delete is renamed as na-delete-xmltree,
1502         and is installed in PKGLIBEXECDIR.
1504         * src/core/na-core-utils.c (na_core_utils_print_version):
1505         Print the compilation version of GLib2 and Gtk+ when in debug mode.
1507         * src/utils/Makefile.am:
1508         nautilus-actions-schemas is renamed as na-print-schemas,
1509         and is installed in PKGLIBEXECDIR.
1511 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
1513         * src/nact/nact-main-window.c (iabout_get_toplevel):
1514         Let the About dialog get the toplevel window.
1516         * src/nact/nact-preferences.ui:
1517         * src/nact/nautilus-actions-config-tool.ui:
1518         Apply patch provided by Christian Kirbach. Fix #638548.
1520         Use the same script to migrate items and preferences.
1522         * README-GCONF: Document migrated and renamed preferences.
1524         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1525         Rewrite migrated preferences as keyed files.
1526         At last, remove the whole Nautilus-Actions tree from GConf.
1528 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
1530         * src/utils/console-utils.c (console_cmdline_get_description):
1531         Returns the full address of the page to enter a new bug in Bugzilla.
1533         * src/core/na-gconf-migration.c:
1534         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
1536         * src/core/Makefile.am: Updated accordingly.
1538         * src/nact/nact-main.c (main):
1539         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
1540         * src/utils/nautilus-actions-new.c (main):
1541         * src/utils/nautilus-actions-run.c (main):
1542         Automatically run the migration tool at startup.
1544         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1545         * src/utils/nautilus-actions-delete.c:
1546         * src/utils/nautilus-actions-print.c:
1547         New items migration script and programs.
1548         They take care of migrating users and mandatory items to .desktop files.
1550         * configure.ac:
1551         * src/utils/Makefile.am:
1552         * src/utils/.gitignore: Updated accordingly.
1554 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1556         * src/core/na-tokens.c (na_tokens_new_from_selection):
1557         No more prepare the list string of selection.
1558         Directly build the selection list in the correct order.
1559         (execute_action_command): Setup the working directory.
1561         * src/core/na-tokens.c:
1562         * src/core/na-tokens.h (na_tokens_parse_parameters):
1563         Renamed as na_tokens_parse_for_display() as filenames are not quoted
1564         when displayed as part of an expanded label.
1566         * src/nact/nact-icommand-tab.c (parse_parameters):
1567         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1568         Updated accordingly.
1570         * configure.ac: Fix "API Reference generation" message.
1572         * m4/na-enable-manuals.m4:
1573         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1575         * src/core/na-selected-info.c (new_from_uri):
1576         - Add an excerpt from RFC 2396 about valid characters in URIs.
1577         - Prefer the filename from g_filename_from_uri() when possible.
1579         * src/core/na-tokens.c
1580         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1581         (build_string_lists_item): Removed function.
1583         * src/core/na-iabout.c (na_iabout_display):
1584         Fix typo in comment, adding a note to the translators.
1586 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
1588         * src/core/na-io-provider.c:
1589         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
1590         New function.
1592         * configure.ac: Define a conditional if we have both GSettings and GConf.
1594         * src/core/na-gsettings-migrate.c:
1595         * src/core/na-gsettings-migrate.h: New files.
1597         * src/core/Makefile.am: Updated accordingly.
1599         * src/core/na-pivot.c (instance_constructed):
1600         Call na_gsettings_migrate() if we have both GSettings and GConf.
1602         * configure.ac:
1603         - Define HAVE_GSETTINGS variable.
1604         - Define HAVE_GCONF variable.
1606 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1608         * src/nact/egg-desktop-file.c:
1609         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1611         * src/nact/base-keysyms.h:
1612         * src/nact/egg-sm-client-private.h:
1613         * src/nact/egg-sm-client-xsmp.c: 
1614         * src/nact/nact-add-capability-dialog.c:
1615         * src/nact/nact-add-scheme-dialog.c:
1616         * src/nact/nact-main-tab.c:
1617         * src/nact/nact-clipboard.c:
1618         * src/nact/nact-tree-model-dnd.c:
1619         * src/nact/nact-gtk-utils.c:
1620         * src/nact/nact-iaction-tab.c:
1621         * src/nact/nact-main-statusbar.c:
1622         * src/nact/nact-main-menubar.c:
1623         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1625         * configure.ac:
1626         * m4/na-check-for-gtk.m4:
1627         Move back gtk_required variable to improve readibility of configure.ac.
1629 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1631         * configure.ac: Post release version bump.
1633         * NEWS: Update NEWS before release.
1635         * src/plugin-menu/nautilus-actions.c (create_root_menu):
1636         Update the root menu label to better reflect the product name.
1638         * src/nact/nautilus-actions-config-tool.ui:
1639         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1641         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1642         Display again stock icons in NACT.
1643         Fix #638461 - Stock icons are no more displayed in NACT.
1645         * Almost all files modified:
1646         Update copyright message.
1647         Set Nautilus-Actions as being the actual official product name.
1649         * src/core/na-selected-info.c (new_from_nautilus_file_info):
1650         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1651         Fix #638450 - Nautilus crashes when opening Trash or Network.