summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRaymond Penners <pennersr@src.gnome.org>2003-09-15 17:58:44 +0000
committerRaymond Penners <pennersr@src.gnome.org>2003-09-15 17:58:44 +0000
commitb14b12f9d2b5ba0b554b7d8ec2a3c90a8cd78d4f (patch)
tree8027a0c35ad43c6fb2407320bd5033116e6a0097 /modules
parent2344c84ea515654a3a1fe838ecff239f6fcce4c7 (diff)
downloadgtk+-b14b12f9d2b5ba0b554b7d8ec2a3c90a8cd78d4f.tar.gz
Several last-minute fixes
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/engines/ms-windows/ChangeLog.old16
-rwxr-xr-xmodules/engines/ms-windows/wimp_style.c4
-rwxr-xr-xmodules/engines/ms-windows/xp_theme.c4
3 files changed, 16 insertions, 8 deletions
diff --git a/modules/engines/ms-windows/ChangeLog.old b/modules/engines/ms-windows/ChangeLog.old
index 3cc682b46b..467e844f42 100755
--- a/modules/engines/ms-windows/ChangeLog.old
+++ b/modules/engines/ms-windows/ChangeLog.old
@@ -1,8 +1,16 @@
+2003-09-15 Raymond Penners <raymond@dotsphinx.com>
+
+ * src/wimp_style.c: Fixed typ-o (gtk-double-cliNk-time), adjusted
+ cursor blink time to cope with Windows semantics (GTK+ uses cycle
+ time), fixed clipping area computation.
+
2003-09-15 Dom Lachowicz <cinamod@hotmail.com>
- * src/wimp_style.c: Fix a few more console messages, implement caret blinking
- * src/xp_theme.*: Stub out line drawing. Apparently, documented bits arae missing
- from MS's implementation. Go figure...
+ * src/wimp_style.c: Fix a few more console messages, implement
+ caret blinking
+
+ * src/xp_theme.*: Stub out line drawing. Apparently, documented
+ bits are missing from MS's implementation. Go figure...
2003-09-14 Raymond Penners <raymond@dotsphinx.com>
@@ -10,7 +18,7 @@
"default_border".
* src/wimp_style.c: Due to a bug lots of console message
- complaining about "unexpected keyword `fg'" and occured, fixed.
+ complaining about "unexpected keyword `fg'" occured, fixed.
2003-09-11 Dom Lachowicz <cinamod@hotmail.com>
diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c
index cb85c2b6ae..62d6fca184 100755
--- a/modules/engines/ms-windows/wimp_style.c
+++ b/modules/engines/ms-windows/wimp_style.c
@@ -223,10 +223,10 @@ setup_system_settings (GtkStyle * style)
if (cursor_blink_time > 0)
{
g_object_set (G_OBJECT (settings), "gtk-cursor-blink-time",
- cursor_blink_time, NULL);
+ 2*cursor_blink_time, NULL);
}
- g_object_set (G_OBJECT (settings), "gtk-double-clink-time",
+ g_object_set (G_OBJECT (settings), "gtk-double-click-time",
GetDoubleClickTime(), NULL);
g_object_set (G_OBJECT (settings), "gtk-dnd-drag-threshold",
GetSystemMetrics (SM_CXDRAG), NULL);
diff --git a/modules/engines/ms-windows/xp_theme.c b/modules/engines/ms-windows/xp_theme.c
index 7b51921962..b43b2bd8cd 100755
--- a/modules/engines/ms-windows/xp_theme.c
+++ b/modules/engines/ms-windows/xp_theme.c
@@ -612,8 +612,8 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
{
clip.left = area->x - xoff;
clip.top = area->y - yoff;
- clip.right = rect.left + area->width;
- clip.bottom = rect.top + area->height;
+ clip.right = clip.left + area->width;
+ clip.bottom = clip.top + area->height;
pClip = &clip;
}