Matthias Clasen [Thu, 9 Jun 2005 17:13:58 +0000 (17:13 +0000)]
Update the user time on the window when a drop happens. (#169364,
2005-06-09 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
the user time on the window when a drop happens. (#169364, Alexander
Hunziker, patch by Elijah Newren)
Matthias Clasen [Thu, 9 Jun 2005 06:07:57 +0000 (06:07 +0000)]
New function to scroll to a path. (#306838, Jonathan Blandford)
2005-06-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkiconview.h:
* gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): New function
to scroll to a path. (#306838, Jonathan Blandford)
Matthias Clasen [Wed, 8 Jun 2005 20:25:21 +0000 (20:25 +0000)]
Check for negative before appending the index, to avoid double error
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
negative before appending the index, to avoid double error
message. (#306393, Morten Welinder)
Matthias Clasen [Wed, 8 Jun 2005 20:14:03 +0000 (20:14 +0000)]
Don't crash if search_window is NULL. (#304914, Victor Osadci, testcase by
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
Don't crash if search_window is NULL. (#304914, Victor Osadci,
testcase by Olaf Vitters)
Tor Lillqvist [Sun, 5 Jun 2005 10:34:20 +0000 (10:34 +0000)]
Return NULL unless screen number is zero. We have only one screen on
2005-06-05 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkscreen-win32.c
(_gdk_windowing_substitute_screen_number): Return NULL unless
screen number is zero. We have only one screen on Win32.
(gdk_screen_make_display_name): Call gdk_display_get_name() and
return that.
Tor Lillqvist [Sat, 4 Jun 2005 22:08:50 +0000 (22:08 +0000)]
modules/engines/Makefile.am Decide whether to build the ms-windows theme
2005-06-05 Tor Lillqvist <tml@novell.com>
* modules/engines/Makefile.am
* modules/input/Makefile.am: Decide whether to build the
ms-windows theme engine based on the GDK backend, not based on
platform. (I.e., if building for Cygwin with the X11 backend, we
shouldn't build the ms-windows engine, but if building for Cygwin
but with the Win32 backend, we should.) Ditto for the IME
(Windows) input module. (#305832)
Tor Lillqvist [Sat, 4 Jun 2005 21:43:03 +0000 (21:43 +0000)]
gdk/win32/gdkcursor-win32.c gdk/win32/gdkwindow-win32.c Support
2005-06-04 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
Support cursors with alpha on XP. Use code in common with the
support for alpha icons that already was present. (#306101, Tim
Evans)
Matthias Clasen [Thu, 26 May 2005 19:49:51 +0000 (19:49 +0000)]
Queue the redisplay after modifying the tag in the btree, otherwise we end
2005-05-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the
redisplay after modifying the tag in the btree, otherwise
we end up showing the old tags until the next redraw comes
around. (#143537, Gary Kramlich)
Michael Natterer [Wed, 25 May 2005 10:22:37 +0000 (10:22 +0000)]
block the text_layout's "changed" handler when changing cursor visibility
2005-05-25 Michael Natterer <mitch@imendio.com>
* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
handler when changing cursor visibility because it would expose
the whole paragraph where the cursor is. Instead, expose the
cursors' areas manually. (#173047).
(text_window_invalidate_cursors): new function which exposes the
cursors.
* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
same cursor size calculation is in text_window_invalidate_cursors().
Matthias Clasen [Mon, 23 May 2005 16:45:57 +0000 (16:45 +0000)]
Don't grab the focus away from the file list when operating the filter
2005-05-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (filter_create): Don't grab
the focus away from the file list when operating the filter
combo with the pointer. (#304844, Sven Neumann)
Tor Lillqvist [Sun, 22 May 2005 21:23:45 +0000 (21:23 +0000)]
If the keysym isn't one of the special cases this function takes care of,
2005-05-23 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
of the special cases this function takes care of, us it as
such. This takes care of for instance the Bengali Virama, see bug
#165723.
Anders Carlsson [Wed, 18 May 2005 17:10:46 +0000 (17:10 +0000)]
If the horizontal adjustment changes because of a change in the layout
2005-05-18 Anders Carlsson <andersca@imendio.com>
* gtk/gtktextview.c: (gtk_text_view_flush_scroll),
(gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
* gtk/gtktextview.h:
If the horizontal adjustment changes because of a change in the
layout width, then do a complete redraw. This is because there
might be right-aligned or centered text that needs to be redrawn.
Matthias Clasen [Wed, 18 May 2005 16:32:38 +0000 (16:32 +0000)]
Fix some errors in the handling of drop columns. (#143355, John Finlay)
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
(gtk_tree_view_set_column_drag_info): Fix some errors in the
handling of drop columns. (#143355, John Finlay)
Tor Lillqvist [Wed, 18 May 2005 14:53:00 +0000 (14:53 +0000)]
gdk/win32/gdkevents-win32.c gdk/win32/gdkkeys-win32.c Check the
2005-05-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkkeys-win32.c
* gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
lParam of WM_KEY* messages to distinguish between left and right
Control and Alt keys. Unfortunately, the right Shift key doesnt
set KF_EXTENDED, so to distinguish between left and right Shift
keys, check the scan code. (#304584)
Matthias Clasen [Wed, 18 May 2005 13:18:17 +0000 (13:18 +0000)]
Fix the default values of draw-value and value-pos to be the values we
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
values of draw-value and value-pos to be the values we
actually use in _init. (#304547, Mikael Hallendal)
Matthias Clasen [Wed, 18 May 2005 05:38:50 +0000 (05:38 +0000)]
Support named icons in tool buttons by adding a icon-name property.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtktoolbutton.h:
* gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name)
(gtk_tool_button_get_icon_name): Support named icons in
tool buttons by adding a icon-name property.
Matthias Clasen [Wed, 18 May 2005 05:23:59 +0000 (05:23 +0000)]
New functions to support themed drag icons. (#116577, Christian Neumair)
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkdnd.h:
* gtk/gtkdnd.c (gtk_drag_source_set_icon_name)
(gtk_drag_set_icon_name): New functions to support themed
drag icons. (#116577, Christian Neumair)
Matthias Clasen [Tue, 17 May 2005 05:41:34 +0000 (05:41 +0000)]
Keep the popup posted if the button is released over the cellview. This
2005-05-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
the popup posted if the button is released over the cellview.
This matches the behaviour of other combo box implementations.
(#171378)