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:
Federico Mena Quintero
2011-09-07 17:55:21 -05:00
parent 554bb2e18a
commit 1093e1433e
2 changed files with 46 additions and 41 deletions

View File

@ -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__ */