Reference manual: Fix NAObjectAction documentation
[nautilus-actions.git] / ChangeLog-2009
bloba9cac9b3671762c96758c2a2af76e01b870fbc36
1 2009-12-22 Pierre Wieser <pwieser@trychlos.org>
3         Make the toolbars detacheable.
5         * nautilus-actions/nact/nact-main-menubar.c
6         (GtkActionEntry): Modify menu item and tooltip labels.
7         (toolbar_init): Create GtkHandleBox to host toolbars.
9         * nautilus-actions/nact/nautilus-actions-config-tool.actions:
10         Do not let Export assistant go to the toolbar (no icon).
12         Fix write/delete operations in NAIIODesktopProvider.
14         * nautilus-actions/io-provider-desktop/nadp-read.c
15         (action_from_desktop_path): Set provider data.
17         * nautilus-actions/io-provider-desktop/nadp-write.c
18         (nadp_iio_provider_is_writable, nadp_iio_provider_write_item,
19         nadp_iio_provider_delete_item): Get provider data.
21         Let the I/O provider set specific data into NAObjectItem.
23         * nautilus-actions/api/na-object-api.h
24         (na_object_get_provider_data, na_object_set_provider_data):
25         New aliases.
27         * nautilus-actions/private/na-object-item-fn.h:
28         * nautilus-actions/private/na-object-item-priv.h:
29         * nautilus-actions/private/na-object-item.c
30         (na_object_item_get_provider_data, na_object_item_set_provider_data):
31         New functions.
33 2009-12-21 Pierre Wieser <pwieser@trychlos.org>
35         * nautilus-actions/io-provider-desktop/nadp-xdg-data-dirs.c
36         (nadp_xdg_data_dirs_get_dirs): Remove debug messages.
38         Fix placement of writability icon.
40         * nautilus-actions/runtime/na-utils.c:
41         * nautilus-actions/runtime/na-utils.h (na_utils_get_pixbuf):
42         New function.
44         * nautilus-actions/runtime/Makefile.am: Add PKDGATADIR.
46         * nautilus-actions/nact/nact-iaction-tab.c:
47         Updated accordingly.
49         * nautilus-actions/nact/nact-main-statusbar.c:
50         * nautilus-actions/nact/nact-main-statusbar.h
51         (nact_main_statusbar_initial_load_toplevel): New function.
53         * nautilus-actions/nact/nact-main-window.c
54         (on_base_initial_load_toplevel): Initial statusbar size.
56         * nautilus-actions/private/na-object-item-fn.h:
57         * nautilus-actions/private/na-object-item.c
58         (na_object_item_get_pixbuf): Update prototype, removing GtkWidget.
60         * nautilus-actions/nact/nact-tree-model.c: Updated accordingly.
62         Fix reload of items.
64         * nautilus-actions/nact/nact-main-window.c (reload):
65         Reinitialize the properties for current selection.
67         Fix the display of item's icon.
69         * nautilus-actions/nact/transparent.png: New file.
71         * nautilus-actions/nact/Makefile.am: Updated accordingly.
73         * nautilus-actions/nact/nact-iaction-tab.c
74         (display_icon): Removed function.
75         (nact_iaction_tab_initial_load_toplevel):
76         Set the frame the same height that the row.
77         (on_icon_changed):
78         Displays a transparent image instead of hiding the widget.
80         * nautilus-actions/nact/nact-iactions-list.c
81         (nact_iactions_list_all_widgets_showed):
82         Only select the first item when all widgets have been showed.
84         * nautilus-actions/nact/nact-main-window.c
85         (on_base_all_widgets_showed): Initialize the tree after the tabs.
87         * nautilus-actions/private/na-object-item.c
88         (na_object_item_get_pixbuf): Use GThemedIcon.
90         * nautilus-actions/nact/nact-main-window.c
91         (on_iactions_list_selection_changed): Remove useless properties setup.
92         Provider writability status is also displayed for profiles.
94         * nautilus-actions/nact/nact-iaction-tab.c
95         (on_tab_updatable_provider_changed, display_provider_name):
96         New functions.
98         * nautilus-actions/nact/nact-main-menubar.c (save_item):
99         Notice provider change at save time.
101         * nautilus-actions/nact/nact-main-tab.h:
102         * nautilus-actions/nact/nact-main-window.c:
103         Define new TAB_UPDATABLE_SIGNAL_PROVIDER_CHANGED signal.
105         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
106         Add - commented for now - debug message.
108         * nautilus-actions/nact/nact-window.c
109         (nact_window_has_writable_providers): Only unref the object if not null.
111         * nautilus-actions/runtime/na-io-provider.c
112         (na_io_provider_get_writable_provider): Fix writability check.
114 2009-12-20 Pierre Wieser <pwieser@trychlos.org>
116         Some cosmetic changes.
118         * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
119         Report selection of first row at the very end of the function.
121         * nautilus-actions/nact/nact-main-menubar.c
122         (on_iactions_list_selection_changed): Improve debug messages.
124         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
125         Remove size request for ActionLockedFrame.
127         Add a tooltip to the writability status image.
129         * nautilus-actions/nact/nact-main-statusbar.c:
130         * nautilus-actions/nact/nact-main-statusbar.h
131         (nact_main_statusbar_set_locked):
132         Displays a tooltip whether the provider or the item is read-only.
134         * nautilus-actions/nact/nact-main-window.c:     Updated accordingly.
136         * po/POTFILES.in: Add nautilus-actions/nact/nact-main-statusbar.c.
138 2009-12-19 Pierre Wieser <pwieser@trychlos.org>
140         Display the writability status in the status bar.
142         * nautilus-actions/nact/locked.png: New file.
144         * nautilus-actions/nact/Makefile.am: Updated accordingly.
146         * nautilus-actions/nact/base-window.c (base_window_get_widget):
147         Add a warning when widget is not found.
149         * nautilus-actions/nact/nact-main-statusbar.c:
150         * nautilus-actions/nact/nact-main-statusbar.h
151         (nact_main_statusbar_set_locked): New function.
153         * nautilus-actions/runtime/na-iabout.c (na_iabout_display):
154         Credit the author of the locked image.
156         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
157         Add an image in the status bar.
159         * nautilus-actions/nact/nact-main-window.c (set_current_object_item):
160         Update the locked image depending of the writability status of the
161         current item.
163         * nautilus-actions/nact/nact-window.c
164         (nact_window_is_writable_provider): Return default writability status
165         when the (new) item doesn't have yet a provider.
167         * nautilus-actions/plugin/nautilus-module.c
168         (nautilus_module_initialize):
169         * nautilus-actions/tracker/na-tracker-plugin.c
170         (nautilus_module_initialize):
171         Homogeneize syslog initialization messages.
173 2009-12-17 Pierre Wieser <pwieser@trychlos.org>
175         * nautilus-actions/test/dbus-introspect.sh: New file.
177 2009-12-16 Pierre Wieser <pwieser@trychlos.org>
179         * configure.ac: Bump version number.
181         * data/nautilus-actions.schemas.in:
182         Add locked key.
184         * NEWS:
185         * README: Updated files.
187         * nautilus-actions/io-provider-desktop/nadp-module.c:
188         Make the desktop I/O provider only loadable in maintainer mode.
190         * po/POTFILES.in: Fix typo.
192         * nautilus-actions/api/na-api.h (na_api_module_get_name):
193         * nautilus-actions/api/na-iio-provider.h (get_name):
194         The na_api_module_get_name() function is moved to NAIIOProvider
195         interface as get_name().
197         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
198         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c
199         (get_name): New function.
201         * nautilus-actions/io-provider-desktop/nadp-module.c
202         * nautilus-actions/io-provider-gconf/nagp-module.c
203         (na_api_module_get_name): Removed function.
205         * nautilus-actions/nact/nact-tree-model-dnd.c
206         (is_parent_accept_new_childs): New function.
207         Prevent drop inside of a read-only parent.
209         * nautilus-actions/nact/nact-window.c
210         (nact_window_has_writable_providers):
211         Updated to no more use na_pivot_has_writable_providers().
213         * nautilus-actions/runtime/na-io-provider.c
214         * nautilus-actions/runtime/na-io-provider.h
215         (na_io_provider_get_provider, na_io_provider_get_writable_provider):
216         New functions.
218         * nautilus-actions/runtime/na-module.c
219         * nautilus-actions/runtime/na-module.h
220         (na_module_dump): New function.
221         (na_module_get_name): Removed function.
223         * nautilus-actions/runtime/na-pivot.c:
224         * nautilus-actions/runtime/na-pivot.h
225         (na_pivot_get_module_name, na_pivot_get_provider,
226         na_pivot_release_provider, na_pivot_has_writable_providers):
227         Removed functions.
228         (na_pivot_is_level_zero_writable): New function.
230         * nautilus-actions/runtime/na-utils.c:
231         * nautilus-actions/runtime/na-utils.h
232         (na_utils_remove_suffix): New function.
234         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
235         Updated to find a writable provider.
237 2009-12-15 Pierre Wieser <pwieser@trychlos.org>
239         Split too big file nact-tree-model.c.
241         * nautilus-actions/nact/nact-tree-model-dnd.c:
242         * nautilus-actions/nact/nact-tree-model-dnd.h:
243         * nautilus-actions/nact/nact-tree-model-priv.h: New files.
245         * nautilus-actions/nact/Makefile.am:
246         * nautilus-actions/nact/nact-tree-model.c: Updated accordingly.
248         Split too big file nact-iactions-list.c.
250         * nautilus-actions/nact/nact-iactions-list-bis.c:
251         * nautilus-actions/nact/nact-iactions-list-priv.c:
252         * nautilus-actions/nact/nact-iactions-list-priv.h: New files.
254         * nautilus-actions/nact/Makefile.am:
255         * nautilus-actions/nact/nact-assistant-export.c:
256         * nautilus-actions/nact/nact-assistant-import.c:
257         * nautilus-actions/nact/nact-iactions-list.c:
258         * nautilus-actions/nact/nact-iactions-list.h:
259         * nautilus-actions/nact/nact-main-menubar.c:
260         * nautilus-actions/nact/nact-main-window.c:
261         * nautilus-actions/nact/nact-tree-model.c: Updated accordingly.
263         * nautilus-actions/nact/nact-iactions-list.c:
264         * nautilus-actions/nact/nact-iactions-list.h
265         (nact_iactions_list_has_focus): Removed unused function.
267         * nautilus-actions/nact/nact-gtk-utils.c:
268         * nautilus-actions/nact/nact-gtk-utils.h: New files.
270         * nautilus-actions/nact/Makefile.am: Updated accordingly.
272         * nautilus-actions/nact/nact-main-tab.h:
273         * nautilus-actions/nact/nact-main-window.c:
274         Define TAB_UPDATABLE_PROP_READONLY_ITEM and
275         TAB_UPDATABLE_PROP_WRITABLE_PROVIDER new properties.
277         * nautilus-actions/nact/nact-iaction-tab.c:
278         * nautilus-actions/nact/nact-iadvanced-tab.c:
279         * nautilus-actions/nact/nact-ibackground-tab.c:
280         * nautilus-actions/nact/nact-icommand-tab.c:
281         * nautilus-actions/nact/nact-iconditions-tab.c:
282         Manage read-only items.
284 2009-12-13 Pierre Wieser <pwieser@trychlos.org>
286         * nautilus-actions/api/na-api.h (na_api_module_get_version):
287         * nautilus-actions/io-provider-desktop/nadp-module.c
288         (na_api_module_get_version):
289         * nautilus-actions/io-provider-gconf/nagp-module.c
290         (na_api_module_get_version):
291         New function.
292         
293         * nautilus-actions/io-provider-desktop/nadp-write.c
294         (nadp_iio_provider_is_willing_to_write):
295         * nautilus-actions/io-provider-gconf/nagp-write.c
296         (nagp_iio_provider_is_willing_to_write):
297         * nautilus-actions/runtime/na-io-provider.c
298         (na_io_provider_is_willing_to_write):
299         Remove too verbose debug traces.
301         * nautilus-actions/runtime/na-pivot.c
302         (na_pivot_has_writable_providers): Add a debug trace.
304         * nautilus-actions/nact/nact-iactions-list.c (display_label):
305         Profile label is editable only if parent action is writable.
307         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
308         Enable item insertion only if parent is writable.
310 2009-12-12 Pierre Wieser <pwieser@trychlos.org>
312         * nautilus-actions/nact/nact-window.c:
313         * nautilus-actions/nact/nact-window.h
314         (nact_window_is_lockdown): Removed function.
315         (nact_window_is_writable_provider, nact_window_has_writable_providers):
316         New functions.
318         * nautilus-actions/runtime/na-io-provider.c:
319         * nautilus-actions/runtime/na-io-provider.h
320         (na_io_provider_is_willing_to_write): New function.
322         * nautilus-actions/runtime/na-pivot.c:
323         * nautilus-actions/runtime/na-pivot.h (na_pivot_has_writable_providers):
324         New function.
326         * nautilus-actions/nact/nact-window.c:
327         * nautilus-actions/nact/nact-window.h (nact_window_is_lockdown):
328         Check if the provider of the current item is locked down.
330         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
331         * nautilus-actions/nact/nact-iactions-list.c (display_label):
332         Updated accordingly.
334         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
335         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
336         (get_id, get_version): New functions.
338         * doc/io-provider-id: New file to handle allocated providers ids.
340         * nautilus-actions/api/na-iio-provider.c:
341         * nautilus-actions/api/na-iio-provider.h (get_id, get_version):
342         New API functions.
344         * nautilus-actions/runtime/na-io-provider.c:
345         * nautilus-actions/runtime/na-io-provider.h
346         (na_io_provider_get_id, na_io_provider_get_version): New functions.
348         * nautilus-actions/nact/nact-iactions-list.c
349         (nact_iactions_list_initial_load_toplevel, display_label):
350         Label column is not editable when read-only or locked down.
352         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
353         Do not enable 'cut' if locked down.
355         * nautilus-actions/private/na-object-profile.c
356         (object_are_equal, object_is_valid): Now marked as static.
358         * nautilus-actions/private/na-object-profile.c
359         (na_object_profile_is_candidate,
360         na_object_profile_is_candidate_for_tracked):
361         Profile must be valid in order to be candidate.
363         * nautilus-actions/api/na-dbus.h: New file.
365         * nautilus-actions/api/Makefile.am: Updated accordingly.
367         * nautilus-actions/nact/nact-clipboard.c (nact_clipboard_dump):
368         Fix debug parameters to have pointer of correct size.
370         * nautilus-actions/private/na-gnome-vfs-uri.c:
371         * nautilus-actions/private/na-gnome-vfs-uri.h:
372         Rename uri field to path.
374         * nautilus-actions/private/na-object-profile-class.h:
375         Define NATrackedItem structure.
377         * nautilus-actions/private/na-object-profile-fn.h:
378         * nautilus-actions/private/na-object-profile.c
379         (na_object_profile_is_candidate_for_tracked,
380         na_object_profile_parse_parameters_for_tracked): New functions.
382         * nautilus-actions/test/test-parse-uris.c:
383         Add a new test case.
385         * nautilus-actions/tracker/Makefile.am:
386         * nautilus-actions/utils/Makefile.am:
387         Fix make distcheck.
388         Install XML service definition and cleanup built files.
390         * nautilus-actions/tracker/na-tracker-dbus.c:
391         Take a reference on NautilusFileInfo provided list.
393         * nautilus-actions/tracker/na-tracker.c:
394         * nautilus-actions/tracker/na-tracker.h:
395         Move DBus service name to api/na-dbus.h header.
397         * nautilus-actions/utils/nautilus-actions-run.c:
398         Remove '--parameters' and '--current' useless options.
399         Execute action on candidate profile.
401 2009-12-10 Pierre Wieser <pwieser@trychlos.org>
403         * nautilus-actions/runtime/na-pivot.c:
404         * nautilus-actions/runtime/na-pivot.h (get_item_from_tree):
405         No more require an UUID.
407         Be able to get the current Nautilus selection into an external
408         program via a DBus interface in the new Tracker plugin.
410         * configure.ac:
411         * nautilus-actions/Makefile.am:
412         Define new tracker subdirectory.
414         * m4/na-log-domains.m4:
415         Define new NA-tracker log domain.
417         * nautilus-actions/tracker/Makefile.am:
418         * nautilus-actions/tracker/na-tracker-dbus.c:
419         * nautilus-actions/tracker/na-tracker-dbus.h:
420         * nautilus-actions/tracker/na-tracker-dbus.xml:
421         * nautilus-actions/tracker/na-tracker-plugin.c:
422         * nautilus-actions/tracker/na-tracker.c:
423         * nautilus-actions/tracker/na-tracker.h: New files.
425         * nautilus-actions/utils/nautilus-actions-run.c: New file.
427         * nautilus-actions/utils/Makefile.am: Updated accordingly.
429 2009-12-08 Pierre Wieser <pwieser@trychlos.org>
431         A try to implement a lockdown key in GConf mandatory settings.
433         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
434         Disable most of File and Edit menu items if lockdown key is set.
436         * nautilus-actions/nact/nact-window.c:
437         * nautilus-actions/nact/nact-window.h (nact_window_is_lockdown):
438         New function.
440 2009-12-07 Pierre Wieser <pwieser@trychlos.org>
442         * configure.ac: Bump version number.
444         * nautilus-actions/private/na-object-id.c
445         (na_object_id_prepare_for_paste):
446         Reset provider and read-only flag when pasting a new object.
448         * nautilus-actions/nact/nact-main-menubar.c (prepare_for_paste):
449         Recheck status of pasted items.
451         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
452         (nadp_desktop_file_get_label, nadp_desktop_file_get_tooltip,
453         nadp_desktop_file_get_icon): Return an empty string rather than NULL.
455         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
456         Do not paste into a read-only action.
458         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
459         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h
460         (nadp_desktop_file_get_icon, nadp_desktop_file_get_enabled,
461         nadp_desktop_file_set_icon, nadp_desktop_file_set_enabled):
462         New functions.
464         * nautilus-actions/io-provider-desktop/nadp-read.c
465         (read_item_properties): Read icon and enabled status.
467         * nautilus-actions/io-provider-desktop/nadp-write.c (write_item):
468         Write icon name or path and enabled status.
470         * nautilus-actions/plugin/nautilus-actions.c (build_nautilus_menus):
471         Emits a warning when finding a disabled or invalid item.
473         * nautilus-actions/nact/nact-clipboard.c (nact_clipboard_dump):
474         Allow dump when clipboard has not been yet used.
476         * nautilus-actions/api/na-object-api.h:
477         All arguments have parenthesis around them.
479         Only load in the Nautilus plugin valid and enabled candidate items.
481         * nautilus-actions/nact/nact-application.c
482         (appli_initialize_application): Explicitely load items.
484         * nautilus-actions/nact/nact-main-window.c (reload):
485         Call na_pivot_load_items() function.
487         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
488         Explicitely load items after having set filtering criteria.
490         * nautilus-actions/private/na-object-item.c
491         (na_object_item_set_items_list): Free previous GList structure.
493         * nautilus-actions/runtime/na-io-provider.c
494         (na_io_provider_read_items): Filter the returned hierarchy.
496         * nautilus-actions/runtime/na-pivot.c:
497         * nautilus-actions/runtime/na-pivot.h
498         (na_pivot_check_status): Removed function.
499         (na_pivot_reload_items): Renamed as na_pivot_load_items().
500         (na_pivot_set_population, na_pivot_is_disable_loadable,
501         na_pivot_is_invalid_loadable): New functions.
503 2009-12-03 Pierre Wieser <pwieser@trychlos.org>
505         * nautilus-actions/private/na-object-profile.c (object_is_valid):
506         Fix validity check of the profile.
508         Add a maintainer menu option to dump the clipboard.
510         * nautilus-actions/nact/nact-clipboard.c:
511         * nautilus-actions/nact/nact-clipboard.h (nact_clipboard_dump):
512         New function.
514         * nautilus-actions/nact/nact-main-menubar.c:
515         * nautilus-actions/nact/nautilus-actions-maintainer.actions:
516         Define the a new 'Dump the clipboard' option.
518 2009-12-02 Pierre Wieser <pwieser@trychlos.org>
520         * nautilus-actions/nact/nact-iaction-tab.c
521         (on_tab_updatable_selection_changed):
522         * nautilus-actions/nact/nact-iadvanced-tab.c
523         (on_tab_updatable_selection_changed):
524         * nautilus-actions/nact/nact-ibackground-tab.c
525         (on_tab_updatable_selection_changed):
526         * nautilus-actions/nact/nact-icommand-tab.c
527         (on_tab_updatable_selection_changed):
528         * nautilus-actions/nact/nact-iconditions-tab.c
529         (on_tab_updatable_selection_changed):
530         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
531         Do not allow edition if item is read-only.
533 2009-12-01 Pierre Wieser <pwieser@trychlos.org>
535         * nautilus-actions/nact/nact-iaction-tab.c
536         (on_tab_updatable_selection_changed): Display I/O provider name.
538         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
539         Display I/O provider name.
541         * nautilus-actions/runtime/na-io-provider.c:
542         * nautilus-actions/runtime/na-io-provider.h
543         (na_io_provider_get_name): New function.
545         * nautilus-actions/runtime/na-module.c:
546         * nautilus-actions/runtime/na-module.h
547         (na_module_get_name_for_object): New function.
549         * nautilus-actions/runtime/na-pivot.c:
550         * nautilus-actions/runtime/na-pivot.h
551         (na_pivot_get_module_name): New function.
553         * nautilus-actions/io-provider-desktop/nadp-write.c
554         (nadp_iio_provider_is_writable): Do not handle menus yet.
556         * nautilus-actions/io-provider-desktop/nadp-read.c
557         (action_from_desktop_path): Have at least one profile for the action.
558         (read_item_properties): Set object id.
560         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
561         (check_key_file): Fix check of required keys.
563         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
564         (nadp_desktop_file_set_label, nadp_desktop_file_set_tooltip):
565         Fix locale.
567         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
568         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
569         Fix NadpDesktopProviderPrivate typedef definition.
571         * nautilus-actions/io-provider-desktop/nadp-utils.h:
572         Remove egg-desktop-file.h include.
574         * nautilus-actions/io-provider-desktop/nadp-write.c
575         (nadp_iio_provider_is_willing_to_write): Fix permissions.
576         (nadp_iio_provider_write_item): Create directory if it doesn't exist.
578         * nautilus-actions/private/na-object-item-priv.h: Fix typo.
580         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
581         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
582         Move NadpDesktopProviderPrivate to C source.
584         * nautilus-actions/io-provider-desktop/nadp-write.c:
585         Remove EggDesktopFile class.
586         (nadp_iio_provider_write_item, nadp_iio_provider_delete_item):
587         Check that item is not read-only before trying to write or delete.
589         * nautilus-actions/io-provider-desktop/Makefile.am:
590         Remove EggDesktopFile files.
592         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
593         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
594         Handle key files.
596         * nautilus-actions/io-provider-desktop/nadp-read.c:
597         Test for writability status of the readen item.
599 2009-11-30 Pierre Wieser <pwieser@trychlos.org>
601         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
602         * utilus-actions/io-provider-desktop/nadp-desktop-file.h:
603         * nautilus-actions/io-provider-desktop/nadp-read.c:
604         * nautilus-actions/io-provider-desktop/nadp-read.h:
605         * nautilus-actions/io-provider-desktop/nadp-utils.c:
606         * nautilus-actions/io-provider-desktop/nadp-utils.h:
607         * nautilus-actions/io-provider-desktop/nadp-write.c:
608         * nautilus-actions/io-provider-desktop/nadp-write.h:
609         * nautilus-actions/io-provider-desktop/nadp-xdg-data-dirs.c:
610         * nautilus-actions/io-provider-desktop/nadp-xdg-data-dirs.h:
611         New files.
613         * nautilus-actions/io-provider-desktop/Makefile.am:
614         Updated accordingly.
616         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
617         Define NADP_DESKTOP_PROVIDER_SUBDIRS.
619 2009-11-25 Pierre Wieser <pwieser@trychlos.org>
621         Read-only flag is moved to NAObjectItem: action and menu may be
622         read-only.
624         * nautilus-actions/api/na-object-api.h
625         (na_object_is_readonly, na_object_set_readonly): New functions.
627         * nautilus-actions/private/na-object-action-fn.h:
628         * nautilus-actions/private/na-object-action-priv.h:
629         * nautilus-actions/private/na-object-action.c:
630         * nautilus-actions/private/na-object-item-fn.h:
631         * nautilus-actions/private/na-object-item-priv.h:
632         * nautilus-actions/private/na-object-item.c:
633         "read-only" property is moved from NAObjectAction to NAObjectItem.
634         (na_object_action_is_readonly): Renamed to na_object_item_is_readonly.
635         (na_object_action_set_readonly): Renamed to na_object_item_set_readonly.
637         * nautilus-actions/io-provider-gconf/nagp-read.c
638         (read_object_item_properties): Set the 'read-only' flag for the object.
640         * nautilus-actions/io-provider-gconf/nagp-write.c
641         (nagp_iio_provider_is_writable): Set the writability status of the
642         object.
643         (nagp_iio_provider_is_willing_to_write): Set the writability status of
644         the provider.
646         * nautilus-actions/io-provider-desktop/egg-desktop-file.c:
647         * nautilus-actions/io-provider-desktop/egg-desktop-file.h:
648         New files.
650         * nautilus-actions/io-provider-desktop/Makefile.am:
651         Updated accordingly.
653 2009-11-24 Pierre Wieser <pwieser@trychlos.org>
655         Create NadpDesktopProvider module.
657         * nautilus-actions/io-provider-desktop/Makefile.am:
658         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
659         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
660         * nautilus-actions/io-provider-desktop/nadp-module.c: New files.
662         * configure.ac:
663         * nautilus-actions/Makefile.am: Updated accordingly.
665         * m4/na-log-domains.m4:
666         Define new NA_LOGDOMAIN_DESKTOP_PROVIDER log domain.
668         Have smaller sources in NagpGConfProvider.
669         Remove na-utils dependancy.
671         * nautilus-actions/io-provider-gconf/nagp-read.c:
672         * nautilus-actions/io-provider-gconf/nagp-read.h:
673         * nautilus-actions/io-provider-gconf/nagp-write.c:
674         * nautilus-actions/io-provider-gconf/nagp-write.h: New files.
676         * nautilus-actions/io-provider-gconf/Makefile.am: Updated accordingly.
678         * configure.ac: Remove useless gthread dependancy.
680         * nautilus-actions/io-provider-gconf/Makefile.am:
681         Add nautilus-actions/ to include path (fix make distcheck).
683         * po/POTFILES.in: Add two new files (fix make distcheck).
685         na_pivot_new no more takes an argument.
687         * nautilus-actions/nact/nact-application.c
688         (appli_initialize_application):
689         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
690         * nautilus-actions/runtime/na-pivot.c:
691         * nautilus-actions/runtime/na-pivot.h (na_pivot_new):
692         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
693         Updated accordingly.
695         * nautilus-actions/runtime/na-utils.c (na_utils_print_version):
696         Displays current GLib and Gtk+ runtime library versions.
698         * nautilus-actions/nact/base-application.c:
699         Gracefully terminates the application on SMClient quit signal.
701 2009-11-23 Pierre Wieser <pwieser@trychlos.org>
703         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
704         Modify labels to make them clearer.
706         Ask the user to confirm on logout.
708         * nautilus-actions/nact/base-application-class.h:
709         * nautilus-actions/nact/base-application.c
710         (initialize_session_manager): New class function.
711         Instantiate and initialize an EggSMClient-derived object.
713         * nautilus-actions/nact/base-window-class.h:
714         * nautilus-actions/nact/base-window.c
715         (is_willing_to_quit): New class function.
717         * nautilus-actions/nact/base-window.h (base_window_is_willing_to_quit):
718         Returns TRUE if application is willing to quit on logout.
720         * nautilus-actions/nact/nact-main-window.c:
721         Ask the user for a confirmation when sessions ends while modifications
722         are pending.
724         * nautilus-actions/nact/nact-main-menubar.c:
725         * nautilus-actions/nact/nact-main-menubar.h
726         (nact_main_menubar_save_items): New public function.
728         * nautilus-actions/nact/egg-desktop-file.c:
729         * nautilus-actions/nact/egg-desktop-file.h:
730         * nautilus-actions/nact/egg-sm-client-private.h:
731         * nautilus-actions/nact/egg-sm-client-xsmp.c:
732         * nautilus-actions/nact/egg-sm-client.c:
733         * nautilus-actions/nact/egg-sm-client.h:
734         * nautilus-actions/nact/nact-confirm-logout.c:
735         * nautilus-actions/nact/nact-confirm-logout.h: New files.
737         * nautilus-actions/nact/Makefile.am: Updated accordingly.
739         * nautilus-actions/nact/nautilus-actions-config-tool.ui
740         (ConfirmLogoutDialog): New dialog.
742 2009-11-21 Pierre Wieser <pwieser@trychlos.org>
744         * nautilus-actions/nact/nact-iaction-tab.c
745         (on_tab_updatable_selection_changed):
746         Display empty label when item not set.
748         * nautilus-actions/nact/nact-xml-reader.c (propagate_default_values):
749         Propagate default values to the newly imported action.
751         Fix list of modified items in NACT.
753         * nautilus-actions/nact/nact-iactions-list.c:
754         * nautilus-actions/nact/nact-iactions-list.h
755         (nact_iactions_list_list_modified_items): New maintainer function.
757         * nautilus-actions/nact/nact-iactions-list.c (remove_rec):
758         Recursively remove no-more modified sub-objects.
760         * nautilus-actions/nact/nact-main-menubar.c:
761         * nautilus-actions/nact/nautilus-actions-maintainer.actions:
762         New maintainer function.
764         * nautilus-actions/private/Makefile.am:
765         Remove useless -DPKGLIBDIR.
767         Allow the user to run multiple instances of NACT.
769         * nautilus-actions/nact/base-application-class.h (manage_options):
770         New virtual function.
772         * nautilus-actions/nact/base-application.c:
773         * nautilus-actions/nact/base-application.h: New entries property.
775         * nautilus-actions/nact/base-application.c:
776         argc and argv are now 'contruct only' properties.
777         Accept now an GOptionEntry list as a 'contruct only property'.
778         Check args if GOptionEntry list is not null.
780         * nautilus-actions/nact/nact-application.c:
781         Define --version option.
782         Define --non-unique command-line option.
784         * nautilus-actions/runtime/na-utils.c:
785         * nautilus-actions/runtime/na-utils.h:
786         * nautilus-actions/utils/console-utils.c:
787         * nautilus-actions/utils/console-utils.h:
788         Move console_print_version() function to na_utils_print_version().
790         * nautilus-actions/utils/nautilus-actions-new.c:
791         * nautilus-actions/utils/nautilus-actions-schemas.c:
792         Updated accordingly.
794 2009-11-20 Pierre Wieser <pwieser@trychlos.org>
796         Define functions with actual type for arguments.
798         * nautilus-actions/runtime/na-pivot.c:
799         * nautilus-actions/runtime/na-pivot.h
800         (na_pivot_add_item,     na_pivot_get_item):     Take/return a NAObjectItem.
802         * nautilus-actions/nact/nact-main-menubar.c (save_item):
803         * nautilus-actions/nact/nact-main-window.c (nact_main_window_get_item):
804         Updated accordingly.
806         Get ride of "unsolicitated invocation of g_object_dispose() on
807         GTypeModule" error message.
809         * nautilus-actions/runtime/na-module.c (na_module_release_modules):
810         No more unref the module.
812         Review log handlers.
814         * nautilus-actions/io-provider-gconf/nagp-module.c
815         (na_api_module_init): standardize debug message.
817         * nautilus-actions/nact/nact-main.c:
818         Better name the static variable which holds the default handler.
820         * nautilus-actions/plugin/nautilus-module.c:
821         * nautilus-actions/utils/console-utils.c:
822         Simplify log handler management on NACT model.
824         * src/Makefile.am:
825         Update compilation order as io-provider-gconf plugin depends on
826         runtime.
828         * nautilus-actions/api/na-iio-provider.c:
829         * nautilus-actions/api/na-iio-provider.h (na_iio_provider_config_changed):
830         Advertise interface with id of modified item.
832         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
833         Add a timeout to only trigger NAIIOProvider when all modifications
834         on an item have been made.
836         * nautilus-actions/io-provider-gconf/nagp-module.c (na_api_module_init):
837         Remove log handler management, no more syslog at initialization.
839         * nautilus-actions/nact/nact-main.c:
840         Simplify log management.
842         * nautilus-actions/runtime/na-io-provider.c:
843         * nautilus-actions/runtime/na-io-provider.h
844         (na_io_provider_register_callbacks): New function.
846         * nautilus-actions/runtime/na-module.c (plugin_check):
847         Fix error message.
849         * nautilus-actions/runtime/na-pivot.c:
850         Move static variables to the instance.
852         * nautilus-actions/nact/nact-iaction-tab.c
853         (on_tab_updatable_selection_changed):
854         Fix label display when the widget is disabled.
856         * nautilus-actions/nact/nact-iactions-list.c
857         (on_treeview_selection_changed): Fix typo.
859         * nautilus-actions/nact/nact-main-menubar.c (on_save_activated):
860         Complete comment about status check.
862         * nautilus-actions/nact/nact-main-window.c
863         (nact_main_window_remove_deleted): Setup dialog title is required
864         here when this is the only modification to be saved.
866 2009-11-19 Pierre Wieser <pwieser@trychlos.org>
868         Create GConf IO Provider as a plugin.
870         * nautilus-actions/runtime/na-gconf-provider-keys.h:
871         * nautilus-actions/runtime/na-gconf-provider.c:
872         * nautilus-actions/runtime/na-gconf-provider.h:
873         Moved to io-provider-gconf/, and thus removed from runtime/.
875         * configure.ac:
876         * nautilus-actions/Makefile.am:
877         Maage io-provider-gconf/ new directory.
879         * m4/na-log-domains.m4:
880         Define new NA_LOGDOMAIN_IO_PROVIDER_GCONF log domain.
882         * nautilus-actions/api/na-api.c:
883         * nautilus-actions/api/na-api.h (na_api_module_init):
884         Now returns a boolean.
886         * nautilus-actions/plugin/nautilus-module.c:
887         Set module name.
889         * nautilus-actions/runtime/na-gconf-utils.c:
890         * nautilus-actions/runtime/na-gconf-utils.h
891         (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs,
892         na_gconf_utils_have_entry:): Move functions to NagpIOProvider class.
894         * nautilus-actions/runtime/na-gconf-utils.c:
895         * nautilus-actions/runtime/na-gconf-utils.h
896         (na_gconf_utils_have_subdir): Removed function.
898         * nautilus-actions/runtime/na-module.c:
899         Fix dynamic loading of the modules.
901         * nautilus-actions/runtime/na-pivot.c:
902         * nautilus-actions/runtime/na-pivot.h
903         (na_pivot_get_provider, na_pivot_release_provider):
904         New functions.
906         * nautilus-actions/nact/nact-xml-reader.c:
907         * nautilus-actions/runtime/Makefile.am:
908         * nautilus-actions/runtime/na-pivot.c:
909         * nautilus-actions/runtime/na-xml-writer.c:
910         Updated accordingly.
912         * nautilus-actions/utils/nautilus-actions-new.c:
913         Use NAPivot to find an adequate provider instead of directly
914         instantiating a NAGConfProvider object.
916 2009-11-18 Pierre Wieser <pwieser@trychlos.org>
918         Move runtime/na-gconf-monitor.{c,h} to api/.
920         * nautilus-actions/runtime/na-gconf-monitor.c:
921         * nautilus-actions/runtime/na-gconf-monitor.h:
922         Moved to api/, thus removed from runtime/.
924         * nautilus-actions/api/Makefile.am:
925         * nautilus-actions/runtime/Makefile.am:
926         * nautilus-actions/runtime/na-gconf-provider.c:
927         * nautilus-actions/runtime/na-pivot.c:
928         Upated accordingly.
930         Move private/na-object-api.h to private/.
932         * nautilus-actions/private/na-object-api.h:
933         Moved to private/.
935         * nautilus-actions/api/Makefile.am:
936         * nautilus-actions/nact/nact-assistant-export-ask.c:
937         * nautilus-actions/nact/nact-assistant-export.c:
938         * nautilus-actions/nact/nact-assistant-import-ask.c:
939         * nautilus-actions/nact/nact-assistant-import.c:
940         * nautilus-actions/nact/nact-clipboard.c:
941         * nautilus-actions/nact/nact-iaction-tab.c:
942         * nautilus-actions/nact/nact-iactions-list.c:
943         * nautilus-actions/nact/nact-iadvanced-tab.c:
944         * nautilus-actions/nact/nact-ibackground-tab.c:
945         * nautilus-actions/nact/nact-icommand-tab.c:
946         * nautilus-actions/nact/nact-iconditions-tab.c:
947         * nautilus-actions/nact/nact-main-menubar.c:
948         * nautilus-actions/nact/nact-main-window.c:
949         * nautilus-actions/nact/nact-tree-model.c:
950         * nautilus-actions/nact/nact-window.c:
951         * nautilus-actions/nact/nact-xml-reader.c:
952         * nautilus-actions/plugin/nautilus-actions.c:
953         * nautilus-actions/private/Makefile.am:
954         * nautilus-actions/private/na-object-action.c:
955         * nautilus-actions/private/na-object-id.c:
956         * nautilus-actions/private/na-object-item.c:
957         * nautilus-actions/private/na-object-menu.c:
958         * nautilus-actions/private/na-object-profile.c:
959         * nautilus-actions/private/na-object.c:
960         * nautilus-actions/runtime/na-gconf-provider.c:
961         * nautilus-actions/runtime/na-io-provider.c:
962         * nautilus-actions/runtime/na-pivot.c:
963         * nautilus-actions/runtime/na-xml-writer.c:
964         * nautilus-actions/utils/nautilus-actions-new.c:
965         Updated accordingly.
967         Move na-xml-* to runtime library, thus removing common/.
969         * nautilus-actions/common/na-xml-names.h:
970         * nautilus-actions/common/na-xml-writer.c:
971         * nautilus-actions/common/na-xml-writer.h:
972         Moved to runtime/ directory, thus removed from common.
974         * configure.ac:
975         * m4/na-log-domains.m4:
976         * nautilus-actions/Makefile.am:
977         * nautilus-actions/nact/Makefile.am:
978         * nautilus-actions/nact/nact-assistant-export.c:
979         * nautilus-actions/nact/nact-clipboard.c:
980         * nautilus-actions/nact/nact-main.c:
981         * nautilus-actions/nact/nact-tree-model.c:
982         * nautilus-actions/nact/nact-xml-reader.c:
983         * nautilus-actions/runtime/Makefile.am:
984         * nautilus-actions/runtime/README:
985         * nautilus-actions/utils/Makefile.am:
986         * nautilus-actions/utils/console-utils.c:
987         * nautilus-actions/utils/nautilus-actions-new.c:
988         * nautilus-actions/utils/nautilus-actions-schemas.c:
989         * po/POTFILES.in: Updated accordingly.
991         Merge common/na-utils.{c,h} into runtime/na-utils.{c,h}.
993         * nautilus-actions/common/na-utils.c:
994         * nautilus-actions/common/na-utils.h:
995         Merged into runtime/na-utils.{c,h}, thus deleted from common/.
997         * nautilus-actions/common/Makefile.am:
998         * nautilus-actions/common/na-xml-writer.c:
999         * nautilus-actions/nact/base-builder.c:
1000         * nautilus-actions/nact/nact-assistant-export.c:
1001         * nautilus-actions/nact/nact-assistant-import.c:
1002         * nautilus-actions/nact/nact-clipboard.c:
1003         * nautilus-actions/nact/nact-iadvanced-tab.c:
1004         * nautilus-actions/nact/nact-ibackground-tab.c:
1005         * nautilus-actions/nact/nact-icommand-tab.c:
1006         * nautilus-actions/nact/nact-iconditions-tab.c:
1007         * nautilus-actions/nact/nact-tree-model.c:
1008         * nautilus-actions/nact/nact-window.c:
1009         * nautilus-actions/nact/nact-xml-reader.c:
1010         * nautilus-actions/private/Makefile.am:
1011         * nautilus-actions/private/na-object-profile.c:
1012         * nautilus-actions/runtime/na-utils.c:
1013         * nautilus-actions/runtime/na-utils.h:
1014         * nautilus-actions/utils/nautilus-actions-new.c:
1015         * nautilus-actions/utils/nautilus-actions-schemas.c:
1016         Updated accordingly.
1018         Merge common/na-iprefs.{c,h} into runtime/na-iprefs.{c,h}.
1020         * nautilus-actions/common/na-iprefs.c:
1021         * nautilus-actions/common/na-iprefs.h:
1022         Merged into runtime/na-iprefs.{c,h}, thus deleted from common/.
1024         * nautilus-actions/runtime/na-gconf-keys.h: Removed file
1025         as duplicate from api/.
1027         * nautilus-actions/common/Makefile.am:
1028         * nautilus-actions/common/na-xml-writer.c:
1029         * nautilus-actions/nact/base-iprefs.c:
1030         * nautilus-actions/nact/nact-assistant-export-ask.c:
1031         * nautilus-actions/nact/nact-assistant-export.c:
1032         * nautilus-actions/nact/nact-assistant-import-ask.c:
1033         * nautilus-actions/nact/nact-assistant-import.c:
1034         * nautilus-actions/nact/nact-clipboard.c:
1035         * nautilus-actions/nact/nact-iactions-list.c:
1036         * nautilus-actions/nact/nact-ibackground-tab.c:
1037         * nautilus-actions/nact/nact-icommand-tab.c:
1038         * nautilus-actions/nact/nact-main-menubar.c:
1039         * nautilus-actions/nact/nact-main-window.c:
1040         * nautilus-actions/nact/nact-preferences-editor.c:
1041         * nautilus-actions/nact/nact-tree-model.c:
1042         * nautilus-actions/nact/nact-window.c:
1043         * nautilus-actions/nact/nact-xml-reader.c:
1044         * nautilus-actions/runtime/Makefile.am:
1045         * nautilus-actions/runtime/na-gconf-provider-keys.h:
1046         * nautilus-actions/runtime/na-iprefs.c:
1047         * nautilus-actions/runtime/na-iprefs.h:
1048         * nautilus-actions/utils/nautilus-actions-new.c:
1049         * nautilus-actions/utils/nautilus-actions-schemas.c:
1050         Updated accordingly.
1052         Merge common/na-object-* stuff into private/ subdirectory.
1054         * nautilus-actions/common/na-object-action-fn.h:
1055         * nautilus-actions/common/na-object-action.c:
1056         * nautilus-actions/common/na-object-api.h:
1057         * nautilus-actions/common/na-object-fn.h:
1058         * nautilus-actions/common/na-object-id-fn.h:
1059         * nautilus-actions/common/na-object-id.c:
1060         * nautilus-actions/common/na-object-item-fn.h:
1061         * nautilus-actions/common/na-object-item.c:
1062         * nautilus-actions/common/na-object-menu-fn.h:
1063         * nautilus-actions/common/na-object-menu.c:
1064         * nautilus-actions/common/na-object-profile-fn.h:
1065         * nautilus-actions/common/na-object-profile.c:
1066         * nautilus-actions/common/na-object.c:
1067         Merged into private/ directory, thus deleted from common/ one.
1069         * nautilus-actions/Makefile.am:
1070         * nautilus-actions/common/Makefile.am:
1071         * nautilus-actions/common/na-xml-writer.c:
1072         * nautilus-actions/nact/nact-assistant-export-ask.c:
1073         * nautilus-actions/nact/nact-assistant-export.c:
1074         * nautilus-actions/nact/nact-assistant-import-ask.c:
1075         * nautilus-actions/nact/nact-assistant-import.c:
1076         * nautilus-actions/nact/nact-clipboard.c:
1077         * nautilus-actions/nact/nact-iaction-tab.c:
1078         * nautilus-actions/nact/nact-iactions-list.c:
1079         * nautilus-actions/nact/nact-iadvanced-tab.c:
1080         * nautilus-actions/nact/nact-ibackground-tab.c:
1081         * nautilus-actions/nact/nact-icommand-tab.c:
1082         * nautilus-actions/nact/nact-iconditions-tab.c:
1083         * nautilus-actions/nact/nact-main-menubar.c:
1084         * nautilus-actions/nact/nact-main-menubar.h:
1085         * nautilus-actions/nact/nact-main-window.c:
1086         * nautilus-actions/nact/nact-tree-model.c:
1087         * nautilus-actions/nact/nact-window.c:
1088         * nautilus-actions/nact/nact-xml-reader.c:
1089         * nautilus-actions/private/Makefile.am:
1090         * nautilus-actions/private/na-object-action-fn.h:
1091         * nautilus-actions/private/na-object-action.c:
1092         * nautilus-actions/private/na-object-api.h:
1093         * nautilus-actions/private/na-object-fn.h:
1094         * nautilus-actions/private/na-object-id-fn.h:
1095         * nautilus-actions/private/na-object-id.c:
1096         * nautilus-actions/private/na-object-item-fn.h:
1097         * nautilus-actions/private/na-object-item.c:
1098         * nautilus-actions/private/na-object-profile-fn.h:
1099         * nautilus-actions/private/na-object-profile.c:
1100         * nautilus-actions/private/na-object.c:
1101         * nautilus-actions/utils/nautilus-actions-new.c:
1102         * po/POTFILES.in: Updated accordingly.
1104         * nautilus-actions/nact/nact-main-menubar.c:
1105         * nautilus-actions/nact/nact-main-menubar.h
1106         (nact_main_menubar_is_pasted_object_relabeled): New function
1107         to avoid moving also NAPivot class to private directory.
1109         Move runtime/na-object-* stuff to private/ subdirectory.
1111         * nautilus-actions/runtime/na-gnome-vfs-uri.c:
1112         * nautilus-actions/runtime/na-gnome-vfs-uri.h:
1113         * nautilus-actions/runtime/na-iduplicable.c:
1114         * nautilus-actions/runtime/na-iduplicable.h:
1115         * nautilus-actions/runtime/na-object-action-class.h:
1116         * nautilus-actions/runtime/na-object-action-fn.h:
1117         * nautilus-actions/runtime/na-object-action-priv.h:
1118         * nautilus-actions/runtime/na-object-action.c:
1119         * nautilus-actions/runtime/na-object-api.h:
1120         * nautilus-actions/runtime/na-object-class.h:
1121         * nautilus-actions/runtime/na-object-fn.h:
1122         * nautilus-actions/runtime/na-object-id-class.h:
1123         * nautilus-actions/runtime/na-object-id-fn.h:
1124         * nautilus-actions/runtime/na-object-id-priv.h:
1125         * nautilus-actions/runtime/na-object-id.c:
1126         * nautilus-actions/runtime/na-object-item-class.h:
1127         * nautilus-actions/runtime/na-object-item-fn.h:
1128         * nautilus-actions/runtime/na-object-item-priv.h:
1129         * nautilus-actions/runtime/na-object-item.c:
1130         * nautilus-actions/runtime/na-object-menu-class.h:
1131         * nautilus-actions/runtime/na-object-menu-fn.h:
1132         * nautilus-actions/runtime/na-object-menu-priv.h:
1133         * nautilus-actions/runtime/na-object-menu.c:
1134         * nautilus-actions/runtime/na-object-priv.h:
1135         * nautilus-actions/runtime/na-object-profile-class.h:
1136         * nautilus-actions/runtime/na-object-profile-fn.h:
1137         * nautilus-actions/runtime/na-object-profile-priv.h:
1138         * nautilus-actions/runtime/na-object-profile.c:
1139         * nautilus-actions/runtime/na-object.c: Moved to private/
1141         * nautilus-actions/api/na-iio-provider.h:
1142         * nautilus-actions/common/na-object-action-fn.h:
1143         * nautilus-actions/common/na-object-action.c:
1144         * nautilus-actions/common/na-object-api.h:
1145         * nautilus-actions/common/na-object-fn.h:
1146         * nautilus-actions/common/na-object-id-fn.h:
1147         * nautilus-actions/common/na-object-id.c:
1148         * nautilus-actions/common/na-object-item-fn.h:
1149         * nautilus-actions/common/na-object-item.c:
1150         * nautilus-actions/common/na-object-menu-fn.h:
1151         * nautilus-actions/common/na-object-menu.c:
1152         * nautilus-actions/common/na-object-profile-fn.h:
1153         * nautilus-actions/common/na-object-profile.c:
1154         * nautilus-actions/common/na-object.c:
1155         * nautilus-actions/common/na-xml-writer.h:
1156         * nautilus-actions/nact/Makefile.am:
1157         * nautilus-actions/nact/nact-application.c:
1158         * nautilus-actions/nact/nact-assistant-export-ask.h:
1159         * nautilus-actions/nact/nact-assistant-export.c:
1160         * nautilus-actions/nact/nact-assistant-import-ask.h:
1161         * nautilus-actions/nact/nact-iactions-list.c:
1162         * nautilus-actions/nact/nact-iactions-list.h:
1163         * nautilus-actions/nact/nact-main-window.h:
1164         * nautilus-actions/nact/nact-window.h:
1165         * nautilus-actions/nact/nact-xml-reader.h:
1166         * nautilus-actions/plugin/Makefile.am:
1167         * nautilus-actions/plugin/nautilus-actions.c:
1168         * nautilus-actions/private/Makefile.am:
1169         * nautilus-actions/runtime/Makefile.am:
1170         * nautilus-actions/runtime/na-gconf-provider.c:
1171         * nautilus-actions/runtime/na-io-provider.c:
1172         * nautilus-actions/runtime/na-pivot.c:
1173         * nautilus-actions/runtime/na-pivot.h:
1174         * nautilus-actions/test/Makefile.am:
1175         * nautilus-actions/test/test-parse-uris.c:
1176         * nautilus-actions/utils/Makefile.am:
1177         * po/POTFILES.in: Updated accordingly.
1179         Create private/ directory to host installed though private headers.
1181         * configure.ac:
1182         * nautilus-actions/Makefile.am: Updated accordingly.
1184         * m4/na-log-domains.m4:
1185         Define new log domains for API and private libraries.
1187         * nautilus-actions/private/Makefile.am:
1188         * nautilus-actions/private/README: New files.
1190 2009-11-17 Pierre Wieser <pwieser@trychlos.org>
1192         Move NAIIOProvider interface to api/.
1194         * nautilus-actions/api/na-api.h:
1195         * nautilus-actions/api/na-gconf-keys.h: Fix doc typo.
1197         * nautilus-actions/nact/nact-assistant-import.c:
1198         * nautilus-actions/nact/nact-main-window.c:
1199         * nautilus-actions/nact/nact-window.c:
1200         * nautilus-actions/nact/nact-window.h:
1201         * nautilus-actions/runtime/na-gconf-provider.c:
1202         * nautilus-actions/runtime/na-object-item-fn.h:
1203         * nautilus-actions/runtime/na-pivot.c:
1204         * nautilus-actions/runtime/na-pivot.h:
1205         * nautilus-actions/utils/nautilus-actions-new.c: Updated accordingly,
1206         modifying path to headers,
1207         fixing calls to NAIIOProvider interface.
1209         * nautilus-actions/runtime/na-module.c:
1210         * nautilus-actions/runtime/na-module.h: Fix typo.
1212         * nautilus-actions/api/Makefile.am:
1213         * nautilus-actions/common/Makefile.am:
1214         * nautilus-actions/nact/Makefile.am:
1215         * nautilus-actions/plugin/Makefile.am:
1216         * nautilus-actions/runtime/Makefile.am:
1217         * nautilus-actions/test/Makefile.am:
1218         * nautilus-actions/utils/Makefile.am: Updated accordingly,
1219         adding -I $(top_srcdir),
1220         adding -L$(top_builddir)/nautilus-actions/api -lna-api.
1222         Dynamically loads Nautilus-Actions extensions.
1224         * nautilus-actions/runtime/na-module.c:
1225         * nautilus-actions/runtime/na-module.h: New files.
1227         * nautilus-actions/runtime/na-pivot.c: Load modules.
1229         * nautilus-actions/runtime/Makefile.am: Updated accordingly.
1231         Make libna-runtime a dynamically loaded library.
1232         Initialize the API directory.
1234         * nautilus-actions/api: New directory.
1236         * nautilus-actions/common/Makefile.am:
1237         * nautilus-actions/nact/Makefile.am:
1238         * nautilus-actions/plugin/Makefile.am:
1239         * nautilus-actions/runtime/Makefile.am:
1240         * nautilus-actions/test/Makefile.am:
1241         * nautilus-actions/utils/Makefile.am: Updated accordingly.
1243         * po/POTFILES.in: Updated to reflect src/ directory renaming.
1245 2009-11-17 Pierre Wieser <pwieser@trychlos.org>
1247         Rename all src/ tree to nautilus-actions/.
1249         This will make easier to have an API installed on a host system,
1250         all headers being included with #include <nautilus-actions/header.h>.
1252 2009-10-28 Pierre Wieser <pwieser@trychlos.org>
1254         * src/common/na-object-api.h (na_object_reset_status):
1255         New function.
1257         * src/common/na-object-fn.h:
1258         * src/common/na-object.c (na_object_object_reset_status):
1259         New function.
1261         * src/nact/base-window.c:
1262         * src/nact/base-window.h (base_window_get_parent): New function.
1264         * src/nact/nact-assistant-export.c
1265         (instance_dispose): Clear the tree model.
1266         (assist_initial_load_actions_list): Export current actions list.
1268         * src/nact/nact-iactions-list.c (display_label):
1269         Only display status in edition mode.
1271         * src/nact/nact-tree-model.c (fill_tree_store):
1272         Clean up the code to avoid memory leaks.
1274         * src/runtime/na-iduplicable.c:
1275         * src/runtime/na-iduplicable.h (na_iduplicable_reset_status):
1276         New function.
1278         * src/common/na-object-api.h
1279         (na_object_get_position, na_object_insert_at): New functions.
1281         * src/common/na-object-item-fn.h:
1282         * src/common/na-object-item.c
1283         (na_object_item_get_position, na_object_item_insert_at):
1284         New functions.
1286         * src/nact/nact-main-menubar.c (save_item):
1287         Insert the new origin at the same position that the previous one.
1289         * src/nact/nautilus-actions-config-tool.ui:
1290         Add a label in front of the internal item id.
1292         * src/runtime/na-iduplicable.c (na_iduplicable_duplicate):
1293         Duplicated object inherits same attributes that the original.
1295         * src/nact/nact-iactions-list.c (do_insert_items):
1296         Take a copy before reverting the list, and free the copy at end.
1298         * src/common/na-object-item.c (na_object_item_count_items):
1299         Recurse into subitems before counting the current level.
1301         * src/common/na-xml-writer.c:
1302         * src/common/na-xml-writer.h:
1303         (na_xml_writer_export): Returns a NULL filename if errors.
1304         (na_xml_writer_output_xml): Returns error messages.
1306         * src/nact/nact-clipboard.c
1307         (export_row_object): Updated accordingly.
1309         * src/utils/nautilus-actions-new.c:
1310         Specify that the output directory must be specified as an URI.
1312         * src/common/na-utils.c:
1313         * src/common/na-utils.h:
1314         * src/utils/console-utils.c:
1315         * src/utils/console-utils.h:
1316         Move na_utils_print_version() to console_print_version().
1318         * src/utils/nautilus-actions-new.c:
1319         * src/utils/nautilus-actions-schemas.c: Updated accordingly.
1321         * src/utils/console-utils.c:
1322         * src/utils/console-utils.h: New files.
1324         * src/utils/Makefile.am: Updated accordingly.
1326         * src/utils/nautilus-actions-new.c:
1327         * src/utils/nautilus-actions-schemas.c: Initialize log handler
1328         to not emit debug messages when not in maintainer mode.
1330 2009-10-27 Pierre Wieser <pwieser@trychlos.org>
1332         * src/nact/nact-main-window.c (class_init):
1333         Make use of actual marshaller with two arguments.
1335         * src/nact/nact-iaction-tab.c
1336         (nact_iaction_tab_runtime_init_toplevel):
1337         * src/nact/nact-icommand-tab.c
1338         (nact_icommand_tab_runtime_init_toplevel):
1339         * src/nact/nact-iconditions-tab.c
1340         (nact_iconditions_tab_runtime_init_toplevel):
1341         Replace g_signal_connect with base_window_signal_connect.
1343         * data/nautilus-actions.schemas.in:
1344         * src/common/na-iprefs.h:
1345         Define two new preferences: quit_on_esc, confirm_when_quit_on_esc.
1347         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1348         * src/nact/nact-assistant-import.c (on_initial_load_dialog):
1349         Read the user preferences from GConf.
1351         * src/nact/nact-preferences-editor.c:
1352         Edit the two new user preferences.
1354         * src/nact/nautilus-actions-config-tool.ui:
1355         Add a frame to edit the two new user preferences.
1357         * src/nact/nautilus-actions-config-tool.ui:
1358         Remove separator from Preferences dialog.
1359         Add plural mark to a label in Runtime tab.
1360         Fix a typo in Import tab.
1362         * src/utils/nautilus-actions-new.c:
1363         Add new action data as arguments (target-selection, target-folders,
1364         target-toolbar, toolbar-label, folders).
1366         * src/common/na-utils.c:
1367         * src/common/na-utils.c (na_utils_print_version):
1368         New function.
1370         * src/utils/nautilus-actions-new.c:
1371         * src/utils/nautilus-actions-schemas.c:
1372         Make use of na_utils_print_version() new function.
1374         * src/runtime/na-iabout.c:
1375         * src/runtime/na-iabout.h (na_iabout_get_copyright):
1376         New function.
1378         * src/utils/nautilus-actions-new.c:
1379         Add --version command-line argument.
1381         * src/nact/nact-ibackground-tab.c (insert_new_row):
1382         Optimizes because the list is sorted on uris.
1384         * src/nact/nact-iadvanced-tab.c:
1385         Implements F2, Insert and Del keyboard accelerators.
1387 2009-10-26 Pierre Wieser <pwieser@trychlos.org>
1389         * src/common/na-object-profile-fn.h:
1390         * src/common/na-object-profile.c:
1391         * src/runtime/na-object-profile-fn.h:
1392         * src/runtime/na-object-profile.c:
1393         na_object_profile_replace_folder_uri moved from runtime to common
1394         library.
1396         * src/nact/nact-ibackground-tab.c:
1397         Implements F2, Insert and Del keyboard accelerators.
1399         * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
1400         * src/nact/nact-ibackground-tab.c
1401         (nact_ibackground_tab_runtime_init_toplevel):
1402         Replace g_signal_connect with base_window_signal_connect to
1403         better handle signal deconnections.
1405         * src/nact/nact-ibackground-tab.c (treeview_cell_edited):
1406         Only setup previous text if a non null pointer is provided.
1408         * src/nact/nact-iaction-tab.c (set_label_label):
1409         * src/nact/nact-icommand-tab.c (set_label_label):
1410         Only set color foreground for the normal state.
1412         * src/nact/nact-main-tab.c:
1413         * src/nact/nact-main-tab.h (nact_main_tab_is_page_enabled):
1414         New function.
1416         * src/nact/nautilus-actions-config-tool.ui:
1417         Add mnemonics to target radio button labels.
1419         * src/nact/nact-clipboard.c (get_from_primary_clipboard_callback):
1420         Provides text content.
1422         * src/nact/nact-main-menubar.c
1423         (on_paste_activated, on_paste_into_activated):
1424         Only inserts if items provided by clipboard are not null.
1426         * src/nact/nact-iaction-tab.c (on_toolbar_label_changed):
1427         Only setup the label when current item is an action.
1429         * src/nact/nact-ibackground-tab.c (setup_folders):
1430         Only tries to setup folders when there is a current profile.
1432         * src/nact/nact-iadvanced-tab.c (release_schemes_list):
1433         Clear the list store on dialog dispose.
1435         * src/nact/nact-iaction-tab.c
1436         (nact_iaction_tab_initial_load_toplevel):
1437         Unref model after having initialized the combobox listview.
1438         (release_icon_combobox): Clear the list store in dialog dispose.
1440         * src/nact/nact-icommand-tab.c:
1441         * src/nact/nact-icommand-tab.h (nact_icommand_tab_has_label):
1442         Remove unused function.
1444         * configure.ac: Bump version number to 2.29.2.
1446 2009-10-25 Pierre Wieser <pwieser@trychlos.org>
1448         * NEWS: Updated.
1450         * po/POTFILES.in: Update list of translatable files.
1452         * src/runtime/na-iabout.c (na_iabout_display):
1453         Do not mark authors names and emails for translating (#599520).
1455         * src/runtime/na-object-profile.c (is_current_folder_inside):
1456         Actually checks if current folder is inside one of specified folders.
1458         * src/nact/nact-iactions-list.c
1459         (nact_iactions_list_dispose): free list of modified items.
1460         (nact_iactions_list_fill): reset level_zero_order_changed flag.
1462         * src/nact/nact-main-menubar.c (on_level_zero_order_changed):
1463         The message now brings up the flag to be set.
1465         * src/nact/nact-tree-model.c (drop_inside):
1466         Set the level_zero_order_changed flag to TRUE.
1468         * src/nact/nact-preferences-editor.c
1469         (on_base_runtime_init_dialog, save_preferences):
1470         Let the user edit its preferred export format.
1472         * src/nact/nautilus-actions-config-tool.ui:
1473         Add Export tab to Preferences dialog.
1475 2009-10-23 Pierre Wieser <pwieser@trychlos.org>
1477         Populates Nautilus background menus and Nautilus toolbar.
1478         Defines required new properties:
1479         - target_selection: whether the action is candidate to selection menus
1480         - target_background: whether the action is candidate to background menus
1481         - target_toolbar: whether the action is candidate to toolbar display
1482         - short_label: the toolbar label
1483         - use_same_label: whether the toolbar label is the same that those of the
1484         action.
1486         * data/nautilus-actions.schemas.in:
1487         * src/common/na-xml-names.h:
1488         Define the new keys.
1489         Make sure key descriptions are equal to those in nact-xml-names.h.
1491         * src/common/na-xml-writer.c
1492         (create_xml_schema, create_xml_dump): Export the new keys.
1493         (create_gconf_schema): Export the new schemas.
1495         * src/nact/nact-ibackground-tab.c:
1496         * src/nact/nact-ibackground-tab.h:
1497         * src/nact/nact-main-tab.c: New files
1499         * src/nact/Makefile.am: Updated accordingly.
1501         * src/nact/nact-assistant-export.c
1502         (assistant_apply): Exported action is actually the original one,
1503         not those displayed in assistant because it has no profiles.
1505         * src/nact/nact-iaction-tab.c:
1506         Define three new toggle buttons for the three target properties.
1508         * src/nact/nact-iadvanced-tab.c:
1509         * src/nact/nact-icommand-tab.c:
1510         * src/nact/nact-iconditions-tab.c:
1511         Set sensitivity depending on current selection.
1513         * src/nact/nact-main-window.c:
1514         Define new "enable-tab" signal.
1515         Implements new NactIBackgroundTab interface.
1517         * src/nact/nact-xml-reader.c
1518         (apply_values): Import the new keys.
1519         No more assert on not processed entry.
1521         * src/nact/nautilus-actions-config-tool.ui:
1522         Define three new toggle buttons to select the available targets.
1523         Define new Background notebook tab.
1524         Define Toolbar frame.
1526         * src/plugin/nautilus-actions.c:
1527         Implements the two other nautilus API get_background_items and
1528         get_toolbar_items, both on current_folder.
1530         * src/runtime/na-gconf-provider-keys.h:
1531         * src/runtime/na-gconf-provider.c:
1532         Read/write the new keys from/to IO Provider.
1534         * src/runtime/na-object-api.h:
1535         * src/runtime/na-object-item-priv.h:
1536         * src/runtime/na-object-item.c:
1537         * src/runtime/na-object-item-fn.h:
1538         * src/runtime/na-object-action-priv.h:
1539         * src/runtime/na-object-action.c:
1540         * src/runtime/na-object-action-fn.h:
1541         Implements the new properties.
1543 2009-10-20 Pierre Wieser <pwieser@trychlos.org>
1545         Enable edition actions when the popup menu is open.
1546         Do not apply edition actions on ActionsList when the focus is
1547         in a tab.
1549         * src/nact/nact-iactions-list.c:
1550         * src/nact/nact-iactions-list.h (nact_iactions_list_has_focus):
1551         New function.
1553         * src/nact/nact-main-menubar.c
1554         (on_cut_activated, on_copy_activated, on_paste_activated,
1555         on_delete_activated): Track the presence of a popup menu.
1557         Enhance validity conditions of a profile.
1559         * src/common/na-utils.c
1560         (na_utils_string_list_to_text): default value is NULL.
1562         * src/runtime/na-gconf-provider.c (read_item_action_profile_properties):
1563         No more check just path and parameters.
1565         * src/runtime/na-object-profile.c (object_is_valid):
1566         Check for command, basenames, mimetypes and schemes.
1568         * src/runtime/na-utils.c:
1569         * src/runtime/na-utils.h (na_utils_get_first_word): New function.
1571         * src/common/na-object-item.c (na_object_item_get_pixbuf):
1572         Update comment.
1574         * src/nact/nact-iaction-tab.c (on_icon_browse):
1575         Fix widget name.
1577 2009-10-19 Pierre Wieser <pwieser@trychlos.org>
1579         * src/nact/nautilus-actions-config-tool.actions:
1580         * src/nact/nautilus-actions-maintainer.actions:
1581         Add toolbar items in View menu.
1583         * src/nact/nact-assistant-import.c
1584         (assistant_apply): Also checks the existancy against already imported.
1585         (prepare_importdone): Actually states that the import was successfull.
1587         * src/nact/nact-tree-model.c
1588         (drop_uri_list): Also checks the existancy against already imported.
1590         * src/nact/nact-xml-reader.c:
1591         * src/nact/nact-xml-reader.h (nact_xml_reader_import):
1592         Also checks the existancy against already imported.
1594         * src/common/na-utils.c (na_utils_prefix_strings):
1595         Fix concatenation of prefixed strings.
1597         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1598         Do not resize the window with unset default width and height.
1600         * src/nact/nact-xml-reader.c (add_message):
1601         Consider messages embedding XML markup.
1603         * src/common/na-object-id.c (na_object_id_prepare_for_paste):
1604         Recursively manage menu subitems.
1606         * src/nact/nact-main-menubar.c:
1607         * src/nact/nautilus-actions-maintainer.actions:
1608         Add a 'Dump selection' item in maintainer menu.
1610         * src/nact/nact-main-menubar.c (on_duplicate_activated):
1611         Check duplicate status after having reinitialized the origin object.
1613 2009-10-18 Pierre Wieser <pwieser@trychlos.org>
1615         Open a popup on right click on the treeview.
1617         * src/nact/nact-iactions-list.c
1618         (on_button_press_event): Manage right mouse click.
1619         (open_popup): New function.
1620         (on_key_pressed_event): Only manage acclerators when treeview has the
1621         focus.
1623         * src/nact/nact-main-menubar.c:
1624         * src/nact/nact-main-menubar.h (nact_main_menubar_open_popup):
1625         New function.
1627         * src/nact/nautilus-actions-config-tool.actions:
1628         Define the contextual popup menu.
1630 2009-10-17 Pierre Wieser <pwieser@trychlos.org>
1632         * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
1633         Display the count of items in the statusbar.
1635         * src/nact/nact-iactions-list.c
1636         (collapse_to_parent, expand_to_first_child):
1637         Make left and right arrows accelerators to collapse/expand trees.
1639         * src/nact/nact-iactions-list.c (inline_edition):
1640         Make F2 an accelerator to inline edit the label.
1642         Creation of a root menu in the Nautilus context menu is now a
1643         user preference.
1645         * data/nautilus-actions.schemas.in: Define a schema for the preference.
1647         * src/nact/nact-preferences-editor.c: Edit the preference.
1649         * src/nact/nautilus-actions-config-tool.ui: Define a new checkbox.
1651         * src/plugin/nautilus-actions.c:
1652         Create a root menu only if users has asked for.
1654         * src/runtime/na-ipivot-consumer.c:
1655         * src/runtime/na-ipivot-consumer.h:
1656         Define new virtual which handle the monitoring of the preference.
1658         * src/runtime/na-iprefs.c:
1659         * src/runtime/na-iprefs.h:
1660         Read/write the preference in GConf.
1662         * src/nact/nact-main-window.c (setup_dialog_title):
1663         Restore function which had disappeared since v 1.12.
1665         * src/nact/nact-iactions-list.c
1666         (nact_iactions_list_initial_load_toplevel):
1667         Cells are only editable in edition mode.
1669         * src/common/na-xml-writer.c:
1670         * src/common/na-xml-writer.h (na_xml_writer_export):
1671         Now returns messages as a GSList.
1673         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
1674         Enhance sumary page.
1676         * src/common/na-utils.c:
1677         * src/common/na-utils.h (na_utils_prefix_strings): New function.
1679         * src/nact/nact-assistant-import.c (prepare_importdone):
1680         Enhance the summary page.
1682         * src/nact/nact-xml-reader.c:
1683         Actually relabel action if required.
1684         Return all messages.
1686         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
1687         * src/nact/nact-assistant-import.c (prepare_importdone):
1688         At end, quit the assistant on Cancel without warning.
1690         * src/nact/base-window.c (setup_builder):
1691         A window may have its own builder, or its own UI XML definition file,
1692         or both.
1694         * src/nact/nact-assistant-export-ask.c
1695         (nact_assistant_export_ask_user): The dialog uses the common builder.
1697         Make clipboard have an access to preferences.
1698         Let the user be asked for the export format in drag and drop operations.
1700         * src/nact/nact-clipboard.c:
1701         * src/nact/nact-clipboard.h (nact_clipboard_new):
1702         Now pass the BaseWindow as an argument.
1704         * src/nact/nact-clipboard.c
1705         (nact_clipboard_dnd_get_text, nact_clipboard_dnd_drag_end):
1706         Ask the user if needed.
1708         * src/nact/nact-main-window.c:
1709         * src/nact/nact-tree-model.c: Updated accordingly.
1711 2009-10-16 Pierre Wieser <pwieser@trychlos.org>
1713         Let the user be asked when exporting actions.
1715         * src/nact/base-window.c (instance_dispose):
1716         Fix hiding widgets when toplevel has not been initialized.
1717         (base_window_run): Now returns a boolean.
1719         * src/nact/nact-assistant-export-ask.c:
1720         * src/nact/nact-assistant-export-ask.h: New files.
1722         * src/nact/Makefile.am:
1723         * src/nact/nact-assistant-export.ui: Updated accordingly.
1725         * src/nact/nact-assistant-export.c:
1726         Ask the user if needed.
1727         Reread the current export format for each action.
1729         Record last export format as a preference.
1731         * src/common/na-iprefs.c:
1732         * src/common/na-iprefs.h
1733         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1734         New functions.
1736         * src/common/na-xml-names.h:
1737         Move export format constantes to src/common/na-iprefs.h.
1739         * src/common/na-xml-writer.c:
1740         * src/nact/nact-assistant-export.c:
1741         * src/nact/nact-assistant-export.ui:
1742         * src/nact/nact-assistant-import.c:
1743         * src/nact/nact-clipboard.c:
1744         * src/utils/nautilus-actions-new.c:
1745         * src/utils/nautilus-actions-schemas.c:
1746         Updated accordingly.
1748         * src/nact/nact-iactions-list.c (nact_iactions_list_fill):
1749         Only count items in edition mode.
1751         * src/nact/nact-tree-model.c
1752         (nact_tree_model_fill): Only check status in edition mode.
1753         (fill_tree_store): Add a ref when the action is embedded in a menu.
1755         * src/runtime/na-object-item.c (object_ref): Fix comment.
1757 2009-10-15 Pierre Wieser <pwieser@trychlos.org>
1759         * src/runtime/na-object-item.c (object_are_equal):
1760         Remove debug trace.
1762         * configure.ac:
1763         * src/runtime/na-object-action-fn.h:
1764         NAUTILUS_ACTIONS_CONFIG_VERSION from configure.ac to
1765         na-object-action-fn.h as this is not a configuration information.
1767         New 'Ask user' import mode.
1769         * data/nautilus-actions.schemas.in:
1770         Define new 'import-ask-user' preference schema.
1771         Define new 'import-ask-user-last-mode' preference schema.
1772         Add 'Ask user' new value for 'import-mode' preference.
1773         Fix type and default value of 'import-mode'.
1775         * po/POTFILES.in:
1776         * src/nact/Makefile.am:
1777         Add 'src/nact/nact-assistant-import-ask.c' new file.
1779         * src/common/na-iprefs.c:
1780         * src/common/na-iprefs.h:
1781         * src/nact/nact-assistant-import.c:
1782         * src/nact/nact-preferences-editor.c:
1783         Define IPREFS_IMPORT_ASK new import mode.
1784         na_iprefs_get_import_mode, na_iprefs_set_import_mode now take
1785         the preference name as an argument.
1786         Define IPREFS_IMPORT_ASK_LAST_MODE new preference.
1787         Check status of imported actions.
1789         * src/nact/nact-main-window.c
1790         (nact_main_window_action_exists): Renamed as
1791         nact_main_window_get_item.
1793         * src/nact/nautilus-actions-config-tool.ui:
1794         * src/nact/nact-assistant-import-ask.c:
1795         * src/nact/nact-assistant-import-ask.h:
1796         New AssistantImportAsk dialog box.
1797         Keep the last users's choice to prevent ask too many times.
1799         * src/nact/nact-xml-reader.c (manager_import_mode):
1800         Now may ask the user to know what to do.
1802         * src/nact/nact-xml-reader.h:
1803         No more redefine import modes here !
1805 2009-10-14 Pierre Wieser <pwieser@trychlos.org>
1807         * configure.ac:
1808         Bump version number to 2.29.1 due to branch for 2.28.
1810         * src/nact/nact-iactions-list.c:
1811         Maintains a list of modified items, cleared when saving.
1812         Define a new "status-changed" signal.
1814         * src/nact/nact-main-menubar.c:
1815         Update action sensitivities when a status is changed.
1817         * src/nact/nact-tree-model.c (drop_inside_adjust_dest):
1818         Also used to validate when dropping an uri.
1819         (drop_uri_list): Check status of imported actions.
1820         (drop_inside_move_dest): Fix when moving a subitem down.
1821         (drop_inside): Delete the moved item before preparing to paste.
1823         * src/plugin/nautilus-actions.c (instance_init):
1824         Check status of loaded items.
1826         * src/runtime/na-gconf-provider.c:
1827         Manage unknown types.
1829         * src/runtime/na-iio-provider.c (na_iio_provider_get_items_tree):
1830         No more check here status of loaded items.
1832         * src/runtime/na-pivot.c:
1833         * src/runtime/na-pivot.h (na_pivot_check_status): New function.
1835 2009-10-13 Pierre Wieser <pwieser@trychlos.org>
1837         * src/runtime/na-iduplicable.c:
1838         * src/runtime/na-iduplicable.h: Only define one signal which is
1839         sent when one of the status has changed.
1841         * src/common/na-object-api.h (na_object_get_topmost_parent):
1842         Removed alias.
1844         * src/nact/nact-iaction-tab.c:
1845         * src/nact/nact-iadvanced-tab.c:
1846         * src/nact/nact-icommand-tab.c:
1847         * src/nact/nact-iconditions-tab.c:
1848         Force re-display of the item if modified column is displayed in
1849         the treeview.
1851         * src/nact/nact-iactions-list.c (on_tab_updatable_item_updated):
1852         Force re-display of the item if asked for and status not modified.
1854         * src/common/na-object-api.h:
1855         * src/common/na-object-id-fn.h:
1856         * src/common/na-object-id.c (na_object_check_status_up):
1857         New function.
1859         * src/nact/nact-tree-model.c (nact_tree_model_remove):
1860         Simplifies the code by only checking the status of the parent.
1862         * src/nact/nact-iactions-list.c:
1863         * src/nact/nact-main-menubar.c:
1864         * src/nact/nact-tree-model.c:
1865         * src/runtime/na-iduplicable.c:
1866         * src/runtime/na-iduplicable.h:
1867         * src/runtime/na-iio-provider.c:
1868         * src/runtime/na-object-api.h:
1869         * src/runtime/na-object-fn.h:
1870         * src/runtime/na-object-item.c:
1871         * src/runtime/na-object.c:
1872         Renamed na_object_check_edition_status() to na_object_check_status().
1874         * src/common/na-object-api.h (na_object_get_topmost_parent):
1875         New function.
1877         * src/common/na-object-id-fn.h:
1878         * src/common/na-object-id.c (na_object_id_get_topmost_parent):
1879         New function.
1881         * src/nact/nact-iactions-list.c (on_tab_updatable_item_updated):
1882         Recursively update the display of parents of the updated item.
1883         (do_insert_items): Insert childs into the actual insertion path.
1885         * src/nact/nact-main-menubar.c (on_update_sensitivities):
1886         Only enable new menu and new action when on an action or a menu.
1887         Reorganize code.
1888         (on_save_activated): only check status of toplevel items.
1890         * src/nact/nact-main-tab.h:
1891         * src/nact/nact-main-window.c: New SELECTED_ROW property.
1892         (on_base_runtime_init_toplevel): Setup the order mode at init time.
1894         * src/nact/nact-tree-model.c (sort_actions_list):
1895         Do not sort profiles.
1896         (nact_tree_model_insert): Returns the actual insertion path.
1898         * src/runtime/na-gconf-provider-keys.h:
1899         OBJECT_ITEM_TYPE_ENTRY: new key which defines the type of the entry.
1900         MENU_ITEMS_ENTRY: renamed to OBJECT_ITEM_LIST_ENTRY.
1902         * src/runtime/na-gconf-provider.c (read_item):
1903         Only use the item's type to distinguish between action and menu.
1904         (read_object_item_properties, write_object_item): actions and
1905         menus may have ordered subitems
1906         (write_item_action, write_item_menu): Write the item's type.
1907         (read_item_action): Keep the order of profiles.
1909         * src/runtime/na-iio-provider.c (build_hierarchy):
1910         Use na_object_item_get_items_string_list.
1911         (sort_tree): Do not sort profiles.
1913         * src/runtime/na-object-item-fn.h:
1914         * src/runtime/na-object-item-priv.h:
1915         * src/runtime/na-object-item.c:
1916         List of string id of subitems is moved from NAObjectMenu.
1918         * src/runtime/na-object-menu-fn.h:
1919         * src/runtime/na-object-menu-priv.h:
1920         * src/runtime/na-object-menu.c:
1921         List of string id of subitems is moved to NAObjectItem.
1923         * src/runtime/na-utils.c:
1924         * src/runtime/na-utils.h (na_utils_remove_from_string_list):
1925         New function.
1927 2009-10-12 Pierre Wieser <pwieser@trychlos.org>
1929         * src/common/na-object-api.h
1930         (na_object_check_edition_status, na_object_is_valid):
1931         Moved to src/runtime/na-object-api.h.
1933         * src/common/na-object-fn.h:
1934         * src/common/na-object.c
1935         (na_object_iduplicable_check_edition_status,
1936         na_object_iduplicable_is_valid): 
1937         Moved to src/runtime/na-object-fn.h, src/runtime/na-object.c.
1939         * src/nact/nact-tree-model.c (drop_inside):
1940         Adjust the dest when moving items down.
1942         * src/plugin/nautilus-actions.c (build_nautilus_menus):
1943         Only display valid items.
1945         * src/runtime/na-iio-provider.c (na_iio_provider_get_items_tree):
1946         Check validity status at load time.
1948         * src/runtime/na-object-api.h
1949         (na_object_check_edition_status, na_object_is_valid):
1950         Moved from src/common/na-object-api.h.
1952         * src/runtime/na-object-fn.h:
1953         * src/runtime/na-object.c
1954         (na_object_iduplicable_check_edition_status,
1955         na_object_iduplicable_is_valid):
1956         Moved from  src/common/na-object-fn.h, src/common/na-object.c.
1958         * src/runtime/na-object-menu.c (object_is_valid):
1959         A valid menu has at least one valid subitem.
1961 2009-10-11 Pierre Wieser <pwieser@trychlos.org>
1963         * src/nact/nact-iactions-list.c (do_insert_into_first):
1964         Recursively insert subitems.
1966         * src/nact/nact-main-menubar.c (on_level_zero_order_changed):
1967         Connect to new signal to enable save action.
1969         * src/nact/nact-main-window.c:
1970         * src/nact/nact-main-window.h:
1971         Define new signal "main-window-level-zero-order-changed".
1973         * src/nact/nact-tree-model.c (idrag_dest_drag_data_received):
1974         Fix drag and drop when reordering items.
1976 2009-10-09 Pierre Wieser <pwieser@trychlos.org>
1978         * src/nact/nact-iactions-list.c (do_insert_into_first):
1979         Fix multi-childs insertion.
1980         Remove useless do_insert_into_second() function.
1982         * src/nact-main.c (main):
1983         Only display traces from runtime library when in maintainer mode.
1985         * src/nact/nact-iactions-list.c:
1986         * src/nact/nact-iactions-list.h (nact_iactions_list_brief_tree_dump):
1987         Briefly dump the tree store content.
1988         (nact_iactions_list_runtime_init_toplevel): Grab the focus at start.
1989         (on_focus_in, on_focus_out): Track the focus in the treeview.
1990         Let the label be edited in place.
1992         * src/nact/nact-iaction-tab.c (on_iactions_list_column_edited):
1993         * src/nact/nact-icommand-tab.c (on_iactions_list_column_edited):
1994         New functions.
1996         * src/nact/nact-main-menubar.c (nact_main_menubar_runtime_init):
1997         Display a Maintainer menu when in maintainer mode.
1998         Add BriefTreeStoreDumpItem new item.
1999         Display a first toolbar.
2000         (on_save_activated): Also save non-valid items.
2001         (on_update_sensitivities): Disable edit actions when the focus is
2002         not in the treeview.
2004         * src/nact/nact-main-statusbar.c
2005         (nact_main_statusbar_display_with_timeout):
2006         Actually put a timeout to pop the status message.
2008         * src/nact/nact-tree-model.c (nact_tree_model_insert):
2009         Add debug traces.
2010         (nact_tree_model_fill): Check validity status at load time.
2012         * src/nact/nact-window.c (nact_window_save_item):
2013         Full dump of the saved item.
2015         * src/nact/nautilus-actions-config-tool.actions:
2016         Define a placeholder for the Maintainer menu.
2017         Define a first toolbar.
2019         * src/nact/nautilus-actions-config-tool.ui:
2020         Replace the GtkToolbar with a VBox placeholder.
2022         * src/nact/nautilus-actions-maintainer.actions: New file.
2024         * src/nact/Makefile.am: Updated accordingly.
2026         * src/runtime/na-gconf-provider.c (read_item_action_profile_properties):
2027         Load all found items, emitting a warning when non valid.
2029         * src/runtime/na-object-action.c (object_is_valid):
2030         An action is valid if it has at least one valid profile.
2032         * src/runtime/na-object-profile.c (object_is_valid):
2033         A profile requires rather a command to be valid that a label.
2035 2009-10-08 Pierre Wieser <pwieser@trychlos.org>
2037         * src/common/na-object-api.h (na_object_remove_item):
2038         Moved to runtime library.
2040         * src/common/na-object-item-fn.h:
2041         * src/common/na-object-item.c (na_object_item_remove_item):
2042         Moved to runtime library.
2044         * src/nact/nact-iactions-list.c (do_insert_items):
2045         Marks the item itself as modified if it has no parent.
2047         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2048         Enable Paste a profile if an action is selected.
2049         Always disable Paste into a profile.
2051         * src/nact/nact-main-window.c (actually_delete_item):
2052         Delete childs before removing from pivot.
2053         (nact_tree_model_insert, nact_tree_model_insert_into):
2054         Set parent on newly inserted child.
2056         * src/nact/nact-tree-model.c (fill_tree_store):
2057         Rewrite duplication code to get reference counts equal to 1 in the store.
2058         Install parent pointer in childs.
2060         * src/runtime/na-object-api.h (na_object_remove_item):
2061         Moved from common library.
2063         * src/runtime/na-object-id.c (instance_dispose):
2064         Remove itself from parent if any.
2066         * src/runtime/na-object-item-fn.h:
2067         * src/runtime/na-object-item.c (na_object_item_remove_item):
2068         Moved from common library.
2070         * src/runtime/na-object.c:
2071         Remove useless debug traces.
2073         Items loaded from an IO provider but not recorded in the hierarchical
2074         tree are yet displayed, at the end of the tree.
2076         * src/nact/nact-window.c:
2077         * src/nact/nact-window.h:
2078         * src/runtime/na-pivot.c:
2079         * src/runtime/na-pivot.h:
2080         * src/nact/nact-main-menubar.c:
2081         nact_window_write_level_zero renamed as na_pivot_write_level_zero.
2083         * src/runtime/na-iio-provider.c (na_iio_provider_get_items_tree):
2084         Merge left items in the hierarchy, and update the level-zero list.
2086         * src/runtime/na-gconf-provider.c:
2087         * src/runtime/na-object-menu-fn.h:
2088         * src/runtime/na-object-menu.c:
2089         na_object_menu_set_items_list renamed as
2090         na_object_menu_set_items_string_list.
2092         na_object_free_items: Renamed to na_object_free_items_list.
2094         * src/nact/nact-assistant-export.c:
2095         * src/nact/nact-assistant-import.c:
2096         * src/nact/nact-iactions-list.c:
2097         * src/nact/nact-main-menubar.c:
2098         * src/nact/nact-main-window.c:
2099         * src/runtime/na-iio-provider.c:
2100         * src/runtime/na-object-api.h:
2101         * src/runtime/na-object-class.h:
2102         * src/runtime/na-object-fn.h:
2103         * src/runtime/na-object-item-fn.h:
2104         * src/runtime/na-object-item.c:
2105         * src/runtime/na-object.c:
2106         * src/runtime/na-pivot.c: Updated accordingly.
2108         na_object_get_items: Renamed to na_object_get_items_list,
2109         Now returns the list itself instead of a refed new list.
2111         na_object_set_items: Renamed to na_object_set_items_list.
2112         Now install the provided GList pointer instead of copying the list.
2114         * src/common/na-object-api.h:
2115         * src/common/na-object.c:
2116         * src/common/na-xml-writer.c:
2117         * src/nact/nact-iactions-list.c:
2118         * src/nact/nact-main-menubar.c:
2119         * src/nact/nact-main-window.c:
2120         * src/nact/nact-tree-model.c:
2121         * src/plugin/nautilus-actions.c:
2122         * src/runtime/na-gconf-provider.c:
2123         * src/runtime/na-iio-provider.c:
2124         * src/runtime/na-object-action.c:
2125         * src/runtime/na-object-api.h:
2126         * src/runtime/na-object-class.h:
2127         * src/runtime/na-object-fn.h:
2128         * src/runtime/na-object-item-fn.h:
2129         * src/runtime/na-object-item.c:
2130         * src/runtime/na-object-menu.c:
2131         * src/runtime/na-object.c:
2132         * src/runtime/na-pivot.c:
2133         * src/utils/nautilus-actions-new.c: Updated accordingly.
2135         Move parent pointer from NAObjectProfile to NAObjectId class.
2137         * src/common/na-object-action-fn.h:
2138         * src/common/na-object-action.c:
2139         * src/common/na-object-id-fn.h:
2140         * src/common/na-object-id.c:
2141         * src/nact/nact-clipboard.c:
2142         * src/nact/nact-iactions-list.c:
2143         * src/nact/nact-main-menubar.c:
2144         * src/nact/nact-main-window.c:
2145         * src/nact/nact-tree-model.c:
2146         * src/plugin/nautilus-actions.c:
2147         * src/runtime/na-object-action-fn.h:
2148         * src/runtime/na-object-action-priv.h:
2149         * src/runtime/na-object-action.c:
2150         * src/runtime/na-object-api.h:
2151         * src/runtime/na-object-id-class.h:
2152         * src/runtime/na-object-id-fn.h:
2153         * src/runtime/na-object-id-priv.h:
2154         * src/runtime/na-object-id.c:
2155         * src/runtime/na-object-item.c:
2156         * src/runtime/na-object-profile-fn.h:
2157         * src/runtime/na-object-profile-priv.h:
2158         * src/runtime/na-object-profile.c:
2159         * src/runtime/na-object.c:
2160         * src/runtime/na-pivot.c: Updated accordingly.
2162 2009-10-05 Pierre Wieser <pwieser@trychlos.org>
2164         Restaure and fix 'Copy of' relabeling of pasted items.
2166         * src/common/na-object-api.h:
2167         * src/common/na-object-id-fn.h:
2168         * src/common/na-object-id.c
2169         (na_object_set_for_copy, na_object_id_set_for_copy):
2170         Removed functions.
2171         (na_object_prepare_for_paste, na_object_id_prepare_for_paste,
2172         na_object_id_set_copy_of_label):
2173         New functions.
2175         * src/nact/base-window.c:
2176         * src/nact/base-window.h:
2177         Signal connection functions now return the handler_id.
2179         * src/nact/nact-clipboard.c:
2180         * /src/nact/nact-clipboard.h:
2181         Keep the initial copy mode in the clipboard.
2182         Remove the relabeling operations from the clipboard.
2184         * src/nact/nact-iactions-list.c:
2185         Prepare pasted items here when we know the exact target.
2186         Replace all data set against GObject instance with a single structure.
2187         Block tab-updated signal handler while changing a selection.
2189         * src/nact/nact-tree-model.c:
2190         Use new na_object_prepare_for_paste() function in drag and drop.
2192         * src/nact/nact-main-window.c:
2193         * src/nact/nact-main-window.h
2194         (nact_main_window_prepare_object_for_copy): Removed function.
2196         * src/nact/nautilus-actions-config-tool.ui:
2197         Remove not backward compatible 'orientation' properties.
2199 2009-10-04 Pierre Wieser <pwieser@trychlos.org>
2201         Use some stored indicators to compute the action sensitivities
2202         rather that all recomputing each time.
2203         Rewrite insertion code in the treeview.
2205         * Makefile.am:
2206         * configure.ac: No more compile with --enable-iso-c not -pedantic
2207         options as GLib-generated marshaling code is not compliant.
2209         * po/POTFILES.in: Fix typo in a filename.
2211         * src/common/na-object-api.h:
2212         * src/common/na-object-item-fn.h:
2213         * src/common/na-object-item.c (na_object_insert_item):
2214         Now accepts a null object as sibling position.
2215         (na_object_item_count_items): New function.
2217         * src/nact/nact-marshal.c:
2218         * src/nact/nact-marshal.h: New files.
2220         * src/nact/Makefile.am: Updated accordingly.
2222         * src/nact/nact-iactions-list.c:
2223         Now maintains a count of menus, actions and profiles items.
2224         Send a signal when the count is changed.
2225         Rewrite insertion in the treeview.
2227         * src/nact/nact-iactions-list.c:
2228         * src/nact/nact-iactions-list.h
2229         (nact_iactions_list_has_exportable): Removed function.
2230         (nact_iactions_list_insert_into): New function.
2232         * src/nact/nact-main-menubar.c:
2233         * src/nact/nact-main-menubar.h:
2234         Maintains its own counters to compute the actions sensitivities.
2235         Define new menu item 'Paste into'.
2236         nact_main_menubar_refresh_actions_sensitivity: Removed function.
2237         nact_main_menubar_dispose: New function.
2239         * src/nact/nact-main-window.c:
2240         * src/nact/nact-main-window.h:
2241         Connect to the iactions-list-selection-changed signal rather than
2242         implement the corresponding virtual function.
2243         Define new 'main-window-update-sensitivities' signal.
2245         * src/nact/nact-tree-model.c:
2246         * src/nact/nact-tree-model.h:
2247         Rewrite insertion code in the tree store.
2248         nact_tree_model_insert_into, nact_tree_model_object_at_path: New
2249         functions.
2251         * src/nact/nautilus-actions-config-tool.actions: new 'Paste into' item.
2253 2009-10-02 Pierre Wieser <pwieser@trychlos.org>
2255         Centralize plugin routines in a dedicated libna-runtime library.
2257         * configure.ac: Add src/runtime/Makefile generation.
2259         * m4/na-log-domains.m4: Define NA-runtime log domain.
2261         * src/Makefile.am: Recurse into runtime subdirectory.
2263         * src/common/na-gconf-keys-base.h:
2264         * src/common/na-gconf-keys-schemas.h:
2265         * src/common/na-gconf-monitor.c:
2266         * src/common/na-gconf-monitor.h:
2267         * src/common/na-gconf-provider-keys.h:
2268         * src/common/na-gconf-provider.c:
2269         * src/common/na-gconf-provider.h:
2270         * src/common/na-gconf-utils.c:
2271         * src/common/na-gconf-utils.h:
2272         * src/common/na-gnome-vfs-uri.c:
2273         * src/common/na-gnome-vfs-uri.h:
2274         * src/common/na-iabout.c:
2275         * src/common/na-iabout.h:
2276         * src/common/na-iduplicable.c:
2277         * src/common/na-iduplicable.h:
2278         * src/common/na-iio-provider.c:
2279         * src/common/na-iio-provider.h:
2280         * src/common/na-ipivot-consumer.c:
2281         * src/common/na-ipivot-consumer.h:
2282         * src/common/na-object-action-class.h:
2283         * src/common/na-object-class.h:
2284         * src/common/na-object-id-class.h:
2285         * src/common/na-object-item-class.h:
2286         * src/common/na-object-profile-class.h:
2287         * src/common/na-pivot.c:
2288         * src/common/na-pivot.h: Moved to libna-runtime library.
2290         * src/common/na-object-action.c:
2291         * src/common/na-object-action.h:
2292         * src/common/na-object-menu.c:
2293         * src/common/na-object-menu.h:
2294         * src/common/na-object-profile.c:
2295         * src/common/na-object-profile.h: Remove runtime functions.
2297         * src/common/Makefile.am: Updated accordingly.
2299         * src/runtime/Makefile.am: New file.
2301 2009-10-02 Pierre Wieser <pwieser@trychlos.org>
2303         * src/nact/base-application.c:
2304         * src/nact/base-application.h (base_application_message_dlg):
2305         New function.
2307         * src/nact/nact-clipboard.c:
2308         * src/nact/nact-clipboard.h (nact_clipboard_dnd_set,
2309         nact_clipboard_dnd_get_data, nact_clipboard_dnd_get_text,
2310         nact_clipboard_dnd_drag_end, nact_clipboard_dnd_clear): New functions.
2312         * src/nact/nact-iactions-list.c:
2313         * src/nact/nact-iactions-list.h (nact_iactions_list_insert_at_path):
2314         New function.
2316         * src/nact/nact-main-statusbar.c:
2317         * src/nact/nact-main-statusbar.h
2318         (nact_main_statusbar_display_with_timeout): New function.
2320         * nact/nact-main-window.c:
2321         * nact/nact-main-window.h (nact_main_window_prepare_object_for_copy):
2322         New function. This is a temporary place, waiting for (another)
2323         reorganization of the code.
2325 2009-10-01 Pierre Wieser <pwieser@trychlos.org>
2327         * src/common/na-utils.c:
2328         * src/common/na-utils.h (na_utils_lines_to_string_list):
2329         New function to handle uri lists.
2331         * src/common/na-iio-provider.c:
2332         * src/common/na-pivot.c:
2333         * src/common/na-iprefs.c:
2334         * src/common/na-iprefs.h:
2335         * src/nact/nact-assistant-import.c:
2336         * src/nact/nact-preferences-editor.c:
2337         All preferences managed here are renamed as IPREFS_xxx.
2339         * src/common/na-iprefs.c:
2340         * src/common/na-iprefs.h (na_iprefs_get_import_mode,
2341         na_iprefs_set_import_mode): New functions.
2343         * src/common/na-xml-writer.c:
2344         Replace g_assert() with g_return_if_fail().
2346         * src/nact/base-window.c:
2347         * src/nact/base-window.h (base_window_signal_connect_after):
2348         New function.
2350         * src/nact/nact-preferences-editor.c:
2351         * src/nact/nautilus-actions-config-tool.ui:
2352         Display in Preferences editor import mode preferences.
2354 2009-09-30 Pierre Wieser <pwieser@trychlos.org>
2356         * data/nautilus-actions.schemas.in:
2357         Order mode preference is now a string to let the GConf edition
2358         be more user friendly.
2359         Import mode: idem.
2361         * src/common/na-gconf-utils.c:
2362         * src/common/na-gconf-utils.h (na_gconf_utils_read_string):
2363         New function.
2365         * src/common/na-iprefs.c:
2366         Define order_mode_table to convert internal mode to GConf string.
2368         * src/common/na-iprefs.c:
2369         * src/common/na-iprefs.c
2370         (na_iprefs_read_string, na_iprefs_write_string): New functions.
2372         * src/common/na-about.c: Renamed as na-iabout.c.
2373         * src/common/na-about.h: Renamed as na-iabout.h.
2374         Defines the NAIAbout interface to let the implementor provides
2375         the actual application name.
2377         * src/common/Makefile.am:
2378         * src/nact/nact-application.c:
2379         * src/nact/nact-main-menubar.c:
2380         * src/nact/nact-main-window.c: Updated accordingly.
2382         * src/nact/base-iprefs.c:
2383         * src/nact/base-iprefs.h
2384         (base_iprefs_get_string, base_iprefs_set_string): Removed functions.
2386         * src/nact/nact-assistant-export.c:
2387         * src/nact/nact-assistant-import.c:
2388         * src/nact/nact-icommand-tab.c:
2389         Move base_iprefs_xxx_string() to na_iprefs_xxx equivalents.
2391         * src/nact/nact-assistant-import.c:
2392         Import mode preference is now stored as a string.
2394         * src/plugin/nautilus-actions.c:
2395         Builds a hierachical menu for Nautilus context menu.
2397 2009-09-28 Pierre Wieser <pwieser@trychlos.org>
2399         * data/nautilus-actions.schemas.in:
2400         Define a schema for the three new preferences.
2401         Update the schema with the new semantic of actions sorting.
2403         * src/common/na-gconf-utils.c:
2404         * src/common/na-gconf-utils.h
2405         (na_gconf_utils_read_int, na_gconf_utils_write_int): New functions.
2407         * src/common/na-object-api.h:
2408         * src/common/na-object-id-fn.h:
2409         * src/common/na-object-id.c (na_object_id_set_for_copy):
2410         Add a relabel argument.
2411         Remove useless debug trace.
2413         * src/common/na-iio-provider.c (na_iio_provider_get_items_tree):
2414         Dump the hierarchy tree before the alphabetical sort.
2415         Implement the new actions sorting semantic when loading the tree.
2416         Move the sorting functions to NAPivot class.
2418         * src/common/na-ipivot-consumer.c:
2419         * src/common/na-ipivot-consumer.h:
2420         Add new value to virtual functions arguments lists.
2422         * src/common/na-iprefs.c:
2423         * src/common/na-iprefs.h (na_iprefs_is_alphabetical_order):
2424         Renamed as na_iprefs_get_order_mode().
2425         Move NAIPrefs data to instance object.
2427         * src/common/na-pivot.c:
2428         * src/common/na-pivot.h
2429         (na_pivot_sort_alpha_asc, na_pivot_sort_alpha_desc): New functions.
2431         * src/nact/base-iprefs.c:
2432         * src/nact/base-iprefs.c (base_iprefs_get_bool,
2433         base_iprefs_set_bool):
2434         Replace the BaseWindow argument by a BaseIPrefs one.
2435         Define three new UI preferences.
2437         * src/nact/nact-assistant-export.c:
2438         Implements IActionsList::get_treeview_name virtual function.
2439         Remove useless NAIPrefs implementation.
2441         * src/nact/nact-clipboard.c:
2442         * src/nact/nact-main-window.c:
2443         Now implements the BaseIPrefs interface.
2445         * src/nact/nact-main-window.c (nact_main_window_action_exists):
2446         No more check for action existancy in NAPivot.
2447         No more forward nact-tab-updatable-item-updated signal.
2448         Implements IActionsList::get_treeview_name virtual function.
2449         Remove useless NAIPrefs implementation.
2451         * src/nact/nact-iactions-list.c:
2452         * src/nact/nact-iactions-list.h
2453         (nact_iactions_list_collapse_all, nact_iactions_list_expand_all,
2454         nact_iactions_list_display_order_change):
2455         New functions.
2456         Remove useless nact-iactions-list-item-updated signal.
2457         Connect instead to nact-tab-updatable-item-updated signal.
2458         (get_treeview_name): New pure virtual function.
2460         * src/nact/nact-main-menubar.c (on_duplicate_activated):
2461         Takes advantage of new UI preferences.
2462         Define new Expand all/Collapse all menu items.
2464         * src/nact/nact-preferences-editor.c:
2465         Edit the new UI preferences.
2466         Do not implement BaseIPrefs nor NAIPrefs interfaces.
2467         Implement new order mode semantic.
2468         Make sure to show the page zero when opening the editor.
2470         * src/nact/nact-tree-model.c (sort_actions_list):
2471         Implement new order mode semantic.
2472         Use new NAPivot sort functions.
2474         * src/nact/nautilus-actions-config-tool.actions:
2475         Define new View menu.
2477         * src/nact/nautilus-actions-config-tool.ui:
2478         Edit the user preferences in a notebook.
2479         Remove "orientation=vertical" vbox properties.
2481         * src/plugin/nautilus-actions.c:
2482         Trigger items-updated signal to Nautilus on runtime preferences
2483         changes.
2485 2009-09-27 Pierre Wieser <pwieser@trychlos.org>
2487         * src/common/na-object-api.h (na_object_set_for_copy): New function.
2489         * src/common/na-object-id-fn.h:
2490         * src/common/na-object-id.c (na_object_id_set_for_copy): New function.
2491         (most_derived_new_id): Do not search in NAObjectClass.
2493         * src/common/na-object-item.c (na_object_item_remove_item):
2494         Release the reference on the removed item.
2495         Only release the reference when action or menu, not profile.
2497         * src/nact/nact-clipboard.c:
2498         * src/nact/nact-clipboard.h (nact_clipboard_primary_set,
2499         nact_clipboard_primary_get, nact_clipboard_primary_counts):
2500         Now use the NactClipboard convenience object.
2501         Uses na_object_id_set_for_copy().
2503         * src/nact/nact-iactions-list.c (on_treeview_selection_changed):
2504         Only get selected items when about to send the message.
2505         Do not try to select a null path.
2507         * src/nact/nact-main-menubar.c:
2508         Now use the NactClipboard convenience object.
2509         Uses na_object_id_set_for_copy().
2510         (on_paste_activated): Setup the new action when pasting a profile.
2512         * src/nact/nact-main-window.c:
2513         * src/nact/nact-main-window.h (nact_main_window_get_clipboard):
2514         New function.
2516 2009-09-26 Pierre Wieser <pwieser@trychlos.org>
2518         * src/common/na-iduplicable.c:
2519         * src/common/na-iduplicable.c (na_iduplicable_dispose): New function.
2520         Rewrite signal logic to avoid having to override class handler.
2522         * src/common/na-gconf-monitor.c:
2523         * src/common/na-gconf-monitor.h:
2524         Embeds its own GConfClient.
2526         * src/common/na-gconf-provider.c:
2527         No more provide GConfClient from GConf provider.
2529         * src/common/na-iio-provider.c:
2530         * src/common/na-iio-provider.h:
2531         No more define signals for preferences management.
2532         Move providers from GSList to GList.
2534         * src/common/na-ipivot-consumer.c:
2535         * src/common/na-ipivot-consumer.h:
2536         Rename IPivotConsumer notification functions.
2538         * src/common/na-object.c: Call na_iduplicable_dispose().
2540         * src/common/na-pivot.c:
2541         No more define signals for preferences management.
2542         Move monitors from GSList to GList.
2543         Move providers from GSList to GList.
2545         * src/nact/base-builder.c:
2546         * src/nact/base-builder.h: New files.
2548         * src/nact/Makefile.am: Updated accordingly.
2550         * src/nact/base-application.c:
2551         * src/nact/base-application.h:
2552         Embeds a NactBuilder object.
2553         base_application_get_toplevel(), base_application_get_widget(),
2554         base_application_search_for_widget(): Removed functions.
2556         * src/nact/base-assistant.c:
2557         Remove embedded GtkBuilder object.
2559         * src/nact/base-window-class.h (get_ui_filename):
2560         New virtual function.
2561         base_window_get_toplevel_window(): Renamed to
2562         base_window_get_toplevel().
2564         * src/nact/base-iprefs.c:
2565         * src/nact/nact-main-window.c:
2566         * src/nact/nact-preferences-editor.c: Use base_window_get_toplevel().
2568         * src/nact/base-window.c:
2569         * src/nact/base-window.h: Two new properties
2570         HAS_OWN_BUILDER and XML_UI_FILENAME.
2572         * nact/nact-assistant-export.c:
2573         * nact/nact-assistant-import.c: Use new properties.
2575         * src/nact/nact-iactions-list.c: Define management mode.
2576         No longer override NAIDuplicable signal class handlers.
2578 2009-09-25 Pierre Wieser <pwieser@trychlos.org>
2580         * data/nautilus-actions.schemas.in:
2581         Defines a new key for the "import-mode" preference.
2583         * src/nact/base-iprefs.c:
2584         Reset default size of the window if recorded size and position
2585         exceed current screen size.
2587         * src/nact/nact-assistant-export.ui:
2588         All titles are verbs.
2590         * src/nact/nact-assistant-import.c:
2591         Let the user define an import mode if the UUID already exists.
2593         * src/nact/nact-tree-model.c:
2594         Override the object when inserting an already existing UUID.
2596         * src/nact/nact-xml-reader.c:
2597         * src/nact/nact-xml-reader.h:
2598         Manage the import mode, renumbering the imported action if needed.
2600         * src/nact/nautilus-actions-config-tool.ui:
2601         Add a page to the Import assistant to manage the import mode.
2603 2009-09-24 Pierre Wieser <pwieser@trychlos.org>
2605         * src/nact/nact-main-menubar.c:
2606         * src/nact/nact-main-window.c:
2607         * src/nact/nact-main-window.h (nact_main_window_reload):
2608         New function.
2610         * data/nautilus-actions.schemas.in: Rename preferences keys.
2611         Add iprefs-level-zero key.
2613         * src/nact/base-application-class.h:
2614         * src/nact/base-application.c:
2615         * src/nact/base-application.h:
2616         * src/nact/base-assistant.c:
2617         * src/nact/base-dialog.c:
2618         * src/nact/base-iprefs.c:
2619         * src/nact/base-window-class.h:
2620         * src/nact/base-window.c:
2621         * src/nact/base-window.h:
2622         * src/nact/nact-application.c:
2623         * src/nact/nact-application.h:
2624         * src/nact/nact-assistant-export.c:
2625         * src/nact/nact-assistant-export.h:
2626         * src/nact/nact-assistant-import.c:
2627         * src/nact/nact-assistant-import.h:
2628         * src/nact/nact-iaction-tab.c:
2629         * src/nact/nact-iactions-list.c:
2630         * src/nact/nact-iactions-list.h:
2631         * src/nact/nact-iadvanced-tab.c:
2632         * src/nact/nact-iadvanced-tab.h:
2633         * src/nact/nact-icommand-tab.c:
2634         * src/nact/nact-icommand-tab.h:
2635         * src/nact/nact-iconditions-tab.c:
2636         * src/nact/nact-iconditions-tab.h:
2637         * src/nact/nact-main-menubar.h:
2638         * src/nact/nact-main-statusbar.c:
2639         * src/nact/nact-main-statusbar.h:
2640         * src/nact/nact-main-tab.h:
2641         * src/nact/nact-main-window.c:
2642         * src/nact/nact-main-window.h:
2643         * src/nact/nact-preferences-editor.c:
2644         * src/nact/nact-preferences-editor.h:
2645         * src/nact/nact-tree-model.c:
2646         * src/nact/nact-tree-model.h:
2647         * src/nact/nact-window.c:
2648         * src/nact/nact-window.h:
2649         * src/nact/nact-xml-reader.h:
2650         * src/plugin/nautilus-actions.c:
2651         * src/plugin/nautilus-actions.h:
2652         Review code, usage of g_assert, test dispose_has_run.
2654 2009-09-23 Pierre Wieser <pwieser@trychlos.org>
2656         * data/nautilus-actions.schemas.in: Migrate misnamed keys.
2658         * src/common/na-gconf-monitor.c:
2659         * src/common/na-gconf-monitor.h:
2660         * src/common/na-gconf-provider.c:
2661         * src/common/na-gconf-utils.c:
2662         * src/common/na-iio-provider.c:
2663         * src/common/na-ipivot-consumer.c:
2664         * src/common/na-iprefs.c:
2665         * src/common/na-object-action-class.h:
2666         * src/common/na-object-action.c:
2667         * src/common/na-object-action.h:
2668         * src/common/na-object-class.h:
2669         * src/common/na-object-fn.h:
2670         * src/common/na-object-id-class.h:
2671         * src/common/na-object-id-fn.h:
2672         * src/common/na-object-id.c:
2673         * src/common/na-object-item-class.h:
2674         * src/common/na-object-item-fn.h:
2675         * src/common/na-object-item.c:
2676         * src/common/na-object-menu.c:
2677         * src/common/na-object-menu.h:
2678         * src/common/na-object-profile-class.h:
2679         * src/common/na-object-profile.c:
2680         * src/common/na-object-profile.h:
2681         * src/common/na-object.c:
2682         * src/common/na-pivot.c:
2683         * src/common/na-utils.c:
2684         * src/common/na-xml-writer.c:
2685         * src/common/na-xml-writer.h:
2686         Review code, usage of g_assert, test dispose_has_run.
2688         * src/nact/base-iprefs.c:
2689         * src/nact/base-iprefs.h (base_iprefs_migrate_key): New function.
2691         * src/nact/nact-icommand-tab.c
2692         (nact_icommand_tab_initial_load_toplevel): Migrate misnamed keys.
2694 2009-09-22 Pierre Wieser <pwieser@trychlos.org>
2696         * configure.ac: Add a comment about GtkActivatable.
2698         * src/common/na-iduplicable.c:
2699         * src/common/na-iduplicable.h:
2700         Reorganize the code and add comments about recursivity inside.
2702         * src/common/na-iio-provider.c:
2703         Replace local dump_hierarchy() with call to na_object_dump_tree().
2704         na_iio_provider_write_item(): Make debug trace more verbose.
2706         * src/common/na-object-action.c:
2707         * src/common/na-object-action.h:
2708         Output debug traces depending on NAIDuplicable flag.
2709         Fix equality check if a profile is modified.
2711         * src/common/na-object-api.h (na_object_dump_norec,
2712         na_object_dump_tree, na_object_reset_origin): New functions.
2713         na_object_insert_item(): Add a sibling pointer.
2715         * src/common/na-object.c:
2716         * src/common/na-object-fn.h:
2717         Reorganize the code and add comments about recursivity inside.
2719         * src/common/na-object-id.c:
2720         * src/common/na-object-menu.c:
2721         * src/common/na-object-profile.c: Make debug trace more verbose.
2723         * src/common/na-object-item.c:
2724         * src/common/na-object-item-fn.h (na_object_item_insert_item):
2725         Add a sibling pointer.
2726         na_object_item_free_items(): Only unref if object is always valid.
2727         object_are_equal(): Position is a factor of equality.
2728         Remove g_object_ref() from na_object_item_insert_item() and
2729         na_object_item_append_item().
2730         Remove g_object_unref() from na_object_item_remove_item().
2732         * src/common/na-pivot.c:
2733         * src/common/na-pivot.h (na_pivot_get_item): New function.
2734         na_pivot_remove_item(): The removed object may have been already
2735         deleted.
2737         * src/nact/nact-application.c (appli_initialize_application):
2738         Allocate a fake NAObjectAction to initialize NAIDuplicable
2739         interface.
2741         * src/nact/nact-assistant-import.c:
2742         Actually imports the actions into the tree store before
2743         confirming the operation was done.
2745         * src/nact/nact-clipboard.c:
2746         * src/nact/nact-clipboard.h: Make it a convenience class.
2748         * nact/nact-iactions-list.c:
2749         * nact/nact-iactions-list.h (nact_iactions_list_get_item):
2750         New function.
2752         * src/nact/nact-main-menubar.c:
2753         Do not use GtkActivatable if version <= 2.16.
2754         Rewrite save items process.
2756         * src/nact/nact-main-window.c (nact_main_window_action_exists):
2757         Restore the function, searching in NAPivot and in tree store.
2758         instance_dispose(): Clear the clipboard.
2760         * src/nact/nact-tree-model.c:
2761         Now inserts the new row before a given sibling object.
2763 2009-09-21 Pierre Wieser <pwieser@trychlos.org>
2765         * src/common/na-gconf-provider.c (write_item_menu):
2766         Fix memory leak.
2768         * src/common/na-iduplicable.c:
2769         * src/common/na-iduplicable.h:
2770         Emits a signal for each modification of one of the status.
2771         Do not use NA_xx macros when returning a pointer that may be NULL.
2772         Propagate the modification signal to registered consumers.
2774         * src/common/na-iio-provider.c (build_hierarchy):
2775         Defaults to keep the whole list when there is no level-zero pref.
2777         * src/common/na-obj-action.c:
2778         Version number is not localized, so compare should be ascii.
2779         Action inherits from edition status of its profiles.
2781         * src/common/na-object-item.c:
2782         Optimizes check of edition status of subitems.
2784         * src/common/na-object.c:
2785         No more over-checks edition status of item's childs.
2787         * src/common/na-obj-action-class.h: Renamed to na-object-action-class.h.
2788         * src/common/na-obj-action.c: Renamed to na-object-action.c.
2789         * src/common/na-obj-action.h: Renamed to na-object-action.h.
2791         * src/common/na-obj-profile-class.h: Renamed to na-object-profile-class.h.
2792         * src/common/na-obj-profile.c: Renamed to na-object-profile.c.
2793         * src/common/na-obj-profile.h: Renamed to na-object-profile.h.
2795         * src/common/na-obj-menu.c: Renamed to na-object-menu.c.
2796         * src/common/na-obj-menu.h: Renamed to na-object-menu.h.
2798         * src/nact/nact-iactions-list.c:
2799         When duplicating an object, try to insert the new one besides
2800         the original one.
2801         Replace calls to gtk_tree_model_refilter() by
2802         nact_tree_model_display().
2804         * src/nact/nact-main-menubar.c (on_new_profile_activated):
2805         Setup edition status of new profile.
2807         * src/nact/nact-main-menubar.c (save_object_item):
2808         Cleanup the code.
2810         * src/nact/nact-tree-model.c:
2811         * src/nact/nact-tree-model.h (nact_tree_model_insert):
2812         Returns the path string of the newly inserted row, as it appears
2813         more liable that an iter after child model conversion.
2814         nact_tree_model_display(): send signal "row-changed".
2816 2009-09-20 Pierre Wieser <pwieser@trychlos.org>
2818         * src/common/na-object-item.c (object_id_new_id):
2819         Function becomes recursive.
2821         src/common/na-object-item.c
2822         (na_object_item_append_item, na_object_item_insert_item):
2823         Only append/insert child item if not already recorded.
2825         * src/nact/nact-clipboard.c (renumber_items):
2826         Removes recursivity as it is provided by the class.
2828         * src/nact/nact-iactions-list.c:
2829         * src/nact/nact-iactions-list.h (nact_iactions_list_delete_selection):
2830         No more returns the path to be selected as this can be directly taken
2831         into account by the function itself.
2832         Check depth of path before trying gtk_tree_path_up.
2833         nact_iactions_list_select_row(): no more a public function.
2834         Fix row selection code.
2836         * src/nact/nact-iactions-list.c (select_row_at_path):
2837         Simulate a "selection-changed" signal emission with an empty selection
2838         in nothing can be selected.
2840         * src/nact/nact-iactions-list.c (do_insert_items):
2841         Do not rely on iter after a store_to_filter_model conversion.
2843         * src/nact/nact-main-menubar.c:
2844         Reorganize code to avoid the need of delete_selection returning
2845         a path to be selected.
2847         * src/nact/nact-tree-model.c (nact_tree_model_insert):
2848         Rewrite the code to make the computing process clearer.
2850 2009-09-19 Pierre Wieser <pwieser@trychlos.org>
2852         * src/common/na-gconf-provider.c:
2853         Use na_object_menu_rebuild_items_list() and fix memory leak.
2855         * src/common/na-iio-provider.c:
2856         Build the object hierarchy, eventually alphabetically sorted.
2858         * src/common/na-object.c b:
2859         Add class name in instance_dipose() trace.
2861         * src/common/na-obj-action.c (are_equal): Remove trace.
2863         * src/common/na-obj-menu.c:
2864         * src/common/na-obj-menu.h:
2865         Remove traces at instance_dispose() and instance_finalize().
2866         na_object_menu_rebuild_items_list(): New function.
2868         * src/common/na-obj-action.c:
2869         * src/common/na-obj-menu.c:
2870         * src/common/na-object-item-fn.h:
2871         * src/common/na-object-item.c:
2872         na_object_item_set_new_uuid(): Replace function by na_object_set_new_id().
2874         * src/nact/nact-clipboard.c:
2875         * src/nact/nact-clipboard.h:
2876         All functions in use for cut/copy/paste functions are renamed as
2877         primary_xxx.
2878         nact_clipboard_primary_counts() replaces nact_clipboard_is_empty().
2880         * src/nact/nact-iactions-list.c:
2881         * src/nact/nact-iactions-list.h:
2882         nact_iactions_list_get_modified_items(): Replaced by
2883         nact_iactions_list_has_modified_items().
2884         nact_iactions_list_has_exportable(): New function.
2885         nact_iactions_list_is_filling_list(): Removed function.
2886         toggle_collapse(): Activate shortcuts on menus.
2887         nact_iactions_list_select_row(): Fix keyboard focus on new items.
2889         * src/nact/nact-iaction-tab.c:
2890         * src/nact/nact-icommand-tab.c:
2891         * src/nact/nact-iconditions-tab.c:
2892         * src/nact/nact-iadvanced-tab.c:
2893         Emit "item-updated" signal in response to an update in tabs.
2894         All selection_updated() functions renamed to selecion_changed() to
2895         keep consistency() with IActionsList message.
2897         * src/nact/nact-main-menubar.c:
2898         Update conditions of sensitivity of menu items.
2899         Use nact_window_save_item() new function name.
2901         * src/nact/nact-main-window.c:
2902         Emits "item-updated" to IActionsList in response to "item-updated"
2903         from notebook's tabs.
2904         nact_main_window_get_modified_items_count(): Replaced with
2905         nact_main_window_has_modified_items().
2906         Use nact_window_delete_item() new function name.
2908         * src/nact/nact-tree-model.c:
2909         * src/nact/nact-tree-model.h (nact_tree_model_display): New function.
2911         * src/nact/nact-window.c:
2912         * src/nact/nact-window.h (nact_window_warn_count_modified):
2913         Renamed as nact_window_warn_modified() with string change.
2914         nact_window_save_object_item() renamed ad nact_window_save_item().
2915         nact_window_delete_object_item() renamed ad nact_window_delete_item().
2917         * po/POTFILES.in: Update list of files.
2919 2009-09-18 Pierre Wieser <pwieser@trychlos.org>
2921         * src/common/na-gconf-utils.c:
2922         Add validity checks on public functions.
2923         sync_gconf: New function.
2925         * src/common/na-iduplicable.c:
2926         * src/common/na-iduplicable.h:
2927         Create new interface API get_childs() to let implementors recurse
2928         into childs if any.
2930         * src/common/na-object.c:
2931         * src/common/na-object-class.h(get_childs): New virtual function.
2932         Converts the interface API into a class virtual function.
2934         * src/common/na-obj-action.c:
2935         * src/common/na-obj-menu.c:
2936         * src/common/na-obj-profile.c:
2937         * src/common/na-object-id.c:
2938         Do not implement get_childs() NAObject virtual function.
2940         * src/common/na-object-item.c:
2941         Implements get_childs() virtual function.
2942         Use na_object_iduplicable_are_equal() instead of obsoleted public
2943         na_object_are_equal() API.
2945         * src/common/na-obj-action.c (is_valid):
2946         Adds a check on profile existance.
2948         * src/common/na-object.c:
2949         * src/common/na-object-api.h (na_object_set_origin_rec):
2950         * src/common/na-object-fn.h (na_object_iduplicable_set_origin_recurse):
2951         New API. Let caller recursively set an origin on objects.
2953         * src/nact/base-assistant.c:
2954         Move GtkBuilder to private data structure to be able to unref it.
2956         * src/nact/nact-clipboard.c:
2957         Recursively renumber NAObjectItem when needed.
2959         * src/nact/nact-clipboard.c:
2960         * src/nact/nact-iactions-list.c:
2961         * src/nact/nact-tree-model.c: Fix cut/copy/paste functions.
2962         nact_tree_model_update_parent(): removed function.
2964         * src/nact/nact-iactions-list.c:
2965         * src/nact/nact-iactions-list.h:
2966         Set selection on last level 1 inserted row.
2967         nact_iactions_list_get_items_count: Removed function.
2969         * src/nact/nact-main-menubar.c (on_new_profile_activated): Fixed.
2971         * src/nact/nact-main-window.c:
2972         * src/nact/nact-main-window.h (nact_main_window_get_all_items_count):
2973         Removed function.
2975         * src/nact/nact-tree-model.c:
2976         * src/nact/nact-tree-model.h (nact_tree_model_get_items_count):
2977         Removed function.
2979         * src/nact/nact-window.c:
2980         * src/nact/nact-window.h (nact_window_count_level_zero_items):
2981         New     function.
2983         * src/nact/nact-assistant-export.ui: New file (see #579345).
2985         * src/nact/nautilus-actions-config-tool.ui:
2986         Renumber items (see #579345).
2988         * src/nact/Makefile.am: Updated accordingly.
2990 2009-09-17 Pierre Wieser <pwieser@trychlos.org>
2992         * src/common/na-iio-provider.c
2993         (get_merged_items_list, sort_tree):
2994         * src/common/na-iio-provider.h
2995         (read_items_list, na_iio_provider_get_items_tree):
2996         * src/common/na-gconf-provider.c (iio_provider_read_items_list):
2997         Now use a GList instead of a GSList (shorter, more powerful).
2999         * src/common/na-object-api.h (na_object_set_new_id):
3000         Fix declaration.
3002         * src/common/na-object-id.c (new_id): New virtual function.
3003         (na_object_id_set_new_id): new corresponding API.
3004         Implements a 'most-derived' model.
3006         * src/common/na-object-item.c:
3007         Subitems are now managed in a GList instead of a GSList.
3009         * src/common/na-obj-action.c:
3010         * src/common/na-obj-menu.c:
3011         * src/common/na-pivot.c:
3012         * src/common/na-pivot.h:
3013         * src/common/na-xml-writer.c:
3014         * src/nact/nact-assistant-export.c:
3015         * src/nact/nact-clipboard.c:
3016         * src/nact/nact-clipboard.h:
3017         * src/nact/nact-iactions-list.c:
3018         * src/nact/nact-iactions-list.h:
3019         * src/nact/nact-main-menubar.c
3020         * src/nact/nact-main-window.c:
3021         * src/nact/nact-tree-model.c:
3022         * src/plugin/nautilus-actions.c:
3023         * src/utils/nautilus-actions-new.c: Updated accordingly.
3025         * src/nact/nact-iactions-list.c (filter_selection,
3026         filter_selection_iter): Controls the allowed selection so that
3027         we are only able to select profiles, or actions/menus.
3028         Define new nact_iactions_list_set_filter_selection_mode() api.
3030         * src/nact/nact-iactions-list.c (is_removing, set_remove_operation):
3031         Doesn't update the selection while removing items.
3033         * src/common/na-object.c:
3034         * src/common/na-object-fn.h
3035         (na_object_get_hierarchy, na_object_free_hierarchy): New functions.
3037         * src/nact/nact-main-window.c (nact_main_window_delete_selection):
3038         Renamed to nact_main_window_move_to_deleted().
3040         * src/nact/nact-main-tab.c: Removed (unused) file.
3042         * src/nact/nact-main-menubar.c: Remove <Ctrl+M> accelerator to let
3043         actions be the main selectable items.
3045 2009-09-16 Pierre Wieser <pwieser@trychlos.org>
3047         * configure.ac:
3048         Remove NAUTILUS_ACTIONS_CONFIG_GCONF_BASEDIR (not a configuration
3049         variable).
3051         * src/common/na-action.c: Renamed as na-obj-action.c.
3052         * src/common/na-action.h: Renamed as na-obj-action.h.
3053         * src/common/na-action-class.h: Renamed as na-obj-action-class.h.
3054         Takes part of renaming NAAction class to NAObjectAction.
3056         * src/common/na-action-profile.c: Renamed as na-obj-profile.c.
3057         * src/common/na-action-profile.h: Renamed as na-obj-profile.h.
3058         * src/common/na-action-profile-class.h:
3059         Renamed as na-obj-profile-class.h.
3060         Takes part of renaming NAActionProfile class to NAObjectProfile.
3062         * src/common/na-action-menu.c: Renamed as na-obj-menu.c.
3063         * src/common/na-action-menu.h: Renamed as na-obj-menu.h.
3064         Takes part of renaming NAActionMenu class to NAObjectMenu.
3066         * src/common/na-gconf.c: Renamed as na-gconf-provider.c.
3067         * src/common/na-gconf.h: Renamed as na-gconf-provider.h.
3068         Takes part of NAGConf class to NAGConfProvider.
3069         This let us clearly identify the rule of the class, distinguishing
3070         it from GConf as a preferences repository.
3072         * src/common/na-gconf-key.h: Splitted in na-gconf-keys-base.h,
3073         na-gconf-keys-schemas.h and na-gconf-provider-keys.h files.
3075         * src/common/na-gconf-monitor.c: New file.
3076         * src/common/na-gconf-monitor.h: New file.
3077         New class NAGConfMonitor.
3079         * src/common/na-gconf-utils.c: New file.
3080         * src/common/na-gconf-utils.h: New file.
3081         Handle some GConf general utilities.
3083         * src/common/na-iio-provider.c: Sort each level of the tree if
3084         alphabetical order display has been requested.
3086         * src/common/na-object.h: Splitted in na-object-fn.h,
3087         na-object-class.h and na-object-api.h.
3088         All NAObject-derived public functions are now declared in
3089         na-object-api.h.
3091         * src/common/na-object-id.h: Splitted in na-object-id-fn.h and
3092         na-object-id-class.h.
3094         * src/common/na-object-item.h: Splitted in na-object-item-fn.h
3095         and na-object-item-class.h.
3097         * src/common/na-pivot.c:
3098         * src/common/na-pivot.h:
3099         Remove na_pivot_free_items_tree(), replacing it with
3100         na_object_free_items().
3102         * src/nact/base-application-class.c:
3103         * src/nact/base-application-class.h:
3104         Virtual function are no more prefixed by a class prefix, but local
3105         implementations or these virtuals are.
3106         Properties are renamed as BASE_APPLICATION_PROP_xxxx.
3108         * src/nact/base-window-class.c:
3109         * src/nact/base-window-class.h:
3110         Remove not used init() and run() virtual functions.
3111         Properties are renamed as BASE_WINDOW_PROP_xxxx.
3113         * src/nact/egg-tree-multi-dnd.c: Cleanup the code.
3115         * src/nact/nact-application.c:
3116         Properties are renamed as NACT_APPLICATION_PROP_xxxx.
3118         * src/nact/nact-assistant-export.c:
3119         * src/nact/nact-assistant-export.h:
3120         * src/nact/nact-assistant-import.c:
3121         * src/nact/nact-assistant-import.h:
3122         Now derived from BaseAssistant class.
3124         * src/nact/base-dialog.c: New file.
3125         * src/nact/base-dialog.h: New file.
3126         Define the BaseDialog class.
3128         * src/nact/nact-assistant.c: Renamed as base-assistant.c.
3129         * src/nact/nact-assistant.h: Renamed as base-assistant.h.
3130         Define the BaseAssistant class.
3132         * src/nact/nact-iactions-list.c:
3133         * src/nact/nact-iactions-list.h:
3134         Replace nact_iactions_list_free_items_list() with
3135         na_object_free_items().
3137         * src/nact/nact-imenubar.c: Renamed as nact-main-menubar.c.
3138         * src/nact/nact-imenubar.h: Renamed as nact-main-menubar.h.
3139         Remove the NactIMenubar interface.
3141         * src/nact/nact-iprefs.c: Renamed as base-iprefs.c.
3142         * src/nact/nact-iprefs.h: Renamed as base-iprefs.h.
3143         Define the BaseIPrefs interface which handles all NACT preferences.
3145         * src/nact/nact-main-tab.h: New file.
3146         Handles update of the tabs of the notebook.
3148         * src/nact/selection.c: Renamed as nact-clipboard.c.
3149         * src/nact/selection.h: Renamed as nact-clipboard.h.
3151         * src/nact/nact-statusbar.c: Renamed as nact-main-statusbar.c.
3152         * src/nact/nact-statusbar.h: Renamed as nact-main-statusbar.h.
3154         * src/common/Makefile.am:
3155         * src/nact/Makefile.am:
3156         * src/test/Makefile.am: Updated accordingly.
3158 2009-08-30 Pierre Wieser <pwieser@trychlos.org>
3160         * data/nautilus-actions.schemas.in:
3161         Remove schema for 'Use submenu' preference.
3162         Add schemas for 'Add About' and 'Alphabetical order' preferences.
3164         * doc/objects-hierarchy.odg:
3165         Update doc to show new NAObjectItem and NAActionMenu classes.
3167         * src/common/na-action-class.h:
3168         NAAction is now derived from NAObjectItem.
3170         * src/common/na-action-profile.c:
3171         Remove PROP_NAPROFILE_NAME and PROP_NAPROFILE_LABEL properties.
3172         Remove duplicate() virtual function.
3173         Add new() and get_clipboard_id() virtual functions.
3175         * src/common/na-action.c:
3176         Remove PROP_NAACTION_UUID, PROP_NAACTION_LABEL,
3177         PROP_NAACTION_TOOLTIP and PROP_NAACTION_ICON properties.
3178         Remove duplicate() and check_edited_status() virtual functions.
3179         Add new() and get_clipboard_id() virtual functions.
3181         * src/common/na-action-menu.c:
3182         * src/common/na-action-menu.h: New files.
3184         * src/common/na-gconf.c:
3185         Now watches for preferences directory to manage display mode in
3186         Nautilus.
3188         * src/common/na-iduplicable.c:
3189         * src/common/na-iduplicable.h:
3190         Replace duplicate() virtual function with copy() and new().
3191         All interface is now declared with NAIDuplicable instead of NAObject.
3193         * src/common/na-iio-provider.c:
3194         * src/common/na-iio-provider.h:
3195         Temporarily sort read actions.
3196         Define NA_IIO_PROVIDER_SIGNAL_DISPLAY_ORDER_CHANGED and
3197         NA_IIO_PROVIDER_SIGNAL_DISPLAY_ABOUT_CHANGED new signals.
3199         * src/common/na-ipivot-consumer.c:
3200         Take advantage of new signals defined in na-iio-provider.h.
3201         Define on_display_about_changed() and on_display_order_changed()
3202         new virtual functions.
3204         * src/common/na-iprefs.c:
3205         * src/common/na-iprefs.h (na_iprefs_get_alphabetical_order,
3206         na_iprefs_get_add_about_item): New functions.
3208         * src/common/na-object.c:
3209         * src/common/na-object.h (new, copy, get_clipboard_id):
3210         New virtual functions.
3212         * src/common/na-object-item.c:
3213         * src/common/na-object-item.h: New files.
3215         * src/common/na-pivot.c:
3216         Take advantage of new signals defined in na-iio-provider.h.
3218         * src/common/na-utils.c:
3219         * src/common/na-utils.h (na_utils_remove_last_level_from_path,
3220         na_utils_is_writable_dir, na_utils_exist_file): New functions.
3222         * src/common/na-xml-writer.c:
3223         * src/common/na-xml-writer.h (na_xml_writer_get_output_fname,
3224         na_xml_writer_get_xml_buffer, na_xml_writer_output_xml):
3225         New functions.
3227         * src/nact/egg-tree-multi-dnd.c:
3228         * src/nact/egg-tree-multi-dnd.h: New files.
3230         * src/nact/nact-application.c:
3231         No more display debug message in appli_get_application_name().
3233         * src/nact/nact-assistant-export.c
3234         (on_actions_list_selection_changed): Use actual parameters types.
3235         (is_writable_dir): Removed function.
3237         * src/nact/nact-iaction-tab.c:
3238         * src/nact/nact-iaction-tab.h
3239         (get_selected): Removed virtual function.
3240         (nact_iaction_tab_set_action): Add selected items parameter.
3242         * src/nact/nact-iactions-list.c:
3243         * src/nact/nact-iactions-list.h:
3244         Implements drag from the tree view based on a dedicated
3245         NactTreeModel.
3246         Remove virtual function on_selection_changed().
3247         nact_iactions_list_get_selected_items(),
3248         nact_iactions_list_set_dnd_mode(): New functions.
3250         * nact/nact-imenubar.c:
3251         * nact/nact-imenubar.h:
3252         Add 'New menu' item in the menubar.
3253         Define new insert_item() virtual function.
3255         * src/nact/nact-main-window.c:
3256         * src/nact/nact-main-window.h:
3257         Implements NaIPrefs interface.
3258         Be kept informed of preferences modifications.
3260         * src/nact/nact-preferences-editor.c:
3261         Replace 'Display as submenu' by 'Add About' and 'Display in
3262         alphabetical order' preferences.
3264         * src/nact/nact-selection.c:
3265         * src/nact/nact-selection.h: New files.
3267         * src/nact/nact-tree-model.c:
3268         * src/nact/nact-tree-model.h: New files.
3270         * src/plugin/nautilus-actions.c:
3271         Creates submenus if asked for.
3272         Adds 'About Nautilus Actions' item is asked for.
3274 2009-08-25 Pierre Wieser <pwieser@trychlos.org>
3276         * configure.ac: Add a comment about bug #589745.
3277         Add a comment about
3278         nautilus_menu_provider_emit_items_updated_signal().
3280         * src/common/na-object.h: Fix typo.
3282         * src/common/na-iio-provider.c:
3283         Sort the actions in the same order as they are displayed.
3285         * src/nact/nact-assistant.c:
3286         * src/nact/nact-assistant.h:
3287         Implement a work-around for bug #589745 (apply message).
3288         Remove on_escape_key_pressed() virtual function.
3290         * nact/nact-assistant-export.c:
3291         * src/nact/nact-assistant-import.c:
3292         Can now do the operations in the on_assistant_apply() functions.
3294         * src/nact/nact-iactions-list.c:
3295         Returns selected actions in the same order as they are displayed.
3297 2009-08-24 Pierre Wieser <pwieser@trychlos.org>
3299         * Makefile.am:
3300         make distcheck uses now '--enable-iso-c' option.
3302         * configure.ac:
3303         Add '-pedantic' as '--enable-iso-c' default option.
3304         Add also '-Wno-overlength-strings' to handle long strings in
3305         src/common/xml-names.h.
3307         * m4/na-compiler-flags.m4:
3308         Fix '--enable-iso-c' macro to correctly handle provided values.
3310         * src/common/na-about.c:
3311         * src/common/na-action-profile.c:
3312         * src/common/na-action.c:
3313         * src/common/na-gconf.c:
3314         * src/common/na-iduplicable.c:
3315         * src/common/na-iio-provider.c:
3316         * src/common/na-iio-provider.h:
3317         * src/common/na-ipivot-consumer.c:
3318         * src/common/na-iprefs.c:
3319         * src/common/na-object.c:
3320         * src/common/na-pivot.c:
3321         * src/common/na-utils.c:
3322         * src/common/na-xml-writer.c:
3323         * src/nact/base-application.c:
3324         * src/nact/base-window.c:
3325         * src/nact/nact-application.c:
3326         * src/nact/nact-assistant-export.c:
3327         * src/nact/nact-assistant-import.c:
3328         * src/nact/nact-assistant.c:
3329         * src/nact/nact-iaction-tab.c:
3330         * src/nact/nact-iactions-list.c:
3331         * src/nact/nact-iadvanced-tab.c:
3332         * src/nact/nact-icommand-tab.c:
3333         * src/nact/nact-iconditions-tab.c:
3334         * src/nact/nact-imenubar.c:
3335         * src/nact/nact-iprefs.c:
3336         * src/nact/nact-main-window.c:
3337         * src/nact/nact-preferences-editor.c:
3338         * src/nact/nact-window.c:
3339         * src/nact/nact-xml-reader.c:
3340         * src/plugin/nautilus-actions.c:
3341         * src/plugin/nautilus-module.c:
3342         * src/test/test-parse-uris.c:
3343         * src/utils/nautilus-actions-new.c:
3344         * src/utils/nautilus-actions-schemas.c:
3345         Compile with -pedantic gcc option.
3347         * src/common/na-xml-names.h:
3348         Long names are rewritten on several lines for more readability.
3350         * src/nact/nact-assistant.c:
3351         * src/nact/nact-window.c:
3352         Remove superfluous calls to g_type_init().
3354         * src/nact/nact-imenubar.c:
3355         Do not try to delete an object when the list is empty (as Delete
3356         accelerator is always active, even if the Delete menu item is not).
3358 2009-08-23 Pierre Wieser <pwieser@trychlos.org>
3360         Get rid of unwanted notifications.
3361         Use UI Manager.
3363         * src/common/na-ipivot-consumer.c:
3364         * src/common/na-ipivot-consumer.h (na_ipivot_consumer_delay_notify):
3365         New function.
3367         * src/common/na-object.c: Accept NULL origin.
3369         * src/nact/base-application.c:
3370         Fix #592781: use explicit format strings.
3371         Fix test of virtual functions which caused double calls.
3373         * src/nact/nact-application.c:
3374         Remove the UI_XML_FILENAME variable.
3376         * src/nact/nact-imenubar.c:
3377         Rewrite save function to allow saving all modified actions in one pass.
3378         Take advantage of na_ipivot_consumer_delay_notify().
3379         Use UI Manager, thus removing all helper functions.
3380         Remove nact_imenubar_on_delete_key_pressed() function.
3382         * src/nact/nact-main-window.c:
3383         No more call nact_imenubar_on_delete_key_pressed() function.
3385         * src/nact/nautilus-actions-config-tool.actions:
3386         Add Preferences item in the Edit menu.
3388 2009-08-21 Pierre Wieser <pwieser@trychlos.org>
3390         Add About Nautilus Actions item in Nautilus context menu.
3392         * src/common/na-about.c:
3393         * src/common/na-about.h: New files.
3395         * po/POTFILES.in:
3396         * src/common/Makefile.am: Updated accordingly.
3398         * src/nact/nact-application.c:
3399         Call na_about_get_icon_name() to get application default icon.
3401         * src/nact/nact-imenubar.c:
3402         Call na_about_display() to display About dialog box.
3404         * src/plugin/nautilus-actions.c:
3405         Add About Nautilus Actions item in Nautilus context menu.
3407 2009-08-20 Pierre Wieser <pwieser@trychlos.org>
3409         Display actions as a submenu.
3411         * data/nautilus-actions.schemas.in:
3412         Add schemas for Preferences dialog and AsSubmenu option.
3414         * src/common/na-iprefs.c:
3415         * src/common/na-iprefs.h: New files.
3416         Manage preferences which are used by Nautilus-Actions plugin.
3418         * src/common/na-gconf.c: Fix typo.
3420         * src/common/Makefile.am: Updated accordingly.
3422         * src/nact/nact-application.c:
3423         Rename GLADEDIR to PKGDATADIR.
3424         Rename GLADE_FILENAME to UI_XML_FILENAME.
3426         * src/nact/nact-imenubar.c:
3427         Add an item in the menubar to run the Preferences dialog.
3428         Rename MenuBarVBox to MenubarVBox to be consistent with Statusbar.
3430         * src/nact/nact-iprefs.c:
3431         * src/nact/nact-iprefs.h: Fix typos.
3433         * src/nact/nact-preferences-editor.c:
3434         * src/nact/nact-preferences-editor.h: New files.
3435         Let the user edit its preferences.
3437         * src/nact/nautilus-actions-config-tool.ui:
3438         Creates the PreferencesDialog dialog.
3439         Enabled and ReadOnly checkboxes no longer expand to all dialog
3440         width to minimize focus errors.
3441         Rename MenuBarVBox to MenubarVBox to be consistent with Statusbar.
3443         * src/nact/Makefile.am: Updated accordingly.
3444         Rename GLADEDIR to PKGDATADIR.
3446         * src/plugin/nautilus-actions.c:
3447         Take into account the DisplayAsSubmenu preference.
3449 2009-08-19 Pierre Wieser <pwieser@trychlos.org>
3451         * src/nact/nact-statusbar.c:
3452         * src/nact/nact-statusbar.h: New files.
3454         * src/nact/nact-iaction-tab.c:
3455         * src/nact/nact-iaction-tab.h:
3456         * src/nact/nact-icommand-tab.c:
3457         * src/nact/nact-icommand-tab.h:
3458         * src/nact/nact-imenubar.c:
3459         * src/nact/nact-imenubar.h:
3460         * src/nact/nact-main-window.c:
3461         * src/nact/nact-main-window.h:
3462         Updated to take advantage of new nact_statusbar_display_status()
3463         and nact_statusbar_hide_status() functions.
3464         Removed get_status_bar() virtual functions from the interfaces.
3466 2009-08-18 Pierre Wieser <pwieser@trychlos.org>
3468         * src/nact/base-application-class.h:
3469         * src/nact/base-application.c:
3470         * src/nact/base-application.h:
3471         Rewrite BaseApplication base class, and document all public
3472         and virtual functions.
3473         Define exit codes when an error occurs.
3474         Define some standard error messages.
3476         * src/nact/nact-application.c:
3477         * src/nact/nact-application.h
3478         (appli_initialize_unique_app): Customize error message.
3479         (appli_initialize_application): Complete application initialization.
3481         * src/nact/nact-xml-reader.c: Add nact-main-window.h header.
3483         * src/nact/nact-iaction-tab.c:
3484         * src/nact/nact-iaction-tab.h:
3485         * src/nact/nact-iadvanced-tab.c:
3486         * src/nact/nact-iadvanced-tab.h:
3487         * src/nact/nact-icommand-tab.c:
3488         * src/nact/nact-icommand-tab.h:
3489         * src/nact/nact-iconditions-tab.c:
3490         * src/nact/nact-iconditions-tab.h:
3491         Remove nact_ixxxx_tab_reset_last_focus function.
3492         Remove focus-in-event and switch-page signal connections.
3494         * src/nact/nact-main-window.c:
3495         No more call nact_ixxxx_tab_reset_last_focus functions.
3497 2009-08-11 Pierre Wieser <pwieser@trychlos.org>
3499         * src/nact/nact-icommand-tab.c:
3500         * src/nact/nautilus-actions-config-tool.ui:
3501         Cleanup code.
3503         * src/nact/nact-iaction-tab.c:
3504         * src/nact/nact-icommand-tab.c:
3505         * src/nact/nautilus-actions-config-tool.ui:
3506         Set a mnemonic for all entry fields.
3508 2009-08-10 Pierre Wieser <pwieser@trychlos.org>
3510         * data/nautilus-actions.schemas.in:
3511         Add schema description for 'enabled' action property.
3513         * src/common/na-action.c:
3514         * src/common/na-action.h:
3515         Define 'enabled' new action property.
3517         * src/common/na-gconf-keys.h:
3518         * src/common/na-xml-names.h:
3519         Define GConf entry and schema description for 'enabled' property.
3521         * src/common/na-gconf.c:
3522         Read 'enabled' property from GConf.
3524         * src/common/na-xml-writer.c:
3525         * src/nact/nact-xml-reader.c:
3526         Import and export 'enabled' action property.
3528         * src/nact/nact-iaction-tab.c:
3529         * src/nact/nautilus-actions-config-tool.ui:
3530         Display and update 'enabled' action property.
3532         * src/plugin/nautilus-actions.c:
3533         Do not display item if action is disabled.
3535         * src/utils/nautilus-actions-new.c:
3536         Add '--enabled' command-line option.
3538 2009-08-09 Pierre Wieser <pwieser@trychlos.org>
3540         * src/nact/nact-assistant-export.c:
3541         * src/nact/nact-assistant-import.c:
3542         Fix #590709: Too much markup in translatable strings (reported
3543         by Claude Paroz).
3545         * src/nact/nact-iadvanced-tab.c:
3546         Fix #590711: String containing pipe char is ambiguous to
3547         translate (reported by Claude Paroz).
3549 2009-08-03 Pierre Wieser <pwieser@trychlos.org>
3551         * data/nautilus-actions.schemas.in:
3552         * data/Makefile.am: New files.
3554         * configure.ac:
3555         * Makefile.am: Updated accordingly.
3557         * Makefile.am:
3558         * src/nact/Makefile.am:
3559         Remove nautilus-actions subdirectories at uninstall time.
3561         * src/common/na-xml-writer.c:
3562         Fix schemas generation (long description tag).
3564 2009-08-01 Pierre Wieser <pwieser@trychlos.org>
3566         * configure.ac:
3567         Update version number to 1.11.3.
3569         * configure.ac:
3570         * Makefile.am:
3571         * doc/Makefile.am:
3572         * doc/objects-hierarchy.odg:
3573         Distribute a description of objects hierarchy.
3574         Fix #590398 (install doc)
3576 2009-07-30 Pierre Wieser <pwieser@trychlos.org>
3578         * src/common/na-action-profile.c:
3579         * src/common/na-xml-names.h:
3580         * src/nact/nact-icommand-tab.c:
3581         * src/nact/nautilus-actions-config-tool.ui:
3582         Add %p (port number) and %R (list of URIs) parameters.
3584         * src/nact/nact-iactions-list.c:
3585         * src/nact/nautilus-actions-config-tool.ui:
3586         Define mnemonic for the actions list.
3587         Report the same feature on export assistant.
3589         * src/nact/nautilus-actions-config-tool.ui:
3590         Define mnemonic and tooltip for each tab of the notebook.
3592 2009-07-29 Pierre Wieser <pwieser@trychlos.org>
3594         * exports/nautilus-actions.schema.in:
3595         Remove files as it is rebuildable via nautilus-actions-schemas.
3597         * m4/na-cmdline-tools.m4: Deleted file.
3599         * m4/na-log-domains.m4:
3600         Define a new log domain for test programs.
3602         * src/common/na-gnome-vfs-uri.c:
3603         * src/common/na-gnome-vfs-uri.h: New files.
3605         * src/common/na-action-profile.c:
3606         Take advantage of new na_gnome_vfs_uri_parse() function.
3608         * src/test/test-parse-uris.c:
3609         * src/test/test-parse-uris.h: New files.
3611         * src/common/na-xml-names.h:
3612         * src/nact/nautilus-actions-config-tool.ui:
3613         Remove all mentions of GnomeVFS or GVfs.
3615         * src/common/na-action-profile.c:
3616         * src/common/na-action.c:
3617         * src/common/na-action.h:
3618         * src/common/na-gconf.c:
3619         * src/common/na-iio-provider.c:
3620         * src/common/na-xml-writer.c:
3621         * src/utils/nautilus-actions-schema.c:
3622         Factorize the definition of default labels.
3624         * po/POTFILES.in: Update the list of translatable files.
3626 2009-07-28 Pierre Wieser <pwieser@trychlos.org>
3628         * src/common/na-iio-provider.c:
3629         Write action now accepts a NULL NAPivot to deal with command-line
3630         utility.
3632         * src/common/na-xml-names.h:
3633         Define new FORMAT_GCONFSCHEMA format to create a schema.
3635         * src/nact/nact-assist-export.{c,h}:
3636         Renamed as src/nact/nact-assistant-export.{c,h}.
3638         * src/nact/nact-assist-import.{c,h}:
3639         Renamed as src/nact/nact-assistant-import.{c,h}.
3641         * src/nact/nact-gconf-keys.h:
3642         Renamed as src/common/na-xml-names.h.
3644         * src/nact/nact-gconf-writer.{c,h}:
3645         Renamed as src/common/na-xml-writer.{c,h}.
3646         Create a schema on FORMAT_GCONFSCHEMA format.
3648         * src/nact/nact-gconf-reader.{c,h}:
3649         Renamed as src/nact/nact-xml-reader.{c,h}.
3651         * src/nact/nact-import-export-format.h:
3652         * src/nact/nact-iprofiles-list.{c,h}: Removed files.
3654         * src/nact/nautilus-actions-config.ui:
3655         Renamed as src/nact/nautilus-actions-config-tool.ui.
3657         * src/utils/nautilus-actions-new-config.c:
3658         Renamed as src/utils/nautilus-actions-new.c.
3660         * src/utils/nautilus-actions-tools-utils.c:
3661         * src/utils/nautilus-actions-tools-utils.h: Removed files.
3663         * src/utils/nautilus-actions-schema.c: New file.
3665         * configure.ac:
3666         * src/common/Makefile.am:
3667         * src/nact/Makefile.am:
3668         * src/nact/nact-application.c:
3669         * src/nact/nact-assist-export.c:
3670         * src/nact/nact.desktop.in
3671         * src/utils/Makefile.am: Updated accordingly.
3673         * m4/na-log-domains.m4:
3674         Define a new log domain for utilities.
3676 2009-07-27 Pierre Wieser <pwieser@trychlos.org>
3678         * m4/na-log-domains.m4: New file.
3680         * m4/nact-cmdline-tools.m4: Renamed to m4/na-cmdline-tools.m4.
3681         * m4/nact-compiler-flags.m4: Renamed to m4/na-compiler-flags.m4.
3682         * m4/nact-maintainer-mode.m4: Renamed to m4/na-maintainer-mode.m4.
3683         * m4/nact-nautilus-extdir.m4: Renamed to m4/na-nautilus-extdir.m4.
3685         * configure.ac: Updated accordingly.
3687         * src/common/na-object.c:
3688         * src/common/na-object.h (na_object_check_edited_status):
3689         New derivable function.
3691         * src/common/na-action.c:
3692         Implements check_edited_status for profiles.
3694         * src/common/na-utils.c:
3695         * src/common/na-utils.h (na_utils_path_to_key):
3696         New function moved from na-gconf.c.
3698         * src/nact/nact-window.c:
3699         * src/nact/nact-window.h
3700         (nact_window_set_current_action, nact_window_warn_action_modified,
3701         nact_window_warn_profile_modified): Removed functions.
3703         * src/nact/nact-gconf-reader.c:
3704         Import the two new export formats.
3705         Fix check of imported actions.
3707         * src/nact/nact-main.c:
3708         * src/plugin/nautilus-module.c:
3709         Disable output of g_debug messages when not in maintainer mode.
3711         * src/nact/nact-main-window.c:
3712         Update count_modified_actions.
3714 2009-07-26 Pierre Wieser <pwieser@trychlos.org>
3716         * src/common/na-action.h:
3717         Move export format enumeration to src/nact/nact-assist-export.c.
3719         * src/common/na-gconf.c:
3720         Fix #325585 by deleting a schema which may be directly attached
3721         to the action.
3723         * src/nact/nact-iaction-tab.c:
3724         * src/nact/nact-iactions-list.c:
3725         * src/nact/nact-iadvanced-tab.c:
3726         * src/nact/nact-iconditions-tab.c:
3727         * src/nact/nact-imenubar.c:
3728         * src/nact/nact-main-window.c:
3729         Fix selection when removing last action, or entering with
3730         no action at all.
3731         Sets the modification indicator to be application-wide.
3733         * src/nact/base-application-class.h:
3734         * src/nact/base-window-class.h: New files.
3736         * src/nact/base-application.c:
3737         * src/nact/base-application.h
3738         (base_application_get_ui_filename): New function.
3740         * src/nact/nact-assistant.c:
3741         Reload the GtkBuilder XML file each time we run the assistant
3742         (see http://bugzilla.gnome.org/show_bug.cgi?id=589746).
3744         * src/nact/nact-import-export-format.h: New file.
3746         * src/nact/nact-assist-export.c:
3747         * src/nact/nact-gconf-writer.c:
3748         Introduce two new export formats.
3750 2009-07-25 Pierre Wieser <pwieser@trychlos.org>
3752         * src/common/na-action-class.h:
3753         * src/common/na-action-profile-class.h:
3754         New files to properly handle forward declarations.
3756         * src/common/na-ipivot-container.c:
3757         * src/common/na-ipivot-container.h:
3758         Renamed as na-ipivot-consumer.{c,h}.
3760         * src/common/na-iduplicable.c:
3761         * src/common/na-iduplicable.h:
3762         New NAIDuplicable interface implemented by NAObject class.
3764         * src/nact/nact-imenubar.c:
3765         * src/nact/nact-imenubar.h:
3766         New NactIMenubar interface implemented by NactMainWindow class.
3768 2009-07-19 Pierre Wieser <pwieser@trychlos.org>
3770         * src/nact/nact-action-conditions-editor.c:
3771         * src/nact/nact-action-conditions-editor.h:
3772         * src/nact/nact-action-profiles-editor.c:
3773         * src/nact/nact-action-profiles-editor.h:
3774         * src/nact/nact-profile-conditions-editor.c:
3775         * src/nact/nact-profile-conditions-editor.h: Removed files.
3777         * src/nact/Makefile.am: Updated accordingly.
3779         * src/nact/nact-iactions-list.c:
3780         * src/nact/nact-iactions-list.h
3781         (nact_iactions_list_toggle_collapse,
3782         nact_iactions_list_update_selected): New functions.
3783         Uses GtkSortable interface.
3784         Remove set_sorted_actions API.
3786         * src/nact/nact-icommand-tab.c:
3787         Disable the example label when there is no current profile.
3789         * src/nact/nact-iconditions-tab.c:
3790         * src/nact/nact-iconditions-tab.h
3791         (nact_iconditions_tab_get_isfiledir,
3792         nact_iconditions_tab_get_multiple): New functions.
3794         * src/nact/nact-iadvanced-tab.c:
3795         * src/nact/nact-iadvanced-tab.h (nact_iadvanced_tab_get_schemes):
3796         New function.
3798         * src/nact/nact-main-window.c:
3799         Update menu tooltips to be dot-terminated.
3800         New action is taken from GTK_STOCK_NEW.
3802         * src/nact/nautilus-actions-config.ui:
3803         Example label now wraps on more than two lines.
3804         Scheme lists now is more than four rows.
3805         All fields have tooltip.
3807 2009-07-18 Pierre Wieser <pwieser@trychlos.org>
3809         * src/common/na-action.c:
3810         * src/common/na-action.c (na_action_are_equal):
3811         Function takes const arguments.
3813         * src/nact/base-application.c:
3814         * src/nact/nact-iaction-tab.c:
3815         Disable debug message.
3817         * src/nact/nact-iactions-list.c:
3818         * src/nact/nact-iactions-list.h (set_sorted_actions):
3819         New virtual function: advertise the implementer of the interface
3820         of the new address of the sorted list.
3821         Use GtkTreeModelFilter to display actions and profiles.
3822         Enable connecting lines in tree view.
3824         * src/nact/nact-icommand-tab.c:
3825         * src/nact/nact-icommand-tab.h:
3826         New files which define NactICommandTab interface.
3828         * src/nact/nact-iconditions-tab.c:
3829         * src/nact/nact-iconditions-tab.h:
3830         New files which define NactIConditionsTab interface.
3832         * src/nact/nact-iadvanced-tab.c:
3833         * src/nact/nact-iadvanced-tab.h:
3834         New files which define NactIAdvancedTab interface.
3836         * src/nact/nact-iprofile-item.c:
3837         * src/nact/nact-iprofile-item.h:
3838         * src/nact/nact-iprofiles-list.c:
3839         * src/nact/nact-iprofiles-list.h:
3840         Removed files.
3842         * src/nact/Makefile.am: Updated accordingly.
3844         * src/nact/nact-main-window.c:
3845         Setup display of the window title and of the menu depending of
3846         the currently selected action and its status.
3847         Implements ICommandTab interface.
3849         * src/nact/nact-window.c:
3850         * src/nact/nact-window.c (nact_window_warn_count_modified):
3851         New function.
3853 2009-07-16 Pierre Wieser <pwieser@trychlos.org>
3855         * configure.ac:
3856         Get ride of libglade, libgnome, libgnomeui deprecated libraries.
3858         * src/nact/nact-profile-conditions-editor.c:
3859         Align widgets.
3861 2009-07-16 Pierre Wieser <pwieser@trychlos.org>
3863         * src/nact/base-window.c:
3864         * src/nact/nact-main-window.c:
3865         * src/nact/nact-action-conditions-editor.c:
3866         * src/nact/nact-action-profiles-editor.c:
3867         * src/nact/nact-profile-conditions-editor.c:
3868         Make all dialogs transient for their parent in BaseWindow.
3870 2009-07-16 Pierre Wieser <pwieser@trychlos.org>
3872         * configure.ac:
3873         Get ride of libglade, libgnome, libgnomeui deprecated libraries.
3875         * src/nact/nact-profile-conditions-editor.c:
3876         Align widgets.
3878 2009-07-16 Pierre Wieser <pwieser@trychlos.org>
3880         * src/nact/base-window.c:
3881         * src/nact/nact-main-window.c:
3882         * src/nact/nact-action-conditions-editor.c:
3883         * src/nact/nact-action-profiles-editor.c:
3884         * src/nact/nact-profile-conditions-editor.c:
3885         Make all dialogs transient for their parent in BaseWindow.
3887 2009-07-16 Pierre Wieser <pwieser@trychlos.org>
3889         * src/common/na-action.c:
3890         * src/common/na-action.h (na_action_get_new_profile_name):
3891         New function.
3893         * src/nact/nact-iprofile-conditions.c:
3894         * src/nact/nact-iprofile-conditions.h:
3895         Renamed as nact-iconditions.{c,h}.
3896         IProfileConditions renamed accordingly.
3898         * src/nact/nact-iprofile-item.c:
3899         * src/nact/nact-iprofile-item.h: New files.
3900         Define IProfileItem interface.
3902         * src/nact/nact-action-conditions-editor.c:
3903         * src/nact/nact-profile-conditions-editor.c:
3904         * src/nact/nact-iprefs.c:
3905         * src/nact/Makefile.am: Updated accordingly.
3907 2009-07-15 Pierre Wieser <pwieser@trychlos.org>
3909         * src/nact/nact-action-conditions-editor.c (on_save_clicked):
3910         New function (do not know why it used to work without it!).
3912         * src/nact/nact-action-conditions-editor.c
3913         (set_current_action): Removed function.
3915         * src/nact/nact-action-profiles-editor.c:
3916         Begin with the rewriting with the new object hierarchy and the
3917         new interfaces.
3919         * src/nact/nact-iprofiles-list.c:
3920         * src/nact/nact-iprofiles-list.h: New files.
3922         * src/nact/nact-iactions-list.c:
3923         * src/nact/nact-iactions-list.h:
3924         Remove references to NAPivot, rather use interface.
3925         Now directly attach the NAAction to each line of the listbox.
3927         * src/nact/Makefile.am: Updated accordingly.
3929         * src/nact/nact-window.c:
3930         * src/nact/nact-window.h
3931         (nact_window_get_action, nact_window_get_actions):
3932         Removed functions.
3934 2009-07-14 Pierre Wieser <pwieser@trychlos.org>
3936         * src/common/na-utils.c:
3937         Implement na_utils_schema_to_gslist function.
3939         * src/nact/nact-assist-import.c:
3940         Write the imported action to the I/O provider.
3942 2009-07-14 Pierre Wieser <pwieser@trychlos.org>
3944         * configure.ac: Bump version number to 1.11.2.
3946 2009-07-14 Pierre Wieser <pwieser@trychlos.org>
3948         Implement import assistant with new object hierarchy.
3950         * src/common/na-action.c:
3951         * src/common/na-action.h (na_action_get_profile):
3952         Now returns a NAObject.
3954         * src/common/na-action.c:
3955         * src/common/na-action.h
3956         (na_action_set_uuid, na_action_set_version,
3957         na_action_add_profile): New functions.
3959         * src/common/na-action-profile.c:
3960         * src/common/na-action-profile.h
3961         (na_action_profile_set_label, na_action_profile_set_isfile,
3962         na_action_profile_set_isdir, na_action_profile_set_schemes):
3963         New functions.
3965         * src/common/na-action-profile.h:
3966         Define ACTION_PROFILE_PREFIX as a way of identifying a profile.
3968         * src/common/na-utils.c:
3969         * src/common/na-utils.h (na_utils_dump_string_list,
3970         na_utils_schema_to_gslist, na_utils_schema_to_boolean):
3971         New functions.
3973         * src/nact/nact-assistant.c:
3974         * src/nact/nact-assistant.h:
3975         * src/nact/nact-assist-export.c:
3976         * src/nact/nact-assist-export.h:
3977         * src/nact/nact-assist-import.c:
3978         * src/nact/nact-gconf-keys.h:
3979         * src/nact/nact-gconf-reader.c:
3980         * src/nact/nact-gconf-reader.h:
3981         * src/nact/nact-gconf-writer.c:
3982         * src/nact/nact-gconf-writer.c: New files.
3984         * src/nact/nact-gconf-schema.c:
3985         * src/nact/nact-gconf-schema.h:
3986         * src/nact/nact-gconf-schema-writer.c:
3987         * src/nact/nact-gconf-schema-writer.h: Removed files.
3989         * src/nact/Makefile.am: Updated accordingly.
3991         * src/nact/base-application.c:
3992         * src/nact/base-application.h
3993         (base_application_search_for_widget): New function.
3995         * src/nact/base-window.c:
3996         Call gtk_main/gtk_main_quit when we are running an assistant.
3998 2009-07-08 Pierre Wieser <pwieser@trychlos.org>
4000         * src/nact/nact-main-window.c:
4001         Fix post-export selection mode.
4003 2009-07-03 Pierre Wieser <pwieser@trychlos.org>
4005         Export actions.
4007         * src/common/nautilus-actions-config.c:
4008         * src/common/nautilus-actions-config.h:
4009         * src/common/nautilus-actions-config-gconf.c:
4010         * src/common/nautilus-actions-config-gconf.h:
4011         * src/common/nautilus-actions-config-gconf-private.h:
4012         * src/common/nautilus-actions-config-gconf-reader.c:
4013         * src/common/nautilus-actions-config-gconf-reader.h:
4014         * src/common/nautilus-actions-config-gconf-writer.c:
4015         * src/common/nautilus-actions-config-gconf-writer.h:
4016         * src/common/nautilus-actions-config-schema-writer.c:
4017         * src/common/nautilus-actions-config-schema-writer.h:
4018         * src/common/nautilus-actions-config-schema-reader.c:
4019         * src/common/nautilus-actions-config-schema-reader.h: Removed files.
4021         * src/common/Makefile.am: Updated accordingly.
4023         * src/common/na-action.h: Define an export format.
4025         * src/common/na-utils.c:
4026         * src/common/na-utils.h
4027         (na_utils_gslist_to_schema, na_utils_boolean_to_schema):
4028         New functions.
4030         * src/nact/nact-import-export.c:
4031         * src/nact/nact-import-export.h: Removed files.
4033         * src/nact/nact-gconf-schema.c:
4034         * src/nact/nact-gconf-schema.h:
4035         * src/nact/nact-gconf-schema-writer.c:
4036         * src/nact/nact-gconf-schema-writer.h: New files.
4038         * src/nact/Makefile.am: Updated accordingly.
4040         * src/nact/base-window.c:
4041         * src/nact/base-window.h (base_window_connect):
4042         Removed function.
4044         * src/nact/nact-window.c:
4045         * src/nact/nact-window.h
4046         (nact_window_signal_connect_by_name): New function.
4048         * src/nact/nact-action-conditions-editor.c
4049         (nact_iprofile_conditions_initial_load): Use GtkBuilder size grouping.
4051         * src/nact/nact-iactions-list.c:
4052         * src/nact/nact-iactions-list.h
4053         (nact_iactions_list_get_selected_actions,
4054         nact_iactions_list_set_multiple_selection): New functions.
4056         * src/nact/nact-iprefs.c:
4057         * src/nact/nact-iprefs.h
4058         (nact_iprefs_get_export_folder_uri,
4059         nact_iprefs_save_export_folder_uri): New functions.
4061         * src/nact/nact-main-window.c: Implement export function.
4063 2009-07-02 Pierre Wieser <pwieser@trychlos.org>
4065         * src/common/na-pivot.c (action_changed_handler):
4066         Use a milliseconds timeout to get a better UI reactivity.
4068         * src/nact/nact-action-conditions-editor.c (on_cancel_clicked):
4069         New function to trigger dialog response.
4071         * src/nact/nact-action-conditions-editor.c
4072         (on_initial_load_dialog): Make labels and buttons the same size.
4073         (on_all_widgets_showed): Call
4074         nact_iprofile_conditions_all_widgets_showed function.
4075         (on_dialog_response): Advertize parent window of a new action.
4077         * src/nact/nact-iactions-list.c:
4078         * src/nact/nact-iactions-list.h
4079         (nact_iactions_list_set_selection,
4080         nact_iactions_list_set_send_selection_changed_on_fill_list,
4081         nact_iactions_list_set_is_filling_list,
4082         on_key_press_event, on_enter_key_pressed): New functions.
4084         * src/nact/nact-imenu-item.c:
4085         * src/nact/nact-imenu-item.h (nact_imenu_item_size_labels,
4086         nact_imenu_item_size_buttons): New functions.
4088         * src/nact/nact-imenu-item.c (on_icon_changed):
4089         Forces the display of an empty frame where there is no icon.
4091         * nact/nact-iprofile-conditions.c (hide_legend_dialog):
4092         Fixes bug which recorded a (0,0) position when the dialog closed.
4094         * nact/nact-iprofile-conditions.c:
4095         * nact/nact-iprofile-conditions.h
4096         (nact_iprofile_conditions_size_labels,
4097         nact_iprofile_conditions_size_buttons): New functions.
4099         * src/nact/nact-main-window.c:
4100         Do not trigger on_selection_changed when filling the Actions list.
4101         Edit action when Enter key pressed.
4103         * src/nact/nact-window.c:
4104         * src/nact/nact-window.h (set_current_action):
4105         New virtual function.
4107         * src/nact/nautilus-actions-config.ui:
4108         Add tooltips to AddAction and EditAction buttons.
4109         Encapsulates the IconImage into a IconFrame.
4111 2009-07-01 Pierre Wieser <pwieser@trychlos.org>
4113         * src/nact/base-application.c:
4114         * src/nact/base-application.h (recursive_search_for_child,
4115         search_for_child_widget, base_application_get_dialog):
4116         New functions.
4117         All properties are now prefixed with "base-application-".
4119         * src/nact/base-window.c:
4120         * src/nact/base-window.h (base_window_get_dialog,
4121         do_get_dialog): New functions.
4122         PROP_WINDOW_TOPLEVEL_WIDGET is renamed as
4123         PROP_WINDOW_TOPLEVEL_DIALOG.
4124         do_get_toplevel_widget is renamed as do_get_toplevel_dialog.
4125         All properties are now prefixed with "base-window-".
4127         * src/nact/nact-main-window.c:
4128         * src/nact/nact-action-conditions-editor.c:
4129         * src/nact/nact-action-profiles-editor.c:
4130         * src/nact/nact-profile-conditions-editor.c:
4131         Updated accordingly.
4133         * src/nact/nact-iactions-list.c:
4134         * src/nact/nact-iactions-list.h
4135         (nact_iactions_list_set_focus): New function.
4137         * src/nact/nact-iprefs.c:
4138         * src/nact/nact-iprefs.h
4139         (nact_iprefs_get_iprofile_conditions_folder_uri,
4140         nact_iprefs_save_iprofile_conditions_folder_uri): New functions.
4142         * src/nact/nact-iprofile-conditions.c:
4143         Fix display of icon for new actions.
4144         Save state and position of LegendDialog and GtkFileChooser.
4146         * src/nact/nact-main-window.c:
4147         Reset the focus to the ActionsList after each button click.
4149         * src/nact/nautilus-actions-config.ui:
4150         Add keyboard shortcuts to ActionsDialog buttons.
4151         Import two new dialog boxes.
4153 2009-06-30 Pierre Wieser <pwieser@trychlos.org>
4155         * src/common/na-action-profile.c:
4156         * src/common/na-action-profile.h
4157         (na_action_profile_set_matchcase, na_action_profile_set_mimetypes,
4158         na_action_profile_set_isfiledir, na_action_profile_set_multiple,
4159         na_action_profile_set_scheme): New functions.
4161         * src/common/na-utils.c:
4162         * src/common/na-utils.h (na_utils_gstring_joinv,
4163         na_utils_string_list_to_text, na_utils_text_to_string_list,
4164         na_utils_remove_ascii_from_string_list): New functions.
4166         * src/nact/nact-action-conditions-editor.c:
4167         Call _dispose functions when closing the window.
4169         * src/nact/nact-imenu-item.c:
4170         * src/nact/nact-imenu-item.h (nact_imenu_item_dispose):
4171         New function.
4173         * src/nact/nact-iprofile-conditions.c:
4174         * src/nact/nact-iprofile-conditions.h
4175         (nact_iprofile_conditions_dispose): New function.
4177         * src/nact/nact-iprofile-conditions.c:
4178         All three tabs are now implemented.
4180         * src/nact/nact-utils.c:
4181         * src/nact/nact-utils.h: Removed files.
4183         * src/nact/nact-prefs.c:
4184         * src/nact/nact-prefs.h: Renamed as nact-iprefs.{c,h}.
4185         Define NactIPrefs interface, to be implemented by NactWindows
4186         which wish use GConf preferences.
4188         * src/nact/Makefile.am: Updated accordingly.
4190         * src/nact/nautilus-actions-config.ui:
4191         Add LegendDialog window.
4192         Remove all embedded action handlers (as I don't want pollute my
4193         public namespace with these).
4195 2009-06-29 Pierre Wieser <pwieser@trychlos.org>
4197         * src/common/na-action.c:
4198         * src/common/na-action.h (na_action_set_tooltip,
4199         na_action_set_icon, na_action_are_equal, na_action_get_profile):
4200         New functions.
4202         * src/common/na-action.c
4203         (na_action_new_with_profile): Provides a default profile name.
4204         (na_action_duplicate): Provides a pointer to the duplicated action.
4205         (na_action_are_equal): Implements profiles comparison.
4207         * src/common/na-action-profile.c:
4208         * src/common/na-action-profile.h (na_action_profile_set_path,
4209         na_action_profile_set_parameters, na_action_profile_set_basenames,
4210         na_action_profile_are_equal):
4211         New functions.
4213         * src/common/na-action-profile.c (na_action_profile_new):
4214         No more accept a NULL profile name.
4216         * src/common/na-action-profile.c:
4217         * src/common/na-action-profile.h (na_action_profile_duplicate):
4218         The duplicated profile points to the duplicated action.
4220         * src/common/na-gconf.c:
4221         Defines an association table between GConf keys and property
4222         names.
4224         * src/common/na-iio-provider.c:
4225         Fist try to write to initial provider.
4227         * src/common/na-utils.c:
4228         * src/common/na-utils.h (na_utils_find_in_list,
4229         na_utils_string_lists_are_equal): New functions.
4231         * src/nact/base-application.c (display_dlg):
4232         New mutualized function.
4234         * src/nact/base-window.c:
4235         * src/nact/base-window.h (dialog_response):
4236         Returns a boolean to let the user refuse the closing.
4238         * src/nact/nact-action-conditions-editor.c:
4239         Update the dialog title if action has been modified.
4240         Have Close or Cancel/Save buttons depending on action status.
4241         Only save an action which has a not empty label.
4242         Implements PathBrowse button.
4244         * src/nact/nact-imenu-item.c:
4245         * src/nact/nact-imenu-item.h (get_edited_action,
4246         update_dialog_title, nact_imenu_item_has_label): New functions.
4248         * src/nact/nact-imenu-item.c:
4249         Implements IconBrowse button.
4251 2009-06-28 Pierre Wieser <pwieser@trychlos.org>
4253         * po/POTFILES.in:
4254         Replace src/nact/nact.c with src/nact/nact-main-window.c.
4255         Replace src/nact/nautilus-actions-config.glade with
4256         src/nact/nautilus-actions-config.ui.
4258         * src/common/na-action.c:
4259         * src/common/na-action.h:
4260         UUID is no more a contruction only property.
4261         NAAction is now initialized with suitable default values.
4262         na_action_new_with_profile, na_action_get_provider: new functions.
4264         * src/common/na-action-profile.c:
4265         * src/common/na-action-profile.h:
4266         Profile's name is no more a construction only property.
4267         na_action_profile_copy function is renamed as
4268         na_action_profile_duplicate.
4270         * src/common/na-gconf.c:
4271         Temporarily suspend test of writability status.
4272         Record the last provider of an action.
4274         * src/common/na-iio-provider.c:
4275         delete_action: new function.
4277         * src/nact/nact-action-conditions-editor.c:
4278         * src/nact/nact-action-conditions-editor.h:
4279         * src/nact/nact-action-profiles-editor.c:
4280         * src/nact/nact-action-profiles-editor.h:
4281         * src/nact/nact-profile-conditions-editor.c:
4282         * src/nact/nact-profile-conditions-editor.h:
4283         Definitive names for dialog management.
4285         * src/nact/nact-imenu-item.c:
4286         Connect the signal handler before setting the initial icon.
4288         * src/nact/nact-iprofile-conditions.c:
4289         * src/nact/nact-iprofile-conditions.h:
4290         IActionConditions interface is renamed as IProfileConditions.
4292         * src/nact/Makefile.am:
4293         Updated accordingly.
4295         * src/nact/base-window.c:
4296         * src/nact/base-window.h:
4297         initial_load_toplevel, runtime_init_toplevel, all_widgets_showed:
4298         new functions.
4300         * src/nact/nact-imenu-item.c:
4301         signal_recorded: new function.
4303         * src/nact/nact-main-window.c:
4304         Implement initial_load_toplevel and runtime_init_toplevel
4305         functions.
4307         * src/nact/nact-window.c:
4308         nact_window_on_signal_recorded: new function.
4310 2009-06-26 Pierre Wieser <pwieser@trychlos.org>
4312         Migration to GtkBuilder.
4313         IPivotContainer interface definition.
4314         IActionConditions and IMenuItem UI interface definitions.
4316         * configure.ac:
4317         Update Gtk+ dependancy to 2.12 to have gtk_builder functions.
4318         Remove libglade dependancy.
4320         * src/common/na-action-profile.c:
4321         * src/common/na-action.c:
4322         * src/common/na-gconf.c:
4323         * src/common/na-object.c:
4324         * src/common/na-pivot.c
4325         (instance_dispose): g_free( self->private ).
4327         * src/common/na-gconf.c:
4328         Fix typo in comment.
4330         * src/common/na-iio-provider.c:
4331         Actions list is now automatically sorted by label.
4333         * src/common/na-iio-provider.h:
4334         Move signal definition here to be usable by providers.
4336         * src/common/na-ipivot-container.c:
4337         * src/common/na-ipivot-container.h: New files.
4339         * src/common/na-pivot.c:
4340         na_pivot_get_label_sorted_actions: Removed function.
4341         na_pivot_add_notified, free_containers: New functions.
4342         Remove PROP_NOTIFIED property.
4343         Containers to be notified can be several to many, instead of
4344         just only one.
4345         Use NAIPivotContainer interface instead of sending a message.
4347         * src/common/Makefile.am: Updated accordingly.
4349         * src/nact/base-application.c:
4350         * src/nact/base-application.h
4351         (base_application_get_icon_name,
4352         base_application_get_main_window, base_application_run):
4353         New functions.
4355         * src/nact/nact-application.c:
4356         Records the main window to be notified of an action modification.
4358         * src/nact/nact-wnd-actions.c:
4359         * src/nact/nact-wnd-actions.h:
4360         Renamed to nact-main-window.{c,h}.
4362         * src/nact/nact-main-window.c:
4363         * src/nact/nact-main-window.h:
4364         New files.
4365         Implement NAIPivotContainer interface.
4367         * src/nact/nact-action-profile.c:
4368         * src/nact/nact-action-profile.h:
4369         New files.
4370         Implement NactIMenuItem and NactIActionConditions interfaces.
4372         * src/nact/nact-main-window.c:
4373         Implements NAIPivotContainer interface.
4375         * src/nact/base-window.c:
4376         * src/nact/base-window.h:
4377         Remove libglade stuff.
4378         Create the structure for derived windows/dialogs.
4380         * src/nact/iaction-conditions.c:
4381         * src/nact/iaction-conditions.h:
4382         * src/nact/imenu-item.c:
4383         * src/nact/imenu-item.h: New interface files.
4385         * src/nact/Makefile.am: Updated accordingly.
4387         * src/plugin/nautilus-actions.c:
4388         Implements NAIPivotContainer interface.
4390 2009-06-20 Pierre Wieser <pwieser@trychlos.org>
4392         * src/common/na-gconf.c:
4393         Implement loading of old versions.
4394         Implement writing an action.
4396         * src/common/na-action.c:
4397         * src/common/na-action.h:
4398         * src/common/na-gconf.c:
4399         Add read-only attribute set when GConf key is not writable.
4401         * src/common/na-action.c:
4402         * src/common/na-action.h:
4403         * src/common/na-action-profile.c:
4404         * src/common/na-action-profile.h:
4405         Object properties are renamed, and moved to include file.
4406         Objects are created with suitable default values.
4407         Finalize helper functions.
4409         * src/common/na-iio-provider.c:
4410         Record the provider in each NAAction object.
4412 2009-06-19 Pierre Wieser <pwieser@trychlos.org>
4414         Getting NA (Nautilus Actions) as common objects prefix.
4416         * src/common/na-action.c:
4417         * src/common/na-action.h:
4418         * src/common/na-action-profile.c:
4419         * src/common/na-action-profile.h:
4420         * src/common/na-gconf.c:
4421         * src/common/na-gconf.h:
4422         * src/common/na-gconf-keys.h:
4423         * src/common/na-iio-provider.c:
4424         * src/common/na-iio-provider.h:
4425         * src/common/na-object.c:
4426         * src/common/na-object.h:
4427         * src/common/na-pivot.c:
4428         * src/common/na-pivot.h:
4429         * src/common/na-utils.c:
4430         * src/common/na-utils.h: Renamed and updated accordingly.
4432         * src/common/na-iio-provider.c:
4433         * src/common/na-iio-provider.h:
4434         * src/common/na-gconf.c:
4435         * src/common/na-pivot.c:
4436         na_iio_provider_load_actions renamed to na_iio_provider_read_actions.
4438         * src/nact/base-window.c:
4439         * src/nact/base-window.h:
4440         Define and implement new class BaseWindow.
4442         * src/nact/nact-iactions-list.c:
4443         * src/nact/nact-iactions-list.h:
4444         Define and implement new interface NactIActionsList.
4446         * src/nact/nact-window.c:
4447         * src/nact/nact-window.h:
4448         Define and implement new class NactWindow.
4450         * src/nact/nact-wnd-actions.c:
4451         * src/nact/nact-wnd-actions.h:
4452         Define and implement new class NactWndActions.
4454         * src/nact/Makefile.am:
4455         Updated accordingly.
4457 2009-06-18 Pierre Wieser <pwieser@trychlos.org>
4459         Begin with porting NACT to new object hierarchy.
4461         * src/common/nact-action.c:
4462         * src/common/nact-action.h (nact_action_duplicate,
4463         nact_action_get_version, nact_action_get_icon,
4464         nact_action_set_new_uuid): New functions.
4466         * src/common/nact-iio-provider.c:
4467         * src/common/nact-iio-provider.h (+nact_iio_provider_write_action):
4468         New function.
4470         * src/common/nact-pivot.c:
4471         * src/common/nact-pivot.h (nact_pivot_get_label_sorted_actions,
4472         nact_pivot_get_action, nact_pivot_add_action):
4473         New functions.
4475         * src/nact/base-application.c:
4476         * src/nact/base-application.h: New base class.
4478         * src/nact/nact-application.c:
4479         * src/nact/nact-application.h: Updated accordingly.
4481 2009-06-14 Pierre Wieser <pwieser@trychlos.org>
4483         * po/POTFILES.in: Add src/nact-application.c.
4485         * src/nact/nact-application.c:
4486         Fix error message to not embed markup.
4488 2009-06-12 Pierre Wieser <pwieser@trychlos.org>
4490         Fix #353198 – Single window mode for Nact.
4492         * configure.ac:
4493         Add libunique dependancy.
4494         Cleanup the code.
4496         * src/nact/nact.c:
4497         * src/nact/nact.h(nact_init_dialog):
4498         Return the newly created GtkWindow.
4500         * src/nact/nact-main.c (main):
4501         Call gtk_init at the very beginning of the program.
4503         * src/nact/nact-application.c:
4504         Check for already running instance, and display a message if any.
4506 2009-06-11 Pierre Wieser <pwieser@trychlos.org>
4508         * src/common/nact-pivot.c:
4509         * src/common/nact-pivot.h: Fix comment typo.
4511         * src/nact/nact.c:
4512         * src/nact/nact.h:
4513         Externalize main function in nact-main.c.
4514         init_dialog becomes public as nact_init_dialog.
4516         * src/nact/nact-application.c:
4517         * src/nact/nact-application.h: New NactApplication class.
4518         Initialization stuff goes to nact-application.c:startup_appli().
4520         * src/nact/nact-main.c: New file.
4522         * src/nact/Makefile.am: Updated accordingly.
4524 2009-06-10 Pierre Wieser <pwieser@trychlos.org>
4526         * configure.ac:
4527         Bump version number.
4528         Update required Glib version to make sure to have GIO.
4530         * src/common/nact-action-profile.c (nact_action_profile_free):
4531         Fix disallocation of the profile by calling g_object_unref.
4533         * src/common/nact-action-profile.c:
4534         Remove all gnome-vfs code.
4536         * src/plugin/nautilus-actions.c:
4537         Move gnome_vfs_init call to nact_action_profile_parse_parameters.
4538         Remove useless include files.
4540 2009-06-09 Pierre Wieser <pwieser@trychlos.org>
4542         * configure.ac: Bump version number for 1.11.0 release.
4544         * src/common/nact-action.c:
4545         * src/common/nact-action.h
4546         (nact_action_get_profile_ids, nact_action_free_profile_ids,
4547          nact_action_has_profile, nact_action_get_profile,
4548          nact_action_free_profile):
4549         Remove functions and cleanup the code.
4551         * src/common/nact-action-profile.c:
4552         * src/common/nact-action-profile.h
4553         (nact_action_profile_load): Remove function and cleanup the code.
4555         * src/common/nact-gconf.c:
4556         * src/common/nact-iio-provider.c:
4557         Cleanup the code, adding documentation to public functions.
4559         * src/common/nact-object.c:
4560         * src/common/nact-object.h
4561         (nact_object_empty_property): Remove function and cleanup the code.
4563         * src/common/nact-pivot.c:
4564         * src/common/nact-pivot.h
4565         (nact_pivot_get_action): Remove function and cleanup the code.
4567         * src/common/nact-uti.c:
4568         * src/common/nact-uti.h (nactuti_free_object_list): Remove function.
4570         * src/plugin/nautilus-actions.c:
4571         The plugin now uses the new object hierarchy to handle menu items.
4572         Fix #580378 (context menu doesn't update) reported by James Campos.
4573         Cleanup the code.
4575         * src/plugin/nautilus-actions-test.c:
4576         * src/plugin/nautilus-actions-test.h:
4577         * src/plugin/nautilus-actions-utils.c:
4578         * src/plugin/nautilus-actions-utils.h:
4579         Removed files as functions are now integrated in NactActionProfile
4580         class.
4582         * src/utils/nautilus-check-actions-changed.c:
4583         * src/utils/Makefile.am:
4584         No more build useless nautilus-actions-check-actions-changed program.
4586 2009-06-08 Pierre Wieser <pwieser@trychlos.org>
4588         * src/common/nact-action-profile.c:
4589         * src/common/nact-action-profile.h:
4590         * src/common/nact-action.c:
4591         * src/common/nact-action.h:
4592         * src/common/nact-gconf.c:
4593         * src/common/nact-object.c:
4594         * src/common/nact-object.h:
4595         * src/common/nact-pivot.c:
4596         * src/common/nact-pivot.h:
4597         * src/plugin/nautilus-actions.c:
4598         Reload list of actions instead of trying to update each object.
4600 2009-06-07 Pierre Wieser <pwieser@trychlos.org>
4602         * src/common/nact-pivot.c:
4603         * src/common/nact-pivot.h:
4604         * src/common/nact-gconf.c:
4605         Update the NactPivotNotify structure to handle profile name.
4607 2009-06-07 Pierre Wieser <pwieser@trychlos.org>
4609         Install the notification system.
4611         * src/common/nautilus-actions.c:
4612         Define new message "notify_nautilus_of_action_changed".
4614         * src/common/nact-pivot.c:
4615         Define new message "notify_pivot_of_action_changed".
4617         * src/common/nact-pivot.h:
4618         Rename and update nactPivotValue structure to NactPivotNotify.
4620         * src/common/gconf.c:
4621         Send message to NactPivot on action changed.
4623 2009-06-06 Pierre Wieser <pwieser@trychlos.org>
4625         Remove NactIIOClient interface.
4626         Fix make distcheck.
4627         Fix Glade file adressing.
4629         * src/common/nact-iio-client.c:
4630         * src/common/nact-iio-client.h:
4631         * src/common/nact-io-client.c:
4632         * src/common/nact-io-client.c:
4633         Remove files.
4635         * src/common/Makefile.am:
4636         * src/common/nact-action-profile.c:
4637         * src/common/nact-action-profile.h:
4638         * src/common/nact-action.c:
4639         * src/common/nact-action.h:
4640         * src/common/nact-gconf.c:
4641         * src/common/nact-gconf.h:
4642         * src/common/nact-iio-provider.c:
4643         * src/common/nact-iio-provider.h:
4644         * src/common/nact-pivot.c:
4645         * src/common/nact-pivot.h:
4646         * src/nact/Makefile.am:
4647         * src/utils/Makefile.am:
4648         Updated accordingly.
4650         * src/common/nact-uti-lists.c:
4651         * src/common/nact-uti-lists.h:
4652         New files after renaming previous uti-lists.{c,h}.
4654 2009-06-05 Pierre Wieser <pwieser@trychlos.org>
4656         Create pivot data structure NactPivotValue
4658         * src/common/nact-gconf.c (value_to_pivot):
4659         New function.
4661         * src/common/nact-iio-provider.c
4662         (nact_iio_provider_load_profile_properties):
4663         Fix thisfn typo.
4665         * src/common/nact-pivot.c
4666         * src/common/nact-pivot.h (nact_pivot_free_pivot_value):
4667         New function.
4669 2009-06-04 Pierre Wieser <pwieser@trychlos.org>
4671         Create a whole new object model, and defines some communication
4672         interfaces.
4674         * src/plugin/nautilus-actions.c:
4675         * src/plugin/nautilus-actions.h:
4676         Connect and load list of NactAction actions.
4678         * src/common/nact-gconf.c:
4679         * src/common/nact-gconf.h
4680         (nact_gconf_dispose, nact_gconf_dump): New functions.
4682         * src/common/uti-lists.c:
4683         * src/common/util-lists.h
4684         (nactuti_free_string_list, nactuti_duplicate_string_list):
4685         New functions.
4687         * src/common/nact-action.c:
4688         * src/common/nact-action.h:
4689         * src/common/nact-action-profile.c:
4690         * src/common/nact-action-profile.h:
4691         * src/common/nact-gconf.c:
4692         * src/common/nact-gconf.h:
4693         Updated accordingly.
4695         * src/common/nact-iio-client.c:
4696         * src/common/nact-iio-client.h:
4697         * src/common/nact-iio-provider.c:
4698         * src/common/nact-iio-provider.c:
4699         * src/common/nact-io-client.c:
4700         * src/common/nact-io-client.h:
4701         New files.
4703 2009-06-01 Pierre Wieser <pwieser@trychlos.org>
4705         * configure.ac: Have a more funny package string.
4707         * src/plugin/nautilus-module.c: Syslog at module initialization.
4709         * src/plugin/nautilus-actions.c:
4710         * src/plugin/nautilus-actions.h:
4711         Move NautilusActions object data members to a private area.
4712         Add forward declarations of, remove prefix from, static functions.
4713         Do nothing on get_background_items callback.
4715         * src/common/nact-action.c:
4716         * src/common/nact-action.h:
4717         * src/common/nact-action-profile.c:
4718         * src/common/nact-action-profile.h:
4719         * src/common/nact-gconf.c:
4720         * src/common/nact-gconf.h:
4721         * src/common/nact-gconf-keys.h:
4722         * src/common/nact-storage.c:
4723         * src/common/nact-storage.h:
4724         New files, preparing for a new object hierarchy (with shorter names).
4726         * src/common/uti-lists.c:
4727         * src/common/uti-lists.h:
4728         (nactuti_free_string_list) new function.
4730 2009-05-29 Pierre Wieser <pwieser@trychlos.org>
4732         Move all sources directories under src/
4733         Remove one directory level when installing Glade file
4734         Rename libnautilus-actions/libnautilus-actions to common/libnact
4736         * configure.ac:
4737         * Makefile.am:
4738         Build and install po/ directory after sources.
4740         * All sources: Updated accordingly.
4742         * src/nact/Makefile.am:
4743         Remove one directory level when installing Glade file.
4745 2009-05-29 Pierre Wieser <pwieser@trychlos.org>
4747         Include a short application description in all source headers
4749         * plugin/nautilus-module.c:
4750         Renamed from plugin/nautilus-actions-module.c.
4752         * plugin/nautilus-actions.c:
4753         Move log handler to nautilus-module.c.
4755         * plugin/Makefile.am:
4756         Updated accordingly.
4758 2009-05-29 Pierre Wieser <pwieser@trychlos.org>
4760         * configure.ac:
4761         Bump version number to 1.11 unstable.
4763 2009-05-29 Pierre Wieser <pwieser@trychlos.org>
4765         Prepare for the 1.10.1 release
4767 2009-05-28 Pierre Wieser <pwieser@trychlos.org>
4769         * plugin/nautilus-actions.c (nautilus_actions_get_file_items):
4770         Fix iteration through profiles list.
4771         Do not search through actions when the Nautilus-provided list is empty.
4773         * plugin/nautilus-actions.c (get_hash_keys):
4774         Remove no more used function.
4776         * nact/nautilus-actions-config.glade:
4777         Remove (useless) 'field_changed_cb' handler from the menu icon.
4779         * nact/nact-editor.c:
4780         * nact/nact-action-editor.c:
4781         Restore tooltip display for the icon name depending on Gtk+ version.
4783         * nact/nact.c:
4784         * nact/nautilus-actions-config.glade:
4785         Double-click on an action opens the editor.
4787         * nact/nact-profile-editor.c:
4788         Enable the OK button as soon as required fields are filled.
4790         * m4/nact-maintainer-mode.m4:
4791         * plugin/nautilus-actions.c:
4792         Only enable syslog'ed debug messages when in maintainer mode.
4794         * libnautilus-actions/Makefile.am:
4795         Remove trailing whitespace.
4797 2009-05-25 Pierre Wieser <pwieser@trychlos.org>
4799         * configure.ac:
4800         * Makefile.am:
4801         Reorganize install order so that plugin be installed last.
4803         * icons/Makefile.am:
4804         * libnautilus-actions/Makefile.am:
4805         * nact/Makefile.am:
4806         * plugin/Makefile.am:
4807         * utils/Makefile.am:
4808         Cleanup Makefile.am.
4810         * .gitignore: Update to ignore Glade work files.
4812         * plugin/Makefile.am:
4813         * libnautilus-actions/Makefile.am:
4814         Define G_LOG_DOMAIN variable.
4816         * libnautilus-actions/nautilus-actions-config.c:
4817         * libnautilus-actions/nautilus-actions-config.h:
4818         nautilus_actions_config_action_free_all_profile_names,
4819         nautilus_actions_config_action_get_first_profile_name,
4820         nautilus_actions_config_action_get_profiles_count,
4821         nautilus_actions_config_action_dump: new functions.
4823         * nact/nact-action-editor.c:
4824         * nact/nact-action-editor.h: New files to be able to edit an action
4825         without having to deal with the profile stuff.
4827         * nact/nautilus-actions-config.glade:
4828         Add EditActionDialogExt dialog.
4830         * nact/Makefile.am:
4831         * nact/nact-editor.c:
4832         * nact/nact-editor.h:
4833         * nact/nact-profile-editor.c:
4834         * nact/nact-profile-editor.h:
4835         * nact/nact-utils.c:
4836         * nact/nact-utils.h:
4837         * po/POTFILES.in:
4838         * po/ChangeLog: Updated accordingly.
4840 2009-05-18 Pierre Wieser <pwieser@trychlos.org>
4842         Fix Glade regression I introduced myself when ansi-fying C sources !
4844         * *.c, *.h: Almost all sources files impacted.
4846         * m4/nact-maintainer-mode.m4: Creation.
4848         * plugin/nautilus-actions.c: Add debug mode to syslog.
4850 2009-05-17 Pierre Wieser <pwieser@trychlos.org>
4852         Releasing 1.10.0
4854         * configure.ac: Update version number.
4856 2009-05-17 Pierre Wieser <pwieser@trychlos.org>
4858         Make all sources ansi-compliant
4860         * configure.ac: Use NACT_GNOME_COMPILE_WARNINGS (see #582860).
4862         * m4/nact-compiler-flags: Creation.
4864         * *.c, *.h: Update almost all sources to be ansi-compliant.
4866 2009-05-16 Pierre Wieser <pwieser@trychlos.org>
4868         * configure.ac: Created from configure.in,
4869         update all Makefile.am, replacing deprecated INCLUDES with AM_CPPFLAGS.
4871         * update po files
4873         * Makefile.am: Add DISTCLEANFILES,
4874         add DISTCHECK_CONFIGURE_FLAGS to be able to make distcheck successfully.
4876         * icons/16x16/Makefile.am:
4877         * icons/22x22/Makefile.am:
4878         * icons/32x32/Makefile.am:
4879         * icons/48x48/Makefile.am:
4880         * icons/scalable/Makefile.am:
4881         * nact/Makefile.am:
4882         * plugin/Makefile.am:
4883         * utils/Makefile.am:
4884         Add EXTRA_DIST to be able to make distcheck successfully.
4886 2009-05-13 Pierre Wieser <pwieser@trychlos.org>
4888         * nact/nact-editor.c:
4889         * libnautilus-actions/nautilus-actions-config.c:
4890         * libnautilus-actions/nautilus-actions-config-schema-reader.c:
4891         Fix typos. Fixes #522605 reported by Andre Klapper <a9016009%40gmx.de>.
4893         * libnautilus-actions/nautilus-actions-config-gconf-private.h:
4894         Remove a quote. Fixes #573365 reported by Sergej
4895         <sergio.durzu@ildeposito.org>.
4897 2009-05-12 Pierre Wieser <pwieser@trychlos.org>
4899         * ChangeLog, ChangeLog-2008:
4900         Split enormeous ChangeLog, only keeping recent history.
4902 2009-05-12 Bruce van der Kooij <brucevdkooij@gmail.com>
4904         * plugin/nautilus-actions.c:
4905         Call gnome_vfs_init at class initialization. Fixes #574919.
4907 2009-05-12 Pierre Wieser <pwieser@trychlos.org>
4909         * nautilus-actions.doap: Update short description.
4910         * MAINTAINERS: Update to point to nautilus-actions.doap.
4912 2009-04-13  Christian Persch  <chpe@gnome.org>
4914         * autogen.sh:
4915         * configure.in:
4916         * po/LINGUAS:
4917         Use newer intltool so the recent build break doesn't occur again.
4919 2009-04-12  Christian Persch  <chpe@gnome.org>
4921         * po/LINGUAS: Fix the build by removing extra newline.
4923 2009-01-20  Stéphane Raimbault  <stephane.raimbault@gmail.com>
4925         * nact/nautilus-actions-config.glade:
4926         Marked 'Duplicate' string for translation. Fixes #568366.