aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-11-06 03:30:36 +0800
committerMilan Crha <mcrha@redhat.com>2012-11-06 03:30:36 +0800
commitc64d09ebc544dbba13024f7706cb891e373fe64c (patch)
treeb70220a9d55be2107209f5e14ffedc410f05a459
parent136f4d53bd64ecd14df5035d5f3b46c748661724 (diff)
downloadgsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar.gz
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar.bz2
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar.lz
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar.xz
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.tar.zst
gsoc2013-evolution-c64d09ebc544dbba13024f7706cb891e373fe64c.zip
Missing search buttons in Calendar view
-rw-r--r--modules/calendar/e-cal-shell-view.c2
-rw-r--r--shell/e-shell-searchbar.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index afa30c3da8..f17a1386b4 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -109,7 +109,7 @@ cal_shell_view_constructed (GObject *object)
gtk_widget_show_all (box);
- gtk_box_pack_start (GTK_BOX (e_shell_searchbar_get_search_box (searchbar)), box, FALSE, FALSE, 0);
+ gtk_container_add (GTK_CONTAINER (e_shell_searchbar_get_search_box (searchbar)), box);
}
static void
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index b80b3e27cd..002fc35f0a 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -1250,8 +1250,10 @@ e_shell_searchbar_new (EShellView *shell_view)
{
g_return_val_if_fail (E_IS_SHELL_VIEW (shell_view), NULL);
- return g_object_new (
- E_TYPE_SHELL_SEARCHBAR, "shell-view", shell_view, NULL);
+ return g_object_new (E_TYPE_SHELL_SEARCHBAR,
+ "shell-view", shell_view,
+ "orientation", GTK_ORIENTATION_HORIZONTAL,
+ NULL);
}
/**