Modified webpage: now tinymail repository is in gitorious.
[modest] / src / widgets / modest-scrolled-window-scrollable.c
index 5b2924b..eb8575e 100644 (file)
@@ -167,6 +167,7 @@ modest_scrolled_window_scrollable_class_init (ModestScrolledWindowScrollableClas
 static void
 modest_scrolled_window_scrollable_init (ModestScrolledWindowScrollable *self)
 {
+       gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (self), GTK_SHADOW_NONE);
 }
 
 static void
@@ -263,7 +264,12 @@ static void
 modest_scrolled_window_scrollable_add_with_viewport_default (ModestScrollable *self,
                                                                  GtkWidget *widget)
 {
+       GtkWidget *viewport;
+
        gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (self), widget);
+
+       viewport = gtk_bin_get_child (GTK_BIN (self));
+       gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport), GTK_SHADOW_NONE);
 }
 
 static GtkAdjustment *