From: Martin Kretzschmar Date: Wed, 26 Jan 2005 22:57:58 +0000 (+0000) Subject: (ev_window_init): add GTK_SHADOW_IN to the scrolled window for X-Git-Tag: EVINCE_0_1_3~32 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=4ff03ce9d5234a35ee07fe6724fcc616e9198200;p=evince.git (ev_window_init): add GTK_SHADOW_IN to the scrolled window for Federico. --- diff --git a/ChangeLog b/ChangeLog index 51ae98ce..fa018218 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-26 Martin Kretzschmar + + * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the + scrolled window for Federico. + 2005-01-26 Ole Laursen * configure.ac: Added "da" (Danish) to ALL_LINGUAS. diff --git a/shell/ev-window.c b/shell/ev-window.c index b675e780..407ce28b 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1695,10 +1695,13 @@ ev_window_init (EvWindow *ev_window) _("Thumbnails"), ev_window->priv->thumbs_sidebar); - ev_window->priv->scrolled_window = gtk_scrolled_window_new (NULL, NULL); + ev_window->priv->scrolled_window = + GTK_WIDGET (g_object_new (GTK_TYPE_SCROLLED_WINDOW, + "hscrollbar-policy", GTK_POLICY_AUTOMATIC, + "vscrollbar-policy", GTK_POLICY_AUTOMATIC, + "shadow-type", GTK_SHADOW_IN, + NULL)); gtk_widget_show (ev_window->priv->scrolled_window); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (ev_window->priv->scrolled_window), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_paned_add2 (GTK_PANED (ev_window->priv->hpaned), ev_window->priv->scrolled_window);