]> Pileus Git - ~andy/gtk/commitdiff
don't draw handle box grippies for GtkPaned
authorcinamod <cinamod>
Fri, 13 Aug 2004 17:07:17 +0000 (17:07 +0000)
committercinamod <cinamod>
Fri, 13 Aug 2004 17:07:17 +0000 (17:07 +0000)
modules/engines/ms-windows/msw_style.c

index 6a37312a47c388f1e5b5ad1788d4f09a2ff4a1e2..3e454f1d51c5501fd77e0aa6fc30c42c953fa672 100755 (executable)
@@ -1814,11 +1814,12 @@ draw_handle (GtkStyle        *style,
         {
           return;
         }
+
       /* grippers are just flat boxes when they're not a toolbar */
       parent_class->draw_box (style, window, state_type, shadow_type,
                               area, widget, detail, x, y, width, height);
     }
-  else
+  else if (!GTK_IS_PANED (widget))
     {
       /* TODO: Draw handle boxes as double lines: || */
       parent_class->draw_handle (style, window, state_type, shadow_type,