Commit Graph

26324 Commits

Author SHA1 Message Date
Benjamin Otte
c647085e76 textview: Translate the cairo context instead of keeping y value
This avoids overflow when transforming a large value to a pango unit.
To reproduce the problem:
seq 200000 > test.txt && tets/print-editor test.txt
Then scroll to around line 140.000 to see it (depends on font size of
course).
2011-02-20 23:43:42 +01:00
Matthias Clasen
608c1e40eb Remove no-longer existing API from the migration guide
Some parts of the migration guide were written before the demise
of pixmaps, and still referred to pixmap API in their replacements.
2011-02-20 17:05:04 -05:00
Tor Lillqvist
acc01ac944 Tweak include order a bit to get around compilation errors
wintab.h defines an INT() macro that interfers with some lines in
commctrl.h.
2011-02-20 23:56:13 +02:00
Matthias Clasen
14fcfd3f7a Fix spelling
It is 'accessible', not 'accesible'.
2011-02-20 16:46:27 -05:00
Matthias Clasen
48b0a55775 React to is-focus change, not ignore it
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
2011-02-20 16:45:41 -05:00
Jorge González
bffd26e476 Updated Spanish translation 2011-02-20 18:48:11 +01:00
Jorge González
3379c52f65 Updated Spanish translation 2011-02-20 18:47:10 +01:00
Jorge González
b9b07b2178 Updated Spanish translation 2011-02-20 18:22:59 +01:00
Bruce Cowan
5b420c024d Updated British English translation 2011-02-20 17:02:13 +00:00
Gabor Kelemen
00f960f5b6 Updated Hungarian translation 2011-02-20 15:56:33 +01:00
Matthias Clasen
1fb8812082 Correctly treat GdkColor properties
Noticed by Daniel Garcia,
https://bugzilla.gnome.org/show_bug.cgi?id=642782
2011-02-20 09:49:04 -05:00
Daniel Mustieles
5e5f232e78 Updated Spanish translation 2011-02-20 14:02:24 +01:00
Tor Lillqvist
8e6932f46e Handle emulated keyboard input that arrives as VK_PACKET
Fixes bug #642772. Thanks to the anonymous bug reporter for providing
a test program.
2011-02-20 01:39:13 +02:00
Matthias Clasen
50233edbc9 Replace GtkStyle uses from migration guide examples
Part of https://bugzilla.gnome.org/show_bug.cgi?id=642677
2011-02-19 13:47:43 -05:00
Matthias Clasen
5cb6beec54 Fix a typo
https://bugzilla.gnome.org/show_bug.cgi?id=642751
2011-02-19 13:35:55 -05:00
Andre Klapper
1a645d4e61 Fix typo 2011-02-19 19:34:30 +01:00
Matthias Clasen
2180267f5d Plug a memleak in the tracker search engine
Patch by Vincent Untz,
https://bugzilla.gnome.org/show_bug.cgi?id=642771
2011-02-19 13:31:50 -05:00
Matthias Clasen
84b259d076 Make gtk_combo_box_text_get_active_text() behave as documented
If there is an entry, it is supposed to return the contents
of the entry. Pointed out by Allin Cottrell,
https://bugzilla.gnome.org/show_bug.cgi?id=642681
2011-02-19 13:27:51 -05:00
Matthias Clasen
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
Javier Jardón
d1fbb52eb4 docs: migrating-2to3: improve cross-reference 2011-02-18 22:17:04 +00:00
Javier Jardón
5a987c314b docs: migrating-2to3: Make the examples look prettier 2011-02-18 22:09:40 +00:00
Matthias Clasen
6d3b8c2c6b GtkSwitch: Add an AtkAction implementation 2011-02-17 23:06:33 -05:00
Matthias Clasen
163f0daf6a GtkSwitch: Use ATK_DEFINE_TYPE properly 2011-02-17 21:55:54 -05:00
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
0127d0bbc7 gtk-demo: plug a memleak in the editable cells demo 2011-02-17 18:49:01 -05:00
Matthias Clasen
e7d4d77093 Fix a memory leak with file chooser previews 2011-02-17 18:34:28 -05:00
Matthias Clasen
d93934ba6c gtk-demo: Make the menu example work again 2011-02-17 16:40:00 -05:00
Matthias Clasen
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
Matthias Clasen
91b8417d35 Don't leak the GDir in the iconview example 2011-02-17 15:57:39 -05:00
Carlos Garnacho
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
Carlos Garnacho
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
Matthias Clasen
bdacdfb78b Check if the accessible is actually an AtkAction 2011-02-17 13:29:59 -05:00
Matthias Clasen
ba6107d39a GailProgressBar: make value setters work 2011-02-17 13:20:27 -05:00
Matthias Clasen
3e4780b2e6 Add forgotten include 2011-02-17 13:17:09 -05:00
Matthias Clasen
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
Matthias Clasen
7bddfb5790 GtkAssistant: Use _gtk_accessible_set_factory_type 2011-02-17 12:25:23 -05:00
Matthias Clasen
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
Runa Bhattacharjee
da93864f58 Updated Bengali India Translation 2011-02-17 20:31:19 +05:30
Runa Bhattacharjee
515f0a47a9 Updated Bengali India Translation 2011-02-17 20:02:47 +05:30
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