8d9144a0c4
Use the correct function to free boxed GdkColors
...
This fixes a segfault in gtk3-demo when running under accerciser.
2011-02-19 08:34:21 -05:00
d1fbb52eb4
docs: migrating-2to3: improve cross-reference
2011-02-18 22:17:04 +00:00
5a987c314b
docs: migrating-2to3: Make the examples look prettier
2011-02-18 22:09:40 +00:00
6d3b8c2c6b
GtkSwitch: Add an AtkAction implementation
2011-02-17 23:06:33 -05:00
163f0daf6a
GtkSwitch: Use ATK_DEFINE_TYPE properly
2011-02-17 21:55:54 -05:00
edeb6aaf88
Hypertext does not really make sense for GtkLinkButton
...
Instead, implement HyperLinkImpl and return the single link
object. This commit also adds an AtkAction implementation
for the link object.
2011-02-17 21:01:07 -05:00
d6e3855f95
GailEntry: remove idle if cell editing is canceled
...
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
2011-02-17 19:17:36 -05:00
f3687a9490
GailEntry: remove idle if cell editing is canceled
...
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
2011-02-17 19:06:19 -05:00
0127d0bbc7
gtk-demo: plug a memleak in the editable cells demo
2011-02-17 18:49:01 -05:00
e7d4d77093
Fix a memory leak with file chooser previews
2011-02-17 18:34:28 -05:00
d93934ba6c
gtk-demo: Make the menu example work again
2011-02-17 16:40:00 -05:00
c9b152ec71
Remove a leaking get_name implementation
...
This was leaking a lot of memory; just rely on atk_object_get_name.
2011-02-17 15:57:39 -05:00
91b8417d35
Don't leak the GDir in the iconview example
2011-02-17 15:57:39 -05:00
3f78b251b9
Free event axes for double/triple click events.
...
The button event axes are copied over when synthesizing
these events, so free them as well in gdk_event_free().
2011-02-17 20:45:32 +01:00
3100b76ba9
Fix parsing of color names containing numbers
...
They were being defined correctly through @define-color
in CSS, but parsing failed at the moment of creating
GtkSymbolicColors depending on these.
2011-02-17 20:10:49 +01:00
bdacdfb78b
Check if the accessible is actually an AtkAction
2011-02-17 13:29:59 -05:00
ba6107d39a
GailProgressBar: make value setters work
2011-02-17 13:20:27 -05:00
3e4780b2e6
Add forgotten include
2011-02-17 13:17:09 -05:00
13d717e2ce
Fix includes in gtkassistant.c
...
Also fix a bad case in gtk_assistant_accessible_get_n_children.
2011-02-17 12:35:07 -05:00
7bddfb5790
GtkAssistant: Use _gtk_accessible_set_factory_type
2011-02-17 12:25:23 -05:00
1692829594
GtkGrid: Avoid problems with uninitialized memory
...
valgrind complained about these, and they make for bad size allocation
and the occasional crash.
2011-02-17 11:53:38 -05:00
da93864f58
Updated Bengali India Translation
2011-02-17 20:31:19 +05:30
515f0a47a9
Updated Bengali India Translation
2011-02-17 20:02:47 +05:30
af0db9188a
Add a AtkHypertext implementation for GtkLinkButton
...
https://bugzilla.gnome.org/show_bug.cgi?id=586201
2011-02-17 07:36:42 -05:00
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
a88a1fc832
Build fix in GtkSeparatorMenuItem
...
https://bugzilla.gnome.org/show_bug.cgi?id=642541
2011-02-17 09:24:25 +00:00
ed901afe37
Use _gtk_accessible_set_factory_type in GtkSeparatorMenuItem
2011-02-17 01:34:10 -05:00
221415f71f
Use _gtk_accessible_set_factory_type in GtkSwitch
2011-02-17 01:32:24 -05:00
e757d1b2d2
Use _gtk_accessible_set_factory_type for GtkIconView
2011-02-17 01:30:33 -05:00
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
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
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
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
292e23f515
Forgotten file
2011-02-16 23:26:36 -05:00
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
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
f746329933
Fix gailstatusbar problems
...
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=630971
2011-02-16 21:58:10 -05:00
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
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
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
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
97d1f1d16f
Uploaded Ukranian
2011-02-16 07:30:59 +02:00
9799519555
Updated Ukranian
2011-02-15 21:58:06 +02:00
f04504ac94
Allow custom icon size in gtk_render_icon_pixbuf()
...
Pointed out in bug 642213.
2011-02-14 13:22:28 -05:00
b1a0a08d94
testgtk: Fix compilation warning
2011-02-13 14:21:12 +00:00
3842399b70
configure.ac: Remove fd_set checks
...
fd_set uses were removed in GTK+ 2.2
2011-02-13 12:23:01 +00:00
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
932ab55c65
configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS
2011-02-13 11:10:35 +00:00
dffc96a241
configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP
2011-02-13 11:10:23 +00:00
efeade2a06
configure.ac: Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN
2011-02-13 11:09:49 +00:00