[gnome-photos] main-toolbar: Go back to the previous collection, if any



commit 269c2a97ad42a8afee6117f27aef64a52415d2b5
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Apr 3 00:51:11 2013 +0200

    main-toolbar: Go back to the previous collection, if any
    
    Original patch from Volker Sobek for gnome-documents.

 src/photos-main-toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 272839a..65675b2 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -155,7 +155,7 @@ static void
 photos_main_toolbar_coll_back_button_clicked (GtkButton *button, gpointer user_data)
 {
   PhotosMainToolbar *self = PHOTOS_MAIN_TOOLBAR (user_data);
-  photos_base_manager_set_active_object (self->priv->col_mngr, NULL);
+  photos_item_manager_activate_previous_collection (PHOTOS_ITEM_MANAGER (self->priv->item_mngr));
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]