]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agoBump version
Matthias Clasen [Tue, 23 Oct 2012 00:45:02 +0000 (20:45 -0400)]
Bump version

11 years ago3.7.0
Matthias Clasen [Tue, 23 Oct 2012 00:44:24 +0000 (20:44 -0400)]
3.7.0

11 years agoBe robust against unrealized windows in GtkWindowAccessible
Matthias Clasen [Mon, 22 Oct 2012 23:42:41 +0000 (19:42 -0400)]
Be robust against unrealized windows in GtkWindowAccessible

Based on a patch by Albert Astals Cid,
https://bugzilla.gnome.org/show_bug.cgi?id=686152

11 years agoForgotten fixup
Matthias Clasen [Mon, 22 Oct 2012 23:41:14 +0000 (19:41 -0400)]
Forgotten fixup

This was meant to be included in the previous commit :-(

11 years agotreeview: Add support for styling the dragged header
Stefano Facchini [Thu, 27 Sep 2012 17:07:42 +0000 (19:07 +0200)]
treeview: Add support for styling the dragged header

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

11 years agotreeview: Move the dragged header in the headers window
Stefano Facchini [Thu, 27 Sep 2012 16:08:44 +0000 (18:08 +0200)]
treeview: Move the dragged header in the headers window

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

11 years agoUse named union for _GtkSymbolicColor in gtk/gtksymboliccolor.c
Matthias Clasen [Mon, 22 Oct 2012 22:58:32 +0000 (18:58 -0400)]
Use named union for _GtkSymbolicColor in gtk/gtksymboliccolor.c

Patch by Richard Lloyd,
https://bugzilla.gnome.org/show_bug.cgi?id=686366

11 years agoscrollbar: remove unused variable
Cosimo Cecchi [Mon, 22 Oct 2012 22:39:42 +0000 (18:39 -0400)]
scrollbar: remove unused variable

My bad.

11 years agonotebook: return TRUE for drag-motion event when over tabs
Cosimo Cecchi [Thu, 20 Sep 2012 00:56:26 +0000 (20:56 -0400)]
notebook: return TRUE for drag-motion event when over tabs

The GtkNotebook drag-motion event handler may install a timeout when
hovering over a tab, in order to switch to it.
On the other hand it's desirable for applications to use the empty tab
area as a drop target, so the drag-motion handler returns FALSE
(also in case it installs the switch tab timeout), as explained in
https://bugzilla.gnome.org/show_bug.cgi?id=350665.

Unfortunately, applications can use the tab label widget (or a child
of it) as a different drop target area, and install their own
drag-motion handler there.
In this scenario, the timeout will still be installed by GtkNotebook's
handler, but since it returns FALSE, it will never get the matching
drag-leave event, causing it to trigger also when the mouse pointer
moved elsewhere before it expired.

Fix this by returning TRUE from drag-motion when the event is over a
tab. Note that this makes automatic tab switching not work anymore when
drag and drop is handled in the tab label widget; applications are
expected to also handle tab switching if desired in such a case.

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

11 years agonotebook: consolidate code to remove the switch tab timer
Cosimo Cecchi [Wed, 19 Sep 2012 21:01:00 +0000 (17:01 -0400)]
notebook: consolidate code to remove the switch tab timer

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

11 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Mon, 22 Oct 2012 19:01:01 +0000 (22:01 +0300)]
[l10n] Updated Estonian translation

11 years agoscale: update style properties on GtkRange at init
Cosimo Cecchi [Mon, 22 Oct 2012 17:13:11 +0000 (13:13 -0400)]
scale: update style properties on GtkRange at init

Same fix as in ef027c93d49e2e31ccb8c181d0096c705c141906, but for
the GtkScale subclass of GtkRange.

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

11 years agoscrollbar: update style properties on GtkRange at init
Cosimo Cecchi [Mon, 22 Oct 2012 15:42:55 +0000 (11:42 -0400)]
scrollbar: update style properties on GtkRange at init

GtkScrollbar used to rely on style-updated being emitted every time
after the widget was created in order to set the right values from its
style properties on GtkRange.
Nowadays we try to be smarter and avoid emitting style-updated at
creation time, so we need to manually initialize the GtkRange values.

This fixes a regression from 35e36b9fe506143f722a00f26a86143f9c95b740.

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

11 years agoFix out of source tree building for gdk/broadway
Jean Parpaillon [Mon, 15 Oct 2012 14:16:51 +0000 (14:16 +0000)]
Fix out of source tree building for gdk/broadway

This patch fix compilation when building out of source tree (gdk/broadway dir).

Signed-off-by: Colin Walters <walters@verbum.org>
11 years agoUpdated Slovak translation
Pavol Šimo [Sat, 20 Oct 2012 18:46:03 +0000 (19:46 +0100)]
Updated Slovak translation

11 years agoUpdated Galician translations
Fran Diéguez [Sat, 20 Oct 2012 11:09:24 +0000 (13:09 +0200)]
Updated Galician translations

11 years agodocs: fix typo on 'Getting Started with Gtk+' page
Tim-Philipp Müller [Sat, 20 Oct 2012 10:25:02 +0000 (11:25 +0100)]
docs: fix typo on 'Getting Started with Gtk+' page

11 years agoUpdated Lithuanian translation
Aurimas Černius [Fri, 19 Oct 2012 17:45:59 +0000 (20:45 +0300)]
Updated Lithuanian translation

11 years agoUpdate Czech translation
Petr Kovar [Fri, 19 Oct 2012 11:25:50 +0000 (13:25 +0200)]
Update Czech translation

11 years agowayland: Update to reflect protocol changes
Scott Moreau [Wed, 17 Oct 2012 02:38:41 +0000 (20:38 -0600)]
wayland: Update to reflect protocol changes

11 years agoUpdate Galician translations
Fran Diéguez [Thu, 18 Oct 2012 08:53:55 +0000 (10:53 +0200)]
Update Galician translations

11 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 18 Oct 2012 06:16:39 +0000 (08:16 +0200)]
Updated Slovenian translation

11 years agoFix duplicate columns in filechooser entry completion
Matthias Clasen [Thu, 18 Oct 2012 01:21:09 +0000 (21:21 -0400)]
Fix duplicate columns in filechooser entry completion

This partically reverts commit
331bba1ad6c5d9535fc5a827b91019f5824e25a7, which broke documented
behaviour.

11 years agomenubutton: don't refer to the non-existant menu property
Cosimo Cecchi [Wed, 17 Oct 2012 21:02:53 +0000 (17:02 -0400)]
menubutton: don't refer to the non-existant menu property

7c6454246e7fa181d9e16f3520bc6d3765168f40 removed the property, but
forgot to change the name in a g_object_notify().

11 years agoUpdated Serbian translation
Мирослав Николић [Wed, 17 Oct 2012 20:24:36 +0000 (22:24 +0200)]
Updated Serbian translation

11 years agoUpdated Indonesian translation
Andika Triwidada [Wed, 17 Oct 2012 16:53:04 +0000 (23:53 +0700)]
Updated Indonesian translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 17 Oct 2012 16:05:57 +0000 (18:05 +0200)]
Updated Spanish translation

11 years agolevel-bar: Fix typo
Stefano Facchini [Wed, 17 Oct 2012 14:09:08 +0000 (16:09 +0200)]
level-bar: Fix typo

11 years agoscrolledwindow: set GDK_EXPOSURE_MASK on the overshoot window
Cosimo Cecchi [Wed, 17 Oct 2012 04:59:59 +0000 (00:59 -0400)]
scrolledwindow: set GDK_EXPOSURE_MASK on the overshoot window

Currently we use gtk_style_context_set_background() when the state flags
change in order to propagate the background color to the overshoot
window, but this is actually only needed because the window doesn't get
expose events, since we always draw a full background in draw().
This also fixes some problems when the GdkWindow of the scrolled
window's child is composited, as seen in oxygen-gtk3.

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

11 years agolevel-bar: add support for RTL locales
Stefano Facchini [Tue, 18 Sep 2012 12:19:01 +0000 (14:19 +0200)]
level-bar: add support for RTL locales

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

11 years agolevel-bar: add an "inverted" property like GtkProgressBar
Stefano Facchini [Tue, 18 Sep 2012 12:05:45 +0000 (14:05 +0200)]
level-bar: add an "inverted" property like GtkProgressBar

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

11 years agoAdd gdk version macros for 3.8
Stefano Facchini [Wed, 19 Sep 2012 11:33:26 +0000 (13:33 +0200)]
Add gdk version macros for 3.8

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

11 years agoGtkMenuButton: remove menu property as it is replaced by popup.
Ignacio Casal Quinteiro [Wed, 17 Oct 2012 12:07:31 +0000 (14:07 +0200)]
GtkMenuButton: remove menu property as it is replaced by popup.

See that it was already announced to be removed before 3.6.0
but we forgot.

11 years agocssshadowsvalue: handle gtk_css_value_transition returning NULL
Cosimo Cecchi [Tue, 16 Oct 2012 18:22:24 +0000 (14:22 -0400)]
cssshadowsvalue: handle gtk_css_value_transition returning NULL

The implementation of transition for GtkCssShadowValue can return NULL
at least when the two values have a different inset; all other parts of
the GTK/CSS machinery (e.g. GtkCssArrayValue) handle this by returning
NULL too. Instead, GtkCssShadowsValue was returning an invalid value,
where "len" was set, but some values in the array were NULL, which would
lead to a segfault when this value is later evaluated by the compute
function.

Fix this by making GtkCssShadowsValue return NULL if a shadow transition
fails, like GtkCssArrayValue does.

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

11 years agoreftests: fix the linear-gradient reftest
Cosimo Cecchi [Tue, 16 Oct 2012 17:02:55 +0000 (13:02 -0400)]
reftests: fix the linear-gradient reftest

Don't use a repeating linear gradient, since it can't be easily
reftested against a non-repeating one for the reasons described in the
test header.
Instead, add a separate test for repeating gradients (against another
repeating gradient).

This makes the test pass, so it can be added to the Makefile now.

11 years agocssshadow: plug a cairo_surface_t leak
Cosimo Cecchi [Tue, 16 Oct 2012 15:54:33 +0000 (11:54 -0400)]
cssshadow: plug a cairo_surface_t leak

We were never destroying the cairo surface we use for blurring, which
would lead to a huge leak.

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

11 years agocsskeyframes: unref GtkCssValues when free-ing
Cosimo Cecchi [Tue, 16 Oct 2012 15:52:59 +0000 (11:52 -0400)]
csskeyframes: unref GtkCssValues when free-ing

We assume a reference to all the GtkCssValues we store, so we need to
release it when free-ing.

11 years agogradient: plug a GtkCssValue refleak
Cosimo Cecchi [Tue, 16 Oct 2012 15:51:54 +0000 (11:51 -0400)]
gradient: plug a GtkCssValue refleak

Since _gtk_symbolic_color_resolve_full() returns a reference to a
GtkCssValue.

11 years agocsscomputedvalues: plug a refleak
Cosimo Cecchi [Tue, 16 Oct 2012 15:49:57 +0000 (11:49 -0400)]
csscomputedvalues: plug a refleak

_gtk_css_keyframes_compute() returns a reference to a GtkCssKeyframes,
and _gtk_css_animation_new() takes another reference.

11 years agobump version
Matthias Clasen [Tue, 16 Oct 2012 10:42:49 +0000 (06:42 -0400)]
bump version

11 years ago3.6.1
Matthias Clasen [Tue, 16 Oct 2012 02:30:17 +0000 (22:30 -0400)]
3.6.1

11 years agoFix css parser tests
Matthias Clasen [Tue, 16 Oct 2012 10:00:40 +0000 (06:00 -0400)]
Fix css parser tests

Parsing a shorthand background property was running into unexpected
errors when trying position values where there were none. To fix this,
introduce a try_parse variant of the position parse function that
silently returns NULL.

11 years agoFix 'make check'
Matthias Clasen [Tue, 16 Oct 2012 02:47:30 +0000 (22:47 -0400)]
Fix 'make check'

11 years agoappchooserwidget: check for g_app_info_should_show()
Cosimo Cecchi [Mon, 15 Oct 2012 22:45:49 +0000 (18:45 -0400)]
appchooserwidget: check for g_app_info_should_show()

This ensures NoDisplay=true or NotShowIn/OnlyShowIn values in the
desktop file are respected.

11 years agoa11y: fix private strict regression
Cosimo Cecchi [Mon, 15 Oct 2012 21:09:04 +0000 (17:09 -0400)]
a11y: fix private strict regression

Commit 0bbfcc249191026a1ee822545398ec6e5e36f7f4 added a private struct
for GtkImageAccessible, but forgot to call g_type_class_add_private().

11 years agoa11y: fix the build
Cosimo Cecchi [Mon, 15 Oct 2012 15:32:56 +0000 (11:32 -0400)]
a11y: fix the build

Fix a typo introduced in 0ad379708f79dbff916b1fcd431d3e3114bf8e25

11 years agoAdd private structs to all remaining headers
Matthias Clasen [Mon, 15 Oct 2012 10:25:01 +0000 (06:25 -0400)]
Add private structs to all remaining headers

These are not used currently. Just put them in now in
case we need them in the future.

11 years agoGtkWidgetAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 10:04:11 +0000 (06:04 -0400)]
GtkWidgetAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkWidgetAccessible innards
from several accessible implementations.

11 years agoGtkTreeViewAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 09:56:41 +0000 (05:56 -0400)]
GtkTreeViewAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkToplevelAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 09:52:04 +0000 (05:52 -0400)]
GtkToplevelAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkToplevelAccessible innards
from the GtkWindowAccessible implementation.

11 years agoGtkTextViewAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 09:31:09 +0000 (05:31 -0400)]
GtkTextViewAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkTextCellAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 01:21:34 +0000 (21:21 -0400)]
GtkTextCellAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkRendererCellAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 01:07:46 +0000 (21:07 -0400)]
GtkRendererCellAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkRendererCellAccessible innards
from various cell accessible implementations.

11 years agoGtkRadioMenuItemAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 00:48:30 +0000 (20:48 -0400)]
GtkRadioMenuItemAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkRadioButtonAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 00:18:57 +0000 (20:18 -0400)]
GtkRadioButtonAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkNotebookPageAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 00:15:28 +0000 (20:15 -0400)]
GtkNotebookPageAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkNotebookAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 00:09:58 +0000 (20:09 -0400)]
GtkNotebookAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkMenuItemAccessible: add a private struct
Matthias Clasen [Mon, 15 Oct 2012 00:01:37 +0000 (20:01 -0400)]
GtkMenuItemAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkLinkButtonAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 23:55:59 +0000 (19:55 -0400)]
GtkLinkButtonAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkLabelAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 23:51:14 +0000 (19:51 -0400)]
GtkLabelAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years ago GtkImageCellAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 23:43:47 +0000 (19:43 -0400)]
 GtkImageCellAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkImageAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 23:38:08 +0000 (19:38 -0400)]
GtkImageAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkIconViewAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 20:06:08 +0000 (16:06 -0400)]
GtkIconViewAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkEntryAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 19:59:58 +0000 (15:59 -0400)]
GtkEntryAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkContainerCellAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 19:52:29 +0000 (15:52 -0400)]
GtkContainerCellAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkContainerCellAccessible
innards from the GtkCellAccessible implementation.

11 years agoGtkContainerAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 19:11:17 +0000 (15:11 -0400)]
GtkContainerAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.
This also required removing access to GtkContainerAccessible innards
from the GtkMenuItemAccessible implementation.

11 years agoRemove leftover from commit 7264a996fe6bb4a21f6c8453b1acd4dc1a2daf79
Stefano Facchini [Sun, 14 Oct 2012 09:53:15 +0000 (11:53 +0200)]
Remove leftover from commit 7264a996fe6bb4a21f6c8453b1acd4dc1a2daf79

11 years agoGtkComboBoxAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 06:47:22 +0000 (02:47 -0400)]
GtkComboBoxAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkBooleanCellAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 06:40:20 +0000 (02:40 -0400)]
GtkBooleanCellAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoGtkArrowAccessible: add a private struct
Matthias Clasen [Sun, 14 Oct 2012 06:39:32 +0000 (02:39 -0400)]
GtkArrowAccessible: add a private struct

Move instance fields to a private struct, in preparation
for installing a11y headers.

11 years agoFixed Russian translation: Bug 646221
Yuri Myasoedov [Sat, 13 Oct 2012 10:32:34 +0000 (14:32 +0400)]
Fixed Russian translation: Bug 646221

11 years agotests: Add test for latest bugfix
Benjamin Otte [Fri, 12 Oct 2012 15:45:11 +0000 (17:45 +0200)]
tests: Add test for latest bugfix

11 years agocssvalue: Print an error when failing to parse background-position
Benjamin Otte [Fri, 12 Oct 2012 15:36:28 +0000 (17:36 +0200)]
cssvalue: Print an error when failing to parse background-position

... in the case where a completely invalid value was used.

11 years agotest(1) uses '=' to test if strings are identical
Patrick Welche [Wed, 10 Oct 2012 23:09:14 +0000 (00:09 +0100)]
test(1) uses '=' to test if strings are identical

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

11 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 11 Oct 2012 18:52:47 +0000 (20:52 +0200)]
Updated Norwegian bokmål translation.

11 years agoUpdated POTFILES.skip
Piotr Drąg [Wed, 10 Oct 2012 20:40:58 +0000 (22:40 +0200)]
Updated POTFILES.skip

11 years agoAdd a visual test for vertical inline toolbars
Cosimo Cecchi [Wed, 10 Oct 2012 17:43:17 +0000 (13:43 -0400)]
Add a visual test for vertical inline toolbars

11 years agotoolbar: don't forget to set orientable style classes
Cosimo Cecchi [Wed, 10 Oct 2012 15:36:28 +0000 (11:36 -0400)]
toolbar: don't forget to set orientable style classes

So that themes can select for vertical toolbars.

11 years agoUpdated Slovak translation
Pavol Klačanský [Wed, 10 Oct 2012 11:41:11 +0000 (12:41 +0100)]
Updated Slovak translation

11 years ago[l10n] Update Japanese translation
OKANO Takayoshi [Wed, 10 Oct 2012 05:23:36 +0000 (14:23 +0900)]
[l10n] Update Japanese translation

11 years agoquartz: Actually use the window background PATTERN color
Kristian Rietveld [Thu, 4 Oct 2012 07:06:01 +0000 (09:06 +0200)]
quartz: Actually use the window background PATTERN color

Before we used a window's background color, which resulted in corrupted
display in some cases, presumably because we didn't reset the active
pattern. This patch seems to eliminate the observed corruption.
(cherry picked from commit 0e42cf81f1dad319489e447c6c4e640bed2ab915)

11 years agogdk: only emit display-opened after the default display has been set
Cosimo Cecchi [Mon, 8 Oct 2012 22:44:09 +0000 (18:44 -0400)]
gdk: only emit display-opened after the default display has been set

This avoids a case where the display has been opened, but calling
gdk_display_get_default() in the callback doesn't work.

Reviewed-by: Benjamin Otte <otte@redhat.com>
11 years agol10n: Updated Italian translation
Luca Ferretti [Sun, 7 Oct 2012 19:18:05 +0000 (21:18 +0200)]
l10n: Updated Italian translation

11 years agoFixed Russian translation
Yuri Myasoedov [Sun, 7 Oct 2012 13:16:09 +0000 (17:16 +0400)]
Fixed Russian translation

11 years agocssimage: Fix gradient start/end computation
Benjamin Otte [Sat, 6 Oct 2012 19:54:10 +0000 (15:54 -0400)]
cssimage: Fix gradient start/end computation

This computation is only supposed to happen for repeating gradients, not
for all of them.

11 years agoanimations: Start transitions from the current value
Benjamin Otte [Fri, 5 Oct 2012 16:49:39 +0000 (18:49 +0200)]
animations: Start transitions from the current value

... instead of from the intrinsic value. This way, we respect running
animations.

Note that the concept of "reversing" transitions is not implemented yet.

11 years agoanimations: Don't set animated values for finished transitions
Benjamin Otte [Fri, 5 Oct 2012 16:45:37 +0000 (18:45 +0200)]
animations: Don't set animated values for finished transitions

Otherwise, that value will never get reset and remain frozen in time.
This is problematic for example when the value is inherited and the
parent changes the value.

11 years agox11: Put function in header, don't declare them extern
Benjamin Otte [Fri, 5 Oct 2012 14:46:49 +0000 (16:46 +0200)]
x11: Put function in header, don't declare them extern

11 years agogdk: Ignore headers for declared functions
Benjamin Otte [Fri, 5 Oct 2012 14:46:36 +0000 (16:46 +0200)]
gdk: Ignore headers for declared functions

11 years agoscrolledwindow: fix wrong allocation of padding and borders
Cosimo Cecchi [Thu, 4 Oct 2012 04:58:29 +0000 (00:58 -0400)]
scrolledwindow: fix wrong allocation of padding and borders

When positioning the scrollbar we were doing several miscalculations
when accounting for CSS paddings and borders. This also fixes a number
of problems with RTL and when scrollbars-within-bevel is FALSE.

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

11 years ago[l10n] Added Khmer translation
Khoem Sokhem [Wed, 3 Oct 2012 15:47:46 +0000 (17:47 +0200)]
[l10n] Added Khmer translation

11 years agogtk/tests: Fix for -Wmissing-declarations
Benjamin Otte [Tue, 2 Oct 2012 17:30:50 +0000 (19:30 +0200)]
gtk/tests: Fix for -Wmissing-declarations

I'm adding a bunch of fixes for gcc complaining about
-Wmissing-declarations after finding a bunch of cases today where I
had forgotten to make functions static in the CSS code.

This patch fixes the tests in gtk/tests.

After this last patch, the gtk/ subdir should now compile without
warnings when this flag is enabled.

11 years agocssimage: Add transition code for linear-gradient()
Benjamin Otte [Tue, 2 Oct 2012 17:30:02 +0000 (19:30 +0200)]
cssimage: Add transition code for linear-gradient()

This ensures feature-parity with the CSS spec and the -gtk-gradient()
notation.

11 years agogtk: Put private functions in headers and include those
Benjamin Otte [Tue, 2 Oct 2012 17:27:25 +0000 (19:27 +0200)]
gtk: Put private functions in headers and include those

This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.

It puts functions into headers and includes those headers both where the
functions are defined and where they function are used.

11 years agogtk: Move gtk_menu_is_empty() function to only user
Benjamin Otte [Tue, 2 Oct 2012 17:25:51 +0000 (19:25 +0200)]
gtk: Move gtk_menu_is_empty() function to only user

The function was private and only used by gtkmenuitem.c.

Part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.

11 years agogtk: Make functions static that don't need to be non-static
Benjamin Otte [Tue, 2 Oct 2012 17:23:29 +0000 (19:23 +0200)]
gtk: Make functions static that don't need to be non-static

Also remove the starting underscore from function names where
appropriate, as those functions are static now and not exported anymore.

This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.

11 years agogtk: Add get_type() function declarations for private objects
Benjamin Otte [Tue, 2 Oct 2012 17:19:50 +0000 (19:19 +0200)]
gtk: Add get_type() function declarations for private objects

I'm adding a bunch of fixes for gcc complaining about
-Wmissing-declarations.

This set of patches makes private classes in gtk/*.c that use
G_DEFINE_TYPE() safe by adding definitions for the get_type() function
that can't be made static.

11 years agoa11y: Fix for -Wmissing-declarations
Benjamin Otte [Tue, 2 Oct 2012 17:13:30 +0000 (19:13 +0200)]
a11y: Fix for -Wmissing-declarations

I'll add a bunch of fixes for gcc complaining about
-Wmissing-declarations after finding a bunch of cases today where I had
forgotten to make functions static in the CSS code.

A thorn in those patches is G_DEFINE_TYPE() which doesn't allow making
the get_type() function static, so I added definitions for that function
above the G_DEFINE_TYPE().

After those patches, GTK should compile without warnings when this flag
is enabled.

11 years agotests: Remove gdk-pixbuf hacks
Benjamin Otte [Tue, 2 Oct 2012 15:21:11 +0000 (17:21 +0200)]
tests: Remove gdk-pixbuf hacks

The code used to check for uninstalled gdk-pixbuf. Since gdk-pixbuf is
an external library these days, those checks aren't necessary anymore.

11 years agowindow: Delay showing auto mnemonics on focus in
Rui Matos [Fri, 21 Sep 2012 03:11:43 +0000 (05:11 +0200)]
window: Delay showing auto mnemonics on focus in

Just as in ed7a417dcbe3f0723e5dcef07d4bb566d77b7205 we don't want to
show auto mnemonics immediately but only after a short delay. In
particular this allows to capture screenshots without visible
mnemonics.

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