]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoUpdate NEWS
Matthias Clasen [Tue, 5 Jul 2011 13:33:51 +0000 (09:33 -0400)]
Update NEWS

12 years agoreftests: Use an offscreen window to avoid artifacts
Benjamin Otte [Tue, 5 Jul 2011 13:28:18 +0000 (15:28 +0200)]
reftests: Use an offscreen window to avoid artifacts

When tests are larger than the screen size and no compositing is
enabled, the window will be clipped to the screen size and all areas
outside of the screen have undefined contents.

To avoid this, we can use an offscreen window.

12 years agoreftests: Fix label-sizing reference for Pango
Benjamin Otte [Tue, 5 Jul 2011 13:18:14 +0000 (15:18 +0200)]
reftests: Fix label-sizing reference for Pango

See https://bugzilla.gnome.org/show_bug.cgi?id=649783 for a discussion
of the problem. Should this bug be fixed, this patch can just be
reverted.

12 years agoreftests: load/save file once in Glade
Benjamin Otte [Tue, 5 Jul 2011 13:17:23 +0000 (15:17 +0200)]
reftests: load/save file once in Glade

This way the output is canonicalized for further editing. No changes
have been done.

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 2 Jul 2011 07:26:09 +0000 (10:26 +0300)]
Updated Hebrew translation.

12 years agoreftests: Add test for box brokenness
Cosimo Cecchi [Fri, 1 Jul 2011 23:57:27 +0000 (01:57 +0200)]
reftests: Add test for box brokenness

This is a tests for the last commit.

12 years agobox: Remove cache for sibling paths
Benjamin Otte [Fri, 1 Jul 2011 23:25:45 +0000 (01:25 +0200)]
box: Remove cache for sibling paths

We can't cache this path as widgets might dynamically add or remove
style classes without telling us. At which point the stored path does
not work.

12 years agotoolbar: don't leak the sibling path
Cosimo Cecchi [Fri, 1 Jul 2011 16:33:26 +0000 (12:33 -0400)]
toolbar: don't leak the sibling path

12 years agotoolbar: don't count invisible widgets when building the sibling path
Cosimo Cecchi [Thu, 30 Jun 2011 21:00:32 +0000 (17:00 -0400)]
toolbar: don't count invisible widgets when building the sibling path

Also, fix RTL nth-child handling for toolbars.

12 years agotoolbar: invalidate order when an item visibility changes
Cosimo Cecchi [Thu, 30 Jun 2011 19:51:10 +0000 (15:51 -0400)]
toolbar: invalidate order when an item visibility changes

12 years agoTest box and toolbar regions in parallel
Matthias Clasen [Sat, 18 Jun 2011 17:14:18 +0000 (13:14 -0400)]
Test box and toolbar regions in parallel

This makes it easy to see discrepancies.
Plus, it is fun

12 years agotoolbar: nth-child support for GtkToolbar
Matthias Clasen [Sat, 18 Jun 2011 16:45:56 +0000 (12:45 -0400)]
toolbar: nth-child support for GtkToolbar

This doesn't quite work right yet.

12 years agobox: follow children visibility when building the sibling path
Cosimo Cecchi [Thu, 30 Jun 2011 20:19:57 +0000 (16:19 -0400)]
box: follow children visibility when building the sibling path

This fixes nth-child not working for widgets which were not
visible before being added to the box, but it's also a better fix
for https://bugzilla.gnome.org/show_bug.cgi?id=652769

12 years agoRevert "gtkbox: Invalidate order on changes, even if the child is not visible"
Cosimo Cecchi [Fri, 1 Jul 2011 15:47:41 +0000 (11:47 -0400)]
Revert "gtkbox: Invalidate order on changes, even if the child is not visible"

This reverts commit 8cb0cc58e321641ebda699b9cbdc0067aeb56d3f.

12 years agoFix up docs for predefined style classes.
Matthias Clasen [Thu, 30 Jun 2011 23:18:26 +0000 (19:18 -0400)]
Fix up docs for predefined style classes.

The table was incomplete and out of date. Instead, just
put a list of links in that place, and move all the extra
documentation to the macros. Bug 653785

12 years agoGdkKeymap: Prevent an infinite loop in the non-XKB case
Matthias Clasen [Thu, 30 Jun 2011 18:45:16 +0000 (14:45 -0400)]
GdkKeymap: Prevent an infinite loop in the non-XKB case

Somehow the increment got lost, as comparison with the 2.x code
shows.

12 years agogtkbox: Invalidate order on changes, even if the child is not visible
Vincent Untz [Tue, 28 Jun 2011 09:47:37 +0000 (11:47 +0200)]
gtkbox: Invalidate order on changes, even if the child is not visible

When we build the sibling path for the order, we do not skip hidden
children (since, quoting the comment, "we cannot reliably detect changes
in widget visibility"). So we need to invalidate the order when hidden
children are reordered and removed.

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

12 years ago[gi] add more annotations to force drag and drop api to be methods
John (J5) Palmieri [Wed, 29 Jun 2011 18:53:33 +0000 (14:53 -0400)]
[gi] add more annotations to force drag and drop api to be methods

12 years agoUpdated Dutch translation by Wouter Bolsterlee
Wouter Bolsterlee [Wed, 29 Jun 2011 17:31:53 +0000 (19:31 +0200)]
Updated Dutch translation by Wouter Bolsterlee

12 years ago[gi] make sure gtk_drag_dest_unset is annotated as a method
John (J5) Palmieri [Wed, 29 Jun 2011 16:11:36 +0000 (12:11 -0400)]
[gi] make sure gtk_drag_dest_unset is annotated as a method

12 years agoMake GtkBuilder do not delay construct properties that can be resolved
Juan Pablo Ugarte [Wed, 29 Jun 2011 14:45:33 +0000 (11:45 -0300)]
Make GtkBuilder do not delay construct properties that can be resolved
(so construct is respected when possible) and skip construct only props that
can not.

12 years agogtk/gtkmenuitem: Remove reference to deprecated and removed GtkItem
Javier Jardon [Wed, 29 Jun 2011 14:00:06 +0000 (15:00 +0100)]
gtk/gtkmenuitem: Remove reference to deprecated and removed GtkItem

12 years agoUpdate VS2010 READNE.txt
Chun-wei Fan [Wed, 29 Jun 2011 05:55:46 +0000 (13:55 +0800)]
Update VS2010 READNE.txt

This file should have Windows CRLF EOL as well

12 years agoRe-attempt to correct EOL on VS2010 solution
Chun-wei Fan [Wed, 29 Jun 2011 04:49:14 +0000 (12:49 +0800)]
Re-attempt to correct EOL on VS2010 solution

This time I realized that I needed to set autocrlf=false on my Windows side
... ugh...

This is one of those files that must have CRLF line endings to work
correctly :|

12 years agoUse a PAGE_STEP macro instead of a magic number
Claudio Saavedra [Mon, 27 Jun 2011 16:58:21 +0000 (19:58 +0300)]
Use a PAGE_STEP macro instead of a magic number

Helps to understand the code.

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

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Mon, 27 Jun 2011 22:32:26 +0000 (01:32 +0300)]
Updated Belarusian translation.

12 years agoDon't forget to initialize a variable
Matthias Clasen [Mon, 27 Jun 2011 20:46:33 +0000 (16:46 -0400)]
Don't forget to initialize a variable

Pointed out by clang in bug 653333.

12 years ago[gi] correct annotation for GtkMenuPositionFunc callbacks
John (J5) Palmieri [Mon, 27 Jun 2011 17:43:46 +0000 (13:43 -0400)]
[gi] correct annotation for GtkMenuPositionFunc callbacks

12 years agobgo#653191 - fix uninitialized variable in gtk_file_chooser_entry.c
Mike Gorse [Wed, 22 Jun 2011 20:23:15 +0000 (15:23 -0500)]
bgo#653191 - fix uninitialized variable in gtk_file_chooser_entry.c

12 years agoSpeed up page insertion
Paolo Borelli [Sun, 26 Jun 2011 18:41:21 +0000 (20:41 +0200)]
Speed up page insertion

Make sure to call widget_set_child_visible(false) on all tabs except the
current before calling widget_set_parent.

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 25 Jun 2011 18:32:27 +0000 (21:32 +0300)]
Updated Belarusian translation.

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 25 Jun 2011 18:25:44 +0000 (21:25 +0300)]
Updated Belarusian translation.

12 years agoUpdate VS projects distribution
Chun-wei Fan [Fri, 24 Jun 2011 18:06:53 +0000 (02:06 +0800)]
Update VS projects distribution

Change the EXTRA_DIST to distribute the gtk3-demo projects (instead of
gtk-demo)

12 years agoAdd headers required by gtk/gtkwin32embedwidget.c
Chun-wei Fan [Fri, 24 Jun 2011 05:19:58 +0000 (13:19 +0800)]
Add headers required by gtk/gtkwin32embedwidget.c

Some functions from the added headers are needed by this file to compile
without C4013 (a.k.a implicit declaration of ...) warnings/errors

12 years agoUpdate VS project files
Chun-wei Fan [Fri, 24 Jun 2011 04:48:22 +0000 (12:48 +0800)]
Update VS project files

-Reinstate build/win32/vs10/gtk+.sln with the correct EOL (DOS/Windows), so
 that it will be correctly recognized by Windows instead of having the
 annoying "Unrecognized Visual Studio Version".

-Update property sheets to reflect on new headers added

-Change the demo program to be gtk3-demo.exe, to be consistent with the
 names on other platforms, and updated/renamed related project/solution
 files, and added overlay.c to the list of demo sources.

12 years agoTemporarily remove build/win32/vs10/gtk+.sln
Chun-wei Fan [Fri, 24 Jun 2011 04:42:47 +0000 (12:42 +0800)]
Temporarily remove build/win32/vs10/gtk+.sln

The line endings need to be DOS/Windows...

12 years agoGtkPaned docs: Remove sentence saying see GtkPaned.
Murray Cumming [Thu, 23 Jun 2011 22:20:57 +0000 (00:20 +0200)]
GtkPaned docs: Remove sentence saying see GtkPaned.

12 years agoUpdated Persian Translation
Arash Mousavi [Thu, 23 Jun 2011 19:02:24 +0000 (23:32 +0430)]
Updated Persian Translation

12 years agoTrack wayland protocol changes.
Scott Moreau [Thu, 23 Jun 2011 05:10:24 +0000 (23:10 -0600)]
Track wayland protocol changes.

12 years agointrospection.m4: Update from g-i
Colin Walters [Wed, 22 Jun 2011 15:07:37 +0000 (11:07 -0400)]
introspection.m4: Update from g-i

This fixes substitution with dash.

12 years agoUpdated Galician translations
Fran Diéguez [Tue, 21 Jun 2011 11:58:45 +0000 (13:58 +0200)]
Updated Galician translations

12 years agoAvoid GApplication being released twice on gtk_application_remove_window() calls
Claudio Saavedra [Mon, 20 Jun 2011 21:29:45 +0000 (00:29 +0300)]
Avoid GApplication being released twice on gtk_application_remove_window() calls

Removing the window from the window list before setting the
application to %NULL avoids gtk_application_remove_window() triggering
another call to gtk_application_window_removed(), which would release
the application a second time.

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

12 years agodocs: remove tmpl directories
Javier Jardón [Mon, 20 Jun 2011 13:24:57 +0000 (14:24 +0100)]
docs: remove tmpl directories

We do not use template files anymore

12 years agoconfigure.ac: Generate xz tarballs with ustar format by default
Javier Jardón [Mon, 20 Jun 2011 10:38:03 +0000 (11:38 +0100)]
configure.ac: Generate xz tarballs with ustar format by default

12 years agoUpdate VS property sheets
Chun-wei Fan [Mon, 20 Jun 2011 09:05:00 +0000 (17:05 +0800)]
Update VS property sheets

As Cairo and Cairo-GObject are often built as two seperate DLLs/modules,
set the property sheets to link to both libraries, instead of using the
previous approach where a monolithic Cairo DLL which contains GObject
support is used.

12 years agoRefine Visual C++ 2010 projects
Chun-wei Fan [Mon, 20 Jun 2011 04:19:54 +0000 (12:19 +0800)]
Refine Visual C++ 2010 projects

-Remove unneeded tags from projects
-Seperate intermediate directories for projects to avoid rebuilding/
 linking on every rebuild and MSBuild errors (et al.) for not being
 able to write into build log files as they are in use.

12 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 19 Jun 2011 15:32:13 +0000 (17:32 +0200)]
Updated Norwegian bokmål translation.

12 years agoUpdated Spanish translation
Jorge González [Sun, 19 Jun 2011 15:18:01 +0000 (17:18 +0200)]
Updated Spanish translation

12 years agoAdd sibling information to widget path string representations
Matthias Clasen [Sat, 18 Jun 2011 16:36:38 +0000 (12:36 -0400)]
Add sibling information to widget path string representations

12 years agoFix css syntax in example
Matthias Clasen [Sat, 18 Jun 2011 15:11:47 +0000 (11:11 -0400)]
Fix css syntax in example

12 years agoRemove an unused variable
Matthias Clasen [Sat, 18 Jun 2011 02:57:35 +0000 (22:57 -0400)]
Remove an unused variable

12 years agoRemove nonexisting properties
Matthias Clasen [Sat, 18 Jun 2011 00:35:41 +0000 (20:35 -0400)]
Remove nonexisting properties

glade insists on adding GtkGrid:n-rows and :n-columns, for
no good reason...

12 years agotests: import the widget-factory test for theming
Cosimo Cecchi [Fri, 17 Jun 2011 15:33:18 +0000 (11:33 -0400)]
tests: import the widget-factory test for theming

Courtesy of Andrea Cimitan <andrea.cimitan@canonical.com>.

12 years agoUpdate keybinding docs
Matthias Clasen [Fri, 17 Jun 2011 03:51:06 +0000 (23:51 -0400)]
Update keybinding docs

These were still explaining gtkrc syntax.

12 years agoRemove unnecessary includes
Matthias Clasen [Fri, 17 Jun 2011 03:35:24 +0000 (23:35 -0400)]
Remove unnecessary includes

gtkstyle.h is similarly unused.

12 years agoRemove unused includes
Matthias Clasen [Fri, 17 Jun 2011 03:33:43 +0000 (23:33 -0400)]
Remove unused includes

Nothing is using gtkrc.h functionality any more.

12 years agoSilence a warning
Matthias Clasen [Fri, 17 Jun 2011 03:18:03 +0000 (23:18 -0400)]
Silence a warning

12 years agoGtkBox: don't reset styles too often
Matthias Clasen [Fri, 17 Jun 2011 02:15:50 +0000 (22:15 -0400)]
GtkBox: don't reset styles too often

12 years agoinfo_bar: call style_updated at the end of info_bar_init
José Aliste [Thu, 16 Jun 2011 18:32:13 +0000 (14:32 -0400)]
info_bar: call style_updated at the end of info_bar_init

This fix a render bug where the infobar would not add borders
arount its content. Fix proposed by Benjamin Otte.

12 years agoUpdate Visual C++ projects
Chun-wei Fan [Thu, 16 Jun 2011 07:34:43 +0000 (15:34 +0800)]
Update Visual C++ projects

Use G_ENABLE_DEBUG for all debug builds

12 years agotoolbar: Better fix for animations
Benjamin Otte [Wed, 15 Jun 2011 20:50:59 +0000 (22:50 +0200)]
toolbar: Better fix for animations

It turns out there's more places where the toolbar item size is used as
the margin box instead of the content box. Because of that, store the
margin box when allocating and use it whenever calls
toolbar_content_get_allocation() instead of calling
gtk_widget_get_allocation().

12 years agotoolbar: Handle the fact that size_allocate() != get_allocation()
Benjamin Otte [Wed, 15 Jun 2011 17:59:45 +0000 (19:59 +0200)]
toolbar: Handle the fact that size_allocate() != get_allocation()

size_allocate() allocates the available space for the margin box,
get_allocation() returns the actual space of the content box and those
can be different. And then animations never stop.
If that makes you go "huh?", you might want to read
http://www.w3.org/TR/CSS21/box.html
and the docs for gtk_widget_compute_align().

12 years agoreftests: fix background-area reftest after the last commit
Benjamin Otte [Wed, 15 Jun 2011 15:24:36 +0000 (11:24 -0400)]
reftests: fix background-area reftest after the last commit

12 years agothemingengine: shrink the background size to the padding-box
Cosimo Cecchi [Wed, 15 Jun 2011 05:07:11 +0000 (01:07 -0400)]
themingengine: shrink the background size to the padding-box

This fixes a regression introduced by this commit [1] that causes
background to draw beyond the padding-box, which breaks rounded corners,
(in addition to not being compliant with what CSS does by default).

[1] http://git.gnome.org/browse/gtk+/commit/?id=c56700ca3029a9ab1362009bff35f2a70e432c02

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

12 years agothemingengine: plug a couple of leaks
Xan Lopez [Wed, 15 Jun 2011 12:13:20 +0000 (14:13 +0200)]
themingengine: plug a couple of leaks

12 years agoborder-image: Fix leakage
Xan Lopez [Wed, 15 Jun 2011 11:45:34 +0000 (13:45 +0200)]
border-image: Fix leakage

12 years agotests: Add tests for font-family
Benjamin Otte [Sun, 29 May 2011 03:24:28 +0000 (05:24 +0200)]
tests: Add tests for font-family

This readds the tests now that font-family works again. They were
previously removed when font-family support was backed out due to bugs.

12 years agocss: Make font property a shorthand
Benjamin Otte [Sun, 29 May 2011 05:03:59 +0000 (07:03 +0200)]
css: Make font property a shorthand

... and implement the CSS font properties:
- font-size
- font-style
- font-family
- font-weight
- font-variant

This is the second try at this. The first was backed out previously due
to bugginess. Let's hope this one survives a bit longer.

Also makes the font-family CSS test work again.

12 years agoAdd a missing break statement
Matthias Clasen [Wed, 15 Jun 2011 01:59:55 +0000 (21:59 -0400)]
Add a missing break statement

12 years agoAdd a missing break statement
Matthias Clasen [Wed, 15 Jun 2011 01:58:51 +0000 (21:58 -0400)]
Add a missing break statement

12 years agoAvoid an oob read
Matthias Clasen [Wed, 15 Jun 2011 01:56:50 +0000 (21:56 -0400)]
Avoid an oob read

12 years agoRemove a redundant NULL check
Matthias Clasen [Wed, 15 Jun 2011 01:53:53 +0000 (21:53 -0400)]
Remove a redundant NULL check

12 years agoAvoid a dereference-before-null-check
Matthias Clasen [Wed, 15 Jun 2011 01:50:16 +0000 (21:50 -0400)]
Avoid a dereference-before-null-check

12 years agoGive this code a chance to work
Matthias Clasen [Wed, 15 Jun 2011 01:44:12 +0000 (21:44 -0400)]
Give this code a chance to work

At least it does not get uninitialized variable warnings now.

12 years agoMake this code more meaningful
Matthias Clasen [Wed, 15 Jun 2011 01:18:08 +0000 (21:18 -0400)]
Make this code more meaningful

12 years agoDon't forget to cleanup varargs
Matthias Clasen [Wed, 15 Jun 2011 01:14:48 +0000 (21:14 -0400)]
Don't forget to cleanup varargs

12 years agotests: Add simple test for image clipboard
William Jon McCann [Tue, 14 Jun 2011 20:01:29 +0000 (16:01 -0400)]
tests: Add simple test for image clipboard

12 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 14 Jun 2011 16:24:30 +0000 (18:24 +0200)]
Updated Slovenian translation

12 years agoimage: Initialize variable
Juan A. Suarez Romero [Tue, 14 Jun 2011 09:49:23 +0000 (09:49 +0000)]
image: Initialize variable

12 years agoGtkAssistant: improve button labels
Matthias Clasen [Tue, 14 Jun 2011 02:35:15 +0000 (22:35 -0400)]
GtkAssistant: improve button labels

Forward/Back/Last has been declared strange; so go with something
a little more friendly: Continue/Go Back/Finish.
https://bugzilla.gnome.org/show_bug.cgi?id=652506

12 years agodocs: Add Since tag to GtkWidget::draw
Benjamin Otte [Mon, 13 Jun 2011 16:29:07 +0000 (18:29 +0200)]
docs: Add Since tag to GtkWidget::draw

12 years agodemos: Remove unused variable
Benjamin Otte [Mon, 13 Jun 2011 16:27:24 +0000 (18:27 +0200)]
demos: Remove unused variable

12 years agotests: Add a CSS test for color parsing errors
Benjamin Otte [Mon, 13 Jun 2011 04:25:19 +0000 (06:25 +0200)]
tests: Add a CSS test for color parsing errors

In [particular check for the fix in the last commit.

12 years agocssparser: Actually send an error in an error case
Benjamin Otte [Mon, 13 Jun 2011 04:24:10 +0000 (06:24 +0200)]
cssparser: Actually send an error in an error case

The error case was excess commas in rgb/rgba colors, such as
rgba(0,255,0,0,0.5)

12 years agothemingengine: Improve handling of different colors
Benjamin Otte [Mon, 13 Jun 2011 04:13:16 +0000 (06:13 +0200)]
themingengine: Improve handling of different colors

We don't want to have different colors cause seams, so we try very hard
to render them at the same time.

12 years agothemingengine: Implement support for multiple border colors
Benjamin Otte [Mon, 13 Jun 2011 03:04:44 +0000 (05:04 +0200)]
themingengine: Implement support for multiple border colors

Also use this support to implement inset and outset border styles
without cheats.

12 years agostyleproperty: Add border-*-color style properties
Benjamin Otte [Mon, 13 Jun 2011 01:45:18 +0000 (03:45 +0200)]
styleproperty: Add border-*-color style properties

And make border-color a shorthand

12 years agoreftests: Check that the default border color is the foreground color
Benjamin Otte [Sun, 12 Jun 2011 23:52:42 +0000 (01:52 +0200)]
reftests: Check that the default border color is the foreground color

12 years agostyleproperty: The default border color is the normal color
Benjamin Otte [Sun, 12 Jun 2011 23:50:06 +0000 (01:50 +0200)]
styleproperty: The default border color is the normal color

12 years agostyleproperty: Make default_value() take a state
Benjamin Otte [Sun, 12 Jun 2011 23:26:11 +0000 (01:26 +0200)]
styleproperty: Make default_value() take a state

Because of this, resolve() needs to take a state, too. This is so that
we can have default values depend on other values (like border color).

12 years agoroundedbox: Fix border radius grow algorithm
Benjamin Otte [Mon, 13 Jun 2011 03:49:12 +0000 (05:49 +0200)]
roundedbox: Fix border radius grow algorithm

When one radius gets to 0, the other should be set to 0, too. Otherwise
the paths constructed from it will not be correct.

12 years agoBump version
Matthias Clasen [Mon, 13 Jun 2011 12:03:40 +0000 (08:03 -0400)]
Bump version

12 years agoForgotten file
Matthias Clasen [Mon, 13 Jun 2011 11:33:47 +0000 (07:33 -0400)]
Forgotten file

12 years agoxi2: Handle XIM modules that replace events
Carlos Garnacho [Sat, 2 Apr 2011 09:46:42 +0000 (11:46 +0200)]
xi2: Handle XIM modules that replace events

Fixes Bug 645993 - XIM has wierd behaviors. Some XIM modules
filter every key event, possibly replacing it with their own
one. These events usually have serial=0, so make
GdkDeviceManagerXI2 also listen on these.

12 years agoRemove broken font-family css test
Matthias Clasen [Mon, 13 Jun 2011 10:56:12 +0000 (06:56 -0400)]
Remove broken font-family css test

12 years agoUpdate for 3.1.6
Matthias Clasen [Mon, 13 Jun 2011 04:16:55 +0000 (00:16 -0400)]
Update for 3.1.6

12 years agooverlay: add initial version of gtkoverlay
Ignacio Casal Quinteiro [Thu, 19 May 2011 16:53:05 +0000 (18:53 +0200)]
overlay: add initial version of gtkoverlay

12 years agoconfigure.ac: Use aux directory to store autogenerated files
Javier Jardón [Mon, 13 Jun 2011 02:06:04 +0000 (03:06 +0100)]
configure.ac: Use aux directory to store autogenerated files

12 years agogtkdnd: Don't bind/unbind keycodes that couldn't be determined
Daniel Drake [Sun, 12 Jun 2011 16:48:17 +0000 (17:48 +0100)]
gtkdnd: Don't bind/unbind keycodes that couldn't be determined

At http://dev.laptop.org/ticket/10643 we are seeing that drag-and-drop
within the Sugar shell causes all of Sugar's custom keybindings to be
removed.

This is because gtkdnd tries to unbind XK_KP_Space, which (on my systems)
is resolved to NoSymbol by XKeycodeToKeysym(). NoSymbol has value 0,
the same as AnyKey, and XUngrabKey(AnyKey) is equivalent to unbinding
all possible keycodes.

Fix this by catching NoSymbol before binding/unbinding.

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

12 years agoRevert "gtk/gtkmenuitem: gtk_misc_set_alignment replacing"
Matthias Clasen [Mon, 13 Jun 2011 01:36:37 +0000 (21:36 -0400)]
Revert "gtk/gtkmenuitem: gtk_misc_set_alignment replacing"

This reverts commit 49e62d2a5f6cb0cefbb03a4b6a1df413f3903fea.
It turns out that GtkAccelLabel is not quite ready for
widget align properties.