Commit Graph

35857 Commits

Author SHA1 Message Date
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 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
Matthias Clasen
7d36488d90 GtkAboutDialog: prevent unintended visibility
Some of the labels were not marked as no-show-all. But the
code clearly tries to manage their visibility, so gtk_widget_show_all()
should not affect them.

https://bugzilla.gnome.org/show_bug.cgi?id=681484
2013-10-10 14:51:42 -04:00
Mario Sanchez Prada
699e3e2834 a11y: don't shutdown accessibility, so the atk bridge is always valid
This will fix issues in applications that for some reason make
several and not nested calls to gtk_main() during their lifetime,
effectively initializing a11y when the first, top most, main loop
is being run and shutting it down then that loop is quit.

https://bugzilla.gnome.org/show_bug.cgi?id=708024

https://bugzilla.gnome.org/show_bug.cgi?id=684076
2013-10-10 14:51:42 -04:00
Benjamin Otte
96a28488ea gdkcairo: Actually paint the pixbuf
I accidentally a line before committing
b41787bc78 - whoops.
2013-10-10 14:51:42 -04:00
Benjamin Otte
b6512eea3f testsuite: Add a test for functions that work without gtk_init()
So far, this is just supposed to be gdk_cairo_set_source_pixbuf().

Note that this is usually not an API guarantee but courtesy to
applications that used these APIs without a gtk_init() call.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-10-10 14:51:42 -04:00
Benjamin Otte
16c8445cc1 gdkcairo: Don't require gtk_init() for set_source_pixbuf()
Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-10-10 14:51:42 -04:00
Benjamin Otte
f1ea85e514 gdkcairo: Split out a function
This is in preparation for the next patch.
2013-10-10 14:51:42 -04:00
Xavier Claessens
bde811bed0 GtkSearchBar: replace incomplete example with a real one
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
e879720495 Add example app for GtkSearchBar
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
af2c540a95 GtkMenu: Document that gtk_widget_insert_action_group() can be used 2013-10-10 14:03:23 -04:00
Matthias Clasen
fba0a9e8af Fix build with explicit --enable-wayland-backend
We forgot to set set WAYLAND_SCANNER in this case.
2013-10-10 12:48:48 -04:00
Matthias Clasen
668eb79086 configure: Make Wayland backend optional
As long as we are not ready to switch over the default backend,
arrange ./configure without explicit backend options makes the
x11 backend mandatory and the wayland backend optional (depending
on whether we find Wayland dependencies).

http://bugzilla.gnome.org/show_bug.cgi?id=709212
2013-10-10 12:48:48 -04:00
Gabor Kelemen
9746ab3539 Updated Hungarian translation 2013-10-10 14:55:08 +02:00
David King
71affbeec0 stack: Warn when setting a visible child which is not in the stack
https://bugzilla.gnome.org/show_bug.cgi?id=709613
2013-10-09 12:11:56 +01:00
William Jon McCann
5b9524f0f7 range: start autoscrolling near the edges of ranges
If a range goes all the way to the edge of the screen then we don't
have any way to activate autoscrolling. By adding a small region
at the ends of the range we can handle this case. This is the same
approach used in treeviews.
2013-10-07 16:40:26 -04:00
Khaled Hosny
09dc2ea808 Update Arabic translation 2013-10-07 17:08:02 +02:00
Victor Ibragimov
42c09b9065 Tajik translation updated 2013-10-07 15:16:15 +05:00
Timm Bäder
6c77f65ea6 gtk_list_box_set_focus: Handle ist_box == NULL
Rows without a parent GtkListBox can happen in Glade and its previewer.
2013-10-03 14:11:50 +02:00