Commit Graph

35874 Commits

Author SHA1 Message Date
Matthias Clasen
c250008f6b Update expected a11y test output
This changed due to improved accessible names for GtkImage
in 434d4be595
2013-10-15 22:55:14 -04:00
Matthias Clasen
eab6fc00df Remove debug spew 2013-10-15 22:38:36 -04:00
Timothy Arceri
512f288ec2 Remove superfluous g_file_test()
https://bugzilla.gnome.org/show_bug.cgi?id=168530
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-15 21:45:26 -04:00
Matthias Clasen
bd75b6312d Revert "GtkAboutDialog: Add missing calls to g_type_ensure() for used types"
This reverts commit ad963d1b3a.
2013-10-15 21:42:00 -04:00
Alexander Larsson
0f9ce285c5 GtkBuilder: Fall back to gtk_test_register_all_types if type lookup fails
This is important because the dlsym() approach can fail if gtk was
loaded with RTLD_LOCAL.

https://bugzilla.gnome.org/show_bug.cgi?id=710096
2013-10-15 21:40:53 -04:00
Alexander Larsson
ad963d1b3a GtkAboutDialog: Add missing calls to g_type_ensure() for used types
If nothing else used these types then the template instantiation will
fail.

https://bugzilla.gnome.org/show_bug.cgi?id=710096
2013-10-15 21:40:53 -04:00
Bastien Nocera
9d74f186c9 gdkevents.h: Mention _get_source_device()
It's too easy getting bitten by the ->device red herring, thinking
that it's the original input device the event originated from.

https://bugzilla.gnome.org/show_bug.cgi?id=709621
2013-10-15 21:32:24 -04:00
Matthias Clasen
b8ef346e38 Fix an oversight
Followup for 3c41d4865e
2013-10-15 21:29:06 -04:00
Johannes Wellhöfer
75a6a8fbe2 Also revert enable-mnemonics code in gtkwindow, which was forgotten in commit 34cf40e95c.
https://bugzilla.gnome.org/show_bug.cgi?id=708346
2013-10-15 21:26:14 -04:00
Matthias Clasen
d25ee71071 Fall back to non-symbolic icons
When doing fallback for symbolic icons, we first shorten
the name at dashes while preserving the -symbolic suffix.
But after exhausting that, we should also try stripping
the suffix.

https://bugzilla.gnome.org/show_bug.cgi?id=708163
2013-10-15 21:20:45 -04:00
Olivier Brunel
1922b7d377 tooltip: Fix possible wrong placement
When showing a tooltip on the edge of a monitor, the tooltip could be wrongly
placed and be shown going from one monitor to the next.

This happened because the current_window wasn't set visible, and when it wasn't
the returned allocated size would be 1, hence wrong calculations.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>

https://bugzilla.gnome.org/show_bug.cgi?id=698730
2013-10-15 20:38:31 -04:00
Yosef Or Boczko
f90e54a0b9 Fix a warning
The PangoWrapMode enum has identical layout to GtkWrapMode,
but using the two interchangably causes (justified) compiler
warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=709697
2013-10-15 20:10:13 -04:00
Matthias Clasen
0e866bbba1 Set an error when loading a GtkIconInfo fails
Failure to do so leads to assertion failures.
https://bugzilla.gnome.org/show_bug.cgi?id=710073
2013-10-15 20:00:57 -04:00
Matthias Clasen
d475906d68 Wayland: avoid accidental export of internal symbols
Some symbols in the generated Wayland code were getting
decorated with WL_EXPORT, causing them to show up in the
libgdk exports. We don't want that.

https://bugzilla.gnome.org/show_bug.cgi?id=710141
2013-10-15 19:43:10 -04:00
Piotr Drąg
c9beb91b39 Updated POTFILES.in 2013-10-16 00:33:07 +02:00
Matthias Clasen
be4a6e301b Wayland: fix a crash in opaque region handling
We may get a NULL region passed to the backend, which means
'nothing is opaque'. In that case, don't crash, but pass
the information on to the compositor.

http://bugzilla.gnome.org/show_bug.cgi?id=709854
2013-10-15 18:21:08 -04:00
Ihar Hrachyshka
578655a9cd Updated Belarusian translation. 2013-10-15 23:48:22 +03:00
Matthias Clasen
3c41d4865e Fix a crash in icon handling
The load_error was freed in two places.
Fix based on a patch in
https://bugzilla.gnome.org/show_bug.cgi?id=709967
2013-10-15 08:08:59 -04:00
Daniel Mustieles
5a05d7e626 Updated Spanish translation 2013-10-15 11:12:11 +02:00
Matthias Clasen
434d4be595 Restore accessible names for image-only buttons
With the stock system being deprecated now, we should provide
meaningful accessible names for buttons that are constructed
from icon names or GIcons. This commit reuses the existing
translations.

It is possible that some common icon names are not covered
here because they were not present as stock items. These can
be added to the table later.
2013-10-14 14:41:50 -04:00
Carles Ferrando
43ff8dcc9c [l10n] Updated Catalan (Valencian) translation 2013-10-14 00:01:08 +02:00
Carles Ferrando
667ece973d [l10n] Updated Catalan (Valencian) translation 2013-10-13 22:23:42 +02:00
Gil Forcada
af58d3d943 [l10n] Update Catalan translation 2013-10-13 22:23:34 +02:00
Friedel Wolff
ee95d9a84b Updated translation for Afrikaans (af) 2013-10-13 17:27:03 +02:00
Charles Reiss
a0385b8276 Bug 709939 - monitor reconfiguration while GtkOffscreenWindows
exist triggers crash on quartz. Special case the position update
to ignore the off-screen windows.
2013-10-11 15:55:51 -07:00
Philip Chimento
d827d551a9 NULL check on default keymap
Ensure that Quartz's default keymap is not accessed before it is
created.
2013-10-11 11:15:05 -07:00
Hamish Mackenzie
83e26db7f0 Fix infinite loop in gdkevents.c _gdk_event_queue_find_first 2013-10-11 11:05:42 -07:00
John Ralls
3ca7cfe29b Ensure src and dest are GdkWindows in _gdk_sythesize_crossing_events
Discovered via a crash because b's (dest's) toplevel was NULL;
ensuring that the dest is actually a GdkWindow or setting b to NULL
prevents that path from being taken.
2013-10-11 10:52:18 -07:00
John Ralls
5c820fe22d Fix double-free introduced in f86dc163 2013-10-11 10:52:18 -07:00
Arash Mousavi
2a54b0fc70 L10N: Updated Persian translations 2013-10-11 09:57:07 +03:30
Matthias Clasen
b191a18f0d Bump version 2013-10-10 22:15:53 -04:00
Matthias Clasen
9b1b3c12cf 3.10.1 3.10.1 2013-10-10 22:14:54 -04:00
Matthias Clasen
397d5d6dcf Quell a compiler warning 2013-10-10 22:14:54 -04:00
John Ralls
010f30ecf2 Suppress cursor theme unsupported warning when there's no theme. 2013-10-10 15:40:03 -07:00
John Ralls
a96f4e77c7 Implement gtk_drag_begin_with_coordinates () for quartz. 2013-10-10 15:40:02 -07:00
John Ralls
7580503f49 Suppress frequent device assertions
Because send crossing event is usually called with a NULL source_device in quartz.
2013-10-10 15:40:02 -07:00
John Ralls
38d400ff99 Quartz: Set the drag context target list
So that gdk_drag_context_list_targets() actually returns something.
2013-10-10 15:40:02 -07:00
Matthias Clasen
72d883d06b Add various tests for stock widgets
This test demonstrates that various deprecated ways
to construct buttons and menuitems still work as they
are supposed to, including always-show-image functionality.
2013-10-10 14:51:43 -04:00
Benjamin Otte
5f3cfc60b5 widget-factory: Remove accel-groups
GtkMenuItem doesn't have accel groups anymore.
2013-10-10 14:51:43 -04:00
John Lindgren
90dfe56a0d Populate GtkPlacesSidebar at initialization
Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11a9, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522
2013-10-10 14:51:42 -04:00
Timothy Arceri
bfc0fb71f9 Remove unused function
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
2076b7414d Remove a bunch of unused variables.
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
54afbe790d Dont set enum to NULL fixes build issues on Solaris 10
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
e7b92ee829 Reorder message in configure.ac to display result on the same line
https://bugzilla.gnome.org/show_bug.cgi?id=341146

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Kjell Ahlstedt
2f86f03a58 GtkWindow: Override gtk_container_remove ()
Check which child is being removed, title_box or the GtkBin child.

https://bugzilla.gnome.org/show_bug.cgi?id=709049
2013-10-10 14:51:42 -04:00
Matthias Clasen
89c3585ecc Improve gtk_container_add docs
Mention that some containers add intermediate children automatically.
2013-10-10 14:51:42 -04:00
William Jon McCann
2bea8f8497 Fix typo in gtk-win32-base.css 2013-10-10 14:51:42 -04:00
John Ralls
3c2008e89d Clarify Cursor Theme GDK Warning 2013-10-10 14:51:42 -04:00
Matthias Clasen
40d7ee5e2a Trivial: remove an unused declaration
_gtk_list_box_accessible_update_selected is not used and
does not exist.
2013-10-10 14:51:42 -04:00
Matthias Clasen
2d03c71cf9 csd: Avoid jumping windows
The size of the shadow and invisible borders can (and usually
will) change between backdrop and focused windows, while the
overall window size remains unchanged. This causes the visible
window to visually 'jump'. We can avoid this by always reserving
the maximum of the focused and unfocused border sizes. The code
for positioning the input-only windows making up the invisible
border is adjusted to deal with this. We now always place the
invisible border right outside the visible content, even if the
shadow extends out much farther.

https://bugzilla.gnome.org/show_bug.cgi?id=707524
2013-10-10 14:51:42 -04:00