[Xfce4-commits] <midori:master> Use content view class for panel contents
Christian Dywan
noreply at xfce.org
Sat Jul 28 11:14:02 CEST 2012
Updating branch refs/heads/master
to dfec1666913eadfc13979402284714030a2df178 (commit)
from 96f616a237f23ae389c9384f103bf213d42424b4 (commit)
commit dfec1666913eadfc13979402284714030a2df178
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jul 28 11:13:37 2012 +0200
Use content view class for panel contents
Fixes: https://bugs.launchpad.net/midori/+bug/1026390
extensions/cookie-manager/cookie-manager-page.c | 1 -
midori/midori-panel.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extensions/cookie-manager/cookie-manager-page.c b/extensions/cookie-manager/cookie-manager-page.c
index e880593..6b6ac63 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 61e4ad9..7685f5c 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);
More information about the Xfce4-commits
mailing list