Several last-minute fixes

This commit is contained in:
Raymond Penners 2003-09-15 17:58:44 +00:00
parent 2344c84ea5
commit b14b12f9d2
3 changed files with 16 additions and 8 deletions

View File

@ -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>

View File

@ -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);

View File

@ -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;
}