Commit Graph

42107 Commits

Author SHA1 Message Date
Antoine Jacoutot
0c83e6f52a make libcanberra support optional
Make it possible to control libcanberra support so we don't risk ending up with
a cyclic dependency when using packages: gtk+ -> libcanberra-gtk3 -> gtk+

https://bugzilla.gnome.org/show_bug.cgi?id=746904
2015-03-29 16:47:01 -04:00
Will Thompson
9b3af5878f bbox: correct documentation typo 2015-03-29 16:46:11 -04:00
Joanmarie Diggs
862a1c36ef Fix an AtkStateType emitted for GtkBooleanCellAccessible
An apparent copy-and-paste error is resulting in ATs being notified of
changes in ATK_STATE_CHECKED when the cell's "sensitive" state changes.

https://bugzilla.gnome.org/show_bug.cgi?id=746784
2015-03-29 16:45:56 -04:00
Benjamin Otte
b77c6b1b97 filechooser: Use same priority everywhere
I managed to stall recent files today while trying to save a GTK
testcase in glade that contained enough spinning spinners that the CPU
was saturated just redrawing things.

I had to navigate the filesystem!
2015-03-29 16:44:47 -04:00
Marcus Karlsson
59861241ad GtkRange: Check "inverted" property when drawing
The direction in which the slider moves can be inverted by setting the
inverted property. But the draw method does not check this, instead it
checks if the direction of the widget is set to be right to left.

Call the should_invert function in order to determine if the direction
of the range should be inverted. It too checks the widget's direction,
but also checks the "inverted" property, and allows the range to be
drawn inverted even if it is vertically oriented.

https://bugzilla.gnome.org/show_bug.cgi?id=746712
2015-03-29 16:44:38 -04:00
Marcus Karlsson
1e8b89a5ce GtkRange: Fix drawing of fill-level
Compute the proportion of the range that should be filled to match the
fill level, and use it to compute the starting point and length of the
area between the slider and the fill level.

https://bugzilla.gnome.org/show_bug.cgi?id=734741
2015-03-29 16:35:54 -04:00
Marek Černocký
7cea667a3e Updated Czech translation 2015-03-29 13:58:07 +02:00
Marek Černocký
293b53bb00 Updated Czech translation 2015-03-29 13:50:37 +02:00
Matej Urbančič
739fdecc09 Updated Slovenian translation 2015-03-28 22:43:48 +01:00
Jordi Mas
390414e635 Upload Catalan translation 2015-03-28 13:37:50 +01:00
Ryan Lortie
e1da396e5d NEWS: mention GtkListBoxCreateWidgetFunc API break
This should probably be in the NEWS for the next release...
2015-03-27 12:10:39 -04:00
Ryan Lortie
992ff9818c GtkListBox: fix model binding refcount issue
As it is, GtkListBox model binding will work nicely as long as your
create_widget_func returns a floating reference on the newly-created
widget.

If you try to return a full reference (as any higher-level language
would do) then you will leak that reference.

Fix that up by converting any floating references into full references
and then unconditionally releasing the full reference after adding to
the box.

https://bugzilla.gnome.org/show_bug.cgi?id=746893
2015-03-27 12:08:02 -04:00
Emmanuele Bassi
6d75d452aa docs: Add initialization example for GtkGLArea
Show how to safely check for errors when initializing the OpenGL
pipeline.
2015-03-27 11:33:59 +00:00
Emmanuele Bassi
c7dd439d4f x11/gl: Do not use GLX_EXT_texture_from_pixmap if not available
If the GLX_EXT_texture_from_pixmap extension is not available when we
did the extensions check, then there's no point in using the backend
specific code paths that rely on it.
2015-03-27 11:33:52 +00:00
Emmanuele Bassi
a7f06d2ae6 demo/glarea: Check errors on GtkGLArea
We should not call OpenGL API if GtkGLArea is in an error state.

https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-27 11:33:41 +00:00
Emmanuele Bassi
f72db440b5 glarea: Check that the context is not NULL
The public API should perform more checks when it comes to an NULL
context.

https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-27 11:33:29 +00:00
Emmanuele Bassi
732671f639 x11/gl: Do not try to call MakeCurrent with a NULL context
This should not happen, but better safe than sorry.

https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-27 11:33:22 +00:00
Emmanuele Bassi
d4c7fcd050 x11/gl: Trap GL context creation
Avoid an X11 error in case the context creation fails, so we can avoid a
crash and pick it up in the upper layers, and display an error.

https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-27 11:33:19 +00:00
Hans de Goede
318c784b3e scrolledwindow: Extend trackpoint heuristic to ALPS trackpoints
These have a different characteristic device name, look for it too
in order to enable trackpoint features.
2015-03-26 19:52:14 +01:00
Руслан Ижбулатов
80df4f3b1c W32: Only override window miximized position for CSDed windows
This fixes an issue with non-CSDed windows being improperly positioned
when maximized, which was introduced by the previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=746821
2015-03-26 17:07:34 +00:00
Руслан Ижбулатов
047c6210ad W32: Correctly set maximized window position
Use screen workarea to *also* set the position of a maximized window,
not just its size. Without this the window position defaults to 0:0
(the topleft corner), which is wrong when taskbar is position along the
top or left edge of the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=746821
2015-03-26 15:53:26 +00:00
Aurimas Černius
a455c3cc49 Updated Lithuanian translation 2015-03-25 23:55:00 +02:00
Rico Tzschichholz
99a0b320a3 textview: Fix "Since" versions after backport
Fix for 28063ee2e4 which got cherry-picked
to 3.16

(cherry picked from commit 9ca8b71e76)
2015-03-25 20:55:52 +01:00
Fran Dieguez
df2c1c4d5d Updated Galician translation 2015-03-24 22:30:02 +00:00
Ignacio Casal Quinteiro
2eab2d79b7 inspector: fix warning about not using the right format for an int64 2015-03-24 14:32:58 +01:00
Daniel Mustieles
b83f8bd825 Updated Spanish translation 2015-03-24 10:41:35 +01:00
Daniel Mustieles
9f5eb8f021 Updated Spanish translation 2015-03-24 10:40:21 +01:00
Trần Ngọc Quân
e3d64fb0e2 Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2015-03-24 14:13:39 +07:00
Changwoo Ryu
1a9d78c58d Updated Korean translation 2015-03-24 09:54:04 +09:00
Inaki Larranaga Murgoitio
64c6869708 Updated Basque language 2015-03-23 22:24:38 +01:00
Inaki Larranaga Murgoitio
afd8697baa Updated Basque language 2015-03-23 22:24:13 +01:00
Fran Dieguez
b652f840f2 Updated Galician translation 2015-03-23 21:14:00 +00:00
Fran Dieguez
349fbb1eac Updated Galician translation 2015-03-23 21:10:45 +00:00
Piotr Drąg
3399395234 Updated Polish translation 2015-03-23 17:33:05 +01:00
Marek Černocký
f52e9bffd6 Updated Czech translation 2015-03-23 16:15:28 +01:00
Matthias Clasen
7be4d69868 csd: Fix an oversight for popups
After the recent rework of client-side shadow code, menus,
tooltips and similar popups were ending up with solid decorations.
Fix this oversight.
2015-03-23 10:43:43 -04:00
Balázs Úr
36f02f4041 Updated Hungarian translation 2015-03-23 14:39:35 +00:00
Balázs Úr
08d649de2f Updated Hungarian translation 2015-03-23 14:35:17 +00:00
Yosef Or Boczko
0235e4c7a1 Update properties Hebrew translation 2015-03-23 14:46:19 +02:00
Yosef Or Boczko
de00a55751 Updated Hebrew translation 2015-03-23 14:44:04 +02:00
Tom Tryfonidis
ba6fd13d38 Updated Greek translation 2015-03-23 10:23:04 +00:00
Tom Tryfonidis
2ecd3b033d Updated Greek translations 2015-03-23 12:09:17 +02:00
Milo Casagrande
db7732ee6c Updated Italian translation 2015-03-23 07:28:32 +00:00
Milo Casagrande
9b9aa14ef7 Updated Italian translation 2015-03-23 07:24:33 +00:00
Matthias Clasen
bff9f190aa Stop using GDK_POINTER_MOTION_HINT_MASK in widgets
It is deprecated and no longer needed, and,as observed in
https://bugzilla.gnome.org/show_bug.cgi?id=746253 it
interferes with turning off event compression.
2015-03-22 23:03:26 -04:00
Matthias Clasen
867dcd3d67 Silence another compiler warning
Again, our habit of comparing enum values against -1.
2015-03-22 23:03:13 -04:00
Matthias Clasen
cb25f48bf6 Don't return G_TYPE_INVALID as a pointer
Use NULL for g_return_val_if_fail checks if the function returns
a pointer. Pointed out by clang.
2015-03-22 23:03:06 -04:00
Matthias Clasen
76a37d542e text view: Avoid clang compiler warnings
Again, our habit to use -1 as an unset value for enum types.
2015-03-22 23:03:00 -04:00
Matthias Clasen
c30f74e506 Remove a redundant const
const gchar const is still just const gchar, unless there's
indirections in between.
2015-03-22 23:02:54 -04:00
Matthias Clasen
1768f3e5dd css: Silence a clang warning
Clang complains that this check can never be true. Since this
is a argument range check which we do to catch bad input,
convince clang to not complain instead of taking it out.
2015-03-22 23:02:48 -04:00