Actually switch to recent:/// in its key shortcut handler

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
Federico Mena Quintero 2012-11-23 13:24:55 -06:00
parent f623329e95
commit fc6bfcddde

View File

@ -10574,9 +10574,11 @@ search_shortcut_handler (GtkFileChooserDefault *impl)
static void
recent_shortcut_handler (GtkFileChooserDefault *impl)
{
#if REMOVE_FOR_PLACES_SIDEBAR
switch_to_shortcut (impl, shortcuts_get_index (impl, SHORTCUTS_RECENT));
#endif
GFile *recent;
recent = g_file_new_for_uri ("recent:///");
change_folder_and_display_error (impl, recent, FALSE);
g_object_unref (recent);
}
static void