Tor Lillqvist [Tue, 6 May 2003 21:44:55 +0000 (21:44 +0000)]
Fix for #110165 (thanks to Arnaud Charlet):
2003-05-06 Tor Lillqvist <tml@iki.fi>
Fix for #110165 (thanks to Arnaud Charlet):
* gdk/win32/gdkevents-win32.c (build_keypress_event,
build_keyrelease_event): For unshifted control char, use
lowercase ASCII keyval.
(gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and
UP (i.e. Alt-something), if it's an unshifted ASCII letter, use
lowercase keyval. Use build_key_event_state() here, too, instead
of minor code duplication.
Christian Rose [Mon, 5 May 2003 08:53:25 +0000 (08:53 +0000)]
Added sr and sr@Latn to ALL_LINGUAS. Removed sp, it's replaced by sr@Latn.
2003-05-05 Christian Rose <menthos@menthos.com>
* configure.in: Added sr and sr@Latn to ALL_LINGUAS.
Removed sp, it's replaced by sr@Latn.
* po/sr.po, po/sr@Latn.po: Added Serbian translation by
Danilo Šegan <dsegan@gmx.net>.
destroy the search data iff the destroy func isn't NULL.
Mon Apr 28 18:03:29 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search
data iff the destroy func isn't NULL.
----------------------------------------------------------------------
Owen Taylor [Mon, 21 Apr 2003 22:49:21 +0000 (22:49 +0000)]
Remove geninclude.pl from CVS and don't dist it either, it is generated.
Mon Apr 21 18:42:51 2003 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl:
Remove geninclude.pl from CVS and don't dist it either,
it is generated. (#108970, Rich Kinder)
Owen Taylor [Mon, 21 Apr 2003 19:11:45 +0000 (19:11 +0000)]
Calling XFlush() after ungrabbing, to avoid problems if the app
Mon Apr 21 15:07:29 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab):
Calling XFlush() after ungrabbing, to avoid problems if
the app subsequently blocks on a long-running operation.
(#106520, reported by Rajkumar Siva)
Owen Taylor [Mon, 21 Apr 2003 19:03:15 +0000 (19:03 +0000)]
Add SKIP_TASKBAR/SKIP_PAGER to set of properties we might set on map.
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
SKIP_TASKBAR/SKIP_PAGER to set of properties we
might set on map. (#110019, problem reported
by Loban Rahman)
Owen Taylor [Mon, 21 Apr 2003 01:10:06 +0000 (01:10 +0000)]
Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and use
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
use of XAddConnectionWatch. Remove --enable-xim config option.
Should fix building on X11R6 (#110523, Albert Chin)
Owen Taylor [Fri, 18 Apr 2003 20:53:37 +0000 (20:53 +0000)]
Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and use
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
use of XAddConnectionWatch. Remove --enable-xim config option.
Should fix building on X11R6 (#110523, Albert Chin
Owen Taylor [Fri, 18 Apr 2003 20:21:44 +0000 (20:21 +0000)]
Patch from Morten Welinder to catch Sun servers with a broken
Fri Apr 18 15:56:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]:
Patch from Morten Welinder to catch Sun servers with a
broken implementation of the RENDER extension. (#108309)
Owen Taylor [Fri, 18 Apr 2003 19:18:27 +0000 (19:18 +0000)]
Fix wrong use of base_finalize. (#105126, Sven Neumann)
Fri Apr 18 15:11:50 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type)
gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix
wrong use of base_finalize. (#105126, Sven Neumann)
Owen Taylor [Fri, 18 Apr 2003 18:51:20 +0000 (18:51 +0000)]
You don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
event, so select for both. (#108406, Egmont Koblinger)
Michael Natterer [Mon, 14 Apr 2003 12:02:57 +0000 (12:02 +0000)]
added checks to ensure that the iter is not reordered to its own position.
2003-04-14 Michael Natterer <mitch@gimp.org>
* gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
that the iter is not reordered to its own position. Prevents model
corruption for the case that the store contains only a single item
(fixes bug #108387).
Unrelated:
* gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
new list element later so we don't leak it if we decide to return
early.
* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
set selection->tree_view->priv->anchor to NULL after freeing it.
Owen Taylor [Wed, 9 Apr 2003 16:52:13 +0000 (16:52 +0000)]
- Disconnect signal connections when appropriate. - Listen to
Wed Apr 9 12:28:04 2003 Owen Taylor <otaylor@redhat.com>
* gtkfilesystemmodel.c:
- Disconnect signal connections when appropriate.
- Listen to ::roots-changed on the file system
- When the last reference count on a child is
removed, queue an idle to unload the parent.
* gtkfilesystemgnomevfs.c
- When URI's outside of file:/// are acessed,
add toplevel URI's to the list of roots.
- Improve display name computations
* gtkfilechooserentry.c: Don't complete on empty
file parts; free stored folder when base directory
changes.
Owen Taylor [Tue, 1 Apr 2003 20:57:25 +0000 (20:57 +0000)]
Exploit the fact that all our filters are separable to simplify the
Tue Apr 1 15:33:51 2003 Owen Taylor <otaylor@redhat.com>
* pixops/pixops.c (make_weights): Exploit the fact that all
our filters are separable to simplify the calculation of
the weight tables. (Based on a patch from Brian Cameron.)
* pixops/Makefile.am pixbuf-transform-math.ltx:
Add a short article describing how the math in pixops.c
works.
Matthias Clasen [Sat, 29 Mar 2003 00:11:32 +0000 (00:11 +0000)]
Fixes for bug #56248:
2003-03-29 Matthias Clasen <maclas@gmx.de>
Fixes for bug #56248:
* gtk/gtknotebook.c (stop_scrolling): New function to remove the
timer and queue a redraw.
(gtk_notebook_grab_notify):
(gtk_notebook_state_changed): New functions to call stop_scrolling()
if necessary.
(gtk_notebook_button_release): Use stop_scrolling().
(gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
* gtk/gtkrange.c (stop_scrolling): New function to remove the
grab, remove the timer and queue a redraw.
(gtk_range_grab_notify):
(gtk_range_state_changed): New functions to call stop_scrolling()
if necessary.
(gtk_range_button_release): Use stop_scrolling().
* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify):
(gtk_spin_button_state_changed): Redraw after stop_spinning.
(gtk_spin_button_stop_spinning): Reset click_child to correct the
drawing of the arrows.
(gtk_spin_button_button_release): Use a local copy of click_child,
since stop_spinning() resets it.
Tor Lillqvist [Sat, 15 Mar 2003 00:02:42 +0000 (00:02 +0000)]
Use the signed GET_X_LPARAM() and GET_Y_LPARAM() to extract x and y
2003-03-14 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
multiple monitors can have negative coordinates on some of the
monitors. (partial fix for #99496, Arnaud Charlet)