1 2012-02-02 Pierre Wieser <pwieser@trychlos.org>
3 * src/io-xml/Makefile.am:
4 * src/io-xml/naxml-formats.c: Data files are installed in a private
7 * src/io-desktop/Makefile.am:
8 * src/io-desktop/nadp-formats.c: Datafiles are installed in a private
11 * src/nact/nact-menubar.c (on_open_context_menu): Manages if event is
14 * src/nact/nact-tree-view.c: Manages to open the context menu with
17 * src/core/na-iprefs.c: Fix enumeration maps as it only works for data
20 * src/nact/nact-main-tab.c: No more try to open a popup menu on the
21 notebook as the standard GtkNotebook already has its own popup.
23 * src/nact/nact-main-window.c (on_base_initialize_gtk):
24 Enable the standard GtkNotebook context menu.
26 * src/nact/nact-menubar-priv.h:
27 * src/nact/nact-menubar.c:
28 Define a new notebook action group.
29 Define new radio action entries.
31 * src/nact/nact-menubar-view.c (nact_menubar_view_on_tabs_pos_changed):
34 * src/nact/nautilus-actions-config-tool.actions: Define menu actions.
36 2012-02-01 Pierre Wieser <pwieser@trychlos.org>
38 * src/nact/nact-main-window.c:
39 * src/nact/nact-main-window.h: New MAIN_SIGNAL_CONTEXT_MENU signal.
41 * src/nact/nact-marshal.def: New closure definition.
43 * src/nact/nact-tree-view.c:
44 * src/nact/nact-tree-view.h: Removed TREE_SIGNAL_CONTEXT_MENU signal.
46 * src/nact/nautilus-actions-config-tool.actions:
47 * src/nact/nact-menubar.c: Updated accordingly.
49 * src/nact/nact-main-tab.c:
50 * src/nact/nact-main-tab.h (nact_main_tab_init): New function.
52 * src/nact/nact-iaction-tab.c (nact_iaction_tab_init):
53 * src/nact/nact-ibasenames-tab.c (nact_ibasenames_tab_init):
54 * src/nact/nact-icapabilities-tab.c (nact_icapabilities_tab_init):
55 * src/nact/nact-icommand-tab.c (nact_icommand_tab_init):
56 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_init):
57 * src/nact/nact-iexecution-tab.c (nact_iexecution_tab_init):
58 * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_init):
59 * src/nact/nact-imimetypes-tab.c (nact_imimetypes_tab_init):
60 * src/nact/nact-iproperties-tab.c (nact_iproperties_tab_init):
61 * src/nact/nact-ischemes-tab.c (nact_ischemes_tab_init): Updated accordingly.
63 * src/nact/nact-main-window.c
64 (instance_dispose): Saves the current tabs position.
65 (on_base_initialize_gtk): Restaures and set the tabs position.
67 * src/core/na-iprefs.c:
68 * src/core/na-iprefs.h (na_iprefs_get_tabs_pos, na_iprefs_set_tabs_pos):
71 * src/core/na-settings.c:
72 * src/core/na-settings.h: Define new "main-tabs-pos" user preference.
74 * src/core/na-importer-ask.c (on_destroy_toplevel): Reset static variable.
76 * src/io-desktop/nadp-reader.c
77 (item_from_desktop_file): Fix a small memory leak.
78 (nadp_reader_iimporter_import_from_uri): Reset writability status in the
79 case where import source is read-only.
81 * src/plugin-menu/nautilus-actions.c: Only expands candidate items.
83 * src/core/na-tokens.c (execute_action_command): Parse working dir.
85 * src/api/na-iduplicable.h:
86 * src/core/na-iduplicable.c (copy, na_iduplicable_duplicate):
87 * src/api/na-object-api.h (na_object_duplicate):
88 * src/api/na-object.h (copy):
89 * src/core/na-object.c (iduplicable_copy):
90 * src/core/na-object-item.c (object_copy, copy_children): Add a 'mode' argument.
92 * src/nact/nact-clipboard.c
93 (nact_clipboard_primary_set, nact_clipboard_primary_get):
94 * src/nact/nact-menubar-edit.c (nact_menubar_edit_on_duplicate):
95 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
96 * src/nact/nact-tree-model-dnd.c (drop_inside):
97 * src/nact/nact-tree-model.c (nact_tree_model_fill): Updated accordingly.
99 2012-01-30 Pierre Wieser <pwieser@trychlos.org>
101 * src/plugin-tracker/na-tracker.c:
102 * src/utils/nautilus-actions-run.c:
103 * tools/dbus-introspect.sh: Instanciate an object below the rooted
106 * docs/reference/nautilus-actions-docs.xml: Add new symbols for 3.2.
108 * src/nact/nact-tree-model.c: Define window, treeview and mode properties.
109 (instance_constructed): Initialize DnD interface.
110 (instance_dispose): Clear the GtkTreeStore.
112 * po/POTFILES.in: Updated accordingly.
114 * src/nact/nact-main-window.c: Instanciate a window, not an application.
116 * src/nact/nact-tree-model-dnd.c: Debug NactTreeModel reference count.
118 * src/nact/nact-tree-model-priv.h: Get rid of WINDOW_DATA_TREE_MODEL data.
120 * src/nact/nact-tree-view.c (instance_dispose): No more clear the store.
122 * src/core/na-data-boxed.c (instance_init, instance_finalize):
123 * src/core/na-object-id.c (instance_dispose):
124 * src/core/na-object.c (instance_init, instance_dispose,
125 instance_finalize): Remove some too verbose debug messages.
127 * src/nact/base-window.c:
128 * src/nact/base-window.h: Define a new BASE_PROP_DESTROY_ON_DISPOSE property.
129 When set, the underlying Gtk toplevel is destroyed when the BaseWindow is
132 * src/nact/nact-main-window.c (nact_main_window_new): Set the
133 DestroyOnDispose property.
135 * src/nact/nact-match-list.c (on_instance_finalized): Do not try to clear
136 the NactTreeModel after it has been finalized.
138 * src/nact/nact-tree-model.c (nact_tree_model_new): Improve comment.
140 * src/nact/nact-tree-view.c:
141 * src/nact/nact-tree-view.h(initialize_gtk): no more mimic a signal
144 2012-01-29 Pierre Wieser <pwieser@trychlos.org>
146 * src/nact/nact-tree-model.c (nact_tree_model_new): Unref filter model.
148 * src/nact/nact-tree-view.c (instance_dispose): Debug NactTreeModel ref count.
150 * src/nact/nact-preferences-editor.c (instance_init):
151 Remove signal connections already done in instance_contructed().
153 * src/core/na-io-provider.c (na_io_provider_write_item):
154 Reset the NAIOProvider after having wrote the item.
156 * src/nact/nact-menubar-file.c (save_item): Warns if an error occurs.
158 * src/core/na-icontext.c (is_candidate_for_show_if_registered):
159 Consider having either GDBus or DBus-GLib.
161 * m4/na-check-for-gdbus.m4: Setup CFLAGS and LIBS flags.
163 2012-01-28 Pierre Wieser <pwieser@trychlos.org>
165 * src/api/na-iexporter.h:
166 * src/api/na-iio-provider.h: Improve interface comments.
168 * src/core/na-factory-object.c (na_factory_object_copy):
169 Only copies non-null provider and provider data items.
171 * src/plugin-tracker/na-tracker-dbus.xml:
172 Renamed as src/plugin-tracker/na-tracker-dbus-glib.xml.
174 * src/plugin-tracker/Makefile.am:
175 * src/utils/Makefile.am: Updated accordingly.
177 * src/plugin-tracker/na-tracker-gdbus.xml: New file.
179 * src/plugin-tracker/Makefile.am: Generate code for GDBus.
181 * src/plugin-tracker/na-tracker-dbus.c:
182 * src/plugin-tracker/na-tracker-dbus.h: Removed files.
184 * src/plugin-tracker/na-tracker-dbus.xml: Updated accordingly.
186 * src/plugin-tracker/na-tracker.c:
187 * src/plugin-tracker/na-tracker.h:
188 Implement GDBus server high-level API.
189 Rename GType macro name.
191 * src/plugin-tracker/na-tracker-plugin.c
192 (nautilus_module_list_types): Updated to new GType macro name.
194 * src/utils/Makefile.am: Generate code for GDBus.
196 * src/utils/nautilus-actions-run.c: Implement GDBus client high-level API.
198 * m4/na-check-for-gdbus.m4: Requires GIO 2.30 (GDBusObjectManagerServer).
200 * docs/reference/nautilus-actions-sections.txt: Update reference manual.
202 2012-01-27 Pierre Wieser <pwieser@trychlos.org>
204 * m4/na-check-for-gdbus.m4: New file.
206 * configure.ac: Updated accordingly.
209 * src/plugin-tracker/na-tracker-dbus.xml:
210 * src/utils/nautilus-actions-run.c:
211 Tracker DBus interface is renamed as
212 org.nautilus_actions.DBus.Tracker.Properties1 and versioned according to
213 http://0pointer.de/blog/projects/versioning-dbus.html
215 * m4/na-default-io-provider.m4: Talk about items, not just actions.
217 * docs/reference/na-compiling.xml: Slightly improve documentation.
219 * src/core/na-core-utils.c (na_core_utils_str_subst): Fix description.
221 * src/api/na-iexporter.h: Fix NAIExporterFormat description.
223 * src/api/na-iexporter.h: Update interface description, including the
224 list of currently allocated export format identifiers.
226 * docs/export-format-id: Removed file.
228 * docs/Makefile.am: Updated accordingly.
230 * src/core/na-export-format.c:
231 * src/core/na-export-format.h (na_export_format_new):
232 * src/core/na-exporter.c:
233 * src/io-desktop/nadp-formats.c:
234 * src/io-desktop/nadp-writer.c:
235 * src/io-desktop/nadp-writer.h:
236 * src/io-xml/naxml-formats.c:
237 * src/io-xml/naxml-writer.c:
238 * src/io-xml/naxml-writer.h:
239 Rename NAIExporterFormatExt structure as NAIExporterFormatv2.
241 * docs/reference/nautilus-actions-sections.txt: Update sections.
243 * src/api/na-iimporter.h:
244 * src/core/na-iimporter.c: Update interface description.
246 * src/io-desktop/nadp-reader.c:
247 * src/io-desktop/nadp-reader.h (nadp_reader_iimporter_import_from_uri):
248 * src/io-xml/naxml-reader.c:
249 * src/io-xml/naxml-reader.h (naxml_reader_import_from_uri):
252 * src/api/na-iio-provider.h: better distinguish own internal comments.
254 * docs/reference/nautilus-actions-overrides.txt:
255 (NAIImporterCheckFn, NAIImporterAskUserFn): Mark the typedefs as deprecated.
257 * docs/reference/nautilus-actions-docs.xml: Fix typo.
259 * src/api/na-iio-provider.h: Update interface description, including the
260 list of currently allocated I/O provider identifiers.
262 * src/core/na-iio-provider.c:
263 (interface_base_init): Update signal description.
264 (na_iio_provider_item_changed): Update function description.
266 * docs/io-provider-id: Deleted file.
268 * docs/Makefile.am: Updated accordingly.
270 * docs/reference/nautilus-actions-docs.xml:
271 Define new nact entity.
272 Update the link to online Reference Manual.
275 2012-01-25 Pierre Wieser <pwieser@trychlos.org>
277 * Makefile.am: Also distributes ChangeLog-2011.
279 * configure.ac: Bump version number due to API changes.
281 * Makefile.am: Build Reference Manual when make distcheck.
283 * docs/reference/Makefile.am: Always enable gtk-doc.make inclusion.
285 Fix last part of #668181.
286 Rationale is: gtk-doc shamelessly refuses to dist manuals if GTK_DOC is
287 not enabled, i.e. if the manuals have not just been built. Getting rid of
288 this behavior would be possible (just overriding dist-hook target), but
289 same issue arises when installing from a distribution: as GTK_DOC is not
290 enabled, then install target just aborts :(.
291 So it is easier to just enable GTK_DOC when making distcheck.
293 * src/api/na-iexporter.h: Fix typo.
295 * m4/na-enable-manuals.m4: Remove ENABLE_MANUALS conditional.
297 * docs/nact/Makefile.am: Another rewriting.
298 Install and distribute manuals even if not just built.
301 * run-distcheck.sh: Deletes the remaining part of an aborded build.
303 2012-01-23 Pierre Wieser <pwieser@trychlos.org>
305 * run-autogen.sh: Deletes the remaining part of an aborded build.
307 2012-01-22 Pierre Wieser <pwieser@trychlos.org>
309 * docs/reference/Makefile.am: Reference the na-core library.
311 Fix part of #668181 reported by Vincent Untz.
313 2012-01-18 Pierre Wieser <pwieser@trychlos.org>
315 * docs/nact/C/nact-conditions.xml: Does not embed a <literal> tag inside
318 * src/core/na-desktop-environment.c
319 (na_desktop_environment_detect_running_desktop): Detect XFCE desktop.
321 2012-01-17 Pierre Wieser <pwieser@trychlos.org>
323 * src/core/na-object-item-factory.c: Reset provider as copyable.
325 * src/core/na-factory-object.c (na_factory_object_copy):
326 Takes care of not overriding target provider data.
328 nact_match_list functions connect to base signals (and acts as a
331 * src/nact/nact-match-list.c:
332 * src/nact/nact-match-list.h
333 (nact_match_list_create_model): Renamed as nact_match_list_init_with_args().
334 (nact_match_list_init_view, nact_match_list_on_selection_changed,
335 nact_match_list_dispose): Removed functions.
337 * src/nact/nact-ibasenames-tab.c:
338 * src/nact/nact-icapabilities-tab.c:
339 * src/nact/nact-ifolders-tab.c:
340 * src/nact/nact-imimetypes-tab.c:
341 * src/nact/nact-ischemes-tab.c:
342 * src/nact/nact-main-tab.h: Updated accordingly.
344 * src/core/na-pivot.c:
345 * src/core/na-settings.h:
346 * src/nact/nact-export-ask.c:
347 * src/nact/nact-icommand-tab.c:
348 * src/nact/nact-ifolders-tab.c:
349 * src/nact/nact-main-toolbar.c:
350 * src/nact/nact-main-window.c:
351 * src/nact/nact-menubar-edit.c:
352 * src/nact/nact-providers-list.c:
353 * src/nact/nact-schemes-list.c: Remove useless <core/na-iprefs.h> include.
355 Move public na_iprefs_get_io_providers() function to static one.
357 * src/core/na-iprefs.c:
358 * src/core/na-iprefs.h (na_iprefs_get_io_providers): Removed function.
360 * src/core/na-io-provider.c (io_providers_get_from_prefs): New function.
362 2012-01-16 Pierre Wieser <pwieser@trychlos.org>
364 * src/nact/nact-add-capability-dialog.c:
365 * src/nact/nact-add-scheme-dialog.c:
366 * src/nact/nact-confirm-logout.c:
367 * src/nact/nact-export-ask.c:
368 * src/nact/nact-icon-chooser.c:
369 * src/nact/nact-preferences-editor.c:
370 Connect to base signals from instance_contructed().
372 * src/nact/base-isession.c (client_quit_requested_cb): Add debug trace.
374 * src/nact/nact-main-window.c
375 (on_base_initialize_window): Connect to quit-requested signal.
377 * src/nact/nact-application.c
378 (appli_init_application): Fix parent class method call.
380 * docs/nact/C/nact-conditions.xml: Embeds literal values between
381 <literal>..</literal> tags.
383 * docs/reference/nautilus-actions-sections.txt:
384 Report here the new GType macro names.
386 * docs/nact/C/nact-conditions.xml:
387 Embeds literal values between <literal>..</literal> tags.
389 * src/nact/nact-tree-model-dnd.c: Fix comments.
391 * src/nact/nact-export-ask.c (nact_export_ask_user): Micro code-format.
393 * src/nact/nact-clipboard.c (nact_clipboard_dnd_drag_end): Fix micro leak.
395 * src/nact/base-window.c (init_gtk_toplevel):
396 Also returns TRUE if Gtk toplevel was already initialized.
398 * src/core/na-factory-object.c (na_factory_object_copy):
399 Removes target copyable data before copying source copyable data.
401 * src/nact/nact-icommand-tab.c (parse_parameters): Uses internal data.
403 * src/core/na-desktop-environment.c
404 * src/core/na-desktop-environment.h
405 (na_desktop_environment_detect_running_desktop): Fix LXDE detection.
406 (na_desktop_environment_get_label): New function.
408 * src/nact/nact-preferences-editor.c
409 (desktop_setup): Display the desktop label instead of its id.
411 * tools/check-po.sh: Do not match binary files.
413 * src/io-desktop/nadp-writer.c (nadp_writer_iexporter_export_to_buffer):
414 * src/io-xml/naxml-writer.c (naxml_writer_export_to_buffer):
415 Fix find_export_format_fn_from_quark() calls.
417 * src/api/na-iimporter.h: Fix comment.
419 * po/POTFILES.in: Reference two new files.
421 * docs/reference/nautilus-actions-sections.txt:
422 Report here the new GType macro names.
424 * docs/nact/C/nact-conditions.xml:
425 Embeds literal values between <literal>..</literal> tags.
427 2012-01-14 Pierre Wieser <pwieser@trychlos.org>
429 * src/nact/nact-add-capability-dialog.c:
430 * src/nact/nact-add-capability-dialog.h:
431 NACT_ADD_CAPABILITY_DIALOG_TYPE GType macro renamed as
432 NACT_TYPE_ADD_CAPABILITY_DIALOG.
434 * src/nact/nact-add-scheme-dialog.c:
435 * src/nact/nact-add-scheme-dialog.h:
436 NACT_ADD_SCHEME_DIALOG_TYPE GType macro renamed as
437 NACT_TYPE_ADD_SCHEME_DIALOG.
439 * src/nact/nact-application.c:
440 * src/nact/nact-application.h:
441 NACT_APPLICATION_TYPE GType macro renamed as NACT_TYPE_APPLICATION.
443 * src/nact/nact-assistant-export.c:
444 * src/nact/nact-assistant-export.h:
445 NACT_ASSISTANT_EXPORT_TYPE GType macro renamed as
446 NACT_TYPE_ASSISTANT_EXPORT.
448 * src/nact/nact-assistant-import.c:
449 * src/nact/nact-assistant-import.h:
450 NACT_ASSISTANT_IMPORT_TYPE GType macro renamed as
451 NACT_TYPE_ASSISTANT_IMPORT.
453 * src/nact/nact-clipboard.c:
454 * src/nact/nact-clipboard.h:
455 NACT_CLIPBOARD_TYPE GType macro renamed as NACT_TYPE_CLIPBOARD.
457 * src/nact/nact-confirm-logout.c:
458 * src/nact/nact-confirm-logout.h:
459 NACT_CONFIRM_LOGOUT_TYPE GType macro renamed as NACT_TYPE_CONFIRM_LOGOUT.
461 * src/nact/nact-icon-chooser.c:
462 * src/nact/nact-icon-chooser.h:
463 NACT_ICON_CHOOSER_TYPE GType macro renamed as NACT_TYPE_ICON_CHOOSER.
465 * src/nact/nact-menubar.c:
466 * src/nact/nact-menubar.h:
467 NACT_MENUBAR_TYPE GType macro renamed as NACT_TYPE_MENUBAR.
469 * src/nact/nact-sort-buttons.c:
470 * src/nact/nact-sort-buttons.h:
471 NACT_SORT_BUTTONS_TYPE GType macro renamed as NACT_TYPE_SORT_BUTTONS.
473 * src/nact/nact-tree-model.c:
474 * src/nact/nact-tree-model.h:
475 * src/nact/nact-tree-ieditable.c:
476 NACT_TREE_MODEL_TYPE GType macro renamed as NACT_TYPE_TREE_MODEL.
478 * src/nact/nact-tree-view.c:
479 * src/nact/nact-tree-view.h:
480 NACT_TREE_VIEW_TYPE GType macro renamed as NACT_TYPE_TREE_VIEW.
482 2012-01-13 Pierre Wieser <pwieser@trychlos.org>
484 * src/io-xml/naxml-provider.h:
485 * src/io-xml/naxml-module.c:
486 NAXML_PROVIDER_TYPE GType macro renamed as NAXML_TYPE_PROVIDER.
488 * src/io-desktop/nadp-desktop-file.c:
489 * src/io-desktop/nadp-desktop-file.h:
490 NADP_DESKTOP_FILE_TYPE GType macro renamed as NADP_TYPE_DESKTOP_FILE.
492 * src/io-desktop/nadp-desktop-provider.h:
493 * src/api/na-extension.h:
494 * src/io-desktop/nadp-module.c:
495 NADP_DESKTOP_PROVIDER_TYPE GType macro renamed as NADP_TYPE_DESKTOP_PROVIDER.
497 * src/io-desktop/nadp-monitor.c:
498 * src/io-desktop/nadp-monitor.h:
499 NADP_MONITOR_TYPE GType macro renamed as NADP_TYPE_MONITOR.
501 * src/io-desktop/nadp-xdg-dirs.h: Fix documentation.
503 * src/core/na-import-mode.c:
504 * src/core/na-import-mode.h:
505 NA_IMPORT_MODE_TYPE GType macro renamed as NA_TYPE_IMPORT_MODE.
507 * src/core/na-importer-ask.c:
508 * src/core/na-importer-ask.h:
509 NA_IMPORTER_ASK_TYPE GType macro renamed as NA_TYPE_IMPORTER_ASK.
511 * src/core/na-module.c:
512 * src/core/na-module.h:
513 * src/test/test-module.c:
514 NA_MODULE_TYPE GType macro renamed as NA_TYPE_MODULE.
516 * src/core/na-pivot.c:
517 * src/core/na-pivot.h:
518 NA_PIVOT_TYPE GType macro renamed as NA_TYPE_PIVOT.
520 * src/core/na-selected-info.c:
521 * src/core/na-selected-info.h:
522 NA_SELECTED_INFO_TYPE GType macro renamed as NA_TYPE_SELECTED_INFO.
524 * src/core/na-tokens.c:
525 * src/core/na-tokens.h:
526 NA_TOKENS_TYPE GType macro renamed as NA_TYPE_TOKENS.
528 * src/core/na-updater.c:
529 * src/core/na-updater.h:
530 NA_UPDATER_TYPE GType macro renamed as NA_TYPE_UPDATER.
532 * src/api/na-boxed.h:
533 * src/core/na-boxed.c:
534 NA_BOXED_TYPE GType macro renamed as NA_TYPE_BOXED.
536 * src/api/na-data-boxed.h:
537 * src/core/na-data-boxed.c:
538 NA_DATA_BOXED_TYPE GType macro renamed as NA_TYPE_DATA_BOXED.
540 * src/api/na-icontext.h:
541 NA_ICONTEXT_TYPE GType macro renamed as NA_TYPE_ICONTEXT.
543 * src/api/na-iduplicable.h:
544 NA_IDUPLICABLE_TYPE GType macro renamed as NA_TYPE_IDUPLICABLE.
546 * src/api/na-iexporter.h:
547 * src/core/na-exporter.c:
548 NA_IEXPORTER_TYPE GType macro renamed as NA_TYPE_IEXPORTER.
550 * src/api/na-ifactory-object.h:
551 NA_IFACTORY_OBJECT_TYPE GType macro renamed as NA_TYPE_IFACTORY_OBJECT.
553 * src/api/na-ifactory-provider.h:
554 NA_IFACTORY_PROVIDER_TYPE GType macro renamed as NA_TYPE_IFACTORY_PROVIDER.
556 * src/api/na-iimporter.h:
557 * src/core/na-importer.c:
558 NA_IIMPORTER_TYPE GType macro renamed as NA_TYPE_IIMPORTER.
560 * src/api/na-iio-provider.h:
561 * src/core/na-iio-provider.c:
562 * src/core/na-io-provider.c:
563 NA_IIO_PROVIDER_TYPE GType macro renamed as NA_TYPE_IIO_PROVIDER.
565 * src/api/na-object-action.h:
566 * src/core/na-object-action.c:
567 NA_OBJECT_ACTION_TYPE GType macro renamed as NA_TYPE_OBJECT_ACTION.
569 * src/api/na-object-id.h:
570 * src/core/na-object-id.c:
571 NA_OBJECT_ID_TYPE GType macro renamed as NA_TYPE_OBJECT_ID.
573 * src/api/na-object-item.h:
574 * src/core/na-object-item.c:
575 NA_OBJECT_ITEM_TYPE GType macro renamed as NA_TYPE_OBJECT_ITEM.
577 * src/api/na-object-menu.h:
578 * src/core/na-object-menu.c:
579 NA_OBJECT_MENU_TYPE GType macro renamed as NA_TYPE_OBJECT_MENU.
581 * src/api/na-object-profile.h:
582 * src/core/na-object-profile.c:
583 NA_OBJECT_PROFILE_TYPE GType macro renamed as NA_TYPE_OBJECT_PROFILE.
585 * src/api/na-object.h:
586 * src/core/na-object.c:
587 NA_OBJECT_TYPE GType macro renamed as NA_TYPE_OBJECT.
589 * src/core/na-pivot.c:
590 * src/api/na-extension.h:
591 * src/io-desktop/nadp-desktop-provider.c:
592 * src/io-gconf/nagp-gconf-provider.c:
593 * src/io-xml/naxml-provider.c:
594 * src/nact/nact-tree-model.c:
595 * src/test/test-module-plugin.c: Updated accordingly.
597 Get ride of GQuark as internal identifier of export format.
599 * src/api/na-iexporter.h:
600 Deprecate _NAIExporterFileParmsv1 and _NAIExporterBufferParmsv1 struct.
602 * src/core/na-export-format.c:
603 * src/core/na-export-format.h:
604 (na_export_format_get_quark): Removed function.
605 NA_EXPORT_FORMAT_TYPE GType macro renamed as NA_TYPE_EXPORT_FORMAT.
607 * src/core/na-exporter.c:
608 * src/core/na-exporter.h
609 (na_exporter_find_for_format): New function.
610 (na_exporter_get_export_format): Removed function.
612 * src/io-desktop/nadp-writer.c
613 (nadp_writer_iexporter_export_to_buffer,
614 nadp_writer_iexporter_export_to_file):
615 * src/io-xml/naxml-writer.c
616 (naxml_writer_export_to_buffer, naxml_writer_export_to_file):
617 * src/nact/nact-assistant-export.c (assistant_apply):
618 * src/nact/nact-clipboard.c (export_row_object):
619 * src/nact/nact-export-ask.c:
620 * src/nact/nact-export-ask.h(nact_export_ask_user):
621 * src/utils/nautilus-actions-new.c (output_to_desktop):
622 * src/utils/nautilus-actions-print.c (main): Updated accordingly.
624 * src/core/na-ioptions-list.c: Fix comments.
626 * src/core/na-ioption.c (get_ioption_data):
627 Set the initialization flag after the weak ref on the instance.
629 * src/core/na-ioption.h:
630 * src/core/na-import-mode.c:
631 * src/core/na-export-format.c:
632 Rename NA_IOPTION_TYPE GType macro to NA_TYPE_IOPTION.
634 * src/nact/nact-assistant-export.ui: Rename widget to ExportAskLabel.
636 * src/nact/nact-export-ask.c:
637 * src/nact/nact-export-ask.h:
638 Rename NACT_EXPORT_ASK_TYPE GType macro to NACT_TYPE_EXPORT_ASK.
640 * src/utils/nautilus-actions-new.c (output_to_stdout): Set default value.
642 * src/core/na-ioptions-list.h: Fix GType macros.
644 * src/core/na-settings.c:
645 * src/core/na-settings.h: Move default values out of the header.
647 * src/core/na-exporter.c (na_exporter_get_export_format): Fix comment.
649 2012-01-12 Pierre Wieser <pwieser@trychlos.org>
651 * src/core/na-ioptions-list.h:
652 Rename NA_IOPTIONS_LIST_TYPE GType macro to NA_TYPE_IOPTIONS_LIST.
654 * src/core/na-importer-ask.c (register_type):
655 * src/nact/nact-assistant-export.c (register_type):
656 * src/nact/nact-assistant-import.c (register_type):
657 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
659 * src/nact/nact-preferences-editor.c:
660 * src/nact/nact-preferences-editor.h:
661 * src/nact/nact-preferences.ui:
662 Rename NACT_PREFERENCES_EDITOR_TYPE GType macro to NACT_TYPE_PREFERENCES_EDITOR.
663 Set "Relying on runtime detection" as default in "Runtime execution" tab.
664 Display the detected desktop identifier.
666 * src/nact/nact-ienvironment-tab.c
667 (dispose_selection_count_combobox): Check that we have a GtkComboBox.
668 (dispose_desktop_listview): Check that we have a GtkTreeView.
670 * src/nact/nact-icommand-tab.c
671 (legend_dialog_hide): Check that legend_dialog is a GtkWindow.
673 * src/core/na-desktop-environment.c:
674 * src/core/na-desktop-environment.h: Fix comments.
676 General review of notebook interfaces:
677 - connect to BaseWindow signals instead of calling public functions
678 - define GObject standard GType macro names
679 - host private data in only one structure attached to the instance.
681 * src/nact/nact-iaction-tab.c:
682 * src/nact/nact-iaction-tab.h:
683 * src/nact/nact-ibasenames-tab.c:
684 * src/nact/nact-ibasenames-tab.h:
685 * src/nact/nact-icapabilities-tab.c:
686 * src/nact/nact-icapabilities-tab.h:
687 * src/nact/nact-icommand-tab.c:
688 * src/nact/nact-icommand-tab.h:
689 * src/nact/nact-ienvironment-tab.c:
690 * src/nact/nact-ienvironment-tab.h:
691 * src/nact/nact-iexecution-tab.c:
692 * src/nact/nact-iexecution-tab.h:
693 * src/nact/nact-ifolders-tab.c:
694 * src/nact/nact-ifolders-tab.h:
695 * src/nact/nact-imimetypes-tab.c:
696 * src/nact/nact-imimetypes-tab.h:
697 * src/nact/nact-iproperties-tab.c:
698 * src/nact/nact-iproperties-tab.h:
699 * src/nact/nact-ischemes-tab.c:
700 * src/nact/nact-ischemes-tab.h:
701 * src/nact/nact-main-window.c:
702 * src/nact/nact-main-window.h: Updated accordingly.
704 * src/nact/nact-main-window.c (class_init):
705 Make property labels translatable.
707 2012-01-11 Pierre Wieser <pwieser@trychlos.org>
709 * src/nact/nact-main-window.c (on_base_initialize_base_window):
710 Connect to the application object.
712 * src/nact/base-window.c:
713 * src/nact/base-window.h (all_widgets_showed): Renamed as show_widgets().
715 * src/nact/base-dialog.c:
716 * src/nact/base-dialog.h:
717 BASE_DIALOG_TYPE GType macro is renamed as BASE_TYPE_DIALOG.
719 * src/nact/nact-add-capability-dialog.c (register_type):
720 * src/nact/nact-add-scheme-dialog.c (register_type):
721 * src/nact/nact-confirm-logout.c (register_type):
722 * src/nact/nact-export-ask.c (register_type):
723 * src/nact/nact-icon-chooser.c (register_type):
724 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
726 * src/nact/base-assistant.c:
727 * src/nact/base-assistant.h:
728 BASE_ASSISTANT_TYPE GType macro is renamed as BASE_TYPE_ASSISTANT.
729 Remove the work-around against #589745 (Apply message in GtkAssistant).
731 * src/nact/nact-assistant-export.c (register_type):
732 * src/nact/nact-assistant-import.c (register_type): Updated accordingly.
734 * src/nact/base-dialog.c:
735 * src/nact/base-dialog.h:
736 BASE_WINDOW_TYPE is renamed as BASE_TYPE_WINDOW.
737 Review whole initialization process.
739 * src/nact/base-assistant.c (register_type):
740 * src/nact/nact-iaction-tab.c (register_type):
741 * src/nact/nact-ibasenames-tab.c (register_type):
742 * src/nact/nact-icapabilities-tab.c (register_type):
743 * src/nact/nact-icommand-tab.c (register_type):
744 * src/nact/nact-ienvironment-tab.c (register_type):
745 * src/nact/nact-iexecution-tab.c (register_type):
746 * src/nact/nact-ifolders-tab.c (register_type):
747 * src/nact/nact-imimetypes-tab.c (register_type):
748 * src/nact/nact-iproperties-tab.c (register_type):
749 * src/nact/nact-ischemes-tab.c (register_type):
750 * src/nact/nact-main-window.c (register_type): Updated accordingly.
752 * src/nact/base-builder.c:
753 * src/nact/base-builder.h:
754 BASE_BUILDER_TYPE is renamed as BASE_TYPE_BUILDER.
756 * BASE_SIGNAL_QUIT_REQUESTED, BASE_SIGNAL_QUIT: New signals, defined in
757 BaseISession interface.
759 * src/nact/nact-marshal.def: New file.
761 * src/nact/Makefile.am: Updated accordingly.
763 * src/nact/base-application.c
764 * src/nact/base-application.h
765 (register_type): As BaseISession now only requires G_TYPE_OBJECT, then
766 declare the implementation in register_type().
767 (base_application_run): Renamed as base_application_run_with_args().
768 BASE_EXIT_CODE_START_FAIL exit code replaced with BASE_EXIT_CODE_PROGRAM.
769 (base_application_is_willing_to_quit): New function, moved from BaseWindow.
770 BASE_APPLICATION_TYPE macro renamed as BASE_TYPE_APPLICATION.
772 * src/nact/base-assistant.c (do_run):
773 * src/nact/base-dialog.c (do_run):
774 * src/nact/nact-application.c (register_type):
775 * src/nact/nact-main-window.c:
776 * src/nact/nact-menubar-maintainer.c:
777 * src/nact/nact-tree-view.c: Updated accordingly.
779 * src/nact/base-isession.c:
780 * src/nact/base-isession.h:
781 Define ISessionData pseudo-properties.
782 Implement BASE_SIGNAL_QUIT_REQUESTED and BASE_SIGNAL_QUIT class handlers.
784 * src/nact/base-iunique.c:
785 * src/nact/base-iunique.h:
786 Define IUniqueData pseudo-properties.
788 * src/nact/base-window.c:
789 * src/nact/base-window.h:
790 Define BaseGtkData pseudo-properties.
791 Remove BASE_SIGNAL_WILLING_TO_QUIT definition and handlers.
792 (base_window_is_willing_to_quit): Removed function.
794 2012-01-09 Pierre Wieser <pwieser@trychlos.org>
796 * src/nact/base-isession.c:
797 * src/nact/base-isession.h: New BaseISession interface.
799 * src/nact/Makefile.am:
800 * src/nact/base-application.c (init_session_manager): Updated accordingly.
802 * src/nact/base-application.h: Update comments.
804 * src/nact/base-window.c:
805 * src/nact/base-window.h (base_window_init) now holds all the build process.
807 * src/nact/nact-main-window.c (instance_dispose): Quit the main loop.
809 * src/nact/base-window.c:
810 * src/nact/base-window.h
811 (BASE_SIGNAL_ALL_WIDGETS_SHOWED): signal renamed as BASE_SIGNAL_SHOW_WIDGETS.
812 (instance_constructed): Gtk toplevel initialization is moved here.
813 (base_window_init): only deals with runtime initialization and widgets display.
814 (do_initialize_base_window): set transient for parent here.
816 * src/nact/nact-add-capability-dialog.c (instance_init):
817 * src/nact/nact-add-scheme-dialog.c (instance_init):
818 * src/nact/nact-assistant-export.c (instance_constructed):
819 * src/nact/nact-icon-chooser.c (instance_init):
820 * src/nact/nact-preferences-editor.c (instance_init):
821 * src/nact/nact-tree-view.c (instance_constructed): Updated accordingly.
823 * src/nact/nact-main-window.c
824 (instance_init): Connect to BaseWindow signals before running
825 instance_constructed().
826 (nact_main_window_new): Call base_window_init().
828 * src/nact/nact-application.h: Review comments.
830 * src/nact/nact-application.c (appli_create_windows): Fix return value.
832 * src/nact/base-application.h: Fix comments.
834 * src/nact/base-application.c (base_application_run):
835 Add a debug message before entering the main loop.
837 2012-01-08 Pierre Wieser <pwieser@trychlos.org>
839 * src/nact/base-application.c:
840 * src/nact/base-application.h
841 (base_application_get_builder): Removed function.
842 Implements BaseIUnique interface.
844 * src/nact/base-window.c:
845 * src/nact/base-window.h:
846 Have a common builder at class level.
847 Gtk toplevel and BaseWindow are initialized when instance is constructed.
849 * src/nact/nact-application.c: Updated accordingly.
851 * src/nact/base-iunique.c:
852 * src/nact/base-iunique.h (base_iunique_init_with_name):
853 Function renamed from base_iunique_init_name().
854 * src/nact/base-builder.c:
855 * src/nact/base-builder.h: Fix comments.
857 * src/nact/nact-tree-view.c (nact_tree_view_get_type):
858 Register the interface after the type so that the interface is able to
861 A program to test a class which implements an interface, this same
862 interface itself requiring the class...
864 * src/test/test-iface2.c: New interface test program.
866 * src/test/Makefile.am: Updated accordingly.
868 Rather call parent_class::instance_constructed() method before executing
869 the derived class one.
871 * src/core/na-io-provider.c (instance_constructed):
872 * src/core/na-pivot.c (instance_constructed):
873 * src/nact/nact-assistant-export.c (instance_constructed):
874 * src/nact/nact-main-window.c (instance_constructed):
875 * src/nact/nact-tree-view.c (instance_constructed):
876 * src/plugin-menu/nautilus-actions.c (instance_constructed):
877 Call parent class on the beginning of the function.
879 * src/nact/base-iunique.c:
880 * src/nact/base-iunique.h: New BaseIUnique interface.
882 * src/nact/Makefile.am: Updated accordingly.
884 2012-01-06 Pierre Wieser <pwieser@trychlos.org>
886 * configure.ac: Now requires gtk-doc >= 1.16.
888 * src/nact/base-application.c:
889 * src/nact/base-application.h (base_application_run):
890 Take argc, argv as function arguments.
891 Define 'code' as a property.
893 * src/nact/main.c b/src/nact/main.c (main):
894 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
896 2012-01-05 Pierre Wieser <pwieser@trychlos.org>
898 * src/nact/nact-tree-ieditable.c:
899 * src/nact/nact-tree-ieditable.h (nact_tree_ieditable_set_items): New function.
901 * src/nact/nact-assistant-import.c (assistant_apply):
902 * src/nact/nact-tree-model-dnd.c (drop_uri_list): Updated accordingly.
904 * src/core/na-importer.c (manage_import_mode):
905 Release the duplicated object which has been cancelled by the user.
907 * src/core/na-icontext-factory.c:
908 * src/core/na-iduplicable.c:
909 * src/core/na-object-action-factory.c:
910 * src/core/na-object-action.c:
911 * src/core/na-object-id-factory.c:
912 * src/core/na-object-item-factory.c:
913 * src/core/na-object-menu-factory.c: Add/fix comments.
915 * src/core/na-export-format.h: Remove IPREFS_EXPORT_ definitions from here.
917 * src/core/na-exporter.c:
918 * src/core/na-exporter.h (na_exporter_get_export_format): New function.
920 * src/core/na-iprefs.c:
921 * src/core/na-iprefs.h
922 (na_iprefs_get_export_format, na_iprefs_set_export_format): Removed functions.
924 * src/nact/nact-assistant-export.c
925 (on_base_initialize_base_window, assist_prepare_confirm, assist_prepare_exportdone):
926 * src/nact/nact-clipboard.c (export_row_object):
927 * src/nact/nact-export-ask.c (nact_export_ask_user, get_export_format):
928 * src/nact/nact-export-ask.h:
931 * src/core/na-iprefs.c:
932 * src/core/na-iprefs.h (na_iprefs_set_import_mode): Removed function.
934 2012-01-04 Pierre Wieser <pwieser@trychlos.org>
936 Move 'Ask' export format to NAExporter.
938 * src/core/Makefile.am:
939 * src/nact/Makefile.am: Move export-format-ask.png to src/core.
941 * nact-export-format.c:
942 * nact-export-format.h: Removed files.
945 * src/nact/nact-assistant-export.c (ioptions_list_get_ask_option):
946 * src/nact/nact-preferences-editor.c (ioptions_list_get_ask_option):
949 * src/api/na-iimporter.h: Deprecate NAIImporterImportMode enum.
951 * src/core/na-importer.h: Define new NAImporterImportMode enum here.
953 * src/core/na-importer.c (ask_user_for_mode):
954 * src/core/na-iprefs.c:
955 * src/core/na-iprefs.h:
956 * src/nact/nact-tree-model-dnd.c:
957 Get ride of na_iprefs_get_import_mode() function.
959 Review interface initialization in implementations.
961 * src/core/na-export-format.c (ioption_iface_init):
962 * src/core/na-import-mode.c (ioption_iface_init):
963 * src/core/na-importer-ask.c (ioptions_list_iface_init):
964 * src/core/na-object-action.c
965 (ifactory_object_iface_init, icontext_iface_init):
966 * src/core/na-object-menu.c
967 (ifactory_object_iface_init, icontext_iface_init):
968 * src/core/na-object-profile.c
969 (ifactory_object_iface_init, icontext_iface_init):
970 * src/core/na-object.c (iduplicable_iface_init):
971 * src/nact/nact-assistant-export.c (ioptions_list_iface_init):
972 * src/nact/nact-assistant-import.c (ioptions_list_iface_init):
973 * src/nact/nact-export-ask.c (ioptions_list_iface_init):
974 * src/nact/nact-main-window.c
975 (iaction_tab_iface_init, icommand_tab_iface_init,
976 ibasenames_tab_iface_init, imimetypes_tab_iface_init,
977 ifolders_tab_iface_init, ischemes_tab_iface_init,
978 icapabilities_tab_iface_init, ienvironment_tab_iface_init,
979 iexecution_tab_iface_init, iproperties_tab_iface_init):
980 * src/nact/nact-preferences-editor.c (ioptions_list_iface_init):
981 * src/nact/nact-tree-model.c
982 (imulti_drag_source_init, idrag_dest_init):
983 * src/nact/nact-tree-view.c (tree_ieditable_iface_init):
984 * src/test/test-iface-base.c (iface_iface_init): Add user_data parameter.
986 * src/nact/nact-tree-ieditable.c: Review NactTreeIEditable interface.
988 * src/nact/nact-ischemes-tab.c: Review NactISchemesTab interface.
990 * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab interface.
992 * src/nact/nact-imimetypes-tab.c: Review NactIMimetypesTab interface.
994 * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab interface.
996 * src/nact/nact-iexecution-tab.c: Review NactIExecutionTab interface.
998 * src/nact/nact-ienvironment-tab.c: Review NactIEnvironmentTab interface.
1000 * src/nact/nact-icommand-tab.c: Review NactICommandTab interface.
1002 * src/nact/nact-icapabilities-tab.c: Review NactICapabilitiesTab interface.
1004 * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab interface.
1006 * src/nact/nact-iaction-tab.c: Review NactIActionTab interface.
1008 Come back on core interfaces.
1010 * src/core/na-icontext.c:
1011 * src/core/na-iduplicable.c:
1012 * src/core/na-iexporter.c:
1013 * src/core/na-ifactory-object.c:
1014 * src/core/na-ifactory-provider.c:
1015 * src/core/na-iimporter.c:
1016 * src/core/na-iio-provider.c:
1017 * src/core/na-ioption.c:
1018 * src/core/na-ioptions-list.c
1019 (interface_init): Renamed back as interface_base_init().
1020 (interface_finalize): Renamed back as interface_base_finalize().
1022 * src/utils/console-utils.h: Re-include 'glib.h' header.
1024 2012-01-03 Pierre Wieser <pwieser@trychlos.org>
1026 * src/core/na-ioptions-list.c: Review NAIOptionsList interface.
1028 * src/core/na-ioption.c: Review NAIOption interface.
1030 * src/core/na-iio-provider.c: Review NAIIOProvider interface.
1032 * src/core/na-iimporter.c:
1033 * src/core/na-importer.c: Review NAIImporterInterface.
1035 * src/core/na-factory-provider.c:
1036 * src/core/na-ifactory-provider.c: Review NAIFactoryProvider interface.
1038 * src/core/na-factory-object.c:
1039 * src/core/na-ifactory-object.c: Review NAIFactoryObject interface.
1041 * src/core/na-exporter.c:
1042 * src/core/na-iexporter.c: Review NAIExporter interface.
1044 * src/core/na-iduplicable.c: Review NAIDuplicable interface.
1046 * src/core/na-icontext.c: Review NAIContext interface.
1048 * src/test/test-iface-iface.c:
1049 * src/test/test-iface.c: Do some more tests on the interfaces.
1051 * src/utils/na-gconf2key.sh.in: Force GConf I/O provider to be read-only.
1053 * src/utils/console-utils.h: Remove superfluous 'glib-object.h' include.
1055 * src/utils/na-set-conf.c: New program.
1057 * src/core/na-settings.c:
1058 * src/core/na-settings.h
1059 (na_settings_set_string_ex, na_settings_set_int_ex): New functions.
1061 * src/utils/Makefile.am: Updated accordingly.
1063 * src/utils/Makefile.am: Factorize library declarations.
1065 2012-01-02 Pierre Wieser <pwieser@trychlos.org>
1067 * src/utils/na-gconf2key.sh.in:
1068 Introduces new '--admin' option for packagers and system administrators.
1069 Default for GConf to be only readable.
1071 * src/api/na-iimporter.h:
1072 * src/core/na-iimporter.c: Introduces version 2 of interface,
1073 deprecating NAIImporterCheckFn and NAIImporterAskUserFn definitions.
1075 * src/core/na-importer.c:
1076 * src/core/na-importer.h (na_importer_import_from_uris):
1077 Updated to new NAIImporter v2 interface, moving check and ask code here.
1079 * src/io-desktop/nadp-desktop-provider.c (iimporter_get_version):
1080 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
1081 * src/io-xml/naxml-provider.c (iimporter_get_version):
1082 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
1083 * src/nact/nact-assistant-import.c (assistant_apply):
1084 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1085 * src/test/test-reader.c (main):
1086 Updated to new NAIImporter v2 interface.
1088 * src/api/na-iexporter.h: Update documentation.
1090 * src/core/na-importer.c:
1091 * src/core/na-importer.h (na_importer_import_from_list):
1092 Renamed as na_importer_import_from_uris.
1093 Now returns the count of succesffully imported items.
1095 * src/nact/nact-assistant-import.c (assistant_apply):
1096 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1097 * src/test/test-reader.c (main): Updated accordingly.
1099 * src/api/na-iimporter.h: Update documentation.
1101 * m4/na-maintainer-mode.m4: Reverse the sens of deprecation test.
1104 * docs/reference/Makefile.am:
1105 * src/api/na-core-utils.h:
1106 * src/api/na-data-boxed.h:
1107 * src/api/na-gconf-monitor.h:
1108 * src/api/na-gconf-utils.h:
1109 * src/api/na-iduplicable.h:
1110 * src/api/na-iexporter.h:
1111 * src/api/na-object-api.h:
1112 * src/api/na-object.h:
1113 * src/core/na-core-utils.c:
1114 * src/core/na-data-boxed.c:
1115 * src/core/na-exporter.c:
1116 * src/core/na-gconf-monitor.c:
1117 * src/core/na-gconf-utils.c:
1118 * src/core/na-iduplicable.c:
1119 * src/core/na-object.c:
1120 * src/io-gconf/nagp-gconf-provider.c:
1121 * src/io-gconf/nagp-writer.c:
1122 * src/io-gconf/nagp-writer.h: Updated accordingly.
1124 * src/core/na-importer.c (na_importer_import_from_list): Fix typo.
1126 * src/core/na-about.c:
1127 * src/core/na-about.h (na_about_get_icon_name): Returns a const string.
1129 * src/plugin-menu/nautilus-actions.c: Updated accordingly.
1131 * Allmost all files: Bump copyright year.
1133 * ChangeLog-2011: New file.
1135 * src/core/na-exporter.c (exporter_get_formats): Fix variable declaration.
1137 * src/api/na-core-utils.h:
1138 * src/core/na-core-utils.c (na_core_utils_str_add_prefix):
1139 Fix function deprecation.
1141 2012-01-01 Pierre Wieser <pwieser@trychlos.org>
1143 * src/nact/export-format-ask.png: Add omitted image.
1145 * src/api/na-core-utils.h:
1146 * src/core/na-core-utils.c (na_core_utils_str_add_prefix): Deprecated function.
1148 * src/core/na-import-mode.c:
1149 * src/core/na-import-mode.h (na_import_mode_get_id): New function.
1151 * src/core/na-importer-ask.c (on_destroy_toplevel): Fix handler signature.
1153 * src/core/na-importer.c (get_mode_from_struct): Fix GdkPixbuf reference count.
1155 * src/core/na-ioption.h:
1156 * src/core/na-ioptions-list.c: Fix typo.
1158 * src/core/na-importer-ask.c:
1159 * src/nact/nact-assistant-import.c: Implement NAIOptionsList interface.