1 2012-03-28 Pierre Wieser <pwieser@trychlos.org>
3 * src/api/na-core-utils.h:
4 * src/core/na-core-utils.c (na_core_utils_file_list_perms): New function.
6 * src/core/na-settings.c:
7 * src/core/na-updater.c (na_updater_new): Improve debug messages.
9 2012-03-22 Pierre Wieser <pwieser@trychlos.org>
11 * src/core/na-io-provider.c (io_providers_list_set_module):
12 * src/core/na-updater.c (na_updater_new):
13 * src/nact/nact-menubar-file.c (nact_menubar_file_on_update_sensitivities):
14 * src/nact/nact-menubar.c (on_base_initialize_window):
15 Improve debug messages.
17 2012-03-20 Pierre Wieser <pwieser@trychlos.org>
19 * src/nact/nautilus-actions-config-tool.ui: Fix tooltip typo.
21 2012-03-12 Pierre Wieser <pwieser@trychlos.org>
23 * tools/release-tarball.sh: Fix stable attribute computing.
25 * configure.ac: Post release version bump.
27 2012-03-04 Pierre Wieser <pwieser@trychlos.org>
29 * NEWS: Update before releasing.
31 * src/nact/nact-match-list.c (initialize_pseudo_iface): Fix bad display of
32 the current selection (selection-changed callback has to be connected from
33 window initialization code).
35 * src/core/na-icontext.c (is_candidate_for_folders): Improve code
38 * src/core/na-selected-info.c (dump): Dump file type.
40 * src/plugin-menu/nautilus-actions.c (build_nautilus_menu_rec): Improve
43 2012-03-01 Pierre Wieser <pwieser@trychlos.org>
45 * tools/release-tarball.sh:
46 Make sure help and copyright messages display the current version.
47 Make sure the tag set in git is consistent with the released tarball.
49 Fix #671083 reported by Pierre Wieser - Release tool takes bad package
52 2012-02-29 Pierre Wieser <pwieser@trychlos.org>
54 * run-distcheck.sh: Exec desktop-file-validate program against
55 nact.desktop (see #671043).
57 * src/nact/nact.desktop.in: Remove deprecated keys and values.
59 Fix #671043 reported by Vincent Untz - Invalid desktop file.
63 * All private na-*.m4: Update the license notice according to
64 http://www.gnu.org/licenses/gpl-howto.html.
66 Fix #671044 reported by Vincent Untz - Incorrect FSF address.
69 2012-02-27 Pierre Wieser <pwieser@trychlos.org>
71 Let the example label be expandable.
73 * src/nact/nact-icommand-tab.c: No more insert the 'Ex:' prefix.
75 * src/nact/nautilus-actions-config-tool.ui: Insert a GtkExpander parent.
77 * configure.ac: Post release version bump to 3.2.2.
79 Due to a command mismatch, git repository has been erroneously tagged
80 with a 3.2.1 version number. This version number is wrong and, due to
81 this tagging error, will never be released.
83 2012-02-24 Pierre Wieser <pwieser@trychlos.org>
85 * NEWS: Update before releasing 3.2.0.
87 2012-02-23 Pierre Wieser <pwieser@trychlos.org>
89 * run-autogen.sh: Pass arguments ro run-configure.sh.
91 2012-02-22 Pierre Wieser <pwieser@trychlos.org>
93 * src/core/Makefile.am:
94 * src/nact/Makefile.am: Store UI elements in a dedicated dir.
96 * src/core/na-importer-ask.c:
97 * src/nact/base-gtk-utils.c:
98 * src/nact/nact-add-capability-dialog.c:
99 * src/nact/nact-add-scheme-dialog.c:
100 * src/nact/nact-assistant-export.c:
101 * src/nact/nact-assistant-import.c:
102 * src/nact/nact-export-ask.c:
103 * src/nact/nact-icon-chooser.c:
104 * src/nact/nact-main-statusbar.c:
105 * src/nact/nact-main-window.c:
106 * src/nact/nact-menubar.c:
107 * src/nact/nact-preferences-editor.c: Updated accordingly.
109 * src/core/Makefile.am: Store import mode images in dedicated dir.
111 * src/core/na-importer.c (get_mode_from_struct):
112 * src/nact/Makefile.am: Updated accordingly.
114 * src/core/Makefile.am: Store export-format image in dedicated dir.
116 * src/core/na-exporter.c (na_exporter_get_ask_option): Updated
119 * configure.ac: Check for ICE library (fix #670434).
121 * docs/reference/na-compiling.xml: Updated accordingly.
123 * src/core/na-gtk-utils.c:
124 * src/core/na-gtk-utils.h (na_gtk_utils_find_widget_by_type): Remove no
127 * src/core/na-ioptions-list.c (radio_button_create_group): Directly pack
128 radio buttons inside of the GtkVBox parent container.
130 2012-02-20 Pierre Wieser <pwieser@trychlos.org>
132 * src/plugin-tracker/Makefile.am:
133 * src/utils/Makefile.am: Do not distribute D-Bus auxiliary files.
135 * docs/reference/nautilus-actions-sections.txt: Add undocumented enum.
137 * docs/reference/Makefile.am: Remove useless rules.
140 * run-distcheck.sh: Replace srcdir with top_srcdir.
142 2012-02-17 Pierre Wieser <pwieser@trychlos.org>
144 * src/core/na-ioption.c (get_ioption_data):
145 * src/nact/base-isession.c (get_isession_data):
146 * src/nact/base-isession.h:
147 * src/nact/base-iunique.c (get_iunique_data):
148 * src/nact/base-iunique.h: Minor cosmetic changes.
150 2012-02-16 Pierre Wieser <pwieser@trychlos.org>
152 * src/nact/nact-menubar.h (nact_menubar_is_level_zero_order_changed):
153 Remove unexisting function.
155 * src/io-desktop/Makefile.am:
156 * src/io-xml/Makefile.am: Do not override uninstall rules.
158 * src/plugin-tracker/Makefile.am: Always build and distribute all flavors
161 2012-02-15 Pierre Wieser <pwieser@trychlos.org>
163 * src/nact/nact-ischemes-tab.c (on_main_selection_changed):
164 * src/nact/nact-imimetypes-tab.c (on_main_selection_changed):
165 * src/nact/nact-ifolders-tab.c (on_main_selection_changed):
166 * src/nact/nact-icapabilities-tab.c (on_main_selection_changed):
167 * src/nact/nact-ibasenames-tab.c (on_main_selection_changed):
168 Enable the tab if a context is available.
170 * src/nact/nact-iproperties-tab.c (on_main_selection_changed):
171 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
172 * src/nact/nact-ienvironment-tab.c (on_main_selection_changed):
173 * src/nact/nact-icommand-tab.c (on_main_selection_changed):
174 * src/nact/nact-iaction-tab.c (on_main_selection_changed):
175 Slightly review the code layout.
177 * src/nact/nact-main-window.c (setup_current_selection):
178 Setup the context of the current profile if any.
180 * src/nact/nact-menubar-priv.h:
181 * src/nact/nact-menubar.c (instance_dispose): Disconnect signal handler.
183 * src/nact/base-window.c (instance_dispose): Improve debug message.
185 * src/nact/nact-menubar-edit.c
186 (nact_menubar_edit_on_update_sensitivities): Do not evaluate writability
187 if an action is not selected.
189 * src/nact/nact-menubar.c
190 (nact_menubar_new, on_ui_manager_proxy_connect): Review code layout.
192 2012-02-14 Pierre Wieser <pwieser@trychlos.org>
194 * src/nact/nautilus-actions-config-tool.ui: Remove halign property only
195 avaliable since Gtk 3.0.
197 * src/nact/base-gtk-utils.c (base_gtk_utils_table_to_grid):
198 Improve table to grid conversion, adding spacing and expand properties.
200 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
202 * src/nact/nact-menubar-edit.c (get_deletables):
203 Check if action is writable when deleting a profile.
205 * src/core/na-object-action.c (ifactory_object_read_done):
206 * src/core/na-object-menu.c (ifactory_object_read_done):
207 * src/core/na-object-profile.c (ifactory_object_read_done):
208 No more dump still incomplete object.
210 * src/core/na-boxed.c (string_list_from_void): Keep the source and the
211 target string lists in the same order.
213 * src/core/na-io-provider.c (na_io_provider_load_items): Fix comment.
215 * src/nact/nact-main-window.h:
216 * src/nact/nact-main-window.c
217 (on_base_initialize_window, on_tree_view_selection_changed):
218 * src/nact/nact-assistant-export.c (on_base_all_widgets_showed):
219 * src/nact/nact-menubar.c (on_base_initialize_window):
220 * src/nact/nact-tree-view.c (class_init, on_selection_changed):
221 * src/nact/nact-tree-view.h:
222 Get rid of TREE_SIGNAL_SELECTION_CHANGED signal, only using
223 TREE_SIGNAL_SELECTION_CHANGED one, based on the assertion that the
224 NactMainWindow will be the first triggered handler.
226 * src/nact/nact-tree-view.c (get_selected_items): Improve debug message.
228 * src/nact/nact-menubar.c (instance_dispose,
229 on_tree_view_selection_changed): Keeping a recursive ref on the current
230 selection is definitively a bad idea;; only keep a copy of the list.
232 The bad idea is actually:
233 - keep a recursive ref on the current selection,
234 - does someting in the UI, e.g. insert a new item in the selection,
235 - then select the newly inserted item,
236 > thus recursively unreffing the kept previous selection
237 > so unreffing the inserted item which unfortunately was not previously
238 counted -> so ref_count miss.
240 * src/nact/nact-menubar-maintainer.c
241 (nact_menubar_maintainer_on_dump_selection): Incrementing the objects
242 ref_count on dump is useless.
244 * src/nact/nact-menubar-edit.c (nact_menubar_edit_on_copy): Incrementing
245 the objects ref before copying is useless.
247 * src/nact/nact-main-window.c
248 (on_base_initialize_gtk, on_base_initialize_window): Move connections to
249 the signals when initializing window; this is not a big difference as the
250 main window is the only window of its class, but does the right thing in
253 * src/core/na-object-item.c
254 (na_object_item_copyref_items, na_object_item_free_items):
255 Improve debug messages.
257 2012-02-08 Pierre Wieser <pwieser@trychlos.org>
259 * src/nact/nact-menubar-file.c (nact_menubar_file_on_new_profile):
260 Attach new profile to its parent action.
262 * src/core/na-object-action.c
263 (na_object_action_new_with_profile, na_object_action_new_with_defaults):
264 Rather use the macro na_object_attach_profile().
266 2012-02-06 Pierre Wieser <pwieser@trychlos.org>
268 * src/nact/nact-tree-view.c (display_label): Simplify the code.
270 * src/nact/base-gtk-utils.c (base_gtk_utils_table_to_grid):
271 Only tries to dump children in maintainer mode.
273 2012-02-04 Pierre Wieser <pwieser@trychlos.org>
275 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler):
276 Always dump Gtk hierarchy in maintainer mode.
278 * src/nact/nact-assistant-export.c (format_tree_view_initialize_gtk):
279 * src/nact/nact-main-window.c (on_base_initialize_gtk):
280 * src/nact/nact-tree-view.c (nact_tree_view_new): Updated accordingly.
282 * src/nact/nact-icommand-tab.c (on_base_initialize_gtk):
283 Dynamically converts GtkTable to GtkGrid.
285 * src/nact/base-gtk-utils.c:
286 * src/nact/base-gtk-utils.h (base_gtk_utils_table_to_grid): New function.
288 * src/core/na-gtk-utils.c (na_gtk_utils_find_widget_by_name):
289 Also search inside of unnamed widgets.
291 2012-02-02 Pierre Wieser <pwieser@trychlos.org>
293 * src/io-xml/Makefile.am:
294 * src/io-xml/naxml-formats.c: Data files are installed in a private
297 * src/io-desktop/Makefile.am:
298 * src/io-desktop/nadp-formats.c: Datafiles are installed in a private
301 * src/nact/nact-menubar.c (on_open_context_menu): Manages if event is
304 * src/nact/nact-tree-view.c: Manages to open the context menu with
307 * src/core/na-iprefs.c: Fix enumeration maps as it only works for data
310 * src/nact/nact-main-tab.c: No more try to open a popup menu on the
311 notebook as the standard GtkNotebook already has its own popup.
313 * src/nact/nact-main-window.c (on_base_initialize_gtk):
314 Enable the standard GtkNotebook context menu.
316 * src/nact/nact-menubar-priv.h:
317 * src/nact/nact-menubar.c:
318 Define a new notebook action group.
319 Define new radio action entries.
321 * src/nact/nact-menubar-view.c (nact_menubar_view_on_tabs_pos_changed):
324 * src/nact/nautilus-actions-config-tool.actions: Define menu actions.
326 2012-02-01 Pierre Wieser <pwieser@trychlos.org>
328 * src/nact/nact-main-window.c:
329 * src/nact/nact-main-window.h: New TREE_SIGNAL_CONTEXT_MENU signal.
331 * src/nact/nact-marshal.def: New closure definition.
333 * src/nact/nact-tree-view.c:
334 * src/nact/nact-tree-view.h: Removed TREE_SIGNAL_CONTEXT_MENU signal.
336 * src/nact/nautilus-actions-config-tool.actions:
337 * src/nact/nact-menubar.c: Updated accordingly.
339 * src/nact/nact-main-tab.c:
340 * src/nact/nact-main-tab.h (nact_main_tab_init): New function.
342 * src/nact/nact-iaction-tab.c (nact_iaction_tab_init):
343 * src/nact/nact-ibasenames-tab.c (nact_ibasenames_tab_init):
344 * src/nact/nact-icapabilities-tab.c (nact_icapabilities_tab_init):
345 * src/nact/nact-icommand-tab.c (nact_icommand_tab_init):
346 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_init):
347 * src/nact/nact-iexecution-tab.c (nact_iexecution_tab_init):
348 * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_init):
349 * src/nact/nact-imimetypes-tab.c (nact_imimetypes_tab_init):
350 * src/nact/nact-iproperties-tab.c (nact_iproperties_tab_init):
351 * src/nact/nact-ischemes-tab.c (nact_ischemes_tab_init): Updated accordingly.
353 * src/nact/nact-main-window.c
354 (instance_dispose): Saves the current tabs position.
355 (on_base_initialize_gtk): Restaures and set the tabs position.
357 * src/core/na-iprefs.c:
358 * src/core/na-iprefs.h (na_iprefs_get_tabs_pos, na_iprefs_set_tabs_pos):
361 * src/core/na-settings.c:
362 * src/core/na-settings.h: Define new "main-tabs-pos" user preference.
364 * src/core/na-importer-ask.c (on_destroy_toplevel): Reset static variable.
366 * src/io-desktop/nadp-reader.c
367 (item_from_desktop_file): Fix a small memory leak.
368 (nadp_reader_iimporter_import_from_uri): Reset writability status in the
369 case where import source is read-only.
371 * src/plugin-menu/nautilus-actions.c: Only expands candidate items.
373 * src/core/na-tokens.c (execute_action_command): Parse working dir.
375 * src/api/na-iduplicable.h:
376 * src/core/na-iduplicable.c (copy, na_iduplicable_duplicate):
377 * src/api/na-object-api.h (na_object_duplicate):
378 * src/api/na-object.h (copy):
379 * src/core/na-object.c (iduplicable_copy):
380 * src/core/na-object-item.c (object_copy, copy_children): Add a 'mode' argument.
382 * src/nact/nact-clipboard.c
383 (nact_clipboard_primary_set, nact_clipboard_primary_get):
384 * src/nact/nact-menubar-edit.c (nact_menubar_edit_on_duplicate):
385 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
386 * src/nact/nact-tree-model-dnd.c (drop_inside):
387 * src/nact/nact-tree-model.c (nact_tree_model_fill): Updated accordingly.
389 2012-01-30 Pierre Wieser <pwieser@trychlos.org>
391 * src/plugin-tracker/na-tracker.c:
392 * src/utils/nautilus-actions-run.c:
393 * tools/dbus-introspect.sh: Instanciate an object below the rooted
396 * docs/reference/nautilus-actions-docs.xml: Add new symbols for 3.2.
398 * src/nact/nact-tree-model.c: Define window, treeview and mode properties.
399 (instance_constructed): Initialize DnD interface.
400 (instance_dispose): Clear the GtkTreeStore.
402 * po/POTFILES.in: Updated accordingly.
404 * src/nact/nact-main-window.c: Instanciate a window, not an application.
406 * src/nact/nact-tree-model-dnd.c: Debug NactTreeModel reference count.
408 * src/nact/nact-tree-model-priv.h: Get rid of WINDOW_DATA_TREE_MODEL data.
410 * src/nact/nact-tree-view.c (instance_dispose): No more clear the store.
412 * src/core/na-data-boxed.c (instance_init, instance_finalize):
413 * src/core/na-object-id.c (instance_dispose):
414 * src/core/na-object.c (instance_init, instance_dispose,
415 instance_finalize): Remove some too verbose debug messages.
417 * src/nact/base-window.c:
418 * src/nact/base-window.h: Define a new BASE_PROP_DESTROY_ON_DISPOSE property.
419 When set, the underlying Gtk toplevel is destroyed when the BaseWindow is
422 * src/nact/nact-main-window.c (nact_main_window_new): Set the
423 DestroyOnDispose property.
425 * src/nact/nact-match-list.c (on_instance_finalized): Do not try to clear
426 the NactTreeModel after it has been finalized.
428 * src/nact/nact-tree-model.c (nact_tree_model_new): Improve comment.
430 * src/nact/nact-tree-view.c:
431 * src/nact/nact-tree-view.h(initialize_gtk): no more mimic a signal
434 2012-01-29 Pierre Wieser <pwieser@trychlos.org>
436 * src/nact/nact-tree-model.c (nact_tree_model_new): Unref filter model.
438 * src/nact/nact-tree-view.c (instance_dispose): Debug NactTreeModel ref count.
440 * src/nact/nact-preferences-editor.c (instance_init):
441 Remove signal connections already done in instance_contructed().
443 * src/core/na-io-provider.c (na_io_provider_write_item):
444 Reset the NAIOProvider after having wrote the item.
446 * src/nact/nact-menubar-file.c (save_item): Warns if an error occurs.
448 * src/core/na-icontext.c (is_candidate_for_show_if_registered):
449 Consider having either GDBus or DBus-GLib.
451 * m4/na-check-for-gdbus.m4: Setup CFLAGS and LIBS flags.
453 2012-01-28 Pierre Wieser <pwieser@trychlos.org>
455 * src/api/na-iexporter.h:
456 * src/api/na-iio-provider.h: Improve interface comments.
458 * src/core/na-factory-object.c (na_factory_object_copy):
459 Only copies non-null provider and provider data items.
461 * src/plugin-tracker/na-tracker-dbus.xml:
462 Renamed as src/plugin-tracker/na-tracker-dbus-glib.xml.
464 * src/plugin-tracker/Makefile.am:
465 * src/utils/Makefile.am: Updated accordingly.
467 * src/plugin-tracker/na-tracker-gdbus.xml: New file.
469 * src/plugin-tracker/Makefile.am: Generate code for GDBus.
471 * src/plugin-tracker/na-tracker-dbus.c:
472 * src/plugin-tracker/na-tracker-dbus.h: Removed files.
474 * src/plugin-tracker/na-tracker-dbus.xml: Updated accordingly.
476 * src/plugin-tracker/na-tracker.c:
477 * src/plugin-tracker/na-tracker.h:
478 Implement GDBus server high-level API.
479 Rename GType macro name.
481 * src/plugin-tracker/na-tracker-plugin.c
482 (nautilus_module_list_types): Updated to new GType macro name.
484 * src/utils/Makefile.am: Generate code for GDBus.
486 * src/utils/nautilus-actions-run.c: Implement GDBus client high-level API.
488 * m4/na-check-for-gdbus.m4: Requires GIO 2.30 (GDBusObjectManagerServer).
490 * docs/reference/nautilus-actions-sections.txt: Update reference manual.
492 2012-01-27 Pierre Wieser <pwieser@trychlos.org>
494 * m4/na-check-for-gdbus.m4: New file.
496 * configure.ac: Updated accordingly.
499 * src/plugin-tracker/na-tracker-dbus.xml:
500 * src/utils/nautilus-actions-run.c:
501 Tracker DBus interface is renamed as
502 org.nautilus_actions.DBus.Tracker.Properties1 and versioned according to
503 http://0pointer.de/blog/projects/versioning-dbus.html
505 * m4/na-default-io-provider.m4: Talk about items, not just actions.
507 * docs/reference/na-compiling.xml: Slightly improve documentation.
509 * src/core/na-core-utils.c (na_core_utils_str_subst): Fix description.
511 * src/api/na-iexporter.h: Fix NAIExporterFormat description.
513 * src/api/na-iexporter.h: Update interface description, including the
514 list of currently allocated export format identifiers.
516 * docs/export-format-id: Removed file.
518 * docs/Makefile.am: Updated accordingly.
520 * src/core/na-export-format.c:
521 * src/core/na-export-format.h (na_export_format_new):
522 * src/core/na-exporter.c:
523 * src/io-desktop/nadp-formats.c:
524 * src/io-desktop/nadp-writer.c:
525 * src/io-desktop/nadp-writer.h:
526 * src/io-xml/naxml-formats.c:
527 * src/io-xml/naxml-writer.c:
528 * src/io-xml/naxml-writer.h:
529 Rename NAIExporterFormatExt structure as NAIExporterFormatv2.
531 * docs/reference/nautilus-actions-sections.txt: Update sections.
533 * src/api/na-iimporter.h:
534 * src/core/na-iimporter.c: Update interface description.
536 * src/io-desktop/nadp-reader.c:
537 * src/io-desktop/nadp-reader.h (nadp_reader_iimporter_import_from_uri):
538 * src/io-xml/naxml-reader.c:
539 * src/io-xml/naxml-reader.h (naxml_reader_import_from_uri):
542 * src/api/na-iio-provider.h: better distinguish own internal comments.
544 * docs/reference/nautilus-actions-overrides.txt:
545 (NAIImporterCheckFn, NAIImporterAskUserFn): Mark the typedefs as deprecated.
547 * docs/reference/nautilus-actions-docs.xml: Fix typo.
549 * src/api/na-iio-provider.h: Update interface description, including the
550 list of currently allocated I/O provider identifiers.
552 * src/core/na-iio-provider.c:
553 (interface_base_init): Update signal description.
554 (na_iio_provider_item_changed): Update function description.
556 * docs/io-provider-id: Deleted file.
558 * docs/Makefile.am: Updated accordingly.
560 * docs/reference/nautilus-actions-docs.xml:
561 Define new nact entity.
562 Update the link to online Reference Manual.
565 2012-01-25 Pierre Wieser <pwieser@trychlos.org>
567 * Makefile.am: Also distributes ChangeLog-2011.
569 * configure.ac: Bump version number due to API changes.
571 * Makefile.am: Build Reference Manual when make distcheck.
573 * docs/reference/Makefile.am: Always enable gtk-doc.make inclusion.
575 Fix last part of #668181.
576 Rationale is: gtk-doc shamelessly refuses to dist manuals if GTK_DOC is
577 not enabled, i.e. if the manuals have not just been built. Getting rid of
578 this behavior would be possible (just overriding dist-hook target), but
579 same issue arises when installing from a distribution: as GTK_DOC is not
580 enabled, then install target just aborts :(.
581 So it is easier to just enable GTK_DOC when making distcheck.
583 * src/api/na-iexporter.h: Fix typo.
585 * m4/na-enable-manuals.m4: Remove ENABLE_MANUALS conditional.
587 * docs/nact/Makefile.am: Another rewriting.
588 Install and distribute manuals even if not just built.
591 * run-distcheck.sh: Deletes the remaining part of an aborded build.
593 2012-01-23 Pierre Wieser <pwieser@trychlos.org>
595 * run-autogen.sh: Deletes the remaining part of an aborded build.
597 2012-01-22 Pierre Wieser <pwieser@trychlos.org>
599 * docs/reference/Makefile.am: Reference the na-core library.
601 Fix part of #668181 reported by Vincent Untz.
603 2012-01-18 Pierre Wieser <pwieser@trychlos.org>
605 * docs/nact/C/nact-conditions.xml: Does not embed a <literal> tag inside
608 * src/core/na-desktop-environment.c
609 (na_desktop_environment_detect_running_desktop): Detect XFCE desktop.
611 2012-01-17 Pierre Wieser <pwieser@trychlos.org>
613 * src/core/na-object-item-factory.c: Reset provider as copyable.
615 * src/core/na-factory-object.c (na_factory_object_copy):
616 Takes care of not overriding target provider data.
618 nact_match_list functions connect to base signals (and acts as a
621 * src/nact/nact-match-list.c:
622 * src/nact/nact-match-list.h
623 (nact_match_list_create_model): Renamed as nact_match_list_init_with_args().
624 (nact_match_list_init_view, nact_match_list_on_selection_changed,
625 nact_match_list_dispose): Removed functions.
627 * src/nact/nact-ibasenames-tab.c:
628 * src/nact/nact-icapabilities-tab.c:
629 * src/nact/nact-ifolders-tab.c:
630 * src/nact/nact-imimetypes-tab.c:
631 * src/nact/nact-ischemes-tab.c:
632 * src/nact/nact-main-tab.h: Updated accordingly.
634 * src/core/na-pivot.c:
635 * src/core/na-settings.h:
636 * src/nact/nact-export-ask.c:
637 * src/nact/nact-icommand-tab.c:
638 * src/nact/nact-ifolders-tab.c:
639 * src/nact/nact-main-toolbar.c:
640 * src/nact/nact-main-window.c:
641 * src/nact/nact-menubar-edit.c:
642 * src/nact/nact-providers-list.c:
643 * src/nact/nact-schemes-list.c: Remove useless <core/na-iprefs.h> include.
645 Move public na_iprefs_get_io_providers() function to static one.
647 * src/core/na-iprefs.c:
648 * src/core/na-iprefs.h (na_iprefs_get_io_providers): Removed function.
650 * src/core/na-io-provider.c (io_providers_get_from_prefs): New function.
652 2012-01-16 Pierre Wieser <pwieser@trychlos.org>
654 * src/nact/nact-add-capability-dialog.c:
655 * src/nact/nact-add-scheme-dialog.c:
656 * src/nact/nact-confirm-logout.c:
657 * src/nact/nact-export-ask.c:
658 * src/nact/nact-icon-chooser.c:
659 * src/nact/nact-preferences-editor.c:
660 Connect to base signals from instance_contructed().
662 * src/nact/base-isession.c (client_quit_requested_cb): Add debug trace.
664 * src/nact/nact-main-window.c
665 (on_base_initialize_window): Connect to quit-requested signal.
667 * src/nact/nact-application.c
668 (appli_init_application): Fix parent class method call.
670 * docs/nact/C/nact-conditions.xml: Embeds literal values between
671 <literal>..</literal> tags.
673 * docs/reference/nautilus-actions-sections.txt:
674 Report here the new GType macro names.
676 * docs/nact/C/nact-conditions.xml:
677 Embeds literal values between <literal>..</literal> tags.
679 * src/nact/nact-tree-model-dnd.c: Fix comments.
681 * src/nact/nact-export-ask.c (nact_export_ask_user): Micro code-format.
683 * src/nact/nact-clipboard.c (nact_clipboard_dnd_drag_end): Fix micro leak.
685 * src/nact/base-window.c (init_gtk_toplevel):
686 Also returns TRUE if Gtk toplevel was already initialized.
688 * src/core/na-factory-object.c (na_factory_object_copy):
689 Removes target copyable data before copying source copyable data.
691 * src/nact/nact-icommand-tab.c (parse_parameters): Uses internal data.
693 * src/core/na-desktop-environment.c
694 * src/core/na-desktop-environment.h
695 (na_desktop_environment_detect_running_desktop): Fix LXDE detection.
696 (na_desktop_environment_get_label): New function.
698 * src/nact/nact-preferences-editor.c
699 (desktop_setup): Display the desktop label instead of its id.
701 * tools/check-po.sh: Do not match binary files.
703 * src/io-desktop/nadp-writer.c (nadp_writer_iexporter_export_to_buffer):
704 * src/io-xml/naxml-writer.c (naxml_writer_export_to_buffer):
705 Fix find_export_format_fn_from_quark() calls.
707 * src/api/na-iimporter.h: Fix comment.
709 * po/POTFILES.in: Reference two new files.
711 * docs/reference/nautilus-actions-sections.txt:
712 Report here the new GType macro names.
714 * docs/nact/C/nact-conditions.xml:
715 Embeds literal values between <literal>..</literal> tags.
717 2012-01-14 Pierre Wieser <pwieser@trychlos.org>
719 * src/nact/nact-add-capability-dialog.c:
720 * src/nact/nact-add-capability-dialog.h:
721 NACT_ADD_CAPABILITY_DIALOG_TYPE GType macro renamed as
722 NACT_TYPE_ADD_CAPABILITY_DIALOG.
724 * src/nact/nact-add-scheme-dialog.c:
725 * src/nact/nact-add-scheme-dialog.h:
726 NACT_ADD_SCHEME_DIALOG_TYPE GType macro renamed as
727 NACT_TYPE_ADD_SCHEME_DIALOG.
729 * src/nact/nact-application.c:
730 * src/nact/nact-application.h:
731 NACT_APPLICATION_TYPE GType macro renamed as NACT_TYPE_APPLICATION.
733 * src/nact/nact-assistant-export.c:
734 * src/nact/nact-assistant-export.h:
735 NACT_ASSISTANT_EXPORT_TYPE GType macro renamed as
736 NACT_TYPE_ASSISTANT_EXPORT.
738 * src/nact/nact-assistant-import.c:
739 * src/nact/nact-assistant-import.h:
740 NACT_ASSISTANT_IMPORT_TYPE GType macro renamed as
741 NACT_TYPE_ASSISTANT_IMPORT.
743 * src/nact/nact-clipboard.c:
744 * src/nact/nact-clipboard.h:
745 NACT_CLIPBOARD_TYPE GType macro renamed as NACT_TYPE_CLIPBOARD.
747 * src/nact/nact-confirm-logout.c:
748 * src/nact/nact-confirm-logout.h:
749 NACT_CONFIRM_LOGOUT_TYPE GType macro renamed as NACT_TYPE_CONFIRM_LOGOUT.
751 * src/nact/nact-icon-chooser.c:
752 * src/nact/nact-icon-chooser.h:
753 NACT_ICON_CHOOSER_TYPE GType macro renamed as NACT_TYPE_ICON_CHOOSER.
755 * src/nact/nact-menubar.c:
756 * src/nact/nact-menubar.h:
757 NACT_MENUBAR_TYPE GType macro renamed as NACT_TYPE_MENUBAR.
759 * src/nact/nact-sort-buttons.c:
760 * src/nact/nact-sort-buttons.h:
761 NACT_SORT_BUTTONS_TYPE GType macro renamed as NACT_TYPE_SORT_BUTTONS.
763 * src/nact/nact-tree-model.c:
764 * src/nact/nact-tree-model.h:
765 * src/nact/nact-tree-ieditable.c:
766 NACT_TREE_MODEL_TYPE GType macro renamed as NACT_TYPE_TREE_MODEL.
768 * src/nact/nact-tree-view.c:
769 * src/nact/nact-tree-view.h:
770 NACT_TREE_VIEW_TYPE GType macro renamed as NACT_TYPE_TREE_VIEW.
772 2012-01-13 Pierre Wieser <pwieser@trychlos.org>
774 * src/io-xml/naxml-provider.h:
775 * src/io-xml/naxml-module.c:
776 NAXML_PROVIDER_TYPE GType macro renamed as NAXML_TYPE_PROVIDER.
778 * src/io-desktop/nadp-desktop-file.c:
779 * src/io-desktop/nadp-desktop-file.h:
780 NADP_DESKTOP_FILE_TYPE GType macro renamed as NADP_TYPE_DESKTOP_FILE.
782 * src/io-desktop/nadp-desktop-provider.h:
783 * src/api/na-extension.h:
784 * src/io-desktop/nadp-module.c:
785 NADP_DESKTOP_PROVIDER_TYPE GType macro renamed as NADP_TYPE_DESKTOP_PROVIDER.
787 * src/io-desktop/nadp-monitor.c:
788 * src/io-desktop/nadp-monitor.h:
789 NADP_MONITOR_TYPE GType macro renamed as NADP_TYPE_MONITOR.
791 * src/io-desktop/nadp-xdg-dirs.h: Fix documentation.
793 * src/core/na-import-mode.c:
794 * src/core/na-import-mode.h:
795 NA_IMPORT_MODE_TYPE GType macro renamed as NA_TYPE_IMPORT_MODE.
797 * src/core/na-importer-ask.c:
798 * src/core/na-importer-ask.h:
799 NA_IMPORTER_ASK_TYPE GType macro renamed as NA_TYPE_IMPORTER_ASK.
801 * src/core/na-module.c:
802 * src/core/na-module.h:
803 * src/test/test-module.c:
804 NA_MODULE_TYPE GType macro renamed as NA_TYPE_MODULE.
806 * src/core/na-pivot.c:
807 * src/core/na-pivot.h:
808 NA_PIVOT_TYPE GType macro renamed as NA_TYPE_PIVOT.
810 * src/core/na-selected-info.c:
811 * src/core/na-selected-info.h:
812 NA_SELECTED_INFO_TYPE GType macro renamed as NA_TYPE_SELECTED_INFO.
814 * src/core/na-tokens.c:
815 * src/core/na-tokens.h:
816 NA_TOKENS_TYPE GType macro renamed as NA_TYPE_TOKENS.
818 * src/core/na-updater.c:
819 * src/core/na-updater.h:
820 NA_UPDATER_TYPE GType macro renamed as NA_TYPE_UPDATER.
822 * src/api/na-boxed.h:
823 * src/core/na-boxed.c:
824 NA_BOXED_TYPE GType macro renamed as NA_TYPE_BOXED.
826 * src/api/na-data-boxed.h:
827 * src/core/na-data-boxed.c:
828 NA_DATA_BOXED_TYPE GType macro renamed as NA_TYPE_DATA_BOXED.
830 * src/api/na-icontext.h:
831 NA_ICONTEXT_TYPE GType macro renamed as NA_TYPE_ICONTEXT.
833 * src/api/na-iduplicable.h:
834 NA_IDUPLICABLE_TYPE GType macro renamed as NA_TYPE_IDUPLICABLE.
836 * src/api/na-iexporter.h:
837 * src/core/na-exporter.c:
838 NA_IEXPORTER_TYPE GType macro renamed as NA_TYPE_IEXPORTER.
840 * src/api/na-ifactory-object.h:
841 NA_IFACTORY_OBJECT_TYPE GType macro renamed as NA_TYPE_IFACTORY_OBJECT.
843 * src/api/na-ifactory-provider.h:
844 NA_IFACTORY_PROVIDER_TYPE GType macro renamed as NA_TYPE_IFACTORY_PROVIDER.
846 * src/api/na-iimporter.h:
847 * src/core/na-importer.c:
848 NA_IIMPORTER_TYPE GType macro renamed as NA_TYPE_IIMPORTER.
850 * src/api/na-iio-provider.h:
851 * src/core/na-iio-provider.c:
852 * src/core/na-io-provider.c:
853 NA_IIO_PROVIDER_TYPE GType macro renamed as NA_TYPE_IIO_PROVIDER.
855 * src/api/na-object-action.h:
856 * src/core/na-object-action.c:
857 NA_OBJECT_ACTION_TYPE GType macro renamed as NA_TYPE_OBJECT_ACTION.
859 * src/api/na-object-id.h:
860 * src/core/na-object-id.c:
861 NA_OBJECT_ID_TYPE GType macro renamed as NA_TYPE_OBJECT_ID.
863 * src/api/na-object-item.h:
864 * src/core/na-object-item.c:
865 NA_OBJECT_ITEM_TYPE GType macro renamed as NA_TYPE_OBJECT_ITEM.
867 * src/api/na-object-menu.h:
868 * src/core/na-object-menu.c:
869 NA_OBJECT_MENU_TYPE GType macro renamed as NA_TYPE_OBJECT_MENU.
871 * src/api/na-object-profile.h:
872 * src/core/na-object-profile.c:
873 NA_OBJECT_PROFILE_TYPE GType macro renamed as NA_TYPE_OBJECT_PROFILE.
875 * src/api/na-object.h:
876 * src/core/na-object.c:
877 NA_OBJECT_TYPE GType macro renamed as NA_TYPE_OBJECT.
879 * src/core/na-pivot.c:
880 * src/api/na-extension.h:
881 * src/io-desktop/nadp-desktop-provider.c:
882 * src/io-gconf/nagp-gconf-provider.c:
883 * src/io-xml/naxml-provider.c:
884 * src/nact/nact-tree-model.c:
885 * src/test/test-module-plugin.c: Updated accordingly.
887 Get ride of GQuark as internal identifier of export format.
889 * src/api/na-iexporter.h:
890 Deprecate _NAIExporterFileParmsv1 and _NAIExporterBufferParmsv1 struct.
892 * src/core/na-export-format.c:
893 * src/core/na-export-format.h:
894 (na_export_format_get_quark): Removed function.
895 NA_EXPORT_FORMAT_TYPE GType macro renamed as NA_TYPE_EXPORT_FORMAT.
897 * src/core/na-exporter.c:
898 * src/core/na-exporter.h
899 (na_exporter_find_for_format): New function.
900 (na_exporter_get_export_format): Removed function.
902 * src/io-desktop/nadp-writer.c
903 (nadp_writer_iexporter_export_to_buffer,
904 nadp_writer_iexporter_export_to_file):
905 * src/io-xml/naxml-writer.c
906 (naxml_writer_export_to_buffer, naxml_writer_export_to_file):
907 * src/nact/nact-assistant-export.c (assistant_apply):
908 * src/nact/nact-clipboard.c (export_row_object):
909 * src/nact/nact-export-ask.c:
910 * src/nact/nact-export-ask.h(nact_export_ask_user):
911 * src/utils/nautilus-actions-new.c (output_to_desktop):
912 * src/utils/nautilus-actions-print.c (main): Updated accordingly.
914 * src/core/na-ioptions-list.c: Fix comments.
916 * src/core/na-ioption.c (get_ioption_data):
917 Set the initialization flag after the weak ref on the instance.
919 * src/core/na-ioption.h:
920 * src/core/na-import-mode.c:
921 * src/core/na-export-format.c:
922 Rename NA_IOPTION_TYPE GType macro to NA_TYPE_IOPTION.
924 * src/nact/nact-assistant-export.ui: Rename widget to ExportAskLabel.
926 * src/nact/nact-export-ask.c:
927 * src/nact/nact-export-ask.h:
928 Rename NACT_EXPORT_ASK_TYPE GType macro to NACT_TYPE_EXPORT_ASK.
930 * src/utils/nautilus-actions-new.c (output_to_stdout): Set default value.
932 * src/core/na-ioptions-list.h: Fix GType macros.
934 * src/core/na-settings.c:
935 * src/core/na-settings.h: Move default values out of the header.
937 * src/core/na-exporter.c (na_exporter_get_export_format): Fix comment.
939 2012-01-12 Pierre Wieser <pwieser@trychlos.org>
941 * src/core/na-ioptions-list.h:
942 Rename NA_IOPTIONS_LIST_TYPE GType macro to NA_TYPE_IOPTIONS_LIST.
944 * src/core/na-importer-ask.c (register_type):
945 * src/nact/nact-assistant-export.c (register_type):
946 * src/nact/nact-assistant-import.c (register_type):
947 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
949 * src/nact/nact-preferences-editor.c:
950 * src/nact/nact-preferences-editor.h:
951 * src/nact/nact-preferences.ui:
952 Rename NACT_PREFERENCES_EDITOR_TYPE GType macro to NACT_TYPE_PREFERENCES_EDITOR.
953 Set "Relying on runtime detection" as default in "Runtime execution" tab.
954 Display the detected desktop identifier.
956 * src/nact/nact-ienvironment-tab.c
957 (dispose_selection_count_combobox): Check that we have a GtkComboBox.
958 (dispose_desktop_listview): Check that we have a GtkTreeView.
960 * src/nact/nact-icommand-tab.c
961 (legend_dialog_hide): Check that legend_dialog is a GtkWindow.
963 * src/core/na-desktop-environment.c:
964 * src/core/na-desktop-environment.h: Fix comments.
966 General review of notebook interfaces:
967 - connect to BaseWindow signals instead of calling public functions
968 - define GObject standard GType macro names
969 - host private data in only one structure attached to the instance.
971 * src/nact/nact-iaction-tab.c:
972 * src/nact/nact-iaction-tab.h:
973 * src/nact/nact-ibasenames-tab.c:
974 * src/nact/nact-ibasenames-tab.h:
975 * src/nact/nact-icapabilities-tab.c:
976 * src/nact/nact-icapabilities-tab.h:
977 * src/nact/nact-icommand-tab.c:
978 * src/nact/nact-icommand-tab.h:
979 * src/nact/nact-ienvironment-tab.c:
980 * src/nact/nact-ienvironment-tab.h:
981 * src/nact/nact-iexecution-tab.c:
982 * src/nact/nact-iexecution-tab.h:
983 * src/nact/nact-ifolders-tab.c:
984 * src/nact/nact-ifolders-tab.h:
985 * src/nact/nact-imimetypes-tab.c:
986 * src/nact/nact-imimetypes-tab.h:
987 * src/nact/nact-iproperties-tab.c:
988 * src/nact/nact-iproperties-tab.h:
989 * src/nact/nact-ischemes-tab.c:
990 * src/nact/nact-ischemes-tab.h:
991 * src/nact/nact-main-window.c:
992 * src/nact/nact-main-window.h: Updated accordingly.
994 * src/nact/nact-main-window.c (class_init):
995 Make property labels translatable.
997 2012-01-11 Pierre Wieser <pwieser@trychlos.org>
999 * src/nact/nact-main-window.c (on_base_initialize_base_window):
1000 Connect to the application object.
1002 * src/nact/base-window.c:
1003 * src/nact/base-window.h (all_widgets_showed): Renamed as show_widgets().
1005 * src/nact/base-dialog.c:
1006 * src/nact/base-dialog.h:
1007 BASE_DIALOG_TYPE GType macro is renamed as BASE_TYPE_DIALOG.
1009 * src/nact/nact-add-capability-dialog.c (register_type):
1010 * src/nact/nact-add-scheme-dialog.c (register_type):
1011 * src/nact/nact-confirm-logout.c (register_type):
1012 * src/nact/nact-export-ask.c (register_type):
1013 * src/nact/nact-icon-chooser.c (register_type):
1014 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
1016 * src/nact/base-assistant.c:
1017 * src/nact/base-assistant.h:
1018 BASE_ASSISTANT_TYPE GType macro is renamed as BASE_TYPE_ASSISTANT.
1019 Remove the work-around against #589745 (Apply message in GtkAssistant).
1021 * src/nact/nact-assistant-export.c (register_type):
1022 * src/nact/nact-assistant-import.c (register_type): Updated accordingly.
1024 * src/nact/base-dialog.c:
1025 * src/nact/base-dialog.h:
1026 BASE_WINDOW_TYPE is renamed as BASE_TYPE_WINDOW.
1027 Review whole initialization process.
1029 * src/nact/base-assistant.c (register_type):
1030 * src/nact/nact-iaction-tab.c (register_type):
1031 * src/nact/nact-ibasenames-tab.c (register_type):
1032 * src/nact/nact-icapabilities-tab.c (register_type):
1033 * src/nact/nact-icommand-tab.c (register_type):
1034 * src/nact/nact-ienvironment-tab.c (register_type):
1035 * src/nact/nact-iexecution-tab.c (register_type):
1036 * src/nact/nact-ifolders-tab.c (register_type):
1037 * src/nact/nact-imimetypes-tab.c (register_type):
1038 * src/nact/nact-iproperties-tab.c (register_type):
1039 * src/nact/nact-ischemes-tab.c (register_type):
1040 * src/nact/nact-main-window.c (register_type): Updated accordingly.
1042 * src/nact/base-builder.c:
1043 * src/nact/base-builder.h:
1044 BASE_BUILDER_TYPE is renamed as BASE_TYPE_BUILDER.
1046 * BASE_SIGNAL_QUIT_REQUESTED, BASE_SIGNAL_QUIT: New signals, defined in
1047 BaseISession interface.
1049 * src/nact/nact-marshal.def: New file.
1051 * src/nact/Makefile.am: Updated accordingly.
1053 * src/nact/base-application.c
1054 * src/nact/base-application.h
1055 (register_type): As BaseISession now only requires G_TYPE_OBJECT, then
1056 declare the implementation in register_type().
1057 (base_application_run): Renamed as base_application_run_with_args().
1058 BASE_EXIT_CODE_START_FAIL exit code replaced with BASE_EXIT_CODE_PROGRAM.
1059 (base_application_is_willing_to_quit): New function, moved from BaseWindow.
1060 BASE_APPLICATION_TYPE macro renamed as BASE_TYPE_APPLICATION.
1062 * src/nact/base-assistant.c (do_run):
1063 * src/nact/base-dialog.c (do_run):
1064 * src/nact/nact-application.c (register_type):
1065 * src/nact/nact-main-window.c:
1066 * src/nact/nact-menubar-maintainer.c:
1067 * src/nact/nact-tree-view.c: Updated accordingly.
1069 * src/nact/base-isession.c:
1070 * src/nact/base-isession.h:
1071 Define ISessionData pseudo-properties.
1072 Implement BASE_SIGNAL_QUIT_REQUESTED and BASE_SIGNAL_QUIT class handlers.
1074 * src/nact/base-iunique.c:
1075 * src/nact/base-iunique.h:
1076 Define IUniqueData pseudo-properties.
1078 * src/nact/base-window.c:
1079 * src/nact/base-window.h:
1080 Define BaseGtkData pseudo-properties.
1081 Remove BASE_SIGNAL_WILLING_TO_QUIT definition and handlers.
1082 (base_window_is_willing_to_quit): Removed function.
1084 2012-01-09 Pierre Wieser <pwieser@trychlos.org>
1086 * src/nact/base-isession.c:
1087 * src/nact/base-isession.h: New BaseISession interface.
1089 * src/nact/Makefile.am:
1090 * src/nact/base-application.c (init_session_manager): Updated accordingly.
1092 * src/nact/base-application.h: Update comments.
1094 * src/nact/base-window.c:
1095 * src/nact/base-window.h (base_window_init) now holds all the build process.
1097 * src/nact/nact-main-window.c (instance_dispose): Quit the main loop.
1099 * src/nact/base-window.c:
1100 * src/nact/base-window.h
1101 (BASE_SIGNAL_ALL_WIDGETS_SHOWED): signal renamed as BASE_SIGNAL_SHOW_WIDGETS.
1102 (instance_constructed): Gtk toplevel initialization is moved here.
1103 (base_window_init): only deals with runtime initialization and widgets display.
1104 (do_initialize_base_window): set transient for parent here.
1106 * src/nact/nact-add-capability-dialog.c (instance_init):
1107 * src/nact/nact-add-scheme-dialog.c (instance_init):
1108 * src/nact/nact-assistant-export.c (instance_constructed):
1109 * src/nact/nact-icon-chooser.c (instance_init):
1110 * src/nact/nact-preferences-editor.c (instance_init):
1111 * src/nact/nact-tree-view.c (instance_constructed): Updated accordingly.
1113 * src/nact/nact-main-window.c
1114 (instance_init): Connect to BaseWindow signals before running
1115 instance_constructed().
1116 (nact_main_window_new): Call base_window_init().
1118 * src/nact/nact-application.h: Review comments.
1120 * src/nact/nact-application.c (appli_create_windows): Fix return value.
1122 * src/nact/base-application.h: Fix comments.
1124 * src/nact/base-application.c (base_application_run):
1125 Add a debug message before entering the main loop.
1127 2012-01-08 Pierre Wieser <pwieser@trychlos.org>
1129 * src/nact/base-application.c:
1130 * src/nact/base-application.h
1131 (base_application_get_builder): Removed function.
1132 Implements BaseIUnique interface.
1134 * src/nact/base-window.c:
1135 * src/nact/base-window.h:
1136 Have a common builder at class level.
1137 Gtk toplevel and BaseWindow are initialized when instance is constructed.
1139 * src/nact/nact-application.c: Updated accordingly.
1141 * src/nact/base-iunique.c:
1142 * src/nact/base-iunique.h (base_iunique_init_with_name):
1143 Function renamed from base_iunique_init_name().
1144 * src/nact/base-builder.c:
1145 * src/nact/base-builder.h: Fix comments.
1147 * src/nact/nact-tree-view.c (nact_tree_view_get_type):
1148 Register the interface after the type so that the interface is able to
1151 A program to test a class which implements an interface, this same
1152 interface itself requiring the class...
1154 * src/test/test-iface2.c: New interface test program.
1156 * src/test/Makefile.am: Updated accordingly.
1158 Rather call parent_class::instance_constructed() method before executing
1159 the derived class one.
1161 * src/core/na-io-provider.c (instance_constructed):
1162 * src/core/na-pivot.c (instance_constructed):
1163 * src/nact/nact-assistant-export.c (instance_constructed):
1164 * src/nact/nact-main-window.c (instance_constructed):
1165 * src/nact/nact-tree-view.c (instance_constructed):
1166 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1167 Call parent class on the beginning of the function.
1169 * src/nact/base-iunique.c:
1170 * src/nact/base-iunique.h: New BaseIUnique interface.
1172 * src/nact/Makefile.am: Updated accordingly.
1174 2012-01-06 Pierre Wieser <pwieser@trychlos.org>
1176 * configure.ac: Now requires gtk-doc >= 1.16.
1178 * src/nact/base-application.c:
1179 * src/nact/base-application.h (base_application_run):
1180 Take argc, argv as function arguments.
1181 Define 'code' as a property.
1183 * src/nact/main.c b/src/nact/main.c (main):
1184 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1186 2012-01-05 Pierre Wieser <pwieser@trychlos.org>
1188 * src/nact/nact-tree-ieditable.c:
1189 * src/nact/nact-tree-ieditable.h (nact_tree_ieditable_set_items): New function.
1191 * src/nact/nact-assistant-import.c (assistant_apply):
1192 * src/nact/nact-tree-model-dnd.c (drop_uri_list): Updated accordingly.
1194 * src/core/na-importer.c (manage_import_mode):
1195 Release the duplicated object which has been cancelled by the user.
1197 * src/core/na-icontext-factory.c:
1198 * src/core/na-iduplicable.c:
1199 * src/core/na-object-action-factory.c:
1200 * src/core/na-object-action.c:
1201 * src/core/na-object-id-factory.c:
1202 * src/core/na-object-item-factory.c:
1203 * src/core/na-object-menu-factory.c: Add/fix comments.
1205 * src/core/na-export-format.h: Remove IPREFS_EXPORT_ definitions from here.
1207 * src/core/na-exporter.c:
1208 * src/core/na-exporter.h (na_exporter_get_export_format): New function.
1210 * src/core/na-iprefs.c:
1211 * src/core/na-iprefs.h
1212 (na_iprefs_get_export_format, na_iprefs_set_export_format): Removed functions.
1214 * src/nact/nact-assistant-export.c
1215 (on_base_initialize_base_window, assist_prepare_confirm, assist_prepare_exportdone):
1216 * src/nact/nact-clipboard.c (export_row_object):
1217 * src/nact/nact-export-ask.c (nact_export_ask_user, get_export_format):
1218 * src/nact/nact-export-ask.h:
1219 Updated accordingly.
1221 * src/core/na-iprefs.c:
1222 * src/core/na-iprefs.h (na_iprefs_set_import_mode): Removed function.
1224 2012-01-04 Pierre Wieser <pwieser@trychlos.org>
1226 Move 'Ask' export format to NAExporter.
1228 * src/core/Makefile.am:
1229 * src/nact/Makefile.am: Move fma-export-format-ask.png to src/core.
1231 * nact-export-format.c:
1232 * nact-export-format.h: Removed files.
1235 * src/nact/nact-assistant-export.c (ioptions_list_get_ask_option):
1236 * src/nact/nact-preferences-editor.c (ioptions_list_get_ask_option):
1237 Updated accordingly.
1239 * src/api/na-iimporter.h: Deprecate NAIImporterImportMode enum.
1241 * src/core/na-importer.h: Define new NAImporterImportMode enum here.
1243 * src/core/na-importer.c (ask_user_for_mode):
1244 * src/core/na-iprefs.c:
1245 * src/core/na-iprefs.h:
1246 * src/nact/nact-tree-model-dnd.c:
1247 Get ride of na_iprefs_get_import_mode() function.
1249 Review interface initialization in implementations.
1251 * src/core/na-export-format.c (ioption_iface_init):
1252 * src/core/na-import-mode.c (ioption_iface_init):
1253 * src/core/na-importer-ask.c (ioptions_list_iface_init):
1254 * src/core/na-object-action.c
1255 (ifactory_object_iface_init, icontext_iface_init):
1256 * src/core/na-object-menu.c
1257 (ifactory_object_iface_init, icontext_iface_init):
1258 * src/core/na-object-profile.c
1259 (ifactory_object_iface_init, icontext_iface_init):
1260 * src/core/na-object.c (iduplicable_iface_init):
1261 * src/nact/nact-assistant-export.c (ioptions_list_iface_init):
1262 * src/nact/nact-assistant-import.c (ioptions_list_iface_init):
1263 * src/nact/nact-export-ask.c (ioptions_list_iface_init):
1264 * src/nact/nact-main-window.c
1265 (iaction_tab_iface_init, icommand_tab_iface_init,
1266 ibasenames_tab_iface_init, imimetypes_tab_iface_init,
1267 ifolders_tab_iface_init, ischemes_tab_iface_init,
1268 icapabilities_tab_iface_init, ienvironment_tab_iface_init,
1269 iexecution_tab_iface_init, iproperties_tab_iface_init):
1270 * src/nact/nact-preferences-editor.c (ioptions_list_iface_init):
1271 * src/nact/nact-tree-model.c
1272 (imulti_drag_source_init, idrag_dest_init):
1273 * src/nact/nact-tree-view.c (tree_ieditable_iface_init):
1274 * src/test/test-iface-base.c (iface_iface_init): Add user_data parameter.
1276 * src/nact/nact-tree-ieditable.c: Review NactTreeIEditable interface.
1278 * src/nact/nact-ischemes-tab.c: Review NactISchemesTab interface.
1280 * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab interface.
1282 * src/nact/nact-imimetypes-tab.c: Review NactIMimetypesTab interface.
1284 * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab interface.
1286 * src/nact/nact-iexecution-tab.c: Review NactIExecutionTab interface.
1288 * src/nact/nact-ienvironment-tab.c: Review NactIEnvironmentTab interface.
1290 * src/nact/nact-icommand-tab.c: Review NactICommandTab interface.
1292 * src/nact/nact-icapabilities-tab.c: Review NactICapabilitiesTab interface.
1294 * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab interface.
1296 * src/nact/nact-iaction-tab.c: Review NactIActionTab interface.
1298 Come back on core interfaces.
1300 * src/core/na-icontext.c:
1301 * src/core/na-iduplicable.c:
1302 * src/core/na-iexporter.c:
1303 * src/core/na-ifactory-object.c:
1304 * src/core/na-ifactory-provider.c:
1305 * src/core/na-iimporter.c:
1306 * src/core/na-iio-provider.c:
1307 * src/core/na-ioption.c:
1308 * src/core/na-ioptions-list.c
1309 (interface_init): Renamed back as interface_base_init().
1310 (interface_finalize): Renamed back as interface_base_finalize().
1312 * src/utils/console-utils.h: Re-include 'glib.h' header.
1314 2012-01-03 Pierre Wieser <pwieser@trychlos.org>
1316 * src/core/na-ioptions-list.c: Review NAIOptionsList interface.
1318 * src/core/na-ioption.c: Review NAIOption interface.
1320 * src/core/na-iio-provider.c: Review NAIIOProvider interface.
1322 * src/core/na-iimporter.c:
1323 * src/core/na-importer.c: Review NAIImporterInterface.
1325 * src/core/na-factory-provider.c:
1326 * src/core/na-ifactory-provider.c: Review NAIFactoryProvider interface.
1328 * src/core/na-factory-object.c:
1329 * src/core/na-ifactory-object.c: Review NAIFactoryObject interface.
1331 * src/core/na-exporter.c:
1332 * src/core/na-iexporter.c: Review NAIExporter interface.
1334 * src/core/na-iduplicable.c: Review NAIDuplicable interface.
1336 * src/core/na-icontext.c: Review NAIContext interface.
1338 * src/test/test-iface-iface.c:
1339 * src/test/test-iface.c: Do some more tests on the interfaces.
1341 * src/utils/na-gconf2key.sh.in: Force GConf I/O provider to be read-only.
1343 * src/utils/console-utils.h: Remove superfluous 'glib-object.h' include.
1345 * src/utils/na-set-conf.c: New program.
1347 * src/core/na-settings.c:
1348 * src/core/na-settings.h
1349 (na_settings_set_string_ex, na_settings_set_int_ex): New functions.
1351 * src/utils/Makefile.am: Updated accordingly.
1353 * src/utils/Makefile.am: Factorize library declarations.
1355 2012-01-02 Pierre Wieser <pwieser@trychlos.org>
1357 * src/utils/na-gconf2key.sh.in:
1358 Introduces new '--admin' option for packagers and system administrators.
1359 Default for GConf to be only readable.
1361 * src/api/na-iimporter.h:
1362 * src/core/na-iimporter.c: Introduces version 2 of interface,
1363 deprecating NAIImporterCheckFn and NAIImporterAskUserFn definitions.
1365 * src/core/na-importer.c:
1366 * src/core/na-importer.h (na_importer_import_from_uris):
1367 Updated to new NAIImporter v2 interface, moving check and ask code here.
1369 * src/io-desktop/nadp-desktop-provider.c (iimporter_get_version):
1370 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
1371 * src/io-xml/naxml-provider.c (iimporter_get_version):
1372 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
1373 * src/nact/nact-assistant-import.c (assistant_apply):
1374 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1375 * src/test/test-reader.c (main):
1376 Updated to new NAIImporter v2 interface.
1378 * src/api/na-iexporter.h: Update documentation.
1380 * src/core/na-importer.c:
1381 * src/core/na-importer.h (na_importer_import_from_list):
1382 Renamed as na_importer_import_from_uris.
1383 Now returns the count of succesffully imported items.
1385 * src/nact/nact-assistant-import.c (assistant_apply):
1386 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1387 * src/test/test-reader.c (main): Updated accordingly.
1389 * src/api/na-iimporter.h: Update documentation.
1391 * m4/na-maintainer-mode.m4: Reverse the sens of deprecation test.
1394 * docs/reference/Makefile.am:
1395 * src/api/na-core-utils.h:
1396 * src/api/na-data-boxed.h:
1397 * src/api/na-gconf-monitor.h:
1398 * src/api/na-gconf-utils.h:
1399 * src/api/na-iduplicable.h:
1400 * src/api/na-iexporter.h:
1401 * src/api/na-object-api.h:
1402 * src/api/na-object.h:
1403 * src/core/na-core-utils.c:
1404 * src/core/na-data-boxed.c:
1405 * src/core/na-exporter.c:
1406 * src/core/na-gconf-monitor.c:
1407 * src/core/na-gconf-utils.c:
1408 * src/core/na-iduplicable.c:
1409 * src/core/na-object.c:
1410 * src/io-gconf/nagp-gconf-provider.c:
1411 * src/io-gconf/nagp-writer.c:
1412 * src/io-gconf/nagp-writer.h: Updated accordingly.
1414 * src/core/na-importer.c (na_importer_import_from_list): Fix typo.
1416 * src/core/na-about.c:
1417 * src/core/na-about.h (na_about_get_icon_name): Returns a const string.
1419 * src/plugin-menu/nautilus-actions.c: Updated accordingly.
1421 * Allmost all files: Bump copyright year.
1423 * ChangeLog-2011: New file.
1425 * src/core/na-exporter.c (exporter_get_formats): Fix variable declaration.
1427 * src/api/na-core-utils.h:
1428 * src/core/na-core-utils.c (na_core_utils_str_add_prefix):
1429 Fix function deprecation.
1431 2012-01-01 Pierre Wieser <pwieser@trychlos.org>
1433 * src/nact/fma-export-format-ask.png: Add omitted image.
1435 * src/api/na-core-utils.h:
1436 * src/core/na-core-utils.c (na_core_utils_str_add_prefix): Deprecated function.
1438 * src/core/na-import-mode.c:
1439 * src/core/na-import-mode.h (na_import_mode_get_id): New function.
1441 * src/core/na-importer-ask.c (on_destroy_toplevel): Fix handler signature.
1443 * src/core/na-importer.c (get_mode_from_struct): Fix GdkPixbuf reference count.
1445 * src/core/na-ioption.h:
1446 * src/core/na-ioptions-list.c: Fix typo.
1448 * src/core/na-importer-ask.c:
1449 * src/nact/nact-assistant-import.c: Implement NAIOptionsList interface.