]> Pileus Git - ~andy/gtk/commitdiff
draw handle box tearoffs properly now in XP mode
authorcinamod <cinamod>
Fri, 13 Aug 2004 16:56:30 +0000 (16:56 +0000)
committercinamod <cinamod>
Fri, 13 Aug 2004 16:56:30 +0000 (16:56 +0000)
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/msw_style.c

index 21bb06c5a1a0e2a1e71630b2131b87ffcd69cb0d..dbbc191c2465add5ccd02e5529a8627e95e100cc 100755 (executable)
@@ -1,3 +1,8 @@
+2004-08-13  Dom Lachowicz <cinamod@hotmail.com>
+
+       * src/msw_style.c: Proper gripper drawing for handle boxes/toolbars
+       * src/Theme/gtk-2.0/gtkrc: HandleBoxes and Toolbars are etched-in now
+
 2004-07-02  Raymond Penners  <raymond@dotsphinx.com>
 
        * === Released 0.6.1 ===
index 80a5c3d737dd252b041172ca1c27aca3de29b9b8..6a37312a47c388f1e5b5ad1788d4f09a2ff4a1e2 100755 (executable)
@@ -1424,12 +1424,6 @@ draw_box (GtkStyle      *style,
             }
         }
     }
-  else if (detail && !strcmp (detail, "handlebox_bin")) {
-       if (xp_theme_draw (window, XP_THEME_ELEMENT_REBAR, style, x, y, width, height, state_type, area))
-         {
-               return;
-         }
-  }
   else if (detail && strcmp (detail, "menuitem") == 0) {
     shadow_type = GTK_SHADOW_NONE;
       if (xp_theme_draw (window, XP_THEME_ELEMENT_MENU_ITEM, style, x, y, width, height, state_type, area))
@@ -1804,7 +1798,7 @@ draw_handle (GtkStyle        *style,
             gint             height,
             GtkOrientation   orientation)
 {
-  if (GTK_IS_HANDLE_BOX (widget))
+  if (GTK_IS_HANDLE_BOX (widget))
     {
       XpThemeElement hndl;