]> www.fi.muni.cz Git - evince.git/commitdiff
(ev_window_init): add GTK_SHADOW_IN to the scrolled window for
authorMartin Kretzschmar <martink@src.gnome.org>
Wed, 26 Jan 2005 22:57:58 +0000 (22:57 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Wed, 26 Jan 2005 22:57:58 +0000 (22:57 +0000)
Federico.

ChangeLog
shell/ev-window.c

index 51ae98ce777aa86e17ba9e38f56726b99dc96d30..fa018218ed140d5c4942945c3deee54cc5479dcd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-26  Martin Kretzschmar  <martink@gnome.org>
+
+       * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
+       scrolled window for Federico.
+
 2005-01-26  Ole Laursen  <olau@hardworking.dk>
 
        * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
index b675e78010d80f43ecafd72d6c644e476225ae44..407ce28b868e5f228f62b34cec2d00c01f889cee 100644 (file)
@@ -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);