The history before this was kind of twisted as several different
approaches were tested, so that was all squashed into this initial
commit to hide the uninteresting changes and files that were later
removed.
Revert patch that conflicts with client-side-windows work
Revert commit f4090b5c847293e94186e13144d8ac5ce0f9db4d, as that
conflicts with the client-side-windows work. Furthermore, that
change is already applied as part of the client-side-windows work.
Christian Persch [Sun, 29 Mar 2009 21:25:13 +0000 (21:25 +0000)]
Bug 577224 – crash when setting new icon after setting icon in
2009-03-29 Christian Persch <chpe@gnome.org>
Bug 577224 – crash when setting new icon after setting icon in
gtkstatusicon
* gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data),
(gtk_status_icon_set_from_gicon): Retain a reference when setting
from a GIcon, and use g_object_unref on GIcon, not g_free.
* demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
(create_fancy_attr_list_for_layout), (rotated_text_expose_event),
(do_rotated_text):
1) Port to pangocairo
2) Also show a rotated label
3) Install a custom shape renderer on both. The second one goes
through gdkpango and hence tests the patch above. It's working.
Tor Lillqvist [Wed, 25 Mar 2009 07:18:58 +0000 (07:18 +0000)]
Bug 575644 - Cygwin gail build patch
2009-03-25 Tor Lillqvist <tml@novell.com>
Bug 575644 - Cygwin gail build patch
* modules/other/gail/Makefile.am
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Use -no-undefined also on
Cygwin. Patch from "Cygwin ports maintainer".
Cody Russell [Sat, 21 Mar 2009 13:58:12 +0000 (13:58 +0000)]
Bug 538840 – [Win32] GTK menu theming could be improved
2009-03-21 Cody Russell <bratsche@gnome.org>
Bug 538840 – [Win32] GTK menu theming could be improved
* modules/engines/ms-windows/xp_theme.c
* modules/engines/ms-windows/msw_style.c: Use newer
menu styling API. This makes gtk+ look much better on
Windows Vista.
Michael Natterer [Wed, 18 Mar 2009 21:19:07 +0000 (21:19 +0000)]
add static function gtk_scale_button_set_orientation_private() and use it
2009-03-18 Michael Natterer <mitch@gimp.org>
* gtk/gtkscalebutton.c: add static function
gtk_scale_button_set_orientation_private() and use it instead of
the public but deprecated gtk_scale_button_set_orientation().
Tor Lillqvist [Tue, 17 Mar 2009 18:26:28 +0000 (18:26 +0000)]
Bug 575700 - Crash when moving a GtkWindow
2009-03-17 Tor Lillqvist <tml@novell.com>
Bug 575700 - Crash when moving a GtkWindow
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
embarrassing crasher bug introduced on 2009-03-11. A variable was
assigned a value only inside a GDK_NOTE but still used outside
that.
Tor Lillqvist [Wed, 11 Mar 2009 14:09:13 +0000 (14:09 +0000)]
Bug 573067 - Intra-app dnd of text behavior on Windows is wrong
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 573067 - Intra-app dnd of text behavior on Windows is wrong
* gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion):
The default action should be move, not copy. Tweak how the
GdkDragAction fields in GdkDragContexts are changed. Seems to help
the problem.
Add more debugging printout for --gdk-debug=dnd to many functions.
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string)
(_gdk_win32_drag_action_to_string): New functions for use in
debugging printouts.
Tor Lillqvist [Wed, 11 Mar 2009 13:37:26 +0000 (13:37 +0000)]
Use G_DEFINE_TYPE. Some debugging printout changes. Hacking on the
2009-03-11 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Use G_DEFINE_TYPE. Some debugging
printout changes. Hacking on the OLE2_DND code, which still
doesn't work, though, and is not normally compiled.
Tor Lillqvist [Wed, 11 Mar 2009 12:50:51 +0000 (12:50 +0000)]
Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void operand for
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void
operand for '?:'
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
compilation error with MSVC. While at it add clarifying comments
and fix a typo in the debugging output.
Tor Lillqvist [Wed, 11 Mar 2009 12:04:22 +0000 (12:04 +0000)]
Bug 574794 - Can not resize shaped windows on Windows
2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 574794 - Can not resize shaped windows on Windows
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
WM_WINDOWPOSCHANGED, don't do anything if the position and size
hasn't changed. I am not exactly sure I understand why this helps
this particular bug.
Matthias Clasen [Tue, 10 Mar 2009 18:58:23 +0000 (18:58 +0000)]
Bug 574561 – gtk_style_get "shadows" g_object_get
* gtk/gtk.symbols:
* gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
gtk_style_get_style_property to avoid problems for language
bindings. Pointed out by Torsten Schoenfeld.
Fixed regression reported in bug #574059. (search button not available in
2009-03-04 Michael Hasselmann <michaelh@openismus.com>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed):
Fixed regression reported in bug #574059. (search button not available in
some cases.) The old implementation relied on bug #572478.
Clear all optionally created widget pointer in priv. Initially priv is
2009-03-10 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmountoperation.c:
(gtk_mount_operation_ask_password):
Clear all optionally created widget pointer in priv. Initially
priv is cleared so thats ok, but on a second call we may have
leftovers from previous calls which is problematic if for instance
we asked for the user the first time and not the second, then we
will access the old priv->username_entry.