places sidebar: Make 'recent' work on other platforms
Since nautilus merge, we were not showing 'Recent' in the sidebar if GIO did not support the recent: scheme. But the file chooser can show recent files independent of gvfs - it loads the recent files manually. This is relevant on Windows and OS X, where gvfs is typically not used. This commit adds a show-recent property which can be used to override the recent: scheme check. We use it in the file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=750068
This commit is contained in:
		| @ -95,6 +95,12 @@ GDK_AVAILABLE_IN_3_10 | ||||
| void               gtk_places_sidebar_set_location               (GtkPlacesSidebar   *sidebar, | ||||
|                                                                   GFile              *location); | ||||
|  | ||||
| GDK_AVAILABLE_IN_3_18 | ||||
| gboolean           gtk_places_sidebar_get_show_recent            (GtkPlacesSidebar   *sidebar); | ||||
| GDK_AVAILABLE_IN_3_18 | ||||
| void               gtk_places_sidebar_set_show_recent            (GtkPlacesSidebar   *sidebar, | ||||
|                                                                   gboolean            show_recent); | ||||
|  | ||||
| GDK_AVAILABLE_IN_3_10 | ||||
| gboolean           gtk_places_sidebar_get_show_desktop           (GtkPlacesSidebar   *sidebar); | ||||
| GDK_AVAILABLE_IN_3_10 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen