[gnome-online-accounts/gnome-3-4] Add a border on the webkit view



commit 870d2b61f8ecb239ad098790f350f4d32367ae21
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date:   Thu Sep 29 21:40:54 2011 +0200

    Add a border on the webkit view
    
    You usually have a border on any text or web widget.
    
    Fixes: https://bugzilla.gnome.org/660514

 src/goabackend/goaoauth2provider.c |    2 ++
 src/goabackend/goaoauthprovider.c  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 62ab2dd..1bb5f6c 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -709,6 +709,8 @@ get_tokens_and_identity (GoaOAuth2Provider  *provider,
 
       scrolled_window = gtk_scrolled_window_new (NULL, NULL);
       gtk_widget_set_size_request (scrolled_window, 500, 400);
+      gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
+                                           GTK_SHADOW_IN);
       gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
                                       GTK_POLICY_AUTOMATIC,
                                       GTK_POLICY_AUTOMATIC);
diff --git a/src/goabackend/goaoauthprovider.c b/src/goabackend/goaoauthprovider.c
index a31d737..1dbd5a1 100644
--- a/src/goabackend/goaoauthprovider.c
+++ b/src/goabackend/goaoauthprovider.c
@@ -731,6 +731,8 @@ get_tokens_and_identity (GoaOAuthProvider *provider,
 
       scrolled_window = gtk_scrolled_window_new (NULL, NULL);
       gtk_widget_set_size_request (scrolled_window, 500, 400);
+      gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
+                                           GTK_SHADOW_IN);
       gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
                                       GTK_POLICY_AUTOMATIC,
                                       GTK_POLICY_AUTOMATIC);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]