Johan Dahlin [Tue, 3 Jul 2007 03:26:07 +0000 (03:26 +0000)]
Mimic the behavior of gtk_dialog_add_action_widget closer, to make
2007-07-03 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
of gtk_dialog_add_action_widget closer, to make clicking on the buttons
actually work.
new function to check whether a rubber banding operation is currently
2007-07-02 Kristian Rietveld <kris@gtk.org>
* gtk/gtk.symbols:
* gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
function to check whether a rubber banding operation is currently
active. (#393579, Christian Neumair).
* gdk-pixbuf.c (gdk_pixbuf_get_option): Document the
"orientation" option.
* gdk-pixbuf.symbols:
* gdk-pixbuf-core.h:
* gdk-pixbuf-util.c (gdk_pixbuf_apply_embedded_orientation):
New function to handle Exif orientation information in
tiff and jpeg images. (#439567, Michael Chudobiak)
Richard Hult [Sat, 30 Jun 2007 21:50:06 +0000 (21:50 +0000)]
Continue the event handling cleanup:
2007-06-30 Richard Hult <richard@imendio.com>
Continue the event handling cleanup:
* gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
Don't do anything if the old and new windows are the same,
simplifies the callers.
(find_mouse_window_for_ns_event): Always return a window (root
instead of NULL). Remove unneccessary check for the current mouse
window being NULL, that was a workaround for a now fixed
bug. Convert to root coordinates if we don't find a window.
(synthesize_crossing_events_for_ns_event): Simplify and add
comment.
Richard Hult [Sat, 30 Jun 2007 19:50:31 +0000 (19:50 +0000)]
No need to special case the root window now that it has the right size.
2007-06-30 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
(synthesize_crossing_events), (find_mouse_window_for_ns_event),
(synthesize_crossing_events_for_ns_event): No need to special case
the root window now that it has the right size.
Richard Hult [Sat, 30 Jun 2007 19:39:45 +0000 (19:39 +0000)]
Improve comments in those files. Add a debugging helper to print out
2007-06-30 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:
* gdk/quartz/gdkevents-quartz.c: Improve comments in those
files. Add a debugging helper to print out information about a
window.
Richard Hult [Sat, 30 Jun 2007 08:56:50 +0000 (08:56 +0000)]
Improve the tracking rect updating: - No need to override setFrame. - Use
2007-06-30 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
- No need to override setFrame.
- Use our own size instead of the bounds from for the view as it's
not always updated before the tracking rect.
- Only reset the tracking rect if the new window is nil).
* gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
view when the window size changes.
Johan Dahlin [Sat, 30 Jun 2007 07:03:34 +0000 (07:03 +0000)]
Move type-func to <object> instead of <child>, add a test to make sure
2007-06-30 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
(parse_child):
* tests/buildertest.c: (test_types):
Move type-func to <object> instead of <child>, add a test to
make sure that it works as desired, #452463
Matthias Clasen [Sat, 30 Jun 2007 01:43:04 +0000 (01:43 +0000)]
New function to determine if keyboard layouts for both LTR and LTR
2007-06-29 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdkkeys.h:
* gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
function to determine if keyboard layouts for both LTR and LTR
languages are in use. Refactor the direction caching code to
make this information available. (#451575, Behnam Esfahbod)
Ryan Lortie [Fri, 29 Jun 2007 16:02:24 +0000 (16:02 +0000)]
Connect the "destroy" signal so that the 'window' pointer is set back to
2007-06-29 Ryan Lortie <desrt@desrt.ca>
* tests/testgtk.c (create_composited_window): Connect the "destroy"
signal so that the 'window' pointer is set back to NULL (like for the
other examples).
* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
destroy the Damage here. By finalize() XDestroyWindow has already
been called (and took the Damage with it).
Emmanuele Bassi [Fri, 29 Jun 2007 14:51:13 +0000 (14:51 +0000)]
Do not cache the icon pixbufs but rely on the GtkIconTheme not to hit the
2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
cache the icon pixbufs but rely on the GtkIconTheme not to
hit the disk cache too much (should tentatively fix #426987).
Johan Dahlin [Thu, 28 Jun 2007 15:15:02 +0000 (15:15 +0000)]
Prettify the output by running it through xmllint --format if xmllint is
2007-06-28 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (_indent): Prettify the output by
running it through xmllint --format if xmllint is available
which also requires the subprocess module only available
in python 2.4 or later
Christian Persch [Thu, 28 Jun 2007 14:32:58 +0000 (14:32 +0000)]
Make the volume button use range 0.0 to 1.0 by default, and fix tooltips
2007-06-28 Christian Persch <chpe@gnome.org>
* gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
(gtk_volume_button_init), (gtk_volume_button_dispose),
(gtk_volume_button_update_tooltip): Make the volume button use range
0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
Bug #354181.
Cody Russell [Wed, 27 Jun 2007 20:00:53 +0000 (20:00 +0000)]
Fixed, very hackishly, a one pixel error that occurs using the XP theme
2007-06-27 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
Fixed, very hackishly, a one pixel error that occurs using the
XP theme engine only on the left-most tab, if it is active, when
the notebook is bottom-oriented. (#392283)
Michael Natterer [Wed, 27 Jun 2007 11:43:16 +0000 (11:43 +0000)]
Merged from maemo-gtk:
2007-06-27 Michael Natterer <mitch@imendio.com>
Merged from maemo-gtk:
* gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
scroll arrows' state, make sure we don't overwrite the insensitive
state that might have been set by the first scroll step hitting
the top/bottom border of the menu.
Johan Dahlin [Wed, 27 Jun 2007 00:37:50 +0000 (00:37 +0000)]
Set an error if we encounter properties without values set (#451303,
* gtk/gtkbuilder.h (enum):
* gtk/gtkbuilderparser.c (end_element):
* tests/buildertest.c (test_parser):
Set an error if we encounter properties without values set
(#451303, Philip Withnall)
Johan Dahlin [Wed, 27 Jun 2007 00:23:56 +0000 (00:23 +0000)]
Connect the destroy signal in the example instead of the ui file. Also set
* demos/gtk-demo/builder.c (do_builder): Connect the
destroy signal in the example instead of the ui file.
Also set the screen and title of the window.
(#451345, Thomas Rydzynski)
Johan Dahlin [Tue, 26 Jun 2007 22:35:15 +0000 (22:35 +0000)]
Fix a bunch of small bugs when parsing property values
* gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
bunch of small bugs when parsing property values
(boolean/int/uint/long/ulong/float/double). Bug #451353.
Emmanuele Bassi [Tue, 26 Jun 2007 20:37:44 +0000 (20:37 +0000)]
Show the time of last change in the file chooser, for files modified today
2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
the time of last change in the file chooser, for files
modified today or yesterday. (#324543)
Cody Russell [Tue, 26 Jun 2007 19:50:24 +0000 (19:50 +0000)]
modules/engines/ms-windows/xp_theme.[ch] Add support for drawing
2007-06-26 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/xp_theme.[ch]
* modules/engines/ms-windows/msw_style.c: Add support for
drawing checkboxes with inconsistent states. (Tor, #164809)
* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
tests/dummy-headers/*: Extend the C++ keyword test
to include internal GDK headers (#449016).
Richard Hult [Mon, 25 Jun 2007 19:43:22 +0000 (19:43 +0000)]
Fallback to X cursors for the ones that OS X doesn't provide. Fixes bug
2007-06-25 Richard Hult <richard@imendio.com>
* gdk/quartz/Makefile.am:
* gdk/quartz/xcursors.h:
* gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
ones that OS X doesn't provide. Fixes bug #327912.
Tor Lillqvist [Mon, 25 Jun 2007 06:38:58 +0000 (06:38 +0000)]
Revert my attempted overly simple fix for #445284, as it causes a
2007-06-25 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
attempted overly simple fix for #445284, as it causes a
regression. (For instance, in GIMP the tool cursor gets used also
for the right-click menu in image windows.) A more complex fix is
needed to more completely emulate X11 behaviour.