Commit Graph

26333 Commits

Author SHA1 Message Date
Matthias Clasen
af0db9188a Add a AtkHypertext implementation for GtkLinkButton
https://bugzilla.gnome.org/show_bug.cgi?id=586201
2011-02-17 07:36:42 -05:00
Emmanuele Bassi
64934a7623 m4: Fix GTK_CHECK_BACKEND() to also check for a minimum version
This should make the macro slightly more useful.

Update the documentation mentioning the macro as well.
2011-02-17 09:33:07 +00:00
Emmanuele Bassi
a88a1fc832 Build fix in GtkSeparatorMenuItem
https://bugzilla.gnome.org/show_bug.cgi?id=642541
2011-02-17 09:24:25 +00:00
Matthias Clasen
ed901afe37 Use _gtk_accessible_set_factory_type in GtkSeparatorMenuItem 2011-02-17 01:34:10 -05:00
Matthias Clasen
221415f71f Use _gtk_accessible_set_factory_type in GtkSwitch 2011-02-17 01:32:24 -05:00
Matthias Clasen
e757d1b2d2 Use _gtk_accessible_set_factory_type for GtkIconView 2011-02-17 01:30:33 -05:00
Matthias Clasen
9d321437b6 Add a private function for accessible factory registration
This avoids repeating the same code for each widget that
has its own accessible implementation inside GTK+.
2011-02-17 01:24:43 -05:00
Matthias Clasen
4a4004b706 Add an a11y implementation to GtkSeparatorMenuItem
Its all boilerplate, and it more than doubles the line count.
Yay :-(
2011-02-17 00:44:26 -05:00
Matthias Clasen
fd069132fd ifdef X11-specific parts in gail
GTK_IS_PLUG() and GTK_IS_SOCKET() now need this protection.
https://bugzilla.gnome.org/show_bug.cgi?id=642263
2011-02-16 23:56:33 -05:00
Matthias Clasen
14cd22996d Remove a bunch of crazy code from gail
...and replace it with only slightly less crazy code.
No need to create an destroy hash tables for each key press.
2011-02-16 23:30:21 -05:00
Matthias Clasen
292e23f515 Forgotten file 2011-02-16 23:26:36 -05:00
Matthias Clasen
66db0d698a gail: Fix the atk_add_key_event_listener implementation
Based on a patch by Alejandro Piñeiro Iglesias,
https://bugzilla.gnome.org/show_bug.cgi?id=599907
2011-02-16 22:57:25 -05:00
Matthias Clasen
4757979075 gail: support indeterminate state of check menuitems
Patch by Szilárd Pfeiffer
https://bugzilla.gnome.org/show_bug.cgi?id=626730
2011-02-16 22:35:16 -05:00
Matthias Clasen
f746329933 Fix gailstatusbar problems
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=630971
2011-02-16 21:58:10 -05:00
Matthias Clasen
405b54c72e Check the return value of gtk_tree_model_get_iter
Noticed in passing, didn't really see it crash there, but
better safe than sorry.
2011-02-16 18:48:42 -05:00
Matthias Clasen
0c3da06a62 gtk_tree_model_filter_row_deleted: don't emit signals too early
gtk_tree_model_filter_row_deleted was emitting ::row-deleted while
the internal state of the model was still in disarray, causing
segfaults e.g. when mapping the file chooser with accessibility
turned on. This is just a bandaid fix, and doesn't try address
any of the deeper problems of the filter model code.

I did take the time to reduce rampant variable shadowing in that
function, though.
2011-02-16 18:48:42 -05:00
Emmanuele Bassi
32298832ed Allow checking for GDK backends
Now that a single shared object can contain multiple backends we also
need to provide a simple way for third party code to verify that the
copy of GDK they are linking to supports their backend.

The simplest way to verify is an m4 macro, GTK_CHECK_BACKEND(), shipped
with the gtk+ m4 macros.

The usage is pretty basic:

  GTK_CHECK_BACKEND([x11], [gtk_has_x11=yes], [gtk_has_x11=no])
  AM_CONDITIONAL(BUILD_X11_CODE, test "x$gtk_has_x11" = "xno")

https://bugzilla.gnome.org/show_bug.cgi?id=642479
2011-02-16 18:46:19 +00:00
Michael Natterer
68d176d80b gtk: don't always invalidate spinbuttons on each leave_notify()
but only when an arrow was prelighted. Also, chain up unconditonally
in enter_notify() and leave_notify() because GtkEntry implements them
too.
2011-02-16 18:42:18 +01:00
Daniel Korostil
97d1f1d16f Uploaded Ukranian 2011-02-16 07:30:59 +02:00
Daniel Korostil
9799519555 Updated Ukranian 2011-02-15 21:58:06 +02:00
Matthias Clasen
f04504ac94 Allow custom icon size in gtk_render_icon_pixbuf()
Pointed out in bug 642213.
2011-02-14 13:22:28 -05:00
Javier Jardón
b1a0a08d94 testgtk: Fix compilation warning 2011-02-13 14:21:12 +00:00
Javier Jardón
3842399b70 configure.ac: Remove fd_set checks
fd_set uses were removed in GTK+ 2.2
2011-02-13 12:23:01 +00:00
Martin Nordholts
a3f52949c4 Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key()
If a level 1 key maps to a key value passed to
gdk_test_simulate_key(), raise the GDK_SHIFT_MASK flag so the reqested
key value is generated. Also add a regression test for this fix.
2011-02-13 12:57:01 +01:00
Javier Jardón
932ab55c65 configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS 2011-02-13 11:10:35 +00:00
Javier Jardón
dffc96a241 configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP 2011-02-13 11:10:23 +00:00
Javier Jardón
efeade2a06 configure.ac: Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN 2011-02-13 11:09:49 +00:00
Javier Jardón
d5872527e5 configure.ac: Use AC_LINK_IFELSE instead deprecated AC_TRY_LINK 2011-02-13 11:09:41 +00:00
Nguyễn Thái Ngọc Duy
8c4d8c1aed Updated Vietnamese translation 2011-02-13 17:51:49 +07:00
Nguyễn Thái Ngọc Duy
48819b4de7 po/vi.po: import from Damned Lies 2011-02-13 17:40:54 +07:00
Benjamin Otte
33a46dd553 gdk: Select the X11 backend a the last possible backend
On Windows and OS X we want to prefer the native backends over the X11
backend.
On Linux, nothing changes as nobody is going to enable those backends
(and if they do, they'll know what they get).
2011-02-12 22:09:58 +01:00
Benjamin Otte
9f5c734e14 doc: Document the GDK_BACKEND environment variable 2011-02-12 22:09:58 +01:00
Benjamin Otte
a1d96af9ed colorsel: Remove WINDOWING ifdef
That one was leftover from the times when GDK didn't allow pointer
warping and we had an X11-specific solution.
2011-02-12 22:09:58 +01:00
Changwoo Ryu
81229e737a Update Korean translation 2011-02-13 04:53:59 +09:00
Matthias Clasen
9f12cc3dcd Protect x11-specific functions in gtktypefuncs.c
This is just a bandaid fix, we really need to systematically collect
type functions for all backends.
2011-02-12 09:12:36 -05:00
Matthias Clasen
3138c3ddcb No GTK_ENABLE_BROKEN anymore
We stopped shipping broken stuff...
2011-02-12 08:26:21 -05:00
danigm
799c3e4e57 gail: Fixing little bug, gail_misc_add_attribute returns the new attrib_set
Some calls to gail_misc_add_attribute doesn't assing the return
 valute to attrib_set, so the attrib_set never get modified.
2011-02-12 08:17:00 -05:00
Matthias Clasen
d05d924516 Silence more compiler warnings 2011-02-12 08:01:51 -05:00
Matthias Clasen
bfd66fe3a3 Quell compiler warnings 2011-02-12 08:01:51 -05:00
Kjartan Maraas
086f266767 Updated Norwegian bokmål translation. 2011-02-12 13:44:48 +01:00
Yaron Shahrabani
c526c1bf76 Updated Hebrew translation 2011-02-12 11:39:17 +02:00
Abduxukur Abdurixit
5a86445538 Added UG translation 2011-02-12 08:18:25 +01:00
Matthias Clasen
10ebea8c03 Use standard icon names 2011-02-11 23:53:39 -05:00
Matthias Clasen
728a45fc1f Remove confusion over XI2 defines
Some places were using XINPUT_2, others XINPUT_XI2. Since configure
defines XINPUT_2, use that throughout.
2011-02-11 23:30:01 -05:00
Benjamin Otte
de9a082ddb x11: Make headers identical no matter if we run with or without XI2
Previously we weren't installing the device headers when compiling
without XINPUT support. But we would include them from gdkx.h, so
essentially the build was broken.

With this patch the types will exist but not do anything.
2011-02-12 01:27:40 +01:00
Benjamin Otte
30abd4d8b5 x11: Fix struct definition for GdkDeviceManagaerXI2 2011-02-12 00:16:03 +01:00
Benjamin Otte
ac6c6b03d9 gtk: Fix warnings for dnd code without XInput 2011-02-11 23:53:48 +01:00
Benjamin Otte
e9ff457a40 x11: Make the device manager struct actually subclass the correct device 2011-02-11 23:53:14 +01:00
Benjamin Otte
ccc3679a62 stylecontext: Use the common approach for priate pointers
Has two advantages:
1) consistency
2) "print *context->priv" actually works in gdb
2011-02-11 23:21:11 +01:00
Benjamin Otte
0bd0854d4d icontheme: constify arguments to gtk_icon_theme_load_symbolic() 2011-02-11 23:21:11 +01:00