diff options
-rw-r--r-- | modules/calendar/e-cal-shell-view.c | 2 | ||||
-rw-r--r-- | shell/e-shell-searchbar.c | 6 |
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); } /** |