]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoPost-release version bump
Matthias Clasen [Mon, 4 Jun 2012 11:52:05 +0000 (11:52 +0000)]
Post-release version bump

12 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

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

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

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

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

12 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

12 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

12 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.

12 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

12 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.

12 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.

12 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

12 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

12 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

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

12 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.

12 years agoRevert "gtkmenubutton: Add menu button widget"
Matthias Clasen [Wed, 30 May 2012 18:45:24 +0000 (14:45 -0400)]
Revert "gtkmenubutton: Add menu button widget"

This reverts commit 9d35f7e5121c863685375d1afb7e14e886e46348.

12 years agoRevert "gtkmenutoolbutton: Use GtkMenuButton"
Matthias Clasen [Wed, 30 May 2012 18:45:15 +0000 (14:45 -0400)]
Revert "gtkmenutoolbutton: Use GtkMenuButton"

This reverts commit 1519a1e8c295bc1c97e765d4cee0f866bf8398c6.

12 years agoSilence compiler warnings
Matthias Clasen [Wed, 30 May 2012 18:28:16 +0000 (14:28 -0400)]
Silence compiler warnings

12 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

12 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

12 years agoTrivial: remove a bit of obfuscation
Matthias Clasen [Sat, 26 May 2012 20:12:59 +0000 (20:12 +0000)]
Trivial: remove a bit of obfuscation

12 years agogtk-demo: unify Theming and CSS theming sections
Cosimo Cecchi [Wed, 30 May 2012 17:11:11 +0000 (13:11 -0400)]
gtk-demo: unify Theming and CSS theming sections

12 years agogtk-demo: display tabs for CSS files in theming demos
Cosimo Cecchi [Wed, 30 May 2012 16:56:22 +0000 (12:56 -0400)]
gtk-demo: display tabs for CSS files in theming demos

12 years agogtk-demo: don't try to add tabs for empty filenames
Cosimo Cecchi [Wed, 30 May 2012 16:55:51 +0000 (12:55 -0400)]
gtk-demo: don't try to add tabs for empty filenames

12 years agogtk-demo: add a demo for CSS multiple backgrounds
Cosimo Cecchi [Thu, 24 May 2012 18:17:25 +0000 (14:17 -0400)]
gtk-demo: add a demo for CSS multiple backgrounds

12 years agogtk-demo: move styling for the CSS editor to a separate file
Cosimo Cecchi [Thu, 24 May 2012 18:16:06 +0000 (14:16 -0400)]
gtk-demo: move styling for the CSS editor to a separate file

So it can be shared by multiple demos

12 years agogtk-demo: add a test for a CSS accordion
Cosimo Cecchi [Thu, 24 May 2012 18:14:17 +0000 (14:14 -0400)]
gtk-demo: add a test for a CSS accordion

12 years agomain: Don't overrun the file that's read
Benjamin Otte [Wed, 23 May 2012 17:39:47 +0000 (19:39 +0200)]
main: Don't overrun the file that's read

12 years agogtk-demo: Make CSS a resource
Benjamin Otte [Sun, 13 May 2012 19:23:41 +0000 (21:23 +0200)]
gtk-demo: Make CSS a resource

Also, improve the CSS to give you that basic feel.

12 years agogtk-demo: Include resources in main app
Benjamin Otte [Sun, 13 May 2012 18:54:42 +0000 (20:54 +0200)]
gtk-demo: Include resources in main app

This is necessary for future changes

12 years agogtk-demo: Rename resources file
Benjamin Otte [Sun, 13 May 2012 18:00:27 +0000 (20:00 +0200)]
gtk-demo: Rename resources file

More tests want to use resources, so make that possible.

12 years agogtk-demo move application demo resources into a namespace
Benjamin Otte [Sun, 13 May 2012 17:53:43 +0000 (19:53 +0200)]
gtk-demo move application demo resources into a namespace

12 years agogtk-demo: Add a name property to the demos
Benjamin Otte [Sun, 13 May 2012 17:51:15 +0000 (19:51 +0200)]
gtk-demo: Add a name property to the demos

12 years agogtk-demo: Add a simple example for theming
Benjamin Otte [Sun, 13 May 2012 17:10:55 +0000 (19:10 +0200)]
gtk-demo: Add a simple example for theming

12 years agogtkmenutoolbutton: Fix show-menu API docs
Bastien Nocera [Tue, 29 May 2012 18:06:40 +0000 (19:06 +0100)]
gtkmenutoolbutton: Fix show-menu API docs

It's "set" not "get" that one needs to call to set the menu.

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

12 years agogtkmenutoolbutton: Remove unused variable
Bastien Nocera [Tue, 29 May 2012 17:27:42 +0000 (18:27 +0100)]
gtkmenutoolbutton: Remove unused variable

Set but unused.

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

12 years agothemingbackground: fix drawing for repeating positioned images
Cosimo Cecchi [Wed, 30 May 2012 15:56:09 +0000 (11:56 -0400)]
themingbackground: fix drawing for repeating positioned images

When we determine the fill rectangle for an image layer, and the image
is not repeating, we should also position the rectangle according to the
values of background-position, or we will always fill a tiny slice at
the top/left of the clip box.

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

12 years agoreftests: add a reftest for repeating/positioned background patterns
Cosimo Cecchi [Wed, 30 May 2012 15:30:02 +0000 (11:30 -0400)]
reftests: add a reftest for repeating/positioned background patterns

This currently fails.

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

12 years agoreftests: Add a simple reftest for background-position
Benjamin Otte [Wed, 30 May 2012 15:33:27 +0000 (11:33 -0400)]
reftests: Add a simple reftest for background-position

This is mostly to ensure that the background-positioning feature keeps
working and to demonstrate it.

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

12 years agogtk_application_new(): Docs: application_id may now be null.
Murray Cumming [Mon, 28 May 2012 08:59:56 +0000 (10:59 +0200)]
gtk_application_new(): Docs: application_id may now be null.

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

12 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 May 2012 13:31:13 +0000 (15:31 +0200)]
Updated Slovenian translation

12 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 May 2012 12:58:14 +0000 (14:58 +0200)]
Updated Slovenian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 27 May 2012 10:33:56 +0000 (12:33 +0200)]
Updated Spanish translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 27 May 2012 10:29:55 +0000 (12:29 +0200)]
Updated Spanish translation

12 years agoRemove gtk_accel_group_query from the docs
Matthias Clasen [Sat, 26 May 2012 19:16:04 +0000 (15:16 -0400)]
Remove gtk_accel_group_query from the docs

It is marked as "internal" in the headers, and the struct it
returns is not documented either.

12 years agoLink to the 2.x deprecated index in the migration guide
Matthias Clasen [Sat, 26 May 2012 19:11:49 +0000 (15:11 -0400)]
Link to the 2.x deprecated index in the migration guide

12 years agoDocument "set" properties a bit
Matthias Clasen [Sat, 26 May 2012 19:06:00 +0000 (15:06 -0400)]
Document "set" properties a bit

Both GtkTextTag and GtkCellRenderer make use of "set" properties
which are a bit special. Document this.

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

12 years agoCorrect the docs for GDK_MSB_FIRST
Matthias Clasen [Sat, 26 May 2012 18:40:12 +0000 (14:40 -0400)]
Correct the docs for GDK_MSB_FIRST

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

12 years agoMention cairo_save/restore in the ::draw migration docs
Matthias Clasen [Sat, 26 May 2012 17:45:06 +0000 (13:45 -0400)]
Mention cairo_save/restore in the ::draw migration docs

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

12 years agoReword lockbutton docs
Matthias Clasen [Sat, 26 May 2012 17:29:48 +0000 (13:29 -0400)]
Reword lockbutton docs

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

12 years agoClarify the gtk_style_context_add_provider docs
Matthias Clasen [Sat, 26 May 2012 16:24:13 +0000 (12:24 -0400)]
Clarify the gtk_style_context_add_provider docs

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

12 years agoMention GTK_DIALOG_NO_SEPARATOR in migration docs
Matthias Clasen [Sat, 26 May 2012 16:19:51 +0000 (12:19 -0400)]
Mention GTK_DIALOG_NO_SEPARATOR in migration docs

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

12 years agoChange the stock help accel to F1
Matthias Clasen [Sat, 26 May 2012 16:09:13 +0000 (12:09 -0400)]
Change the stock help accel to F1

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

12 years agogtk-demo: Add a help stock menuitem
Matthias Clasen [Sat, 26 May 2012 16:08:52 +0000 (12:08 -0400)]
gtk-demo: Add a help stock menuitem

12 years agoGtkToolbar: Prevent accidental drag starts
Matthias Clasen [Sat, 26 May 2012 03:17:43 +0000 (23:17 -0400)]
GtkToolbar: Prevent accidental drag starts

We don't want to start drags on double- or triple clicks, and
doing so causes problems for embedded range widgets.

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

12 years agofix the build
Matthias Clasen [Sat, 26 May 2012 03:14:02 +0000 (23:14 -0400)]
fix the build

12 years agoFix the build on Solaris
Matthias Clasen [Sat, 26 May 2012 03:13:42 +0000 (23:13 -0400)]
Fix the build on Solaris

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

12 years agoFix doc comment
Matthias Clasen [Sat, 26 May 2012 02:58:55 +0000 (22:58 -0400)]
Fix doc comment

The introspection annotation for gtk_im_context_get_surrounding
was missing a :.

12 years agoAdd a custom css example
Matthias Clasen [Sat, 26 May 2012 02:03:47 +0000 (22:03 -0400)]
Add a custom css example

12 years agoUpdate window title
Matthias Clasen [Sat, 26 May 2012 00:50:35 +0000 (20:50 -0400)]
Update window title

12 years agogtk-demo: Move Theming to Theming/Style Classes
Matthias Clasen [Sat, 26 May 2012 00:39:59 +0000 (20:39 -0400)]
gtk-demo: Move Theming to Theming/Style Classes

And make the title :: parsing work for nested titles too,
so this works.

12 years agoForgotten file
Matthias Clasen [Sat, 26 May 2012 00:25:43 +0000 (20:25 -0400)]
Forgotten file

This change to geninclude.pl.in is needed to make my commit
91d01434bc77b454d1f59ab72d8dbed97c7269f1 work.

12 years agovisuals: add a testbed for OSD toolbars
Cosimo Cecchi [Fri, 25 May 2012 17:13:04 +0000 (13:13 -0400)]
visuals: add a testbed for OSD toolbars

12 years agothemingbackground: don't clear the window bg cairo surface
Cosimo Cecchi [Thu, 24 May 2012 19:10:19 +0000 (15:10 -0400)]
themingbackground: don't clear the window bg cairo surface

This is not needed anymore now that windows are transparent by default.

12 years agoUpdated French translation
Bruno Brouard [Wed, 23 May 2012 21:39:44 +0000 (23:39 +0200)]
Updated French translation

12 years agoUpdated French translation
Bruno Brouard [Wed, 23 May 2012 21:27:38 +0000 (23:27 +0200)]
Updated French translation

12 years agobutton: fix variable name in function declaration
Cosimo Cecchi [Mon, 21 May 2012 21:26:43 +0000 (17:26 -0400)]
button: fix variable name in function declaration

Or gtk-doc/introspection scanners will complain.

12 years agoProvide a way to force showing icons in buttons
William Jon McCann [Sun, 20 May 2012 15:58:45 +0000 (11:58 -0400)]
Provide a way to force showing icons in buttons

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

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 20 May 2012 16:01:06 +0000 (18:01 +0200)]
Updated Galician translations

12 years agodocs: Escape bare '#' in GdkRGBA string definitions
Emmanuele Bassi [Sun, 20 May 2012 12:45:05 +0000 (13:45 +0100)]
docs: Escape bare '#' in GdkRGBA string definitions

GTK-Doc does not like bare '#', so let's turn them into #.

12 years agodocs: libgailutil is now called libgailutil-3
Руслан Ижбулатов [Sat, 19 May 2012 19:44:13 +0000 (23:44 +0400)]
docs: libgailutil is now called libgailutil-3

12 years agoAdd since annotations to some enum values
Matthias Clasen [Sat, 19 May 2012 16:19:44 +0000 (12:19 -0400)]
Add since annotations to some enum values

The things related to touch and smooth scrolling were 3.4 additions,
so mark them as such.

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

12 years ago[l10n] Updated German translation
Christian Kirbach [Sat, 19 May 2012 09:38:46 +0000 (11:38 +0200)]
[l10n] Updated German translation

12 years agoChain up custom_tag_start() propertly.
Juan Pablo Ugarte [Fri, 18 May 2012 19:05:16 +0000 (16:05 -0300)]
Chain up custom_tag_start() propertly.
Fixes bug #675899 "Infobar not loadable by GTKBuilder (using python gi introspection)"

12 years agoDisable documentation of gtk_plug_get_type and gtk_socket_get_type for
John Ralls [Fri, 18 May 2012 20:58:24 +0000 (13:58 -0700)]
Disable documentation of gtk_plug_get_type and gtk_socket_get_type for
quartz

They're not built for quartz and consequently can't be introspected.

12 years agoDon't include gtkplug.h in gtkdnd-quartz.c
John Ralls [Fri, 18 May 2012 19:25:41 +0000 (12:25 -0700)]
Don't include gtkplug.h in gtkdnd-quartz.c

Gtkplug is X11-only.

12 years agoMark strings in embedded XML code in plugman.c as translatable
Piotr Drąg [Fri, 18 May 2012 16:25:03 +0000 (18:25 +0200)]
Mark strings in embedded XML code in plugman.c as translatable

Just like bloadpad's. Also add plugman.c to POTFILES.skip
to *not* actually translate it.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 18 May 2012 14:51:35 +0000 (16:51 +0200)]
Updated POTFILES.skip

12 years agoDocument removing of accelerators
Holger Berndt [Thu, 17 May 2012 14:12:55 +0000 (16:12 +0200)]
Document removing of accelerators

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

12 years agogtk-demo: Add a theming example
Matthias Clasen [Fri, 18 May 2012 05:23:45 +0000 (01:23 -0400)]
gtk-demo: Add a theming example

12 years agogtk-demo: Show data files as well
Matthias Clasen [Fri, 18 May 2012 04:48:57 +0000 (00:48 -0400)]
gtk-demo: Show data files as well

Several demos use .ui files and the like. The demos are much
more useful if these files can be inspected in the ui as well.

12 years agogtk-demo: Update language in colorsel demo
Matthias Clasen [Thu, 17 May 2012 12:18:19 +0000 (08:18 -0400)]
gtk-demo: Update language in colorsel demo

We're no longer demoing GtkColorSelection, it is GtkColorChooser now.

12 years agoplugman: Update GtkBuilder markup
Florian Müllner [Tue, 8 May 2012 11:48:48 +0000 (13:48 +0200)]
plugman: Update GtkBuilder markup

The markup for menus was changed in commit eed307713b8ef, update
the plugman example to use the new format.

12 years agorange: read and use CSS margin values for the trough component
Cosimo Cecchi [Wed, 16 May 2012 21:01:33 +0000 (17:01 -0400)]
range: read and use CSS margin values for the trough component

Many themes want to render the trough background/stroke thinner than the
full height/width (which is constructed around the value of the
'slider-width' style property).
Read and apply the CSS margin from the theme on the trough component, so
that themes can make it smaller at their will without the need to
override the render_background, render_frame and render_activity methods
of GtkThemingEngine.

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

12 years agorange: remove commented out code
Cosimo Cecchi [Wed, 16 May 2012 21:00:12 +0000 (17:00 -0400)]
range: remove commented out code

We wouldn't need any detail anyway, since we use a progressbar style
class for the progress part of GtkRange.

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

12 years agofile printbackend: Protect a callback by GDK_THREADS_ENTER
Matthias Clasen [Thu, 17 May 2012 04:11:15 +0000 (00:11 -0400)]
file printbackend: Protect a callback by GDK_THREADS_ENTER

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

12 years agoMake certain gtk3 types conditional (GST-style)
Руслан Ижбулатов [Sat, 12 May 2012 16:37:56 +0000 (20:37 +0400)]
Make certain gtk3 types conditional (GST-style)

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

12 years agodoc: Add missing CDATA around a XML programlisting
Volker Sobek [Fri, 4 May 2012 00:08:21 +0000 (02:08 +0200)]
doc: Add missing CDATA around a XML programlisting

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

12 years agoFix gdkx include path
Руслан Ижбулатов [Sat, 12 May 2012 16:27:41 +0000 (20:27 +0400)]
Fix gdkx include path

Fixes #675951

12 years agoBug 676087-configure.ac: isnan() and isinf() are macros, not functions
Natanael Copa [Tue, 15 May 2012 11:09:24 +0000 (13:09 +0200)]
Bug 676087-configure.ac: isnan() and isinf() are macros, not functions

The isnan() and isinf() are C99 macros not functions so use
AC_CHECK_DECL instead of AC_CHECK_FUNCS for those.

12 years agoImprove GtkColorButton behaviour
Hiroyuki Ito [Thu, 17 May 2012 03:45:48 +0000 (23:45 -0400)]
Improve GtkColorButton behaviour

Select the current color of a GtkColorButton should be selected in the
GtkColoroChooserDialog which is shown when the color button is clicked.

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

12 years agothemingengine: don't use gtk_theming_engine_get()
Cosimo Cecchi [Wed, 16 May 2012 22:27:21 +0000 (18:27 -0400)]
themingengine: don't use gtk_theming_engine_get()

This also avoids some useless GdkRGBA heap allocations when drawing a
border.

12 years agothemingengine: add missing deprecation annotation
Cosimo Cecchi [Wed, 16 May 2012 22:13:31 +0000 (18:13 -0400)]
themingengine: add missing deprecation annotation

gtk_theming_engine_state_is_running() is deprecated for 3.6.

12 years agothemingengine: don't use gtk_theming_engine_state_is_running()
Cosimo Cecchi [Wed, 16 May 2012 22:13:02 +0000 (18:13 -0400)]
themingengine: don't use gtk_theming_engine_state_is_running()

It's deprecated, and always returns FALSE. This allows us to simplify a
bunch of code.

12 years agoFix a case of 'stuck grab'
Matthias Clasen [Wed, 16 May 2012 21:18:51 +0000 (17:18 -0400)]
Fix a case of 'stuck grab'

This was showing up when using a combo box in list mode. After popping
up the list, the keyboard grab appeared stuck. What was stuck here is
only the client-side grab, since we forgot to clean up our grabs
when receiving an UnmapNotify.

This bug was introduced in 1c970036648bffd5d58499bb7c8e2439b84d4397.

12 years agogrid: add missing transfer annotation
Martin Pitt [Wed, 16 May 2012 16:00:04 +0000 (18:00 +0200)]
grid: add missing transfer annotation

gtk_grid_get_child_at() is missing a transfer annotation for the returned
widget, making it not introspectable.

12 years agotestscale: add a scale with a fill level to the test
Cosimo Cecchi [Wed, 16 May 2012 14:29:05 +0000 (10:29 -0400)]
testscale: add a scale with a fill level to the test

12 years agoBe more careful when freeing ui manager nodes
Matthias Clasen [Wed, 16 May 2012 01:49:24 +0000 (21:49 -0400)]
Be more careful when freeing ui manager nodes

https://bugzilla.redhat.com//show_bug.cgi?id=812035 has
a stacktrace that shows recursion via
free_node -> unref -> dispose -> ui manager api
which ends in a crash, since we run free_node over the entire
tree and it leaves lots of dangling pointers behind.
So, better be careful by setting all pointers to NULL after
freeing them.