[gnome-photos/gnome-3-12] main-toolbar: Add searchbar in selection mode
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-12] main-toolbar: Add searchbar in selection mode
- Date: Sat, 15 Mar 2014 21:32:04 +0000 (UTC)
commit 60bf6fee1ba6a22338381cd505020f57b689e230
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]