Commit Graph

21117 Commits

Author SHA1 Message Date
Matthias Clasen
7565bcd928 List all available icons in Makefile.am
This mismatch was causing e.g. gtk-caps-lock-warning.png to show
up as missing image in entries.

At the same time, sort the icon list alphabetically.
2011-04-01 16:44:12 -04:00
Matthias Clasen
174ad13a2f Use existing mime type for GTK_FILE stock icon
document-x-generic is not actually a mimetype. Using text-x-generic
instead lets us work out-of-the-box in a11y themes.
2011-04-01 16:44:12 -04:00
Alexander Larsson
c9c23b0728 Ensure we always grab the gdk lock in async callbacks
Async callbacks are delivered in idles, so we need to make sure
we get the gdk lock before calling any gdk/gtk stuff. This was
missing in a few places.
2011-03-28 14:00:31 +02:00
Chun-wei Fan
7dec704421 Update VS Property sheet
Make GDK-Pixbuf include path consistant with autofiscated builds
2011-03-26 15:32:45 +08:00
Kjartan Maraas
7308b4f01b Updated Norwegian bokmål translation 2011-03-20 10:41:26 +01:00
Wouter Bolsterlee
eb475e6056 Updated Dutch translation by Wouter Bolsterlee 2011-03-19 17:43:15 +01:00
Mike Gorse
ddd632dfc6 Support GtkComboBoxEntry in GAIL again
GAIL now supports the has_entry property for combo boxes, but the old
GtkComboBoxEntry class does not use this property, so GAIL has not been
supporting it correctly in 2.24.

http://bugzilla.gnome.org/show_bug.cgi?id=637304
2011-03-16 13:42:46 -07:00
Pavel Holejsovsky
6e178a69fc [GI] Add missing (out) and (array) annotations
Backported from master commit 2fb1c064.
2011-03-16 10:45:35 +01:00
Chun-wei Fan
7039a30400 Update build/win32/vs9/README.txt
Make the information in that file more up-to-date.
2011-03-16 14:45:38 +08:00
Matthias Clasen
054625ab04 Bump version 2011-03-14 14:30:40 -04:00
Matthias Clasen
89331e8e66 Fix a stray + in configure.in 2011-03-14 12:04:16 -04:00
Matthias Clasen
298c256c37 Bump version 2011-03-14 11:53:45 -04:00
Matthias Clasen
a87d84225b Update NEWS for 2.24.2 2011-03-14 10:35:47 -04:00
Matthias Clasen
4ddf2c6512 Use existing mime type for GTK_FILE stock icon
document-x-generic is not actually a mimetype. Using text-x-generic
instead lets us work out-of-the-box in a11y themes.
2011-03-14 10:21:54 -04:00
Matthias Clasen
9862894317 Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant 2011-03-14 10:18:35 -04:00
Matthias Clasen
5af547bf83 Add missing annotations
This adds missing annotations for gdk_window_get_position(),
gtk_window_get_position() and gtk_accelerator_parse().
Bug 644353, patch by Ulrik Sverdrup.
2011-03-12 21:36:18 -05:00
Chun-wei Fan
cbe449dba4 Update README.win32
Make the information in README.win32 more up-to-date.
2011-03-11 12:19:27 +08:00
Martin Pitt
3b3faee6d2 Fix gdk_keyval_name() and gdk_keyval_from_name() annotations
Backport annotations from master (which fixes the keyval_name() crash due to
the wrong default transfer annotation), and ensure that the g-ir-scanner
includes them.

https://launchnpad.net/bugs/732484
2011-03-10 13:25:55 +01:00
Tristan Van Berkom
f3cd3c3dd0 Fixed GtkTreeModel::row-deleted documentation
This documentation was in direct conflict with the documentation
of gtk_tree_model_row_deleted() docs, the function docs are TRUE,
the signal docs were FALSE, fixed.
2011-03-09 15:10:52 +09:00
Benjamin Otte
70715c377e gdk: when scrolling windows, use the correct source for copying from
Previously we were copying from the toplevel window unconditionally.
This is wrong in two cases:
1) composited windows
2) different visuals

So when encountering such a window in the hierarchy, we stop going up
and just use the latest window as the source.

https://bugzilla.gnome.org/show_bug.cgi?id=643416
2011-03-07 17:25:31 +01:00
Benjamin Otte
559cb5d8ab build: Fix generation of gtktypefuncs.c with -g3 in CFLAGS
With -g3, macros are included in the output, and that caused
gdk_window_get_type() to be included when it shouldn't be.
2011-03-07 17:11:26 +01:00
Benjamin Otte
b18d4feaaf x11: Remove unused variable 2011-03-07 12:05:32 +01:00
Sebastian Pölsterl
e229f2998b Fixed gtk_calendar_get_date annotations: Added missing (out)
Backported from master commit 34b573b07
2011-03-01 16:01:32 +01:00
Chun-wei Fan
931faeab12 Don't distribute GDK-Pixbuf VS 2008 Projects
Since GDK-Pixbuf is now in a package of its own, stop the distribution
of GDK-Pixbuf projects (those files are no longer referenced in the
GTK+ solution file already)
2011-02-25 13:46:39 +08:00
Federico Mena Quintero
b6bf9112ad [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
2011-02-24 15:01:07 -06:00
Matthias Clasen
e158b9b13a Make GtkRecentManager use standard icon names for themed icons 2011-02-24 14:16:24 -05:00
Alexander Larsson
b0d0bf7f7d 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
(cherry picked from commit 0b0f110152)

Conflicts:

	gdk/x11/gdkscreen-x11.c
2011-02-24 20:05:45 +01:00
Matthias Clasen
20b794812f Fix duplicate 'new in 2.22' index
Spotted by Dieter Verfaillie,
https://bugzilla.gnome.org/show_bug.cgi?id=642905
2011-02-21 17:54:24 -05:00
Matthias Clasen
b2f9a53c00 Post-release version bump 2011-02-21 13:01:22 -05:00
Matthias Clasen
661c0838b7 Update NEWS 2011-02-21 12:22:50 -05:00
Matthias Clasen
2baa2dc7f0 Remove annotation that breaks the introspection build 2011-02-20 18:47:40 -05:00
Gabor Kelemen
7ffc605ac2 Updated Hungarian translation 2011-02-20 12:23:02 +01:00
Gabor Kelemen
ac093e25f6 Updated Hungarian translation 2011-02-20 01:38:32 +01:00
Tor Lillqvist
af91746931 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:33:00 +02:00
Matthias Clasen
44b2e88aef 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:30:02 -05:00
Matthias Clasen
c14e9ee768 Fix doc comment syntax 2011-02-19 12:47:04 -05:00
Matthias Clasen
b609bd1149 Fix doc comment 2011-02-19 10:16:58 -05:00
Matthias Clasen
cb3f20ecbe 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-19 10:12:09 -05:00
Matthias Clasen
3998dd9563 gtk-demo: plug a memleak in the editable cells demo 2011-02-19 10:11:43 -05:00
Matthias Clasen
856a69936b Fix a memory leak with file chooser previews 2011-02-19 10:11:12 -05:00
Matthias Clasen
5813ccc700 Remove a leaking get_name implementation
This was leaking a lot of memory; just rely on atk_object_get_name.
2011-02-19 10:10:52 -05:00
Matthias Clasen
8a6bf12346 Don't leak the GDir in the iconview example 2011-02-19 10:10:33 -05:00
Matthias Clasen
f7b7346f8d Check if the accessible is actually an AtkAction 2011-02-19 10:10:21 -05:00
Matthias Clasen
db55058178 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-19 10:08:48 -05:00
Matthias Clasen
6fcb389975 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-19 10:08:39 -05:00
Matthias Clasen
c26905747f gail: support indeterminate state of check menuitems
Patch by Szilárd Pfeiffer
https://bugzilla.gnome.org/show_bug.cgi?id=626730
2011-02-19 10:08:27 -05:00
Matthias Clasen
fa007952ba 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-19 10:07:40 -05:00
Matthias Clasen
de7b27159d 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-19 10:07:30 -05:00
Matthias Clasen
9bc8ba7e5d Use standard icon names 2011-02-19 10:04:39 -05:00
Matthias Clasen
48342ad2bd Add warnings about environment variables
These variables all get read by GTK 3 as well, which makes
them dangerous at best.
2011-02-19 10:02:29 -05:00