Add gtk_places_sidebar_set_current_uri()
And remove the code that updated the current URI automatically based on a NautilusWindow. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
@ -41,10 +41,12 @@
|
||||
typedef struct _GtkPlacesSidebar GtkPlacesSidebar;
|
||||
typedef struct _GtkPlacesSidebarClass GtkPlacesSidebarClass;
|
||||
|
||||
|
||||
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() */
|
||||
void gtk_places_sidebar_set_current_uri (GtkPlacesSidebar *sidebar, const char *uri);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PLACES_SIDEBAR_H__ */
|
||||
|
||||
Reference in New Issue
Block a user