Add functions to say whether multiple tabs/windows are supported
The file chooser will leave these off by default; file managers like Nautilus will turn them on. These control whether the places sidebar shows 'open in new tab' and similar items in its context menu. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
		| @ -50,9 +50,14 @@ typedef enum { | ||||
| GType gtk_places_sidebar_get_type (void); | ||||
| GtkWidget *gtk_places_sidebar_new (void); | ||||
|  | ||||
| /* FIXME: add an "uri" property so this can be set via g_object_set() */ | ||||
| /* FIXME: add GObject properties for the following things */ | ||||
|  | ||||
| void gtk_places_sidebar_set_current_uri (GtkPlacesSidebar *sidebar, const char *uri); | ||||
|  | ||||
| void gtk_places_sidebar_set_multiple_tabs_supported (GtkPlacesSidebar *sidebar, gboolean supported); | ||||
|  | ||||
| void gtk_places_sidebar_set_multiple_windows_supported (GtkPlacesSidebar *sidebar, gboolean supported); | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
| #endif /* __GTK_PLACES_SIDEBAR_H__ */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Federico Mena Quintero
					Federico Mena Quintero