diff options
author | Federico Mena Quintero <federico@gnome.org> | 2011-10-04 09:22:11 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2012-09-03 20:53:38 -0500 |
commit | 7be881982f02f7811db5f59593fdb80bdc50e453 (patch) | |
tree | 8f1df24e4aaef4228bac751d578dcbef66c967e6 /gtk/gtkplacessidebar.h | |
parent | 01020ccc81a4ebabc7cb15d9a88d9761b56844a0 (diff) | |
download | gtk+-7be881982f02f7811db5f59593fdb80bdc50e453.tar.gz |
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>
Diffstat (limited to 'gtk/gtkplacessidebar.h')
-rw-r--r-- | gtk/gtkplacessidebar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.h b/gtk/gtkplacessidebar.h index a17afd149e..11766b2c90 100644 --- a/gtk/gtkplacessidebar.h +++ b/gtk/gtkplacessidebar.h @@ -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__ */ |