Fix default value test
[nautilus-actions.git] / ChangeLog
blobc776ae18928834a35e3b727f3a75fb016fcd2980
1 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
3         * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
4         locale_is_default): Fix default value test.
6 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
8         * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
9         na_object_set_multiple): Deprecated functions.
11         * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
12         Deprecated data.
14         * src/utils/nautilus-actions-new.c: Updated accordingly.
16         * src/nact/nact-providers-list.c:
17         * src/nact/nact-schemes-list.c: Does not recompute if preferences are
18         locked, but use na_updater_are_preferences_locked() function.
20         * src/api/na-iio-provider.h:
21         Define new reason when the level zero is not writable.
23         * src/core/na-updater.c:
24         * src/core/na-updater.h (na_updater_is_item_writable):
25         Renamed as na_updater_check_item_writability_status.
27         * src/nact/nact-main-window.c (setup_writability_status):
28         * src/nact/nact-menubar-edit.c (get_deletables):
29         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
30         Updated accordingly.
32         * src/nact/base-assistant.c (class_init):
33         Apply patch provided by Christian Kirback. Fix #640920.
35 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
37         * src/core/na-pivot.h:
38         * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
40         * src/nact/base-window.h:
41         * src/nact/base-window.c (class_init):
42         Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
44         * src/nact/nact-main-window.c:
45         Connect to the signal instead of implementing a virtual method.
47 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
49         * src/core/na-iduplicable.c (interface_base_init):
50         * src/core/na-settings.c (class_init):
51         * src/nact/base-window.c (class_init):
52         Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
54         * docs/reference/Makefile.am:
55         * src/nact/Makefile.am:
56         * run-distcheck.sh: Fix make distcheck.
58         * docs/reference/Makefile.am:
59         Do not documente NAGconfMonitor class when deprecated symbols are disabled.
61         * src/api/na-data-boxed.h:
62         * src/api/na-gconf-utils.h:
63         * src/core/na-data-boxed.c:
64         * src/core/na-iduplicable.c:
65         * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
67         * configure.ac:
68         * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
70         * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
72         * src/api/na-iduplicable.h:
73         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
74         Deprecated function.
76         * src/core/na-factory-object.c (na_factory_object_are_equal):
77         * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
78         Improve debug messages.
80         * src/core/na-icontext-factory.c:
81         * src/core/na-object-action-factory.c:
82         * src/core/na-object-id-factory.c: Set missing default values.
84         * src/core/na-object-action.c (ifactory_object_are_equal):
85         An action is modified as soon as at least one profile is modified.
87         * src/core/na-icontext-factory.c: Fix string list regression
89         * src/core/na-boxed.c: Fix regression when setting values.
91         * src/core/na-selected-info.c (query_file_attributes):
92         Keep selection info even when unable to query attributes.
93         Fix #641464.
95 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
97         Do not compile with GConf library when disabled
99         * src/api/na-gconf-monitor.h:
100         * src/api/na-gconf-utils.h:
101         * src/core/na-gconf-migration.c:
102         * src/core/na-gconf-monitor.c:
103         * src/core/na-gconf-utils.c:
104         * src/io-gconf/Makefile.am:
105         * src/io-xml/naxml-reader.c:
106         * src/utils/Makefile.am: Updated accordingly.
108 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
110         Add --enable-gconf configure argument
111         Define HAVE_GCONF conditional
113         * m4/na-check-for-gconf.m4: New file.
115         * configure.ac:
116         * data/gconf-schemas/Makefile.am: Updated accordingly.
118         Only GConf writing operations are marked deprecated
120         * src/api/na-gconf-monitor.h:
121         * src/api/na-gconf-utils.h:
122         * src/core/na-gconf-monitor.c:
123         * src/core/na-gconf-utils.c:
124         * src/io-gconf/nagp-writer.c:
125         * src/io-gconf/nagp-writer.h: Updated accordingly.
127         No more use deprecated functions
129         * src/core/na-factory-object.c:
130         * src/io-desktop/nadp-reader.c:
131         * src/io-desktop/nadp-writer.c:
132         * src/io-gconf/nagp-reader.c:
133         * src/io-gconf/nagp-writer.c:
134         * src/io-xml/naxml-reader.c:
135         * src/io-xml/naxml-writer.c: Updated accordingly.
137         NADataBoxed class now derives from NABoxed
139         * src/api/na-boxed.h:
140         * src/api/na-data-boxed.h:
141         * src/api/na-data-types.h:
142         * src/core/na-boxed.c:
143         * src/core/na-core-utils.c:
144         * src/core/na-data-boxed.c:
145         * src/core/na-data-types.c:
146         * src/core/na-factory-object.c:
147         * src/core/na-ifactory-object.c:
148         * src/core/na-settings.c:
149         * src/io-desktop/nadp-writer.c:
150         * src/io-gconf/nagp-writer.c:
151         * src/io-xml/naxml-writer.c: Updated accordingly.
153         * src/api/na-boxed.h:
154         * src/core/na-boxed.c: Convert to the NABoxed class.
156         * src/core/na-settings.c: Updated accordingly.
158         * src/api/na-data-boxed.h:
159         * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
161         Merge NABoxed and NADataBoxed data type definitions.
162         Data type are remaned as NA_DATA_TYPE.
164         * src/api/na-boxed.h:
165         * src/api/na-data-def.h:
166         * src/api/na-data-types.h:
167         * src/core/na-boxed.c:
168         * src/core/na-data-boxed.c:
169         * src/core/na-data-types.c:
170         * src/core/na-factory-object.c:
171         * src/core/na-icontext-factory.c:
172         * src/core/na-ifactory-object.c:
173         * src/core/na-object-action-factory.c:
174         * src/core/na-object-id-factory.c:
175         * src/core/na-object-item-factory.c:
176         * src/core/na-object-profile-factory.c:
177         * src/core/na-settings.c:
178         * src/io-desktop/nadp-reader.c:
179         * src/io-desktop/nadp-writer.c:
180         * src/io-gconf/nagp-reader.c:
181         * src/io-gconf/nagp-writer.c:
182         * src/io-xml/naxml-reader.c:
183         * src/io-xml/naxml-writer.c:
184         * src/utils/na-print-schemas.c: Updated accordingly.
186 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
188         * src/api/na-iduplicable.h:
189         * src/core/na-iduplicable.c:
190         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
191         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
193         * src/api/na-object-api.h:
194         * src/core/na-object.c:
195         * src/core/na-object-item.c:
196         * src/core/na-object-item.h:
197         Deprecated na_object_check_status_up macro.
198         Merge na_object_item_check_status() and na_object_item_check_status_up().
200         * src/nact/nact-iaction-tab.c:
201         * src/nact/nact-ibasenames-tab.c:
202         * src/nact/nact-icapabilities-tab.c:
203         * src/nact/nact-icommand-tab.c:
204         * src/nact/nact-ienvironment-tab.c:
205         * src/nact/nact-iexecution-tab.c:
206         * src/nact/nact-ifolders-tab.c:
207         * src/nact/nact-iproperties-tab.c:
208         * src/nact/nact-ischemes-tab.c:
209         * src/nact/nact-main-window.c:
210         * src/nact/nact-main-window.h:
211         * src/nact/nact-match-list.c: Properties are renamed.
213         * src/nact/nact-main-tab.c:
214         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
216 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
218         In the process of replacing NactIActionsList interface with:
219         - the NactTreeView class
220         - plus the NactTreeIEditable interface.
222         Almost all NACT files modified. Compilation is OK.
224 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
226         * src/nact/nact-tree-model.c:
227         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
228         * src/nact/nact-tree-view.c:
229         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
231         Allow an items list to be referenced in a new list.
233         * src/api/na-object-api.h (na_object_ref_items): New macro.
235         * src/api/na-object-item.h:
236         * src/core/na-object-item.c (na_object_item_ref_items): New function.
238         * src/nact/nact-assistant-export.c
239         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
241         Review NAObject reference management
243         * src/api/na-object-api.h
244         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
245         (na_object_free_items): New macro.
247         * src/api/na-object-item.h:
248         * src/core/na-object-item.c
249         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
250         (na_object_item_free_items): New function.
252         * src/core/na-io-provider.c (na_io_provider_load_items):
253         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
254         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
255         na_pivot_set_new_items):
256         * src/nact/nact-assistant-import.c (assistant_apply):
257         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
258         * src/nact/nact-iactions-list.c (free_items_callback):
259         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
260         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
261         nact_main_menubar_edit_on_paste_into,
262         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
263         * src/nact/nact-main-menubar-file.c
264         (nact_main_menubar_file_on_new_menu,
265         nact_main_menubar_file_on_new_action,
266         nact_main_menubar_file_on_new_profile):
267         * src/nact/nact-main-menubar-maintainer.c
268         (nact_main_menubar_maintainer_on_dump_selection):
269         * src/nact/nact-main-menubar.c (on_update_sensitivities):
270         * src/nact/nact-main-window.c (instance_dispose,
271         nact_main_window_remove_deleted, reload):
272         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
273         * src/nact/nact-tree-model.c (fill_tree_store):
274         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
275         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
276         accordingl
277         * src/nact/nact-main-menubar-maintainer.c
278         (nact_main_menubar_maintainer_on_dump_selection):
279         * src/nact/nact-main-menubar.c (on_update_sensitivities):
280         * src/nact/nact-main-window.c (instance_dispose,
281         nact_main_window_remove_deleted, reload):
282         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
283         * src/nact/nact-tree-model.c (fill_tree_store):
284         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
285         * src/plugin-menu/nautilus-actions.c (get_menus_items):
286         Updated accordingly.
288         New NactTreeView convenience class
290         * src/nact/nact-tree-view.c:
291         * src/nact/nact-tree-view.h: New files.
293         * src/nact/Makefile.am:
294         * src/nact/nact-assistant-export.c:
295         * src/nact/nact-iactions-list-priv.c:
296         * src/nact/nact-iactions-list.h:
297         * src/nact/nact-marshal.list:
298         * src/nact/nact-tree-model.c: Updated accordingly.
300 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
302         Refactoring of menubar files:
303         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
304         - nact-main-menubar-*.h are removed.
306         * src/nact/Makefile.am:
307         * src/nact/nact-confirm-logout.c:
308         * src/nact/nact-iactions-list.c: Updated accordingly.
310         * src/nact/nact-main-window.c:
311         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
312         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
314         Termination of the main window is managed in NactMainWindow.
316         * src/nact/nact-main-window.c:
317         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
319         * src/nact/nact-main-menubar-file.c: Updated accordingly.
321         Move a NASettings getter to NAUpdater
323         * src/core/na-updater.c:
324         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
326         * src/nact/nact-main-menubar-edit.c:
327         * src/nact/nact-main-menubar-edit.h
328         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
330         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
332         * src/nact/base-application.c (class_init):
333         * src/nact/base-assistant.c (class_init):
334         * src/nact/base-window.c (class_init):
335         * src/nact/nact-main-window.c (instance_constructed):
336         Setup construction properties.
338         * src/nact/nact-application.c:
339         * src/nact/nact-application.h (nact_application_get_updater):
340         Set NactApplication as a const argument.
342         Deprecate NAIPivotConsumer interface
344         * src/core/na-ipivot-consumer.c:
345         * src/core/na-ipivot-consumer.h: Removed files.
347         * src/core/Makefile.am:
348         * src/core/na-pivot.c:
349         * src/core/na-pivot.h:
350         * src/nact/nact-application.c:
351         * src/nact/nact-main-menubar-file.c:
352         * src/nact/nact-main-window.c:
353         * src/nact/nact-menubar.c: Updated accordingly.
355         * src/core/na-pivot.c:
356         * src/core/na-pivot.h
357         (na_pivot_set_automatic_reload): Remove unused function.
359         * src/test/test-reader.c: Updated accordingly.
361         * src/nact/nact-main-window.c (instance_constructed):
362         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
364         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
366         * src/nact/base-iprefs.c:
367         * src/nact/base-iprefs.c: Removed files.
369         * src/nact/Makefile.am:
370         * src/nact/base-gtk-utils.c:
371         * src/nact/base-gtk-utils.h:
372         * src/nact/base-window.c:
373         * src/nact/nact-assistant-export.c:
374         * src/nact/nact-export-ask.c:
375         * src/nact/nact-export-format.c:
376         * src/nact/nact-iaction-tab.c:
377         * src/nact/nact-ibasenames-tab.c:
378         * src/nact/nact-icommand-tab.c:
379         * src/nact/nact-icon-chooser.c:
380         * src/nact/nact-ienvironment-tab.c:
381         * src/nact/nact-iexecution-tab.c:
382         * src/nact/nact-ifolders-tab.c:
383         * src/nact/nact-iproperties-tab.c:
384         * src/nact/nact-ischemes-tab.c:
385         * src/nact/nact-main-statusbar.c:
386         * src/nact/nact-main-window.c:
387         * src/nact/nact-match-list.c:
388         * src/nact/nact-preferences-editor.c:
389         * src/nact/nact-providers-list.c:
390         * src/nact/nact-schemes-list.c:
391         * src/nact/nact-tree-model.c: Updated accordingly.
393         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
394         BaseWindow property
396         * src/core/na-settings.c:
397         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
399         * src/nact/base-iprefs.c:
400         * src/nact/base-iprefs.h
401         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
402         Removed functions.
403         (get_wsp_id): Remove interface method.
405         * src/nact/base-window.c:
406         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
408         * src/nact/nact-add-capability-dialog.c:
409         * src/nact/nact-add-scheme-dialog.c:
410         * src/nact/nact-assistant-export.c:
411         * src/nact/nact-assistant-import.c:
412         * src/nact/nact-confirm-logout.c:
413         * src/nact/nact-export-ask.c:
414         * src/nact/nact-gtk-utils.c:
415         * src/nact/nact-icommand-tab.c:
416         * src/nact/nact-icon-chooser.c:
417         * src/nact/nact-ifolders-tab.c:
418         * src/nact/nact-main-window.c:
419         * src/nact/nact-preferences-editor.c: Updated accordingly.
421         * src/core/na-updater.c:
422         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
424         Homogeneize marshalling
426         * src/core/na-marshal: Renamed as src/core/na-marshal.def
427         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
429         * src/core/Makefile.am:
430         * src/nact/Makefile.am:
431         * src/nact/nact-iactions-list.c (interface_base_init):
432         * src/nact/nact-main-window.c (class_init): Updated accordingly.
434 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
436         Review menu items sensitivity updates
438         * src/api/na-object-api.h
439         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
441         * src/api/na-object-item.h:
442         * src/core/na-object-item.c
443         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
444         New functions.
446         * src/core/na-updater.c:
447         * src/core/na-updater.h (na_updater_load_items): New function.
449         * src/nact/nact-application.c (appli_main_window_new):
450         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
451         No more load items when instanciating the main window, but when
452         initializing it.
454         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
455         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
457         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
458         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
459         * src/nact/nact-menubar-priv.h:
460         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
461         Rely on indicators pre-computed on selection changes.
463         * src/nact/nact-window.c:
464         * src/nact/nact-window.h (nact_window_has_writable_providers):
465         Removed function.
467         * src/nact/nact-menubar-priv.h:
468         * src/nact/nact-menubar.c: Updated accordingly.
470         * src/core/na-iprefs.c:
471         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
472         Moved to NAUpdater class.
474         * src/core/na-updater.c:
475         * src/core/na-updater.h (na_updater_is_level_zero_writable):
476         Moved from NAIPrefs.
478         * src/nact/nact-menubar-priv.h:
479         * src/nact/nact-menubar.c (on_base_initialize_window):
480         * src/nact/nact-sort-buttons.c (enable_buttons):
481         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
482         Updated accordingly.
484         Review I/O providers writability status management.
486         * src/api/na-iio-provider.h: Review writability reason.
488         * src/core/na-io-provider.c:
489         * src/core/na-io-provider.h
490         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
491         Removed functions.
492         (na_io_provider_is_finally_writable): New function.
494         * src/core/na-pivot.c:
495         * src/core/na-pivot.h
496         (na_pivot_is_configuration_locked_by_admin): Removed function.
498         * src/core/na-updater.c
499         * src/core/na-updater.h (na_updater_is_item_writable):
500         * src/nact/nact-main-menubar-edit.c (get_deletables):
501         * src/nact/nact-main-window.c: Updated accordingly.
503 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
505         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
506         Renamed as nact_menubar_enable_item() and moved to private resources.
508         * src/nact/nact-main-menubar-edit.c:
509         * src/nact/nact-main-menubar-file.c:
510         * src/nact/nact-main-menubar-help.c:
511         * src/nact/nact-main-menubar-tools.c:
512         * src/nact/nact-main-menubar-view.c:
513         * src/nact/nact-menubar-priv.h:
514         * src/nact/nact-menubar.h: Updated accordingly.
516         Move MenubarIndicatorsStruct structure to private instance data
518         * src/nact/nact-menubar-priv.h: New file.
520         * src/nact/Makefile.am:
521         * src/nact/nact-main-menubar-edit.c:
522         * src/nact/nact-main-menubar-edit.h:
523         * src/nact/nact-main-menubar-file.c:
524         * src/nact/nact-main-menubar-file.h:
525         * src/nact/nact-main-menubar-help.c:
526         * src/nact/nact-main-menubar-help.h:
527         * src/nact/nact-main-menubar-maintainer.c:
528         * src/nact/nact-main-menubar-maintainer.h:
529         * src/nact/nact-main-menubar-tools.c:
530         * src/nact/nact-main-menubar-tools.h:
531         * src/nact/nact-main-menubar-view.c:
532         * src/nact/nact-main-menubar-view.h:
533         * src/nact/nact-menubar.c:
534         * src/nact/nact-menubar.h: Updated accordingly.
536         Define a new NactMenubar convenience class
538         * src/nact/nact-main-menubar.c:
539         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
541         * src/nact/Makefile.am:
542         * src/nact/nact-iactions-list.c:
543         * src/nact/nact-main-menubar-edit.h:
544         * src/nact/nact-main-menubar-file.h:
545         * src/nact/nact-main-menubar-help.c:
546         * src/nact/nact-main-menubar-help.h:
547         * src/nact/nact-main-menubar-maintainer.c:
548         * src/nact/nact-main-menubar-maintainer.h:
549         * src/nact/nact-main-menubar-tools.c:
550         * src/nact/nact-main-menubar-tools.h:
551         * src/nact/nact-main-menubar-view.c:
552         * src/nact/nact-main-menubar-view.h:
553         * src/nact/nact-main-window.c: Updated accordingly.
555         * src/api/na-boxed.h:
556         * src/core/na-boxed.c (na_boxed_dump): New function.
558         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
560         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
562         * src/core/na-marshal: New file.
564 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
566         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
568         * src/core/na-settings.c:
569         * src/core/na-settings.h: No more try to summarize notifications here.
571         * src/plugin-menu/nautilus-actions.c (instance_constructed):
572         Register NASettings callbacks on the runtime keys.
574         * src/nact/nact-main-window.c:
575         (NAIPivotConsumer->on_display_order_changed):
576         Moved to on_settings_order_mode_changed() function.
577         (NAIPivotConsumer->on_autosave_changed):
578         Moved to nact_main_menubar_file_install_autosave() new function.
580         * src/nact/nact-main-menubar-file.c:
581         * src/nact/nact-main-menubar-file.h
582         (nact_main_menubar_file_install_autosave): New function.
584         * src/core/na-iprefs.c:
585         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
586         New function.
588         * src/core/na-icontext.c (is_candidate_for_basenames):
589         Fix case insenstive comparison (bug reported by Johan Spee).
591         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
593         * src/nact/base-application.c:
594         * src/nact/base-application.h: Add new exit codes.
596         * src/nact/base-assistant.c:
597         * src/nact/base-assistant.h:
598         Remove 'warn-on-cancel' unused property.
599         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
600         Remove unused functions.
601         Implement run() virtual method.
603         * src/nact/base-dialog.c:
604         * src/nact/base-dialog.h:
605         Implement run() virtual method.
606         Define new cancel() and ok() virtual methods.
608         * src/nact/base-iprefs.c:
609         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
611         * src/nact/base-window.c:
612         * src/nact/base-window.h
613         (dialog_response, delete_event): Remove no more used virtual methods.
614         (run): Define new virtual method.
616         * src/nact/nact-add-capability-dialog.c:
617         * src/nact/nact-add-scheme-dialog.c:
618         * src/nact/nact-assistant-export.c:
619         * src/nact/nact-assistant-import.c:
620         * src/nact/nact-confirm-logout.c:
621         * src/nact/nact-export-ask.c:
622         * src/nact/nact-icon-chooser.c:
623         * src/nact/nact-main-window.c:
624         * src/nact/nact-preferences-editor.c: Updated accordingly.
626 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
628         * src/nact/nact-providers-list.c:
629         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
630         Do not initialize the widgets with the future BaseWindow.
632         * src/nact/nact-preferences-editor.c (preferences_editor_new):
633         Updated accordingly.
635         * src/nact/nact-schemes-list.c: Only ask for preferences once.
637         * src/nact/nact-assistant-import.c (assist_new):
638         Reload the common XML UI file into the private builder.
640         * src/nact/base-dialog.c:
641         * src/nact/base-dialog.h:
642         * src/nact/base-window.h: Do some code and comments cleanup.
644         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
645         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
646         * src/nact/base-window.c (setup_builder):
647         Add a debug message.
649 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
651         * src/plugin-menu/nautilus-actions.c:
652         * src/plugin-menu/nautilus-actions.h:
653         Takes advantage of the new NASettings signal notification system.
655         * src/core/na-pivot.c:
656         * src/core/na-pivot.h: Review the notification system.
658         * src/core/na-settings.c:
659         * src/core/na-settings.h:
660         Add a signal notification to the existing callback pregistration system.
662         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
663         * docs/des-ema/des-ema-0.15:
664         * docs/nact/C/nact-conditions.xml:
665         * docs/nact/C/nact-menus.xml:
666         * src/api/na-extension.h:
667         * src/api/na-ifactory-provider.h:
668         * src/api/na-iio-provider.h:
669         * src/api/na-object.h:
670         * src/core/na-core-utils.c:
671         * src/core/na-factory-object.c:
672         * src/core/na-gconf-utils.c:
673         * src/core/na-icontext-factory.c:
674         * src/core/na-icontext.c:
675         * src/core/na-ifactory-provider.c:
676         * src/core/na-io-provider.c:
677         * src/core/na-io-provider.h:
678         * src/core/na-iprefs.c:
679         * src/core/na-object-action.c:
680         * src/core/na-object-id-factory.c:
681         * src/core/na-object-id.c:
682         * src/core/na-object-item-factory.c:
683         * src/core/na-object-item.c:
684         * src/core/na-pivot.h:
685         * src/core/na-settings.c:
686         * src/core/na-settings.h:
687         * src/core/na-tokens.h:
688         * src/io-desktop/nadp-desktop-file.c:
689         * src/io-desktop/nadp-reader.c:
690         * src/io-desktop/nadp-utils.c:
691         * src/io-gconf/nagp-reader.c:
692         * src/io-xml/naxml-reader.c:
693         * src/nact/nact-gtk-utils.c:
694         * src/nact/nautilus-actions-config-tool.ui:
695         * src/plugin-menu/nautilus-actions.c:
696         * src/utils/nautilus-actions-new.c:
697         * src/utils/nautilus-actions-run.c:
698         * tools/check-headers.sh:
699         * tools/init-finalize-diff.sh:
700         Apply patch provided by Christian Kirbach. Fix #640216.
702         * src/nact/nautilus-actions-config-tool.ui:
703         * src/utils/na-delete-xmltree.c:
704         * src/utils/nautilus-actions-print.c:
705         Fix string errors reported by fr translation team.
707         * src/api/na-timeout.h:
708         * src/core/na-timeout.c: New files.
710         * src/api/Makefile.am:
711         * src/core/Makefile.am: Updated accordingly.
713         * src/core/na-pivot.c (on_item_changed_timeout):
714         * src/core/na-settings.c (on_keyfile_changed_timeout):
715         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
716         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
717         Take advantage of new NATimeout convenience structure.
719         * src/api/na-iio-provider.h:
720         * src/core/na-io-provider.c:
721         * src/core/na-io-provider.h: Fix comments.
723         * src/core/na-iio-provider.c (interface_base_init):
724         The 'item-changed' signal actually does not send any argument.
726         * src/core/na-pivot.c:
727         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
728         Updated accordingly.
730 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
732         * src/nact/base-window.c: Handles the recorded signals in a GList.
734         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
736         * src/nact/nact-main-window.c
737         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
738         Calls the parent class method if willing to quit.
740         * src/nact/nact-window.c:
741         * src/nact/nact-window.h
742         (nact_window_is_item_writable): Remove unused function.
744         * src/nact/base-window.c:
745         * src/nact/base-window.h
746         (runtime_init_toplevel): Renamed as initialize_base_window().
747         (class_init): Fix cclosure_marshall for signals without argument.
749         * src/nact/base-window.c:
750         * src/nact/base-window.h
751         (get_toplevel_name, get_ui_filename): Removed virtual functions.
753         * src/nact/nact-add-capability-dialog.c:
754         * src/nact/nact-add-scheme-dialog.c:
755         * src/nact/nact-assistant-export.c:
756         * src/nact/nact-assistant-import.c:
757         * src/nact/nact-confirm-logout.c:
758         * src/nact/nact-export-ask.c:
759         * src/nact/nact-icon-chooser.c:
760         * src/nact/nact-main-window.c:
761         * src/nact/nact-preferences-editor.c: Updated accordingly.
763         * src/nact/base-window.c:
764         * src/nact/base-window.h:
765         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
766         handling paradigm.
767         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
768         signal.
769         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
771         * src/nact/nact-main-window.c:
772         No more connect to the signal, but implement the virtual method.
774         * src/nact/base-application.c (appli_initialize_manage_options):
775         * src/nact/base-application.h (manage_options):
776         * src/nact/nact-application.c (appli_manage_options):
777         Revert commit 3acf600874.
779         * src/test/test-virtuals.c: Do some more tests on virtual methods.
781         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
782         on_initialize_base_window_class_handler,
783         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
784         Succssively invoke all derived class methods.
786         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
787         all_widgets_showed, is_willing_to_quit): Update comments.
789         * src/nact/base-application.c (appli_initialize_manage_options):
790         Successively invoke all derived class methods.
792         * src/nact/base-application.h (manage_options): Update comment.
794         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
796         * src/nact/base-builder.c:
797         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
798         Use a const BaseBuilder as argument;
800         * src/nact/base-window.c:
801         * src/nact/base-window.h (base_window_get_widget_from_gtk):
802         Removed function.
804         * src/nact/nact-gtk-utils.c:
805         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
806         New function.
808         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
810         * src/nact/base-application.c (appli_initialize_unique_app):
811         Fix reverse test.
813         * src/nact/base-builder.c:
814         * src/nact/base-builder.h (base_builder_load_named_toplevel):
815         Renamed as base_builder_get_toplevel_by_name().
817         * src/nact/base-window.c: Updated accordingly.
819 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
821         * src/nact/base-window.c:
822         * src/nact/base-window.h (base_window_peek_widget):
823         Renamed as base_window_get_widget_from_gtk().
825         * src/nact/nact-icon-chooser.c: Updated accordingly.
827         * src/nact/base-window.c:
828         * src/nact/base-window.h (base_window_get_named_toplevel):
829         Renamed as base_window_get_gtk_toplevel_by_name().
831         * src/nact/nact-icommand-tab.c: Updated accordingly.
833         * src/nact/base-window.c:
834         * src/nact/base-window.h (base_window_get_toplevel):
835         Renamed as base_window_get_gtk_toplevel().
837         * src/nact/base-application.c:
838         * src/nact/base-assistant.c:
839         * src/nact/base-iprefs.c:
840         * src/nact/nact-add-capability-dialog.c:
841         * src/nact/nact-add-scheme-dialog.c:
842         * src/nact/nact-assistant-export.c:
843         * src/nact/nact-assistant-import.c:
844         * src/nact/nact-confirm-logout.c:
845         * src/nact/nact-export-ask.c:
846         * src/nact/nact-gtk-utils.c:
847         * src/nact/nact-icommand-tab.c:
848         * src/nact/nact-icon-chooser.c:
849         * src/nact/nact-ifolders-tab.c:
850         * src/nact/nact-main-menubar.c:
851         * src/nact/nact-main-window.c:
852         * src/nact/nact-match-list.c:
853         * src/nact/nact-preferences-editor.c:
854         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
856         * src/nact/base-window.c:
857         * src/nact/base-window.h: Rename signal defines.
859         * src/nact/base-assistant.c:
860         * src/nact/nact-add-capability-dialog.c:
861         * src/nact/nact-add-scheme-dialog.c:
862         * src/nact/nact-assistant-export.c:
863         * src/nact/nact-assistant-import.c:
864         * src/nact/nact-confirm-logout.c:
865         * src/nact/nact-export-ask.c:
866         * src/nact/nact-icon-chooser.c:
867         * src/nact/nact-main-window.c:
868         * src/nact/nact-preferences-editor.c: Updated accordingly.
870         * src/nact/base-window.c:
871         * src/nact/base-window.h:
872         Remove unused properties.
873         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
875         * src/nact/base-assistant.c:
876         * src/nact/nact-main-menubar-edit.c:
877         * src/nact/nact-main-menubar-file.c:
878         * src/nact/nact-main-window.c
879         * src/nact/nact-window.c: Updated accordingly.
881         * src/nact/base-window-class.h: Removed file.
883         * src/nact/base-window.h:
884         * src/nact/Makefile.am: Updated accordingly.
886         * src/utils/na-gconf2key.sh.in:
887         Get ride of possible error messages when forcing gconfd-2 synchro.
889         * src/nact/base-application.c:
890         * src/nact/base-application.h (base_application_message_dlg,
891         base_application_error_dlg, base_application_yesno_dlg):
892         Functions are moved to BaseWindow class.
894         * src/nact/base-window.c:
895         * src/nact/base-window.h
896         (base_window_display_yesno_dlg, base_window_display_message_dlg):
897         New functions.
899         * src/nact/base-application.c:
900         * src/nact/base-application.h
901         (base_application_get_ui_filename): Removed function.
902         (get_ui_filename): Removed virtual method.
904         * src/nact/nact-application.c
905         (appli_get_gtkbuilder_filename):Removed function.
907         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
909         * src/nact/nact-main-window.c (nact_main_window_new):
910         Initialize the main window with XML UI properties.
912         * src/nact/base-window.c:
913         * src/nact/base-window.h: Rename initialization properties.
915         * src/nact/nact-add-capability-dialog.c:
916         * src/nact/nact-add-scheme-dialog.c:
917         * src/nact/nact-assistant-export.c:
918         * src/nact/nact-assistant-import.c:
919         * src/nact/nact-confirm-logout.c:
920         * src/nact/nact-export-ask.c:
921         * src/nact/nact-icon-chooser.c:
922         * src/nact/nact-main-window.c:
923         * src/nact/nact-preferences-editor.c: Updated accordingly.
925         * src/nact/base-application.c:
926         * src/nact/base-application.h:
927         Define new 'base-application-description' property.
928         Remove unused properties.
930         * src/nact/nact-application.c (nact_application_new):
931         Make use of the new property at instanciation time.
933 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
935         * src/nact/base-window.c:
936         * src/nact/base-window.h (base_window_display_error_dlg): New function.
938         * src/nact/base-application.c:
939         * src/nact/base-application.h (base_application_get_icon_name):
940         Removed function.
942         * src/nact/base-application.c:
943         * src/nact/base-application.h
944         (initialize_i18n, initialize_application_name, get_application_name,
945         initialize_default_icon, get_icon_name, initialize_gtk,
946         initialize_session_manager, get_unique_app_name, initialize_ui,
947         initialize_unique_app, initialize, run, get_main_window,
948         initialize_application): Remove virtual methods.
950         * src/nact/nact-application.c (appli_get_application_name,
951         appli_get_icon_name, appli_get_unique_app_name,
952         appli_initialize_application):  Removed functions.
954         * src/nact/nact-application.c (nact_application_new_with_args):
955         Make NactApplication initializes with these new properties.
957         * src/nact/base-application.c:
958         * src/nact/base-application.h: Define new properties.
960         * src/nact/base-application-class.h: Removed file.
962         * src/nact/Makefile.am:
963         * src/nact/base-application.h:
964         * src/nact/base-window-class.h:
965         * src/nact/base-window.h: Updated accordingly.
967         * src/nact/base-application-class.h (main_window_new):
968         * src/nact/base-application.c (application_do_run):
969         * src/nact/nact-application.c
970         * src/nact/nact-main-window.h (appli_main_window_new):
971         Move the creation of the main window to the main_window_new() method.
972         Remove base_application_get_main_window() function.
974         * src/nact/base-application-class.h (manage_options):
975         * src/nact/base-application.c:
976         * src/nact/nact-application.c: Return exit code of the program.
978         * src/nact/nact-tree-model-dnd.c
979         (drop_inside, is_drop_possible, drop_uri_list):
980         * src/nact/base-window.c (is_main):
981         Remove base_application_get_main_window() invocations.
983         * src/nact/nact-main.c: Renamed as main.c
985         * src/nact/Makefile.am: Updated accordingly.
987         * tools/Makefile.am: Generate the check-header.c source if it is missing.
989         * src/plugin-tracker/na-tracker-dbus.c:
990         * src/plugin-tracker/na-tracker-dbus.h:
991         * src/plugin-tracker/na-tracker.c:
992         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
994         * src/plugin-menu/nautilus-actions.c:
995         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
997         * src/nact/base-application.c:
998         * src/nact/base-application-class.h:
999         * src/nact/base-assistant.c:
1000         * src/nact/base-assistant.h:
1001         * src/nact/base-builder.c:
1002         * src/nact/base-builder.h:
1003         * src/nact/base-dialog.c:
1004         * src/nact/base-dialog.h:
1005         * src/nact/base-iprefs.c:
1006         * src/nact/base-iprefs.h:
1007         * src/nact/base-window.c:
1008         * src/nact/base-window-class.h:
1009         * src/nact/egg-tree-multi-dnd.h:
1010         * src/nact/nact-add-capability-dialog.c:
1011         * src/nact/nact-add-capability-dialog.h:
1012         * src/nact/nact-add-scheme-dialog.c:
1013         * src/nact/nact-add-scheme-dialog.h:
1014         * src/nact/nact-application.c:
1015         * src/nact/nact-application.h:
1016         * src/nact/nact-assistant-export.c:
1017         * src/nact/nact-assistant-export.h:
1018         * src/nact/nact-assistant-import.c:
1019         * src/nact/nact-assistant-import.h:
1020         * src/nact/nact-clipboard.c:
1021         * src/nact/nact-clipboard.h:
1022         * src/nact/nact-confirm-logout.c:
1023         * src/nact/nact-confirm-logout.h:
1024         * src/nact/nact-export-ask.c:
1025         * src/nact/nact-export-ask.h:
1026         * src/nact/nact-iactions-list.c:
1027         * src/nact/nact-iactions-list.h:
1028         * src/nact/nact-iaction-tab.c:
1029         * src/nact/nact-iaction-tab.h:
1030         * src/nact/nact-ibasenames-tab.c:
1031         * src/nact/nact-ibasenames-tab.h:
1032         * src/nact/nact-icapabilities-tab.c:
1033         * src/nact/nact-icapabilities-tab.h:
1034         * src/nact/nact-icommand-tab.c:
1035         * src/nact/nact-icommand-tab.h:
1036         * src/nact/nact-icon-chooser.h:
1037         * src/nact/nact-ienvironment-tab.c:
1038         * src/nact/nact-ienvironment-tab.h:
1039         * src/nact/nact-iexecution-tab.c:
1040         * src/nact/nact-iexecution-tab.h:
1041         * src/nact/nact-ifolders-tab.c:
1042         * src/nact/nact-ifolders-tab.h:
1043         * src/nact/nact-imimetypes-tab.c:
1044         * src/nact/nact-imimetypes-tab.h:
1045         * src/nact/nact-iproperties-tab.c:
1046         * src/nact/nact-iproperties-tab.h:
1047         * src/nact/nact-ischemes-tab.c:
1048         * src/nact/nact-ischemes-tab.h:
1049         * src/nact/nact-main-window.c:
1050         * src/nact/nact-main-window.h:
1051         * src/nact/nact-preferences-editor.c:
1052         * src/nact/nact-preferences-editor.h:
1053         * src/nact/nact-tree-model.c:
1054         * src/nact/nact-tree-model.h:
1055         * src/nact/nact-tree-model-priv.h:
1056         * src/nact/nact-window.c:
1057         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
1059         * src/io-xml/naxml-provider.c:
1060         * src/io-xml/naxml-provider.h:
1061         * src/io-xml/naxml-reader.c:
1062         * src/io-xml/naxml-reader.h:
1063         * src/io-xml/naxml-writer.c:
1064         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
1066         * src/io-gconf/nagp-gconf-provider.c:
1067         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
1069         * src/io-desktop/nadp-desktop-file.c:
1070         * src/io-desktop/nadp-desktop-file.h:
1071         * src/io-desktop/nadp-desktop-provider.c:
1072         * src/io-desktop/nadp-desktop-provider.h:
1073         * src/io-desktop/nadp-monitor.c:
1074         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
1076         * src/core/na-export-format.h:
1077         * src/core/na-iabout.h:
1078         * src/core/na-importer-ask.h:
1079         * src/core/na-io-provider.h:
1080         * src/core/na-ipivot-consumer.h:
1081         * src/core/na-module.h:
1082         * src/core/na-pivot.h:
1083         * src/core/na-selected-info.h:
1084         * src/core/na-settings.h:
1085         * src/core/na-tokens.h:
1086         * src/core/na-updater.h: Cosmetic changes in src/core headers.
1088         * src/api/na-data-boxed.h:
1089         * src/api/na-data-types.h:
1090         * src/api/na-gconf-monitor.h:
1091         * src/api/na-gconf-utils.h:
1092         * src/api/na-icontext.h:
1093         * src/api/na-iduplicable.h:
1094         * src/api/na-iexporter.h:
1095         * src/api/na-ifactory-object.h:
1096         * src/api/na-ifactory-provider.h:
1097         * src/api/na-iio-provider.h:
1098         * src/api/na-object-action.h:
1099         * src/api/na-object.h:
1100         * src/api/na-object-id.h:
1101         * src/api/na-object-item.h:
1102         * src/api/na-object-menu.h:
1103         * src/api/na-object-profile.h:
1104         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
1106         * src/utils/na-gconf2key.sh.in:
1107         * tools/check-headers.sh:
1108         * tools/check-po.sh:
1109         * tools/init-finalize-diff.sh:
1110         * tools/release-tarball.sh: Replace basename with a shell substitution.
1112 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
1114         * tools/release-tarball.sh: Full script rewrite.
1116         * README-GCONF:
1117         * Makefile.am: Add README-GCONF to the distribution.
1119         * tools/check-po.sh: Script rewriting.
1121         * NEWS: Update before 3.0.7 release.
1123 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1125         * src/core/na-export-format.c (na_export_format_get_description):
1126         * src/core/na-importer-ask.c (na_importer_ask_user):
1127         * src/core/na-importer.c (import_from_uri):
1128         * src/core/na-io-provider.c (na_io_provider_get_name):
1129         * src/core/na-iprefs.c:
1130         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1131         na_iprefs_get_order_mode, na_iprefs_get_export_format):
1132         * src/core/na-settings.c:
1133         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1134         * nact/nact-assistant-import.c (runtime_init_duplicates):
1135         * src/nact/nact-clipboard.c (export_row_object):
1136         * src/nact/nact-export-ask.c:
1137         * nact/nact-export-format.c:
1138         * src/nact/nact-export-format.h(nact_export_format_init_display):
1139         * src/nact/nact-gtk-utils.c:
1140         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1141         nact_gtk_utils_radio_reset_initial_state,
1142         nact_gtk_utils_toggle_set_initial_state,
1143         nact_gtk_utils_toggle_reset_initial_state):
1144         * src/nact/nact-ienvironment-tab.c
1145         (on_tab_updatable_selection_changed):
1146         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1147         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1148         * src/nact/nact-preferences-editor.c:
1149         * src/nact/nact-preferences.ui:
1150         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1151         * src/nact/nact-tree-model.c (tree_model_new):
1152         Manage locked and mandatory preferences.
1154         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1155         Do not eat last character.
1157         * README-GCONF:
1158         * src/core/na-settings.h:
1159         * src/utils/na-gconf2key.sh.in:
1160         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1162 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1164         * src/nact/nact-preferences-editor.c:
1165         Reopen the Preferences on the last used tab.
1167         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1168         Fix handling of last separator.
1170         * src/nact/nact-schemes-list.c: Do not allow modification
1171         of default schemes list if preferences are locked or property
1172         mandatory.
1174         * src/core/na-io-provider.c:
1175         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1176         na_io_provider_is_conf_writable):
1177         Returns mandatory flag.
1178         List I/O providers in write order.
1180         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1182         * src/nact/nact-providers-list.c: Do not allow modification of I/O
1183         providers readability/writability/write order properties if
1184         preferences are locked or properties mandatory.
1186         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1188 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1190         * run-distcheck.sh: New file.
1192         Add a script to check completeness of header files.
1194         * tools/.gitignore:
1195         * tools/Makefile.am:
1196         * tools/check-headers.sh: New files.
1198         * src/test/test-include.c:
1199         Renamed as tools/check-header.c and set it as ignored by git.
1201         * src/test/.gitignore:
1202         * src/test/Makefile.am: Updated accordingly.
1204         * Makefile.am:
1205         * configure.ac: configure in tools/.
1207         * src/api/na-data-boxed.h:
1208         * src/api/na-data-types.h:
1209         * src/api/na-gconf-monitor.h:
1210         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1212         * run-distcheck.sh: New file.
1214         * tools/check-po.sh: Rewrite to have options and messages management.
1216         * src/utils/na-gconf2key.sh.in: Review comment.
1218         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1220         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1222         * tools/check-po.sh: Set the count of errors as exit code.
1224         * po/POTFILES.in: Updated.
1226         * src/api/na-gconf-utils.h:
1227         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1229         * src/api/na-gconf-monitor.h:
1230         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1232         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1234         * src/utils/na-print-schemas.c: Add a deprecation comment.
1236         * src/core/na-io-provider.c:
1237         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1238         New function.
1240         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1242 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1244         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1246         * src/test/test-module.c:
1247         * src/test/test-module-plugin.c: New files.
1249         * src/test/.gitignore:
1250         * src/test/Makefile.am: Updated accordingly.
1251          
1252         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1254         * src/nact/base-iprefs.c
1255         (base_iprefs_position_named_window): Do not force a null window size or position.
1257         * src/core/na-settings.c
1258         (na_settings_get_string_list): Do not allocate an empty string list.
1260         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1262         * src/core/na-object-id.c:
1263         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1265         * src/core/na-data-boxed.c:
1266         * src/core/na-gconf-monitor.c:
1267         * src/core/na-io-provider.c:
1268         * src/core/na-tokens.c:
1269         * src/core/na-updater.c:
1270         * src/io-desktop/nadp-desktop-file.c:
1271         * src/io-desktop/nadp-desktop-provider.c:
1272         * src/io-desktop/nadp-monitor.c:
1273         * src/io-gconf/nagp-gconf-provider.c:
1274         * src/io-xml/naxml-provider.c:
1275         * src/nact/base-application.c:
1276         * src/nact/base-builder.c:
1277         * src/nact/base-window.c: 
1278         * src/nact/nact-application.c:
1279         * src/nact/nact-clipboard.c:
1280         * src/nact/nact-main-window.c:
1281         * src/nact/nact-tree-model.c:
1282         * src/nact/nact-window.c: Add instance_finalize debug message.
1284         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1286         * src/core/na-boxed.c
1287         (na_boxed_free): Only free a non null structure.
1288         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1289         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1290         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1291         Do not try to return a value for a null structure.
1293         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1295 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1297         * src/utils/na-delete-xmltree.c:
1298         * src/utils/nautilus-actions-print.c: Add localization code.
1300         * src/utils/nautilus-actions-new.c:
1301         * src/utils/nautilus-actions-run.c:
1302         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1304         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1305         na_boxed_new_from_string_with_sep, na_boxed_free):
1306         Add debug messages when allocating/freeing a NABoxed structure.
1308         * src/nact/nact-icommand-tab.c (on_wdir_browse):
1309         Remove no more used default value.
1311         * src/nact/nact-icon-chooser.c
1312         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1314         * src/core/na-settings.h: Preference renamed accordingly.
1316         * README-GCONF:
1317         * src/core/na-settings.h:
1318         * src/utils/na-gconf2key.sh.in:
1319         '-last-folder-uri' preferences are renamed as '-lfu'.
1321         * src/core/na-settings.c: Set default values.
1323         * src/nact/nact-gtk-utils.c:
1324         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1325         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1326         Remove no more used default value.
1328         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1329         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1330         on_show_if_running_browse): Updated accordingly.
1332         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1333         Do not allocate the empty last element.
1335         * src/core/na-io-provider.c (load_items_get_merged_list):
1336         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1337         Use the correct list pointer.
1339         * src/core/na-iprefs.c:
1340         * src/core/na-iprefs.h
1341         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1342         Functions moved from src/nact/nact-iprefs.c.
1344         * src/nact/nact-iprefs.c:
1345         * src/nact/nact-iprefs.h: Removed files.
1347         * src/nact/Makefile.am:
1348         * src/nact/base-window.c:
1349         * src/nact/nact-assistant-export.c:
1350         * src/nact/nact-assistant-import.c:
1351         * src/nact/nact-clipboard.c:
1352         * src/nact/nact-export-ask.c:
1353         * src/nact/nact-export-format.c:
1354         * src/nact/nact-gtk-utils.c:
1355         * src/nact/nact-iaction-tab.c:
1356         * src/nact/nact-icommand-tab.c:
1357         * src/nact/nact-ifolders-tab.c:
1358         * src/nact/nact-main-toolbar.c:
1359         * src/nact/nact-preferences-editor.c:
1360         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1362         * src/nact/nact-iprefs.c:
1363         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1364         nact_iprefs_write_string): Remove deprecated functions.
1366         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1367         Updated accordingly.
1369         * src/nact/base-iprefs.c:
1370         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1371         Remove deprecated functions.
1373         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1374         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
1375         Updated accordingly.
1377         * src/nact/nact-iprefs.c:
1378         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
1380         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
1381         Updated accordingly.
1383         Global renaming of preferences.
1385         * README-GCONF:
1386         * src/api/na-iio-provider.h:
1387         * src/core/na-export-format.h:
1388         * src/core/na-exporter.h:
1389         * src/core/na-importer-ask.h:
1390         * src/core/na-importer.c:
1391         * src/core/na-io-provider.c:
1392         * src/core/na-io-provider.h:
1393         * src/core/na-iprefs.c:
1394         * src/core/na-iprefs.h:
1395         * src/core/na-module.c:
1396         * src/core/na-pivot.c:
1397         * src/core/na-pivot.h:
1398         * src/core/na-settings.c:
1399         * src/core/na-settings.h:
1400         * src/core/na-updater.c:
1401         * src/nact/nact-add-capability-dialog.c:
1402         * src/nact/nact-add-scheme-dialog.c:
1403         * src/nact/nact-assistant-export.c:
1404         * src/nact/nact-assistant-import.c:
1405         * src/nact/nact-clipboard.c:
1406         * src/nact/nact-export-ask.c:
1407         * src/nact/nact-gtk-utils.c:
1408         * src/nact/nact-iactions-list.c:
1409         * src/nact/nact-icommand-tab.c:
1410         * src/nact/nact-icon-chooser.c:
1411         * src/nact/nact-ienvironment-tab.c:
1412         * src/nact/nact-ifolders-tab.c:
1413         * src/nact/nact-iprefs.c:
1414         * src/nact/nact-iprefs.h:
1415         * src/nact/nact-main-menubar-edit.c:
1416         * src/nact/nact-main-menubar-file.c:
1417         * src/nact/nact-main-menubar.c:
1418         * src/nact/nact-main-toolbar.c:
1419         * src/nact/nact-main-window.c:
1420         * src/nact/nact-preferences-editor.c:
1421         * src/nact/nact-providers-list.c:
1422         * src/nact/nact-schemes-list.c:
1423         * src/nact/nact-sort-buttons.c:
1424         * src/nact/nact-tree-model-dnd.c:
1425         * src/nact/nact-tree-model.c:
1426         * src/nact/nact-window.c:
1427         * src/nact/nact-window.h:
1428         * src/plugin-menu/nautilus-actions.c:
1429         * src/utils/na-gconf2key.sh.in:
1430         * src/utils/nautilus-actions-new.c: Rename preferences.
1431 >>>>>>> Globally rename preferences
1433 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
1435         * src/core/na-settings.c:
1436         * src/core/na-settings.h: Preference names are defined as '#define' values.
1438         * README-GCONF:
1439         * src/utils/na-gconf2key.sh.in: Adjust preferences.
1441         * src/core/na-iprefs.c:
1442         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
1444         * src/api/na-iimporter.h:
1445         * src/core/na-importer-ask.c:
1446         * src/core/na-importer-ask.h:
1447         * src/core/na-importer.c: Updated accordingly.
1449 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
1451         * src/nact/nact-iprefs.c:
1452         * src/nact/nact-iprefs.h: Get ride of GConf.
1454         * README-GCONF:
1455         * src/core/na-settings.c:
1456         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
1458         * src/nact/nact-icommand-tab.c:
1459         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
1461         * README-GCONF:
1462         * src/core/na-settings.c:
1463         * src/utils/na-gconf2key.sh.in:
1464         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
1466         * src/nact/nact-ifolders-tab.c: Updated accordingly.
1468         * README-GCONF:
1469         * src/core/na-settings.c:
1470         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
1472         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
1473         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
1474         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
1475         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
1476         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
1477         * src/nact/nact-main-window.c
1478         (instance_dispose, base_get_iprefs_window_id):
1479         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
1480         Update all preference names when saving/restoring window size and position.
1482         * src/core/na-settings.c:
1483         * src/core/na-settings.h: All getters/setters are implemented.
1485         * src/nact/base-iprefs.c: Remove GConf stuff.
1487         * src/nact/nact-icon-chooser.c:
1488         * src/nact/nact-icon-chooser.ui: Implement all preferences.
1490         * src/utils/na-gconf2key.sh.in:
1491         Renamed preferences for windows size and position '-wsp'.
1492         Also delete from GConf if only preferences have been migrated.
1493         Re-sync after tree delete.
1495         * src/api/na-boxed.h:
1496         * src/core/na-boxed.c
1497         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
1498         New functions.
1500         * configure.ac: Enable silent rules by default.
1502         * run-autogen.sh: Add sysconfdir argument to autogen.sh
1504         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1505         Search a pixbuf by icon theme if not found as filename or stock.
1507         * src/nact/base-window.c:
1508         * src/nact/base-window.h (base_window_peek_widget): New function.
1510         * src/nact/nact-icon-chooser.c:
1511         * src/nact/nact-icon-chooser.h:
1512         * src/nact/nact-icon-chooser.ui: New files.
1513         
1514         * src/nact/Makefile.am:
1515         * src/nact/nact-iaction-tab.c:
1516         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1518         * src/core/na-settings.c (content_load_keys):
1519         Do not warn if configuration file does not exist.
1521         * src/api/na-boxed.h:
1522         * src/api/na-data-boxed.h:
1523         * src/api/na-data-types.h:
1524         * src/core/na-boxed.c:
1525         * src/core/na-data-boxed.c:
1526         * src/core/na-data-types.c:
1527         Update reference documentation to deprecate NADataBoxed and NADataType
1528         in favor of NABoxed.
1530         * src/core/na-settings.c:
1531         * src/core/na-settings.h: Configuration monitoring.
1533         * src/plugin-menu/nautilus-actions.c:
1534         Monitor all runtime preferences with only one callback.
1536         * src/api/na-boxed.h:
1537         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
1539         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
1541         * src/api/na-data-types.h:
1542         * src/core/na-data-types.c
1543         (na_data_types_copy, na_data_types_free): Removed functions.
1545         * README-GCONF:
1546         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
1548         * src/api/na-boxed.h:
1549         * src/core/na-boxed.c: New files.
1551         * src/api/Makefile.am:
1552         * src/core/Makefile.am: Updated accordingly.
1554 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
1556         * src/api/na-data-types.h:
1557         * src/core/na-data-types.c
1558         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
1559         New functions.
1561         * src/core/na-settings.c
1562         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
1564         * src/core/na-settings.h
1565         (na_settings_get_boolean_ex, na_settings_get_string_list):
1566         New functions.
1568         * src/plugin-menu/nautilus-actions.c:
1569         Implement runtime preferences monitoring.
1570         No more use deprecated na_pivot_set_automatic_reload().
1572         * src/core/na-pivot.c:
1573         * src/core/na-pivot.h:
1574         Replace GConf preferences monitoring with NASettings.
1575         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
1577         * src/core/na-settings.c:
1578         * src/core/na-settings.h
1579         (na_settings_register_key_callback,
1580         na_settings_register_global_callback, na_settings_get_boolean):
1581         New functions.
1583         * src/api/na-iio-provider.h:
1584         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
1585         definition is moved (and renamed) from public API to internal one.
1587         * src/core/na-iio-provider.c (interface_base_init):
1588         * src/core/na-io-provider.c (io_provider_set_provider):
1589         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
1591         * src/core/na-iio-provider.c
1592         * src/core/na-settings.c (na_settings_new):
1593         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
1595         * src/core/na-pivot.c:
1596         * src/core/na-pivot.h (na_pivot_register):
1597         * src/core/na-settings.c:
1598         * src/core/na-settings.h (na_settings_register):
1599         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1600         Fix compilation.
1602 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
1604         * src/nact/base-application.c (display_dlg): Setup parent window.
1606         * src/api/na-iimporter.h:
1607         * src/core/na-io-provider.c:
1608         * src/core/na-object-id.c:
1609         * src/core/na-object-item.c:
1610         * src/io-desktop/nadp-utils.c:
1611         * src/nact/nact-assistant-import.c:
1612         * src/nact/nact-iactions-list-bis.c:
1613         * src/nact/nact-iactions-list.h:
1614         * src/nact/nact-main-window.c:
1615         * src/nact/nact-preferences.ui:
1616         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
1618         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
1620         * src/core/na-object-profile-factory.c:
1621         Remove %o/%O parameters from description of version 2.0.
1622         Add a missing line feed.
1624         * tools/check-po.sh: Adapt to glade files.
1626 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1628         * src/utils/nautilus-actions-new.c (init_options):
1629         * src/utils/nautilus-actions-run.c (init_options):
1630         * src/utils/nautilus-actions-schemas.c (init_options):
1631         Initialize translation domain for GOptionContext.
1633         * src/core/na-data-boxed.c
1634         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1635         * src/core/na-export-format.c
1636         (na_export_format_get_label, na_export_format_get_description):
1637         * src/core/na-iabout.c (na_iabout_display):
1638         * src/core/na-object-action.c (na_object_action_new_with_defaults):
1639         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1640         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1641         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1642         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1643         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1644         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1645         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1646         * src/nact/nact-tree-model-dnd.c
1647         (is_drop_possible, is_drop_possible_before_iter,
1648         is_drop_possible_into_dest, is_parent_accept_new_childs):
1649         Use gettext() to display localized static strings.
1651         * src/api/na-data-def.h: Complete the description of the fields.
1653         * src/core/na-io-provider.c:
1654         * src/core/na-object-profile-factory.c:
1655         * src/nact/nact-assistant-export.ui:
1656         * src/nact/nautilus-actions-config-tool.ui:
1657         Fix various mistakes and mispellings reported by Fr translation team.
1659         * configure.ac: Post-release bump version number.
1661 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1663         * src/core/na-pivot.c (na_pivot_register): New function.
1665         * src/plugin-menu/nautilus-actions.c:
1666         Replace NAIPivotConsumer interface with na_settings() accessors.
1668         * src/core/na-settings.c:
1669         * src/core/na-settings.h: New files.
1671         * src/utils/na-gconf2key.sh.in:
1672         Make sure that GConf is at the end of the list of I/O providers.
1673         Make sure that GConf is locked.
1674         Migrate all I/O provider preferences.
1676         * configure.ac:
1677         * src/utils/Makefile.am:
1678         * src/utils/na-gconf2key.sh.in:
1679         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
1680         and is installed in PKGLIBEXECDIR.
1682         * src/core/Makefile.am:
1683         * src/core/na-gconf-migration.c: Updated accordingly.
1685         * src/utils/Makefile.am:
1686         nautilus-actions-delete is renamed as na-delete-xmltree,
1687         and is installed in PKGLIBEXECDIR.
1689         * src/core/na-core-utils.c (na_core_utils_print_version):
1690         Print the compilation version of GLib2 and Gtk+ when in debug mode.
1692         * src/utils/Makefile.am:
1693         nautilus-actions-schemas is renamed as na-print-schemas,
1694         and is installed in PKGLIBEXECDIR.
1696 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
1698         * src/nact/nact-main-window.c (iabout_get_toplevel):
1699         Let the About dialog get the toplevel window.
1701         * src/nact/nact-preferences.ui:
1702         * src/nact/nautilus-actions-config-tool.ui:
1703         Apply patch provided by Christian Kirbach. Fix #638548.
1705         Use the same script to migrate items and preferences.
1707         * README-GCONF: Document migrated and renamed preferences.
1709         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1710         Rewrite migrated preferences as keyed files.
1711         At last, remove the whole Nautilus-Actions tree from GConf.
1713 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
1715         * src/utils/console-utils.c (console_cmdline_get_description):
1716         Returns the full address of the page to enter a new bug in Bugzilla.
1718         * src/core/na-gconf-migration.c:
1719         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
1721         * src/core/Makefile.am: Updated accordingly.
1723         * src/nact/nact-main.c (main):
1724         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
1725         * src/utils/nautilus-actions-new.c (main):
1726         * src/utils/nautilus-actions-run.c (main):
1727         Automatically run the migration tool at startup.
1729         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1730         * src/utils/nautilus-actions-delete.c:
1731         * src/utils/nautilus-actions-print.c:
1732         New items migration script and programs.
1733         They take care of migrating users and mandatory items to .desktop files.
1735         * configure.ac:
1736         * src/utils/Makefile.am:
1737         * src/utils/.gitignore: Updated accordingly.
1739 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1741         * src/core/na-tokens.c (na_tokens_new_from_selection):
1742         No more prepare the list string of selection.
1743         Directly build the selection list in the correct order.
1744         (execute_action_command): Setup the working directory.
1746         * src/core/na-tokens.c:
1747         * src/core/na-tokens.h (na_tokens_parse_parameters):
1748         Renamed as na_tokens_parse_for_display() as filenames are not quoted
1749         when displayed as part of an expanded label.
1751         * src/nact/nact-icommand-tab.c (parse_parameters):
1752         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1753         Updated accordingly.
1755         * configure.ac: Fix "API Reference generation" message.
1757         * m4/na-enable-manuals.m4:
1758         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1760         * src/core/na-selected-info.c (new_from_uri):
1761         - Add an excerpt from RFC 2396 about valid characters in URIs.
1762         - Prefer the filename from g_filename_from_uri() when possible.
1764         * src/core/na-tokens.c
1765         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1766         (build_string_lists_item): Removed function.
1768         * src/core/na-iabout.c (na_iabout_display):
1769         Fix typo in comment, adding a note to the translators.
1771 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
1773         * src/core/na-io-provider.c:
1774         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
1775         New function.
1777         * configure.ac: Define a conditional if we have both GSettings and GConf.
1779         * src/core/na-gsettings-migrate.c:
1780         * src/core/na-gsettings-migrate.h: New files.
1782         * src/core/Makefile.am: Updated accordingly.
1784         * src/core/na-pivot.c (instance_constructed):
1785         Call na_gsettings_migrate() if we have both GSettings and GConf.
1787         * configure.ac:
1788         - Define HAVE_GSETTINGS variable.
1789         - Define HAVE_GCONF variable.
1791 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1793         * src/nact/egg-desktop-file.c:
1794         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1796         * src/nact/base-keysyms.h:
1797         * src/nact/egg-sm-client-private.h:
1798         * src/nact/egg-sm-client-xsmp.c: 
1799         * src/nact/nact-add-capability-dialog.c:
1800         * src/nact/nact-add-scheme-dialog.c:
1801         * src/nact/nact-main-tab.c:
1802         * src/nact/nact-clipboard.c:
1803         * src/nact/nact-tree-model-dnd.c:
1804         * src/nact/nact-gtk-utils.c:
1805         * src/nact/nact-iaction-tab.c:
1806         * src/nact/nact-main-statusbar.c:
1807         * src/nact/nact-main-menubar.c:
1808         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1810         * configure.ac:
1811         * m4/na-check-for-gtk.m4:
1812         Move back gtk_required variable to improve readibility of configure.ac.
1814 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1816         * configure.ac: Post release version bump.
1818         * NEWS: Update NEWS before release.
1820         * src/plugin-menu/nautilus-actions.c (create_root_menu):
1821         Update the root menu label to better reflect the product name.
1823         * src/nact/nautilus-actions-config-tool.ui:
1824         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1826         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1827         Display again stock icons in NACT.
1828         Fix #638461 - Stock icons are no more displayed in NACT.
1830         * Almost all files modified:
1831         Update copyright message.
1832         Set Nautilus-Actions as being the actual official product name.
1834         * src/core/na-selected-info.c (new_from_nautilus_file_info):
1835         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1836         Fix #638450 - Nautilus crashes when opening Trash or Network.