* gtk/gtkradioaction.c: When setting non active state always
notify the action's active state (this prevents toggle type proxies
used with radio actions from deactivating when pressed a second time).
Xan Lopez [Wed, 25 Feb 2009 17:38:53 +0000 (17:38 +0000)]
Bug 495320 - GtkRange does not use gdk_event_request_motions
2009-02-25 Xan Lopez <xan@gnome.org>
Bug 495320 - GtkRange does not use gdk_event_request_motions
* gtk/gtkrange.c:
(gtk_range_motion_notify): Use gdk_event_request_motions to
request more motion events, as suggested in the docs for widgets
using motion hints.
Li Yuan [Wed, 25 Feb 2009 09:45:37 +0000 (09:45 +0000)]
Bug #520395. Notify the insert signal in the idle function. Let text_util
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailentry.c: (gail_entry_real_notify_gtk),
(gail_entry_idle_notify_insert), (_gail_entry_insert_text_cb):
Bug #520395. Notify the insert signal in the idle function. Let
text_util has chance to update cache.
Matthias Clasen [Tue, 24 Feb 2009 05:09:13 +0000 (05:09 +0000)]
Another attempt at getting Xrandr screen size changes right. Actually
* gdk/x11/gdkevents-x11.c:
* gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr
screen size changes right. Actually handle XRRScreenChangeNotify
events, and ignore root ConfigureNotify events if we are using
Xrandr. Only emit size-changed signals if the screen size changed,
and only emit monitor-changed signals if the monitors changed.
Added a check to not emit a "changed" signal when an already invalid
2009-02-19 Michael Hasselmann <michaelh@openismus.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
Added a check to not emit a "changed" signal when an already
invalid selection was set to invalid.
Matthias Clasen [Sun, 22 Feb 2009 05:20:14 +0000 (05:20 +0000)]
Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,
* gtk/gtk.symbols:
* gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
gtk_activatable_sync_action_properties, since the previous name
was deemed too generic. Update all implementations.
Ray Strode [Fri, 20 Feb 2009 04:42:33 +0000 (04:42 +0000)]
After using randr to get a list of monitors, sort the list such that the
2009-02-19 Ray Strode <rstrode@redhat.com>
* gdk/x11/gdkscreen-x11.c
(monitor_compare_function), (init_randr13):
After using randr to get a list of monitors,
sort the list such that the biggest output
of "cloned" outputs comes first in the list.
This helps apps that don't generally handle
overlapping outputs to work better in randr
clone mode.
Sven Neumann [Thu, 19 Feb 2009 22:31:04 +0000 (22:31 +0000)]
looks like being called with negative width and height should be
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_directfb_window_move_resize): looks like being called with
negative width and height should be interpreted as a move. Fixes
scrolling and makes popups work to some extent.
Sven Neumann [Thu, 19 Feb 2009 21:39:43 +0000 (21:39 +0000)]
move the call to _gdk_windowing_window_init() up a little. Fixes a crash
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move
the
call to _gdk_windowing_window_init() up a little. Fixes a crash
when running on pseudo-color visuals. Thanks to Masse Nicolas
for
pointing this out.
Sven Neumann [Thu, 19 Feb 2009 21:30:49 +0000 (21:30 +0000)]
initialize private->impl. Thanks to Masse Nicolas for pointing this out.
2009-02-19 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_window_foreign_new_for_display, gdk_directfb_window_new):
initialize private->impl. Thanks to Masse Nicolas for pointing
this out.
Michael Natterer [Thu, 19 Feb 2009 15:10:34 +0000 (15:10 +0000)]
make the orientation flipping much simpler by using the GtkOrientable
2009-02-19 Michael Natterer <mitch@imendio.com>
* gtk/gtkscalebutton.c: make the orientation flipping much simpler
by using the GtkOrientable features of the involved widgets:
(gtk_scale_button_init): create the frame, box and scale here,
they never need to be recreated because they implement GtkOrientable.
(gtk_scale_button_constructor): remove their construction here.
(gtk_scale_button_set_orientation): don't destroy and re-create
anything. Instead, simply set the orientation of the above created
widgets and fiddle a bit with the "plus" and "minus" buttons'
packing and the scale's "inverted" state.
Remove separate internal GtkScaleButtonHScale and
GtkScaleButtonVScale subclasses and simply have a
GtkScaleButtonScale directly inherited from GtkScale.
Sven Neumann [Wed, 18 Feb 2009 20:43:31 +0000 (20:43 +0000)]
Bug 533456 – Memory leak when window is destroyed
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 533456 – Memory leak when window is destroyed
* gdk/directfb/gdkdirectfb.h
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkcursor-directfb.c
* gdk/directfb/gdkevents-directfb.c
* gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks
for
DIRECTFB_MAJOR_VERSION >= 1. We depend on DirectFB >= 1.0.0 now.
Fixes a potential build issue that would lead to a memory leak
as
described in bug #533456.
Sven Neumann [Wed, 18 Feb 2009 17:43:13 +0000 (17:43 +0000)]
Bug 543710 – Dead keys do not work anymore with DirectFB
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 543710 – Dead keys do not work anymore with DirectFB
* gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key):
applied patch from Josselin Mouette that removes special
handling
of dead keys as that is done by DirectFB for a long time
already.
Sven Neumann [Wed, 18 Feb 2009 17:17:33 +0000 (17:17 +0000)]
Bug 554407 – directfb backend does not implement GdkWindowImpl
2009-02-18 Sven Neumann <sven@gimp.org>
Bug 554407 – directfb backend does not implement GdkWindowImpl
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkwindow-directfb.c: fix the build of the
DirectFB
backend and resurrect basic functionality. Based on a patch from
the Ubuntu bug-tracker and work by Masse Nicolas.
Cody Russell [Fri, 13 Feb 2009 01:25:36 +0000 (01:25 +0000)]
Bug 571576 – gdk_pixbuf_save_to_stream() broken
2009-02-12 Cody Russell <bratsche@gnome.org>
Bug 571576 – gdk_pixbuf_save_to_stream() broken
* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
it does not always return FALSE (even when it succeeds), and also so
that it does not set error to NULL when something goes wrong.
Matthias Clasen [Wed, 11 Feb 2009 16:31:47 +0000 (16:31 +0000)]
Move the _GtkVolumeButton definition into the header to make it possible
* gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
into the header to make it possible to derive from GtkVoumeButton.
Reported by Chris Lord.