[gnome-photos] main-toolbar: Add searchbar in selection mode
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-toolbar: Add searchbar in selection mode
- Date: Fri, 14 Mar 2014 12:40:58 +0000 (UTC)
commit 963dae57aaa794d4763b2f9f051cd958c547a7c4
Author: Chunyang Xu <xuchunyang56 gmail com>
Date: Sat Mar 8 16:44:37 2014 +0800
main-toolbar: Add searchbar in selection mode
https://bugzilla.gnome.org/show_bug.cgi?id=725934
src/photos-main-toolbar.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index d9c9601..2f97217 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -588,6 +588,9 @@ photos_main_toolbar_populate_for_selection_mode (PhotosMainToolbar *self)
G_CONNECT_SWAPPED);
photos_main_toolbar_add_search_button (self);
+
+ if (gtk_widget_get_parent (priv->searchbar) == NULL)
+ gtk_container_add (GTK_CONTAINER (self), priv->searchbar);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]