]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Fri, 25 Feb 2011 20:47:03 +0000 (15:47 -0500)]
GtkSwitch: use regular activation
GtkSwitch was listening for Space/Enter keyreleases itself, instead
of providing an 'activate' action signal, like e.g GtkButton. As a
side-effect, this fixes
https://bugzilla.gnome.org/show_bug.cgi?id=643321
Matthias Clasen [Fri, 25 Feb 2011 19:37:57 +0000 (14:37 -0500)]
GtkTrayIcon: chain up in dispose
Pointed out in bug 643131
Tristan Van Berkom [Fri, 25 Feb 2011 07:00:20 +0000 (16:00 +0900)]
More patchwork for icon view subclasses that access the icon view api prematurely.
In this patch we adress rows_reordered() and row_deleted() callbacks
(since some icon view subclasses manipulate the connected treemodel
from _init()).
Tristan Van Berkom [Fri, 25 Feb 2011 05:53:12 +0000 (14:53 +0900)]
More patchwork to ensure GtkIconView subclasses can use the icon view api
from the subclass's instance structure initializer
Carlos Garcia Campos [Thu, 24 Feb 2011 16:38:40 +0000 (17:38 +0100)]
Copy event axes for double/triple click events in gdk_event_copy()
Button event axes for double/triple click events are freed by
gdk_event_free(), so copy them to avoid an invalid free when releasing a
copied event.
Federico Mena Quintero [Thu, 24 Feb 2011 20:53:09 +0000 (14:53 -0600)]
[GtkFileChooser] Fix initial selection when hidden files are shown
We were breaking prematurely out of the loop that goes through
each file that is pending selection; not only does that loop
disable filtering and show hidden files if needed, but it also
selects the files themselves. So we need to walk the whole
list of files.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=643170
Tristan Van Berkom [Thu, 24 Feb 2011 07:05:41 +0000 (16:05 +0900)]
Added documentation to "cell-area" construct-only properties.
Indicate what kind of area will be used by default if none is
provided by the user.
Alexander Larsson [Thu, 24 Feb 2011 18:44:16 +0000 (19:44 +0100)]
Avoid spurious emissions of monitors-changed
The monitor change detection code in _gdk_x11_screen_size_changed() and
process_monitors_change() goes to some length to make sure its only emitted
when there is an actual change to the data visible via the GdkScreen monitors
api.
However, commit
662e69ad added some code that always emits "monitors-changed"
in _gdk_x11_screen_size_changed when we have randr13 and get a ConfigureNotify
on the root window (even though we may already have emitted it in the
RRScreenChangesNotify event!).
As far as I can tell this is due to a comment in the bug referenced by the
commit (https://bugzilla.gnome.org/show_bug.cgi?id=601712#c4) where it says:
This version of the patch changes GdkDisplay to emit "monitors-changed" when
the primary monitor changes (see the change in _gdk_x11_screen_size_changed).
And, if you remove this part of the change the signal is not emitted when just
the primary is changed. However, this is not really the right approach. We
should just also check for if the primary changes in process_monitors_change()
to avoid spurious signal emissions.
https://bugzilla.gnome.org/show_bug.cgi?id=643216
Klemen Košir [Thu, 24 Feb 2011 16:23:23 +0000 (17:23 +0100)]
Updated Slovenian translation
Tristan Van Berkom [Wed, 23 Feb 2011 13:07:27 +0000 (22:07 +0900)]
Removed unused EXPOSE_EVENT enumeration from the GtkWidget signals.
Tristan Van Berkom [Wed, 23 Feb 2011 12:58:48 +0000 (21:58 +0900)]
Remove mention of GtkWidget::expose-event from docs in gtkwidget.c
Tristan Van Berkom [Wed, 23 Feb 2011 11:50:50 +0000 (20:50 +0900)]
Add more defensive code to avoid accessing GtkIconView's cell area before it exists.
Adding these cases here to cater to icon view subclasses that want to
access icon view APIs from the instance structure initializer instead
of properly waiting for the super class to initialize and adding renderers
from the ->constructor() vfunc.
Christian Kirbach [Wed, 23 Feb 2011 22:08:02 +0000 (23:08 +0100)]
[l10n] Updated German translation
Aron Xu [Wed, 23 Feb 2011 17:19:35 +0000 (17:19 +0000)]
Update Simplified Chinese translation.
Murray Cumming [Wed, 23 Feb 2011 10:09:20 +0000 (11:09 +0100)]
More tiny documentation typo fixes.
Murray Cumming [Wed, 23 Feb 2011 09:26:21 +0000 (10:26 +0100)]
Minor documentation improvements
Mostly correcting it's to its and changing some , to .
Murray Cumming [Wed, 23 Feb 2011 08:37:06 +0000 (09:37 +0100)]
GdkDevice: Minor improvement to the overview documentation.
The last paragraph still seems to be out of place though, as if it
was a previous attempt at an overview or part of some older text
elsewhere.
This overuses the passive too.
Matthias Clasen [Mon, 21 Feb 2011 23:58:22 +0000 (18:58 -0500)]
Post-release version bump to 3.0.2
Matthias Clasen [Mon, 21 Feb 2011 23:52:27 +0000 (18:52 -0500)]
Remove more unwanted garbage
Matthias Clasen [Mon, 21 Feb 2011 23:41:46 +0000 (18:41 -0500)]
Remove some unwanted garbage
Matthias Clasen [Mon, 21 Feb 2011 23:34:09 +0000 (18:34 -0500)]
Fix distcheck
Matthias Clasen [Mon, 21 Feb 2011 23:09:57 +0000 (18:09 -0500)]
Update NEWS
Matthias Clasen [Mon, 21 Feb 2011 22:31:37 +0000 (17:31 -0500)]
Don't export extra symbols for accessibility
Alexander Shopov [Sun, 23 Jan 2011 08:00:53 +0000 (10:00 +0200)]
Updated Bulgarian translation
A S Alam [Mon, 21 Feb 2011 01:32:22 +0000 (07:02 +0530)]
update Punjabi Translation by A S Alam
Marc-André Lureau [Mon, 21 Feb 2011 00:44:35 +0000 (01:44 +0100)]
gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call
This was typoed in commit
dfe6ba932ca798c53121f90b7d696b5d2231a179
https://bugzilla.gnome.org/show_bug.cgi?id=642843
Benjamin Otte [Sun, 20 Feb 2011 23:06:08 +0000 (00:06 +0100)]
docs: Fix typo
Benjamin Otte [Sun, 20 Feb 2011 22:42:43 +0000 (23:42 +0100)]
docs: Replace pixmap use in migration guide with cairo surfaces
Merge my patch for this with Matthias' previous patch and keep the best
of both.
https://bugzilla.gnome.org/show_bug.cgi?id=642677
Benjamin Otte [Sun, 20 Feb 2011 22:35:16 +0000 (23:35 +0100)]
textview: Remove x/y arguments from render_para() func
We were only passing 0 anyway and it's easy to translate the cairo
context in use instead of passing x/y coordinates.
Benjamin Otte [Sun, 20 Feb 2011 22:29:49 +0000 (23:29 +0100)]
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).
Matthias Clasen [Sun, 20 Feb 2011 22:03:45 +0000 (17:03 -0500)]
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.
Tor Lillqvist [Sun, 20 Feb 2011 21:54:57 +0000 (23:54 +0200)]
Tweak include order a bit to get around compilation errors
wintab.h defines an INT() macro that interfers with some lines in
commctrl.h.
Matthias Clasen [Sun, 20 Feb 2011 21:46:27 +0000 (16:46 -0500)]
Fix spelling
It is 'accessible', not 'accesible'.
Matthias Clasen [Sun, 20 Feb 2011 21:44:26 +0000 (16:44 -0500)]
React to is-focus change, not ignore it
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
Jorge González [Sun, 20 Feb 2011 17:48:11 +0000 (18:48 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:47:10 +0000 (18:47 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:22:59 +0000 (18:22 +0100)]
Updated Spanish translation
Bruce Cowan [Sun, 20 Feb 2011 17:02:13 +0000 (17:02 +0000)]
Updated British English translation
Gabor Kelemen [Sun, 20 Feb 2011 14:55:58 +0000 (15:55 +0100)]
Updated Hungarian translation
Matthias Clasen [Sun, 20 Feb 2011 14:46:42 +0000 (09:46 -0500)]
Correctly treat GdkColor properties
Noticed by Daniel Garcia,
https://bugzilla.gnome.org/show_bug.cgi?id=642782
Daniel Mustieles [Sun, 20 Feb 2011 13:02:24 +0000 (14:02 +0100)]
Updated Spanish translation
Tor Lillqvist [Sat, 19 Feb 2011 23:39:13 +0000 (01:39 +0200)]
Handle emulated keyboard input that arrives as VK_PACKET
Fixes bug #642772. Thanks to the anonymous bug reporter for providing
a test program.
Matthias Clasen [Sat, 19 Feb 2011 18:47:43 +0000 (13:47 -0500)]
Replace GtkStyle uses from migration guide examples
Part of https://bugzilla.gnome.org/show_bug.cgi?id=642677
Matthias Clasen [Sat, 19 Feb 2011 18:34:42 +0000 (13:34 -0500)]
Fix a typo
https://bugzilla.gnome.org/show_bug.cgi?id=642751
Andre Klapper [Sat, 19 Feb 2011 18:33:21 +0000 (19:33 +0100)]
Fix typo
Matthias Clasen [Sat, 19 Feb 2011 18:31:50 +0000 (13:31 -0500)]
Plug a memleak in the tracker search engine
Patch by Vincent Untz,
https://bugzilla.gnome.org/show_bug.cgi?id=642771
Matthias Clasen [Sat, 19 Feb 2011 18:27:51 +0000 (13:27 -0500)]
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
Matthias Clasen [Sat, 19 Feb 2011 13:34:21 +0000 (08:34 -0500)]
Use the correct function to free boxed GdkColors
This fixes a segfault in gtk3-demo when running under accerciser.
Javier Jardón [Fri, 18 Feb 2011 22:17:04 +0000 (22:17 +0000)]
docs: migrating-2to3: improve cross-reference
Javier Jardón [Fri, 18 Feb 2011 22:09:40 +0000 (22:09 +0000)]
docs: migrating-2to3: Make the examples look prettier
Matthias Clasen [Fri, 18 Feb 2011 04:06:33 +0000 (23:06 -0500)]
GtkSwitch: Add an AtkAction implementation
Matthias Clasen [Fri, 18 Feb 2011 02:55:54 +0000 (21:55 -0500)]
GtkSwitch: Use ATK_DEFINE_TYPE properly
Matthias Clasen [Fri, 18 Feb 2011 02:00:35 +0000 (21:00 -0500)]
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.
Matthias Clasen [Fri, 18 Feb 2011 00:06:19 +0000 (19:06 -0500)]
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
Matthias Clasen [Fri, 18 Feb 2011 00:06:19 +0000 (19:06 -0500)]
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
Matthias Clasen [Thu, 17 Feb 2011 23:49:01 +0000 (18:49 -0500)]
gtk-demo: plug a memleak in the editable cells demo
Matthias Clasen [Thu, 17 Feb 2011 23:34:28 +0000 (18:34 -0500)]
Fix a memory leak with file chooser previews
Matthias Clasen [Thu, 17 Feb 2011 21:40:00 +0000 (16:40 -0500)]
gtk-demo: Make the menu example work again
Matthias Clasen [Thu, 17 Feb 2011 20:56:52 +0000 (15:56 -0500)]
Remove a leaking get_name implementation
This was leaking a lot of memory; just rely on atk_object_get_name.
Matthias Clasen [Thu, 17 Feb 2011 20:54:50 +0000 (15:54 -0500)]
Don't leak the GDir in the iconview example
Carlos Garnacho [Thu, 17 Feb 2011 19:43:31 +0000 (20:43 +0100)]
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().
Carlos Garnacho [Thu, 17 Feb 2011 19:04:29 +0000 (20:04 +0100)]
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.
Matthias Clasen [Thu, 17 Feb 2011 18:29:59 +0000 (13:29 -0500)]
Check if the accessible is actually an AtkAction
Matthias Clasen [Thu, 17 Feb 2011 18:20:27 +0000 (13:20 -0500)]
GailProgressBar: make value setters work
Matthias Clasen [Thu, 17 Feb 2011 18:17:09 +0000 (13:17 -0500)]
Add forgotten include
Matthias Clasen [Thu, 17 Feb 2011 17:35:07 +0000 (12:35 -0500)]
Fix includes in gtkassistant.c
Also fix a bad case in gtk_assistant_accessible_get_n_children.
Matthias Clasen [Thu, 17 Feb 2011 17:25:23 +0000 (12:25 -0500)]
GtkAssistant: Use _gtk_accessible_set_factory_type
Matthias Clasen [Thu, 17 Feb 2011 16:51:16 +0000 (11:51 -0500)]
GtkGrid: Avoid problems with uninitialized memory
valgrind complained about these, and they make for bad size allocation
and the occasional crash.
Runa Bhattacharjee [Thu, 17 Feb 2011 15:01:19 +0000 (20:31 +0530)]
Updated Bengali India Translation
Runa Bhattacharjee [Thu, 17 Feb 2011 14:32:47 +0000 (20:02 +0530)]
Updated Bengali India Translation
Matthias Clasen [Thu, 17 Feb 2011 12:10:31 +0000 (07:10 -0500)]
Add a AtkHypertext implementation for GtkLinkButton
https://bugzilla.gnome.org/show_bug.cgi?id=586201
Emmanuele Bassi [Thu, 17 Feb 2011 09:33:07 +0000 (09:33 +0000)]
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.
Emmanuele Bassi [Thu, 17 Feb 2011 09:24:25 +0000 (09:24 +0000)]
Build fix in GtkSeparatorMenuItem
https://bugzilla.gnome.org/show_bug.cgi?id=642541
Matthias Clasen [Thu, 17 Feb 2011 06:34:10 +0000 (01:34 -0500)]
Use _gtk_accessible_set_factory_type in GtkSeparatorMenuItem
Matthias Clasen [Thu, 17 Feb 2011 06:32:24 +0000 (01:32 -0500)]
Use _gtk_accessible_set_factory_type in GtkSwitch
Matthias Clasen [Thu, 17 Feb 2011 06:30:33 +0000 (01:30 -0500)]
Use _gtk_accessible_set_factory_type for GtkIconView
Matthias Clasen [Thu, 17 Feb 2011 06:24:43 +0000 (01:24 -0500)]
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+.
Matthias Clasen [Thu, 17 Feb 2011 05:44:26 +0000 (00:44 -0500)]
Add an a11y implementation to GtkSeparatorMenuItem
Its all boilerplate, and it more than doubles the line count.
Yay :-(
Matthias Clasen [Thu, 17 Feb 2011 04:56:33 +0000 (23:56 -0500)]
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
Matthias Clasen [Thu, 17 Feb 2011 04:30:21 +0000 (23:30 -0500)]
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.
Matthias Clasen [Thu, 17 Feb 2011 04:26:36 +0000 (23:26 -0500)]
Forgotten file
Matthias Clasen [Thu, 17 Feb 2011 03:57:25 +0000 (22:57 -0500)]
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
Matthias Clasen [Thu, 17 Feb 2011 03:35:16 +0000 (22:35 -0500)]
gail: support indeterminate state of check menuitems
Patch by Szilárd Pfeiffer
https://bugzilla.gnome.org/show_bug.cgi?id=626730
Matthias Clasen [Thu, 17 Feb 2011 02:58:10 +0000 (21:58 -0500)]
Fix gailstatusbar problems
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=630971
Matthias Clasen [Wed, 16 Feb 2011 23:46:44 +0000 (18:46 -0500)]
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.
Matthias Clasen [Wed, 16 Feb 2011 23:40:14 +0000 (18:40 -0500)]
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.
Emmanuele Bassi [Wed, 16 Feb 2011 15:53:20 +0000 (15:53 +0000)]
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
Michael Natterer [Wed, 16 Feb 2011 17:39:33 +0000 (18:39 +0100)]
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.
Daniel Korostil [Wed, 16 Feb 2011 05:30:59 +0000 (07:30 +0200)]
Uploaded Ukranian
Daniel Korostil [Tue, 15 Feb 2011 19:57:17 +0000 (21:57 +0200)]
Updated Ukranian
Matthias Clasen [Mon, 14 Feb 2011 18:20:33 +0000 (13:20 -0500)]
Allow custom icon size in gtk_render_icon_pixbuf()
Pointed out in bug 642213.
Javier Jardón [Sun, 13 Feb 2011 14:21:12 +0000 (14:21 +0000)]
testgtk: Fix compilation warning
Javier Jardón [Sun, 13 Feb 2011 12:09:52 +0000 (12:09 +0000)]
configure.ac: Remove fd_set checks
fd_set uses were removed in GTK+ 2.2
Martin Nordholts [Tue, 1 Feb 2011 22:07:21 +0000 (23:07 +0100)]
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.
Javier Jardón [Sun, 6 Feb 2011 22:36:58 +0000 (22:36 +0000)]
configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS
Javier Jardón [Sun, 6 Feb 2011 22:26:02 +0000 (22:26 +0000)]
configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP
Javier Jardón [Sun, 6 Feb 2011 22:19:23 +0000 (22:19 +0000)]
configure.ac: Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN
Javier Jardón [Sun, 6 Feb 2011 22:10:21 +0000 (22:10 +0000)]
configure.ac: Use AC_LINK_IFELSE instead deprecated AC_TRY_LINK
Nguyễn Thái Ngọc Duy [Sun, 13 Feb 2011 10:51:49 +0000 (17:51 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sun, 13 Feb 2011 10:40:54 +0000 (17:40 +0700)]
po/vi.po: import from Damned Lies