[gnome-photos] main-toolbar: Set the title for the favorites mode too



commit 2217f817a9abee53b2c2f4bf7456b37754088e01
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 23 23:55:51 2013 +0100

    main-toolbar: Set the title for the favorites mode too

 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 5371b92..21527ef 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -111,7 +111,7 @@ photos_main_toolbar_set_toolbar_title (PhotosMainToolbar *self)
   selection_mode = photos_selection_controller_get_selection_mode (priv->sel_cntrlr);
   window_mode = photos_mode_controller_get_window_mode (priv->mode_cntrlr);
 
-  if (window_mode == PHOTOS_WINDOW_MODE_OVERVIEW)
+  if (window_mode == PHOTOS_WINDOW_MODE_OVERVIEW || window_mode == PHOTOS_WINDOW_MODE_FAVORITES)
     {
       if (!selection_mode)
         {


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