Commit Graph

19683 Commits

Author SHA1 Message Date
Matthias Clasen
1de99c2c95 2.19.2 2010-04-03 20:53:42 -04:00
Kristian Rietveld
a763546c8f Correct problems with earlier fix for bug #480065
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify.  Fix up calls to
update_prelight() from size allocate.  Unconditionally doing these calls
caused problems with hover selection.  Now we only do this call when
the "width before the expander column" has changed.  (Which might be
awkward, but it is the best heuristic I could come up with so far).
2010-04-03 20:53:38 -04:00
Kristian Rietveld
0cbf76ed47 Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Commit again after revert.

Store (x, y) of last motion event.  From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated.  We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander.  This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2010-04-03 20:53:38 -04:00
Matthias Clasen
00ec5fcd7a Updates 2010-04-03 20:53:38 -04:00
Tor Lillqvist
a75065a458 Add gdk_keymap_map_virtual_modifiers() implementation 2010-04-03 20:53:38 -04:00
Matthias Clasen
afbc052916 Fix a think in the CSW input extension handling
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849.
2010-04-03 20:53:38 -04:00
Matthias Clasen
58f7b084b5 Fix make check 2010-04-03 20:53:37 -04:00
Matthias Clasen
a8fcc1c482 Improve selection/arrow key behaviour in GtkTextView
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2010-04-03 20:53:37 -04:00
Matthias Clasen
87075b3b97 Add a release note about virtual modifiers 2010-04-03 20:53:37 -04:00
Matthias Clasen
d1c3745b07 Try harder to handle accelerators involving virtual modifiers
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.

This should fix bug 603190 and bug 427409.
2010-04-03 20:53:37 -04:00
Richard Hughes
94f6a09585 Add icc-profile option to gdk-pixbuf for the TIFF image format 2010-04-03 20:53:37 -04:00
Javier Jardón
af09dd08c1 Move documentation to inline comments: GtkMountOperation
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
dab1cacba7 Move documentation to inline comments: GtkImage
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
f746afc794 Move documentation to inline comments: GtkFileChooser
Also, use Gtk-Doc markup to improve documentation
cross-references.

https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Benjamin Otte
9889c4db88 Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
Commit 9e7c91bf83 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2010-04-03 20:53:36 -04:00
Matthias Clasen
1f50800129 Make mnemonic hiding work for printer option widgets
By making the widget itself insensitive.
2010-04-03 20:53:36 -04:00
Matthias Clasen
132276fa75 More auto-mnemonics tweaks
When auto-mnemonics are on, hide mnemonics with insensitive target.
2010-04-03 20:53:36 -04:00
Matthias Clasen
779d3d58ea Some improvements to the auto-mnemonics code 2010-04-03 20:53:36 -04:00
Matthias Clasen
9de876c222 Handle reading the create-folders property 2010-04-03 20:53:36 -04:00
Javier Jardón
2abf1056c9 Fix compilation warning: cast to GTK_WIDGET() 2010-04-03 20:53:36 -04:00
Javier Jardón
14724073a4 Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %d
2010-04-03 20:53:36 -04:00
Jorge González
c12194feae Updated Spanish translation 2010-04-03 20:53:35 -04:00
Matthias Clasen
d68d78de81 Only show the mnemonic underline when pressing Alt
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2010-04-03 20:53:35 -04:00
Matthias Clasen
ce9c3df4c8 Small documentation correction 2010-04-03 20:51:58 -04:00
Matthias Clasen
4bc8dcede8 Properly free damage events
This was reported in bug 605008
2010-04-03 20:51:57 -04:00
Benjamin Otte
3659db3a4a Fix up linker flags
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2010-04-03 20:51:57 -04:00
Benjamin Otte
71d7b97a90 Disconnect signal handlers on adjustment in destroy handler
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2010-04-03 20:51:57 -04:00
Jorge González
7545e7211c Updated Spanish translation 2010-04-03 20:51:57 -04:00
Carlos Garcia Campos
acca24e9c1 Fix a crash on print preview
There's no printer when doing print preview so it's not possible to get
its hard margins.
2010-04-03 20:51:57 -04:00
Dan Winship
507bf6a85f Change GtkIconSize to int in params/return values
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.

https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Dan Winship
750a96e4cc Fix out/transfer annotations on GtkImage getters
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Matthias Clasen
b68bbbb892 Fix doc typos
Reported in bug 604902.
2010-04-03 20:51:56 -04:00
Javier Jardón
1abc649b8c [docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2010-04-03 20:51:56 -04:00
Hiroyuki Ikezoe
f8b8bb4bf9 [gtk] GtkCellEditable::editing-cancelled should be writable
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:51:56 -04:00
Matthias Clasen
360820e9bf Fix a thinko in computing damage for segments
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
2010-04-03 20:51:56 -04:00
Matthias Clasen
214d5efdd4 Ensure native windows in gdk_property_change
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
2010-04-03 20:51:55 -04:00
Torsten Schoenfeld
600ae2db92 [docs] Add some 'Since: 2.4' tags
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:51:55 -04:00
Hiroyuki Ikezoe
5cb043d5dd Use g_value_dup_string instead.
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2010-04-03 20:51:55 -04:00
Richard Hughes
f289f667e7 Add color management support to gdk_pixbuf_save
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.

Add PNG support for now, but other image formats are awaiting
review.
2010-04-03 20:51:55 -04:00
Alexander Larsson
89ac81e767 Actually send exposes from gdk_window_clear_area_e 2010-04-03 20:51:55 -04:00
Javier Jardón
0c991c5645 Add 'Since: 2.18' tag
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()

Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-04-03 20:51:55 -04:00
Nguyễn Thái Ngọc Duy
901aa0d645 vi.po: Updated Vietnamese translation 2010-04-03 20:51:54 -04:00
Christian Dywan
2336ebca5c Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail 2010-04-03 20:51:54 -04:00
Tor Lillqvist
9d4e82a0dc Make the OLE2 DND code selectable at run-time instead of compile-time
(It still doesn't work, though.)
2010-04-03 20:51:54 -04:00
Johan Dahlin
b0e01bee7f Make sure dist check includes introspection 2010-04-03 20:51:54 -04:00
Johan Dahlin
944bf11cee Bump the required introspection version
Makefile.introspection was added in 0.6.7
2010-04-03 20:51:54 -04:00
Johan Dahlin
3a4f027074 Use Makefile.introspection
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2010-04-03 20:51:54 -04:00
Johan Dahlin
a8bf73cfa7 Update introspection.m4
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
2010-04-03 20:51:54 -04:00
Johan Dahlin
4330bd6e52 Bump required introspection version to 0.6.6 2010-04-03 20:51:54 -04:00
Johan Dahlin
6c9bfc5f39 Make sure dist check works with introspection
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2010-04-03 20:51:53 -04:00