Commit Graph

42178 Commits

Author SHA1 Message Date
Matthias Clasen
cc74421272 GtkActionable: Fix small doc formatting issues 2015-04-27 13:24:45 -04:00
Matthias Clasen
17b5ee4067 GtkApplicationWindow: Fix small doc formatting issues 2015-04-27 13:24:38 -04:00
Matthias Clasen
43c10fd785 GtkApplication: Fix some small doc formatting issues 2015-04-27 13:24:31 -04:00
Matthias Clasen
d74502e81f gl area: Add a few missing docs 2015-04-27 13:24:23 -04:00
Michael Catanzaro
8cd76cdd08 GtkMessageDialog: Minor documentation update
Icons went away in 3.12

https://bugzilla.gnome.org/show_bug.cgi?id=748061
2015-04-27 13:23:06 -04:00
Federico Mena Quintero
62cdbb85aa gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout
So that lazy people like me can see in the header file which new functions to use.
2015-04-27 13:22:43 -04:00
Sveinn í Felli
105d954946 Updated Icelandic translation 2015-04-23 11:30:34 +00:00
Ask Hjorth Larsen
abfd4ddcf6 fix minor error in Danish translation of properties 2015-04-22 00:28:05 +02:00
Ask Hjorth Larsen
ae71ac49f2 updated Danish translation of properties 2015-04-22 00:25:10 +02:00
Ask Hjorth Larsen
f9ed596de9 Updated Danish translation 2015-04-22 00:18:13 +02:00
Daniel Korostil
8de39d8d46 Updated Ukrainian translation 2015-04-20 20:54:17 +03:00
Lars Uebernickel
456b5e50b5 GtkRange: fix horizontal scrolling
https://bugzilla.gnome.org/show_bug.cgi?id=737175
2015-04-17 17:31:00 +02:00
Rafael Ferreira
6bdcac4c45 Updated Brazilian Portuguese translation 2015-04-17 15:29:37 +00:00
Cosimo Cecchi
7b2f3a0887 window: fix initial shadow width for maximized/fullscreen windows
To calculate the shadow width, we look at the value of priv->fullscreen
and priv->maximized.
Those fields will have the actual value only after GTK receives back a
window state event though, so they will be wrong in _realize(). Look at
priv->fullscreen_initially and priv->maximize_initially too, to avoid
the size changing right after realize, which would make the window
flicker if maximized at startup.

https://bugzilla.gnome.org/show_bug.cgi?id=747808
2015-04-16 22:26:35 -04:00
Sebastian Keller
e1e5cd881e Adwaita: fix outline radius for dialog-action-area buttons
https://bugzilla.gnome.org/show_bug.cgi?id=748013
2015-04-16 22:10:25 -04:00
Rafael Ferreira
b28868cf72 Updated Brazilian Portuguese translation 2015-04-16 21:07:45 +00:00
Carlos Garnacho
78ba188814 scrolledwindow: Do not round dx/dy to int
Libinput will use 0.0f on the "scrolling finished" event, so check for this
instead of rounding (<1 values are sort of frequent on touchpads). This
impedes bug #745315 to resurface after commit d563b943ed.
2015-04-16 22:55:27 +02:00
Carlos Garnacho
ffd944f1c1 scrolledwindow: Ensure the animation is cancelled on arriving scroll events
When the scrolledwindow receives scroll events, it ensures the timeout to
maybe start the "snap back to edges" animation is reset, but it does nothing
about the animation source. It must be reset just the same, to maybe be
started after the timeout fires up.
2015-04-16 18:45:51 +02:00
Matej Urbančič
df0f5569d1 Updated Slovenian translation 2015-04-15 22:28:15 +02:00
Matthias Clasen
c8dc2dee78 Fix window button updates in split headers
We were only updating window buttons when the headerbar was
a direct child of the window. That is not the case in more
complicated situations, such as the split headers in gedit
or polari. To fix such cases, make the headerbar itself listen
for state changes on its toplevel.

https://bugzilla.gnome.org/show_bug.cgi?id=747805
2015-04-14 17:29:50 -04:00
Matthias Clasen
f323633883 3.16.2 3.16.2 2015-04-13 19:16:26 -04:00
Carlos Garnacho
272f43cae7 gesturesingle: Ignore motion/updates from unhandled sequences
This used to do the right thing, practically ignoring those event
if they went all through the event handler, unless this motion event
triggered the cancellation of this gesture from the event handler
of another controllers.

In this case, the controller would be reset, but the motion event
would still go through its handler, setting again
current_button/sequence as the motion event has buttons in its
modifiers. This leaves GtkGestureSingle with inconsistent data
that may interfere with future runs.

https://bugzilla.gnome.org/show_bug.cgi?id=747469
2015-04-13 17:29:25 +02:00
Carlos Garnacho
527d64e68b scrolledwindow: Show scrollbars on tablet devices
The code managing scrollbars visibility was too pervasively checking for
mouse devices, leaving pen/eraser/cursor devices with no scrollbars at
all. Relax these checks a bit, and actually toggle full-width scrollbars
on pen/eraser devices, so it is an easier target.

https://bugzilla.gnome.org/show_bug.cgi?id=747608
2015-04-13 17:29:25 +02:00
Jakub Steiner
c986d6ce78 HC: fix selected list-rows
https://bugzilla.gnome.org/show_bug.cgi?id=747689
2015-04-13 17:07:16 +02:00
Evangelos Foutras
ee679931ab x11: Relax requirements for setting ParentRelative
XSetWindowBackgroundPixmap() will throw BadMatch only in the case of a
different parent window depth. Different visuals are fine and actually
expected in Gtk+ 3.16 (since we don't stick to the system default visual
but try to pick a better one).

https://bugzilla.gnome.org/show_bug.cgi?id=747524
2015-04-13 08:27:51 -04:00
Carlos Garnacho
fb54abb087 plug: Remove size_allocate handler
Since windows can be intermediate containers this is somewhat redundant,
plus gtk_window_size_allocate() will do additional things like allocating
the popovers, which was mistakenly skipped by local plugs not chaining up.

https://bugzilla.gnome.org/show_bug.cgi?id=747553
2015-04-13 12:43:15 +02:00
Khaled Hosny
946cc8ae4d Update Arabic translation 2015-04-12 01:42:31 +02:00
Anders Jonsson
e6db3b556e Updated Swedish translation 2015-04-11 20:39:01 +00:00
Anders Jonsson
80881406ef Updated Swedish translation 2015-04-11 20:36:12 +00:00
Jakub Steiner
588c93ff36 HighContrast: insensitive backdrop list rows have a border
https://bugzilla.gnome.org/show_bug.cgi?id=747288
2015-04-10 17:02:26 +02:00
Jakub Steiner
290a31c614 notebook: prevent tab closebutton :hover to change metric 2015-04-10 17:01:00 +02:00
Lapo Calamandrei
ac41eb4fac Adwaita: reset .list-row.button props more aggressively...
...otherwise we run into problem with `.button` inherited style
properties, see https://bugzilla.gnome.org/show_bug.cgi?id=747288
which applies to Adwaita as well.
2015-04-10 16:48:52 +02:00
Joanmarie Diggs
06efce6fa2 a11y: Only emit signals when cells change; not upon creation
This is a workaround for atspi-atk behaviour.

atspi-atk uses signal emission hooks. So it to already catches
signal emissions on creation of objects, before anyone could even
think of g_signal_connect()ing.

https://bugzilla.gnome.org/show_bug.cgi?id=746706
2015-04-10 16:44:03 +02:00
Joanmarie Diggs
45fb396343 a11y: Only emit name-changed once
We were emitting it twice, once with deleting the old text, once with
inserting the new text.

https://bugzilla.gnome.org/show_bug.cgi?id=746706
2015-04-10 16:44:03 +02:00
Joanmarie Diggs
c7b96d8579 a11y: Free the cell text after emitting text-changed:delete.
This is needed because AT-SPI2's ATK bridge exposes the deleted string
to ATs.

https://bugzilla.gnome.org/show_bug.cgi?id=746706
2015-04-10 16:44:03 +02:00
Joanmarie Diggs
08bf5c4d8c a11y: Refactor code
Put the equality check in front. This allows better detection of when an
insert or delete needs to be emitted.

Also, only emit text-changed:delete if the deleted text is not the empty
string. Only emit text-changed:insert if the inserted text is not the
empty string.

https://bugzilla.gnome.org/show_bug.cgi?id=746706
2015-04-10 16:44:03 +02:00
Joanmarie Diggs
4784d35ec4 a11y: Refactor textcellaccessible code
Compute the new text and its length in advance. This way those
computations will not confuse us when they happen in the middle of the
actual action.

https://bugzilla.gnome.org/show_bug.cgi?id=746706
2015-04-10 16:44:03 +02:00
Matthias Clasen
95e80ef6f8 GtkApplication: Prevent more crashes around shutdown
gtk_application_shutdown clears the impl member, so all
callbacks, signal handlers, etc that might still be triggered
between a shutdown call and the return from the mainloop
better be prepared to deal with impl being NULL.
2015-04-10 08:05:25 -04:00
Sveinn í Felli
53d253d1f0 Updated Icelandic translation 2015-04-10 11:07:55 +00:00
Chun-wei Fan
5be441699b Visual Studio Builds: Fix Header "Installation"
gtksidebar.h was renamed as gtkstacksidebar.h, so fix that in the header
"installation".
2015-04-10 16:19:49 +08:00
Matthias Clasen
ccea7799c4 popover: Remove signal handlers in dispose
If we don't, they may get triggered at an inopportune
time later, causing us to crash.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1203499

https://bugzilla.gnome.org/show_bug.cgi?id=747539
2015-04-09 06:40:12 -04:00
Sveinn í Felli
755bda4bf5 Updated Icelandic translation 2015-04-09 10:31:51 +00:00
Matthias Clasen
ed36e29ec4 wayland: Wait for output and seat information
When we open the connection, we get the wl_output object,
but we return before all the information such as monitor
geometry has arrived, which causes us to misinform early
users of this information. Do a roundtrip here that causes
us to wait until the information is complete. Do the same
for seats, just in case.
https://bugzilla.gnome.org/show_bug.cgi?id=747471
2015-04-09 06:01:39 -04:00
Matthias Clasen
3a40225872 Make gtk-update-icon-cache not fall over leftover temp files
This is a followup to 0fd185fa6d. There is no
good reason to only try again if --force is passed. Do it
always.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1194957
2015-04-08 20:35:10 -04:00
Matthias Clasen
9753499a77 tree view: Avoid a crash with rubberbanding
When a treeview is destroyed while rubberbanding is going
on, we crash because the rb tree is nuked before we want
to access it to stop the rubberbanding. To avoid this crash
end the rubberbanding early in destroy().

See
https://bugzilla.redhat.com/show_bug.cgi?id=1173904
2015-04-08 18:57:26 -04:00
Matthias Clasen
3894d1923c GtkApplication: avoid a crash
It can apparently happen that we get focus in events
on windows after gtk_application_shutdown() has been
called. Avoid an unnecessary crash in this case.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1176339
2015-04-08 15:46:07 -04:00
Matthias Clasen
7963f68929 Revert "image: Optimize non-resize changes"
This reverts commit fef7d65685.

We're still seeing regressions from this, see
http://bugzilla.redhat.com/show_bug.cgi?id=1208183
2015-04-08 14:18:08 -04:00
Matthias Clasen
2baadce9c6 3.16.1 3.16.1 2015-04-07 08:08:12 -04:00
Matthias Clasen
f65d46ff2f Fix indicator proximity checks
The coordinate translations here were not working properly
for window widgets inside the scrolled window, as can be
seen e.g. for the horizontal scrollbar of the 'Tree View'
example in gtk3-demo.

https://bugzilla.gnome.org/show_bug.cgi?id=747406
2015-04-07 06:31:36 -04:00
Victor Ibragimov
28cc8dc745 Updated Tajik translation 2015-04-07 05:11:24 +00:00