Commit graph

13 commits

Author SHA1 Message Date
António Fernandes
bc55ff7599 menu-provider: Don't pass GtkWindow
We don't want menu items to create their own windows in our process.

This helps with the effort to de-GTK-ize libnautilus-extensions API.
2022-08-07 01:14:22 +00:00
Patrick Monnerat
4f334aec5d menu-provider: Fix signal id argument
ITEMS_UPDATED is not the signal id. It's the index for the array of
signal ids.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/984
2020-01-04 21:31:11 +00:00
Ernestas Kulik
4ae0361342 docs: Reorganize and fix
This commit completes the sections file with subsections, moves most
documentation to headers (no real reason to, especially given that
changes there may cause unwanted rebuilds, but it feels better to have
it in the headers) and fixes some annotations.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/565
2018-08-03 20:35:47 +03:00
Ernestas Kulik
7e2605c681 general: refactor extension library
The changes include:

  * adding a single-include header and deprecating
    nautilus-extension-types.h and direct inclusions of individual
    headers;

  * type definition simplifications - this causes some breakages in
    nautilus-file, because NautilusFile used to be typedefed to
    NautilusFileInfo, and that is no longer possible, so the interface
    implementation was moved to static functions and the public
    NautilusFile API provides thin wrappers for them to maintain
    compatibility;

  * documentation cleanups and reorganization;

  * general build rule and code cleanups: mostly g_auto* sprinkled
    around and style changes (sorry)
2018-02-09 06:32:38 +02:00
Carlos Soriano
52d960542b general: run uncrustify
And make the style of Nautilus the same for all files.
Hopefully we can fix all the style issues we can find in the next days,
so expect a little of movement on this.

https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-08-29 18:37:10 +02:00
Cosimo Cecchi
ff5a48d133 libnautilus-extension: add gtk-doc documentation coverage
A lot of the library was poorly documented. Make sure the output of the
documentation looks okay.
2015-05-25 20:41:19 -07:00
Cosimo Cecchi
cbc37d3ecd Don't mention FSF address
Use the website instead.

https://bugzilla.gnome.org/show_bug.cgi?id=721518
2014-02-17 14:41:43 -08:00
William Jon McCann
d721a8f206 Normalize signal names
https://bugzilla.gnome.org/show_bug.cgi?id=692234
2013-01-22 10:47:54 -05:00
Cosimo Cecchi
e79c28b480 extension: add some more missing gir annotations 2012-01-16 10:28:40 -05:00
Cosimo Cecchi
d3cee086e7 libnautilus-extension: remove the ability to add toolbar items
We want to fully control our toolbar now.
2011-02-17 11:25:17 -05:00
Christian Persch
eb26edd25e No need to make GTypeInfo and GInterfaceInfo static. Bug #362034.
2007-01-18  Christian Persch  <chpe@svn.gnome.org>

	* cut-n-paste-code/libegg/eggtreemultidnd.c:
	(egg_tree_multi_drag_source_get_type):
	* libnautilus-extension/nautilus-column-provider.c:
	(nautilus_column_provider_get_type):
	* libnautilus-extension/nautilus-column.c:
	(nautilus_column_get_type):
	* libnautilus-extension/nautilus-file-info.c:
	(nautilus_file_info_get_type):
	* libnautilus-extension/nautilus-info-provider.c:
	(nautilus_info_provider_get_type):
	* libnautilus-extension/nautilus-location-widget-provider.c:
	(nautilus_location_widget_provider_get_type):
	* libnautilus-extension/nautilus-menu-item.c:
	(nautilus_menu_item_get_type):
	* libnautilus-extension/nautilus-menu-provider.c:
	(nautilus_menu_provider_get_type):
	* libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_type):
	* libnautilus-extension/nautilus-property-page-provider.c:
	(nautilus_property_page_provider_get_type):
	* libnautilus-extension/nautilus-property-page.c:
	(nautilus_property_page_get_type):
	* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
	(nautilus_cell_renderer_pixbuf_emblem_get_type):
	* libnautilus-private/nautilus-entry.c: (nautilus_entry_get_type):
	* libnautilus-private/nautilus-file.c: (nautilus_file_get_type):
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_accessible_get_type),
	(nautilus_icon_canvas_item_get_type):
	* libnautilus-private/nautilus-sidebar-provider.c:
	(nautilus_sidebar_provider_get_type):
	* libnautilus-private/nautilus-sidebar.c:
	(nautilus_sidebar_get_type):
	* libnautilus-private/nautilus-view.c: (nautilus_view_get_type):
	* libnautilus-private/nautilus-window-info.c:
	(nautilus_window_info_get_type):
	* src/file-manager/fm-ditem-page.c: (fm_ditem_page_get_type):
	* src/file-manager/fm-list-model.c: (fm_list_model_get_type):
	* src/file-manager/fm-tree-model.c: (fm_tree_model_get_type):
	* src/nautilus-navigation-action.c:
	(nautilus_navigation_action_get_type): No need to make GTypeInfo and
	GInterfaceInfo static. Bug #362034.

svn path=/trunk/; revision=12700
2007-01-18 12:26:35 +00:00
Alexander Larsson
1a7f1da177 Add items_updated signal
2006-06-16  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-extension/nautilus-menu-provider.[ch]:
	Add items_updated signal

	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-signaller.[ch]:
	* src/nautilus-signaller.[ch]:
	* src/Makefile.am:
	Move NautilusSignaller to libnautilus-private.
	Add popup_menu_changed signal.

	* src/nautilus-application.c:
	Signal popup_menu_changed when a menu provider emits items_updated.

	* src/file-manager/fm-directory-view.c:
	* src/nautilus-window.c:
	Handle popup_menu_changed.

	* src/nautilus-emblem-sidebar.c:
	* src/nautilus-history-sidebar.c:
	* src/nautilus-navigation-window-menus.c:
	* src/nautilus-navigation-window.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-spatial-window.c:
	* src/nautilus-window-menus.c:
	Update includes.

	Patch from RUAUDEL Frédéric <ruaudel@embl.fr>
2006-06-16 15:40:18 +00:00
Dave Camp
7cb9107c85 Merged from nautilus-extensions-branch.
2004-01-11  Dave Camp  <dave@ximian.com>

	* Merged from nautilus-extensions-branch.
2004-01-11 20:35:02 +00:00