]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agoa11y: remove implementation for [add/remove]_global_event_listener
Alejandro Piñeiro [Mon, 25 Jun 2012 17:45:25 +0000 (19:45 +0200)]
a11y: remove implementation for [add/remove]_global_event_listener

Since release 2.5.3, ATK provides an implementation for those
methods, so toolkits doesn't need to implement them.

11 years agoUpdated Telugu Translation
Sasi Bhushan Boddepalli [Wed, 27 Jun 2012 07:39:08 +0000 (13:09 +0530)]
Updated Telugu Translation

11 years agoUpdated Bulgarian translation
Alexander Shopov [Wed, 27 Jun 2012 04:14:05 +0000 (07:14 +0300)]
Updated Bulgarian translation

11 years agobuild: Drop --without-atk-bridge option
Colin Walters [Tue, 26 Jun 2012 13:41:33 +0000 (09:41 -0400)]
build: Drop --without-atk-bridge option

Instead, always build it if and only if X11.  This reduces the set of
supported configurations.

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

11 years agowidget-factory: add a symbolic icon column in the treeview example
Cosimo Cecchi [Tue, 26 Jun 2012 15:41:21 +0000 (11:41 -0400)]
widget-factory: add a symbolic icon column in the treeview example

11 years agoBump version
Matthias Clasen [Mon, 25 Jun 2012 21:45:26 +0000 (17:45 -0400)]
Bump version

11 years ago3.5.6
Matthias Clasen [Mon, 25 Jun 2012 21:20:17 +0000 (17:20 -0400)]
3.5.6

11 years agoDon't export private GtkMountOperationHandler api
Matthias Clasen [Mon, 25 Jun 2012 20:26:41 +0000 (16:26 -0400)]
Don't export private GtkMountOperationHandler api

11 years agoUpdates for 3.5.6
Matthias Clasen [Mon, 25 Jun 2012 19:01:14 +0000 (15:01 -0400)]
Updates for 3.5.6

11 years agoradiobutton: add missing (element-type) annotation for radio groups
Cosimo Cecchi [Wed, 30 May 2012 21:31:02 +0000 (17:31 -0400)]
radiobutton: add missing (element-type) annotation for radio groups

The GSLists should specify their element-type in every annotation. We
are missing some.

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

11 years agomenu: add missing (scope async) annotation to gtk_menu_popup()
Cosimo Cecchi [Wed, 30 May 2012 21:30:08 +0000 (17:30 -0400)]
menu: add missing (scope async) annotation to gtk_menu_popup()

Or the g-i scanner will emit a warning.

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

11 years agowidget: silence g-i scanner warning
Cosimo Cecchi [Wed, 30 May 2012 21:31:57 +0000 (17:31 -0400)]
widget: silence g-i scanner warning

The parameter should be named the same in the definition and the
declararion.

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

11 years agofontchooser: silence g-i scanner warning
Cosimo Cecchi [Wed, 30 May 2012 21:29:30 +0000 (17:29 -0400)]
fontchooser: silence g-i scanner warning

These parameters should be named the same in the definition and the
declaration.

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

11 years agoactionable: silence g-i scanner warning
Cosimo Cecchi [Wed, 30 May 2012 21:28:06 +0000 (17:28 -0400)]
actionable: silence g-i scanner warning

The parameter should be named the same in the definition and the
declararion.

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

11 years agoapplication: fix a typo in introspection annotation
Cosimo Cecchi [Wed, 30 May 2012 21:12:04 +0000 (17:12 -0400)]
application: fix a typo in introspection annotation

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

11 years agoBug 676077: Fix handling of Keyboard Input on Windows
Chun-wei Fan [Tue, 15 May 2012 08:16:25 +0000 (16:16 +0800)]
Bug 676077: Fix handling of Keyboard Input on Windows

Don't use ASCII control characters to denote the input of Esc, Tab,
Return/Enter, Backspace and Delete, as it seems that it is not how
Windows handle them, and they cause weird characters to appear in the
input field on GTK+3 programs in non-English Windows.  Instead, let
these keys be handled as-is on Windows, like what is done in GTK+-2.x.

Checked with mclasen on IRC, and thanks to the people who verified the
patch to not break anything on English Windows.

11 years agoRename gtk_icon_view_get_cell_area to gtk_icon_view_get_cell_rect
Alexander Larsson [Mon, 25 Jun 2012 13:00:42 +0000 (15:00 +0200)]
Rename gtk_icon_view_get_cell_area to gtk_icon_view_get_cell_rect

get_cell_area was "conflicting" with the property named "cell-area"
which is something different.

11 years agoUpdated Galician translations
Fran Diéguez [Sun, 24 Jun 2012 21:57:58 +0000 (23:57 +0200)]
Updated Galician translations

11 years agoEnable gio-unix for Quartz
John Ralls [Sun, 24 Jun 2012 11:36:51 +0000 (12:36 +0100)]
Enable gio-unix for Quartz

Fixes a compile failure because gdbus-config uses G_OS_UNIX to guard
gio-unix features instead of HAVE_GIO_UNIX.

11 years agoCosmetics
Matthias Clasen [Sat, 23 Jun 2012 17:08:03 +0000 (13:08 -0400)]
Cosmetics

11 years agoFix a compiler warning
Matthias Clasen [Sat, 23 Jun 2012 17:07:47 +0000 (13:07 -0400)]
Fix a compiler warning

This was introduced in the previous commit.

11 years agoGtkNotebook: Fix reverse tab order
Matthias Clasen [Sat, 23 Jun 2012 16:20:54 +0000 (12:20 -0400)]
GtkNotebook: Fix reverse tab order

When using Shift-Tab to move the focus out of page content onto
the tab label, we end up in a situation where both Tab and Shift-Tab
move focus back into the page, which is not really what is expected
when the notebook is part of a dialog.

Instead, arrange things so that using Shift-Tab with focus on a
tab label moves the focus out of the notebook.

http://bugzilla.gnome.org/show_bug.cgi?id=669986

11 years agogtkdbusinterfaces: Fix srcdir != builddir
Colin Walters [Sat, 23 Jun 2012 16:19:06 +0000 (12:19 -0400)]
gtkdbusinterfaces: Fix srcdir != builddir

11 years agogtk: add gtkdbusinterfaces.xml to EXTRA_DIST
Rico Tzschichholz [Sat, 23 Jun 2012 15:48:27 +0000 (17:48 +0200)]
gtk: add gtkdbusinterfaces.xml to EXTRA_DIST

11 years agoGtkNotebook: Maintain invariants during tab dnd
Matthias Clasen [Sat, 23 Jun 2012 13:59:10 +0000 (09:59 -0400)]
GtkNotebook: Maintain invariants during tab dnd

It turns out that we can end up removing a notebook child while
the tab is still 'detached'. Child removal causes
gtk_notebook_remove_tab_label() to be called on the tab label,
but that function did not deal with the eventuality that the tab
label may be a child of the dnd window.

http://bugzilla.gnome.org/show_bug.cgi?id=677943

11 years agoconfig.h.win32.in: Updates
Chun-wei Fan [Sat, 23 Jun 2012 04:59:51 +0000 (12:59 +0800)]
config.h.win32.in: Updates

Make it reflect the contents of the config.h.in template.

11 years agogtk/gtkcsseasevalue.c: Remove C99ism
Chun-wei Fan [Sat, 23 Jun 2012 04:48:32 +0000 (12:48 +0800)]
gtk/gtkcsseasevalue.c: Remove C99ism

11 years agoUpdate Visual C++ property sheets
Chun-wei Fan [Sat, 23 Jun 2012 04:47:31 +0000 (12:47 +0800)]
Update Visual C++ property sheets

"Install" the demo css files as well.

11 years agoFix the gtk3-demo Visual C++ projects
Chun-wei Fan [Sat, 23 Jun 2012 04:46:54 +0000 (12:46 +0800)]
Fix the gtk3-demo Visual C++ projects

Add the demos that were introduced recently in the projects.

11 years agogtk/Makefile.am: Fix Visual C++ disthook rules
Chun-wei Fan [Sat, 23 Jun 2012 04:15:59 +0000 (12:15 +0800)]
gtk/Makefile.am: Fix Visual C++ disthook rules

gtkdbusgenerated.c needs to be included in the projects as well.

11 years agoUpdate Visual C++ 2008 property sheet
Chun-wei Fan [Sat, 23 Jun 2012 04:14:35 +0000 (12:14 +0800)]
Update Visual C++ 2008 property sheet

Standardize on using $(CopyDir), as it is now done in the Visual C++ 2010
sheets, for consistency reasons.

11 years agobuild: Add --without-atk-bridge, only check for it on X11 platforms
Colin Walters [Fri, 22 Jun 2012 17:29:03 +0000 (13:29 -0400)]
build: Add --without-atk-bridge, only check for it on X11 platforms

Some builders using gtk3 outside of the GNOME cycle want an option to
avoid linking to atk-bridge-2.0.  Provide that, and at the same time
ensure we're only looking for it on X11 platforms.

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

11 years agomountoperation: use the Shell DBus proxy if available
Cosimo Cecchi [Thu, 21 Jun 2012 01:36:09 +0000 (21:36 -0400)]
mountoperation: use the Shell DBus proxy if available

Make GMountOperation look for an owner of org.Gtk.MountOperationHandler
if possible, and use it instead of the GTK-based dialogs.
This allows applications to use the implementation offered by the
desktop shell, if available, through a DBus private interface:
org.Gtk.MountOperationHandler.

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

11 years agoAdd gtk_icon_view_get_cell_area
Alexander Larsson [Tue, 19 Jun 2012 16:58:13 +0000 (18:58 +0200)]
Add gtk_icon_view_get_cell_area

This gets the current cell area of a particular item. Its similar
to gtk_tree_view_get_cell_area().

The code is extracted from gtk_icon_view_set_tooltip_cell which now
just calls the old code.

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

11 years agoFixed the issue reported in Bug #613561
Shankar Prasad [Fri, 22 Jun 2012 10:54:29 +0000 (16:24 +0530)]
Fixed the issue reported in Bug #613561

11 years agoGdkDevice: Fix an inverted assertion
Matthias Clasen [Wed, 20 Jun 2012 11:46:04 +0000 (07:46 -0400)]
GdkDevice: Fix an inverted assertion

gdk_device_list_slave_devices only makes sense to call on master
devices, yet its g_return_if_fail check made it reject such devices.

Pointed out by monty.

11 years agoa11y tests: update expected results
Matthias Clasen [Fri, 15 Jun 2012 21:38:15 +0000 (17:38 -0400)]
a11y tests: update expected results

11 years agoUpdated Telugu Translation
Sasi Bhushan Boddepalli [Wed, 20 Jun 2012 13:52:25 +0000 (19:22 +0530)]
Updated Telugu Translation

11 years agoFix a memory leak in GtkImage
Dan Vrátil [Wed, 20 Jun 2012 06:26:14 +0000 (08:26 +0200)]
Fix a memory leak in GtkImage

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

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 19 Jun 2012 15:07:09 +0000 (17:07 +0200)]
Updated Spanish translation

11 years agoGtkImage: fix get_property('stock')
Pavel Holejsovsky [Tue, 19 Jun 2012 12:35:57 +0000 (14:35 +0200)]
GtkImage: fix get_property('stock')

The code was trying to get icon's name instead of icon's stock-id.

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

11 years agoFix windres invocation
Руслан Ижбулатов [Sat, 12 May 2012 16:29:13 +0000 (20:29 +0400)]
Fix windres invocation

Signed-off-by: Chun-wei Fan <fanchunwei@src.gnome.org>
11 years agowidget: don't call gtk_style_context_set_background if app_paintable
Benjamin Otte [Mon, 18 Jun 2012 14:28:52 +0000 (10:28 -0400)]
widget: don't call gtk_style_context_set_background if app_paintable

When a widget is app_paintable, its background should not be drawn by
the theme, thus we should not try to override its background again when
style-updated is fired.
This is a bit of a hack, but it fixes gray surfaces observed for DnD
windows with recent GTK+.

11 years agoUpdated Arabic translation
Khaled Hosny [Sun, 17 Jun 2012 11:46:28 +0000 (13:46 +0200)]
Updated Arabic translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 15 Jun 2012 21:33:23 +0000 (23:33 +0200)]
Updated POTFILES.in

11 years agogtkmenutoolbutton: Use GtkMenuButton
Bastien Nocera [Wed, 30 May 2012 16:45:39 +0000 (17:45 +0100)]
gtkmenutoolbutton: Use GtkMenuButton

To implement the drop-down menu.

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

11 years agogtkmenubutton: Add menu button widget
Bastien Nocera [Tue, 29 May 2012 17:39:37 +0000 (18:39 +0100)]
gtkmenubutton: Add menu button widget

As used in Totem and gnome-contacts. The widget
takes either a GtkMenu or a GMenuModel to construct
its menu, and can be given a parent widget to use to
position the drop-down (as used in GtkMenuToolButton).

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

11 years agogtk: Always load the atk-bridge
Bastien Nocera [Wed, 13 Jun 2012 18:45:21 +0000 (19:45 +0100)]
gtk: Always load the atk-bridge

Slightly modified by Alejandro Piñeiro

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

11 years agoimage: Don't add border twice
Benjamin Otte [Fri, 15 Jun 2012 01:30:52 +0000 (03:30 +0200)]
image: Don't add border twice

Failed to delete these lines in d40c496e6eacb9f95c2b27eaebf58d320c2b9387

11 years agoreftests: Add a reftest for the empty iconview
Benjamin Otte [Fri, 15 Jun 2012 00:48:24 +0000 (02:48 +0200)]
reftests: Add a reftest for the empty iconview

11 years agoiconview: Special case the empty iconview
Benjamin Otte [Fri, 15 Jun 2012 00:44:45 +0000 (02:44 +0200)]
iconview: Special case the empty iconview

If the icon view is empty, we cannot get a reasonable size request from
the cell renderers. So all values we would compute are pretty much
useless.
So we special case it.

This also gets rid of a bunch of crashers from div-by-0 in corner cases.

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

11 years agoimage: background and border should be drawn around the widget
Benjamin Otte [Thu, 14 Jun 2012 18:06:39 +0000 (20:06 +0200)]
image: background and border should be drawn around the widget

... not around the contents. If you want the widget to not be larger
than the contents, don't use ALIGN_FILL.

11 years agoiconview: Add a descriptive function
Benjamin Otte [Thu, 14 Jun 2012 16:52:09 +0000 (18:52 +0200)]
iconview: Add a descriptive function

I want to special-case empty icon views in the sizing code to avoid
various bugs, and having such a function is nice.

11 years agoiconview: Ensure icons are at least 1x1 pixels
Benjamin Otte [Thu, 14 Jun 2012 16:44:06 +0000 (18:44 +0200)]
iconview: Ensure icons are at least 1x1 pixels

This is useful for 2 reasons:
(1) Items actually exist and are clickable
(2) Size computations don't divide by 0

I've not seen problems with this in the wild (mostly because
item-padding defaults to non-0), but noticed this while fixing other
bugs.

11 years agoiconview: Don't add item-padding
Benjamin Otte [Thu, 14 Jun 2012 05:35:15 +0000 (07:35 +0200)]
iconview: Don't add item-padding

... to item sizes when there are no items.

11 years agoiconview: clamp item size to be in [minimum, natural]
Benjamin Otte [Wed, 13 Jun 2012 17:26:09 +0000 (19:26 +0200)]
iconview: clamp item size to be in [minimum, natural]

Minimum size is necessary so you can see the item. If we can't get that
we need to scroll.
Natural as the maximum is used so that the spacing between items doesn't
increase when resizing the iconview, but empty space is added to the
right/bottom instead.

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

11 years agoiconview: Include column spacing in calculation
Benjamin Otte [Wed, 13 Jun 2012 02:56:22 +0000 (04:56 +0200)]
iconview: Include column spacing in calculation

The function is probably almost never used, so nobody has ever seen this
bug, but we should still get it right.

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

11 years agoiconview: Add documentation abour different sizes
Benjamin Otte [Wed, 13 Jun 2012 02:20:06 +0000 (04:20 +0200)]
iconview: Add documentation abour different sizes

Did I mention I hate code that has different kinds of "boxes" or
coordinate systems but no clear way to distinguish them?
It's all ints here...

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

11 years agoiconview: gtk_icon_view_compute_n_items_for_size bugfix
Hans de Goede [Tue, 12 Jun 2012 15:39:50 +0000 (17:39 +0200)]
iconview: gtk_icon_view_compute_n_items_for_size bugfix

While working on the "iconview: Don't shrink items" patch I noticed that
gtk_icon_view_compute_n_items_for_size modifies the natural and minimum
item sizes it got from gtk_icon_view_get_preferred_item_size when
calculating the max number of items which will fit, but later on it
checks against these sizes when calculating the item_size, and these
checks expect these values to be unmodified.

This patch fixes this by modifying the natural and minimum values in
advance and doing all computations with modified values.

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

11 years agoiconview: Don't shrink items
Benjamin Otte [Sun, 10 Jun 2012 14:28:47 +0000 (16:28 +0200)]
iconview: Don't shrink items

The previous code assumed that the width was always enough for more than
one column, which is obviously not correct when a number of columns is
hardcoded.

With this patch, it will now always check that the width is enough and
otherwise cause scrolling.

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

11 years agotoolbar: don't call gtk_style_context_set_background()
Cosimo Cecchi [Wed, 13 Jun 2012 23:38:42 +0000 (19:38 -0400)]
toolbar: don't call gtk_style_context_set_background()

GtkToolbar doesn't have its own GdkWindow to draw on (it calls
gtk_widget_set_has_window(FALSE) in _init), but only an event window
(input-only).
Since gtk_widget_get_window() in that case will return the GdkWindow of
the parent container, by calling gtk_style_context_set_background() here
we're overriding the base background of the container instead of our.
While in most cases this doesn't have any noticeable effect, since
the toplevel GtkWindow will paint its background on top of it at the
beginning of the draw cycle, when the classic window hierarchy is
broken, such as when widgets are rendered through a clutter-gtk
offscreen embedding, the background will become visible, which is
undesirable.
Fix this by having GtkToolbar not call gtk_style_context_set_background
in its style_updated handler.

11 years agoFix up the deprecation annotation for gtk_widget_get_pointer
Matthias Clasen [Wed, 13 Jun 2012 22:23:26 +0000 (18:23 -0400)]
Fix up the deprecation annotation for gtk_widget_get_pointer

When I added the versioned annotation, I accidentally backdated
it, so the Deprecated: tag in the docs said 3.4, but the annotation
said 3.0. Fix it so we say 3.4 in both places.

11 years agoassistant: Set the proper stock images on the proper buttons
Jasper St. Pierre [Tue, 12 Jun 2012 18:57:00 +0000 (14:57 -0400)]
assistant: Set the proper stock images on the proper buttons

Copy/paste typo.

11 years agoentry-completion: don't move to leftmost character with inline-selection
Cosimo Cecchi [Tue, 12 Jun 2012 04:13:55 +0000 (00:13 -0400)]
entry-completion: don't move to leftmost character with inline-selection

When inline-selection is set, and the completion popup is showing,
pressing left abruptly jumps to the beginning of the entry text.
This is not expected, since the cursor is at the end of the text before
the left key is pressed, and this behavior is completely inconsistent
with how an entry would normally behave.
The behavior can be observed in Epiphany by selecting a completion match
and pressing left.

This patch changes the code so that it just runs the default entry key
press keybindings in such a case.

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

11 years agostylecontext: pass down the requested change type to invalidation
Cosimo Cecchi [Tue, 12 Jun 2012 19:04:52 +0000 (15:04 -0400)]
stylecontext: pass down the requested change type to invalidation

<Company>: cosimoc: yes, that totally makes sense
<Company>: looks like a copy/paste error from when i factored out that
           function

11 years agofix a typo
Matthias Clasen [Wed, 13 Jun 2012 20:33:47 +0000 (16:33 -0400)]
fix  a typo

11 years agoliststore: Make gtk_list_store_reorder() introspectable
Martin Pitt [Tue, 12 Jun 2012 13:41:03 +0000 (15:41 +0200)]
liststore: Make gtk_list_store_reorder() introspectable

Mark the new_order argument as zero-terminated array, even though it does not
need to be zero terminated (it has an implicit length not given by a constant
or another method argument). It does not hurt if bindings append an extra zero
to the array as long as it has enough elements, and this makes the method
introspectable.

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

11 years agoapplication: Really allow NULL application-id
Christian Persch [Tue, 12 Jun 2012 14:13:06 +0000 (16:13 +0200)]
application: Really allow NULL application-id

While the docs were adjusted to claim that NULL application-id is allowed,
the code actually segfaulted on it.

11 years agotestscale: add a test for up/leftwards scales
Cosimo Cecchi [Tue, 12 Jun 2012 13:54:33 +0000 (09:54 -0400)]
testscale: add a test for up/leftwards scales

11 years agospinbutton: fix a typo
Cosimo Cecchi [Tue, 12 Jun 2012 13:36:55 +0000 (09:36 -0400)]
spinbutton: fix a typo

GTK_STATE_* -> GTK_STATE_FLAG_*

11 years agowidget-factory: Use GtkSearchEntry
Matthias Clasen [Tue, 12 Jun 2012 02:48:14 +0000 (22:48 -0400)]
widget-factory: Use GtkSearchEntry

11 years agoUse GtkSearchEntry
Matthias Clasen [Tue, 12 Jun 2012 02:45:31 +0000 (22:45 -0400)]
Use GtkSearchEntry

11 years agoUpdate docs for GtkEntry::activate
Matthias Clasen [Mon, 11 Jun 2012 23:27:25 +0000 (19:27 -0400)]
Update docs for GtkEntry::activate

Remove the 'you shall not connect' message from this signal.
While it is a keybinding signal, using it from applications is
fine and, in fact, expected.

11 years agogdk: annotate the attributes_mask type for gdk_window_new
Torsten Schönfeld [Sat, 18 Feb 2012 19:19:32 +0000 (20:19 +0100)]
gdk: annotate the attributes_mask type for gdk_window_new

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

11 years agogtk: Add GtkSearchEntry
Bastien Nocera [Fri, 1 Jun 2012 14:04:31 +0000 (15:04 +0100)]
gtk: Add GtkSearchEntry

Add a search entry widget with the recommended behaviour implemented.
As used in gnome-control-center, Totem, gnome-documents and many others.

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

11 years agogdk: add a missing annotation to GdkEventProperty
Torsten Schönfeld [Sat, 9 Jun 2012 22:03:31 +0000 (00:03 +0200)]
gdk: add a missing annotation to GdkEventProperty

Its 'state' field is of type GdkPropertyState.

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

11 years agogdk: add missing annotations to gdk_event_get_scroll_deltas
Torsten Schönfeld [Sat, 9 Jun 2012 21:45:23 +0000 (23:45 +0200)]
gdk: add missing annotations to gdk_event_get_scroll_deltas

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

11 years agoUpdated Greek translation
Κωσνταντίνος Χόρτης [Sun, 10 Jun 2012 10:46:48 +0000 (13:46 +0300)]
Updated Greek translation

11 years agoa11y: fix a typo leading to a crash
Cosimo Cecchi [Wed, 6 Jun 2012 13:22:29 +0000 (09:22 -0400)]
a11y: fix a typo leading to a crash

text can't be NULL here, or we would have failed way earlier.
The original code from gail returned if the renderer text was NULL, and
we have to do that, or we'll end up calling e.g.
g_utf8_offset_to_pointer() on a NULL pointer.

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

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

11 years agotests: add an unit test for the previous commits
Cosimo Cecchi [Thu, 7 Jun 2012 20:41:18 +0000 (16:41 -0400)]
tests: add an unit test for the previous commits

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

11 years agotreestore: fix transformation of GValues on set
Cosimo Cecchi [Thu, 7 Jun 2012 20:05:27 +0000 (16:05 -0400)]
treestore: fix transformation of GValues on set

There are three bugs here:
- we should check if the value type is transformable instead of being
  compatible, since that's all we care about in order to call
  g_value_transform()
- the check is only meaningful in the direction
  passed-in-type->column-type and not viceversa
- we should init the destination GValue to the column type before
  calling g_value_transform on it, or the destination type information
  will be missing and the method will fail

Thanks to Jasper St. Pierre and Colin Walters for all the help in
tracking this down.

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

11 years agoliststore: fix transformation of GValues on set
Cosimo Cecchi [Thu, 7 Jun 2012 20:01:02 +0000 (16:01 -0400)]
liststore: fix transformation of GValues on set

There are three bugs here:
- we should check if the value type is transformable instead of being
  compatible, since that's all we care about in order to call
  g_value_transform()
- the check is only meaningful in the direction
  passed-in-type->column-type and not viceversa
- we should init the destination GValue to the column type before
  calling g_value_transform on it, or the destination type information
  will be missing and the method will fail

Thanks to Jasper St. Pierre and Colin Walters for all the help in
tracking this down.

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

11 years agobuild: Fix MKDIR_P for recent automake
Marc-Antoine Perennou [Thu, 7 Jun 2012 14:35:12 +0000 (16:35 +0200)]
build: Fix MKDIR_P for recent automake

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11 years agoPost-release version bump
Matthias Clasen [Mon, 4 Jun 2012 11:52:05 +0000 (11:52 +0000)]
Post-release version bump

11 years agoBump version to 3.5.4
Matthias Clasen [Mon, 4 Jun 2012 10:32:30 +0000 (06:32 -0400)]
Bump version to 3.5.4

11 years agoUpdates for 3.5.4
Matthias Clasen [Sun, 3 Jun 2012 18:27:20 +0000 (14:27 -0400)]
Updates for 3.5.4

11 years agoFix the infobar builder test
Matthias Clasen [Sun, 3 Jun 2012 17:55:49 +0000 (13:55 -0400)]
Fix the infobar builder test

11 years agoUpdated Galician translations
Fran Diéguez [Sun, 3 Jun 2012 13:06:14 +0000 (15:06 +0200)]
Updated Galician translations

11 years agoUpdated French translation
Bruno Brouard [Sun, 3 Jun 2012 11:38:38 +0000 (13:38 +0200)]
Updated French translation

11 years agogrid: Fix access to grid->priv member
Bastian Winkler [Sat, 2 Jun 2012 23:45:05 +0000 (01:45 +0200)]
grid: Fix access to grid->priv member

The priv member should be accessed after the g_return_if_fail test

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

11 years agogrid: Add missing guard to gtk_grid_get_child_at()
Bastian Winkler [Sat, 2 Jun 2012 23:40:41 +0000 (01:40 +0200)]
grid: Add missing guard to gtk_grid_get_child_at()

Add missing guard to make sure it's called with a GtkGrid argument.

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

11 years agotestgtk: Work around some property editor problem
Matthias Clasen [Sat, 2 Jun 2012 12:41:08 +0000 (08:41 -0400)]
testgtk: Work around some property editor problem

The property editor fails to show anything for GtkSettings, unless
we tell it to just show GTK_TYPE_SETTINGS. For now, do just that, then.

11 years agoGtkFontSel: Don't try to set the cursor on invalid iters
Matthias Clasen [Fri, 1 Jun 2012 20:58:36 +0000 (16:58 -0400)]
GtkFontSel: Don't try to set the cursor on invalid iters

This causes a lot of warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=677293

11 years agoGtkFontSelection: Populate list models atomically
Matthias Clasen [Fri, 1 Jun 2012 20:57:45 +0000 (16:57 -0400)]
GtkFontSelection: Populate list models atomically

This is just a cosmetic fix.

11 years agoDeal with non-multiple-of-100 font weights
Matthias Clasen [Fri, 1 Jun 2012 20:15:16 +0000 (16:15 -0400)]
Deal with non-multiple-of-100 font weights

We should not run into an assertion so easily.

11 years agoicon-theme: Allow symbolic GFileIcons
Jasper St. Pierre [Sat, 19 May 2012 05:13:14 +0000 (01:13 -0400)]
icon-theme: Allow symbolic GFileIcons

gtk_icon_info_load_symbolic checks for the existance of a filename parameter
so it can include it along with the stylesheet. We don't set the filename
parameter when creating the info for a GFileIcon, for some reason.

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

11 years agodocs: Fix duplicate declarations in sections
Bastien Nocera [Thu, 31 May 2012 15:44:24 +0000 (16:44 +0100)]
docs: Fix duplicate declarations in sections

Copy/paste errors most likely.

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

11 years agodocs: Add section for new 3.6 symbols
Bastien Nocera [Thu, 31 May 2012 15:27:45 +0000 (16:27 +0100)]
docs: Add section for new 3.6 symbols

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

11 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 31 May 2012 11:21:44 +0000 (13:21 +0200)]
Updated Spanish translation

11 years agonotebook: fix size requisition for the initial_gap style property
Cosimo Cecchi [Sat, 26 May 2012 04:42:57 +0000 (00:42 -0400)]
notebook: fix size requisition for the initial_gap style property

This is probably going to be replaced by something different soon, but
in the meantime, fix this annoying bug, visible e.g. in widget-factory
for left/right tab examples.