]> spindle.queued.net Git - midori/commitdiff
Use content view class for panel contents
authorChristian Dywan <christian@twotoasts.de>
Sat, 28 Jul 2012 09:13:37 +0000 (11:13 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 28 Jul 2012 09:13:37 +0000 (11:13 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/1026390
extensions/cookie-manager/cookie-manager-page.c
midori/midori-panel.c

index e880593016b8829f663e6434788757b3d20730ac..6b6ac634e2e55753c2d8c3a4593dff28481e41b3 100644 (file)
@@ -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);
 
index 61e4ad92db31422ccd42e8a7f75384ac5966b2dc..7685f5cb91c2187c5ce1bccdc28f8e8b1e42229c 100644 (file)
@@ -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);