[gnome-photos] main-toolbar: Remove empty else branch
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-toolbar: Remove empty else branch
- Date: Mon, 17 Mar 2014 13:00:13 +0000 (UTC)
commit 6a35d05a24ce11049cc8a19c1adbfe56a0407072
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 17 13:35:38 2014 +0100
main-toolbar: Remove empty else branch
The else branch was left empty waiting for PhotosSearchTypeManager and
PhotosSearchController to be implemented so that we can change the
title to "Albums" or "Results for 'search string'". This should not be
done in the new split view designs.
Fixes: https://bugzilla.gnome.org/726519
src/photos-main-toolbar.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index c1063e6..f602558 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -95,9 +95,6 @@ photos_main_toolbar_set_toolbar_title (PhotosMainToolbar *self)
{
if (active_collection != NULL)
primary = g_markup_printf_escaped ("%s", photos_base_item_get_name (PHOTOS_BASE_ITEM
(active_collection)));
- else
- {
- }
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]