From: Christian Dywan Date: Sat, 28 Jul 2012 09:13:37 +0000 (+0200) Subject: Use content view class for panel contents X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfec1666913eadfc13979402284714030a2df178;p=midori Use content view class for panel contents Fixes: https://bugs.launchpad.net/midori/+bug/1026390 --- diff --git a/extensions/cookie-manager/cookie-manager-page.c b/extensions/cookie-manager/cookie-manager-page.c index e8805930..6b6ac634 100644 --- a/extensions/cookie-manager/cookie-manager-page.c +++ b/extensions/cookie-manager/cookie-manager-page.c @@ -1126,7 +1126,6 @@ static void cookie_manager_page_init(CookieManagerPage *self) tree_swin = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(tree_swin), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(tree_swin), GTK_SHADOW_IN); gtk_container_add(GTK_CONTAINER(tree_swin), treeview); gtk_widget_show(tree_swin); diff --git a/midori/midori-panel.c b/midori/midori-panel.c index 61e4ad92..7685f5cb 100644 --- a/midori/midori-panel.c +++ b/midori/midori-panel.c @@ -346,6 +346,7 @@ midori_panel_init (MidoriPanel* panel) /* Create the notebook */ panel->notebook = gtk_notebook_new (); + katze_widget_add_class (panel->notebook, "content-view"); gtk_notebook_set_show_border (GTK_NOTEBOOK (panel->notebook), FALSE); gtk_notebook_set_show_tabs (GTK_NOTEBOOK (panel->notebook), FALSE); panel->frame = gtk_frame_new (NULL);