]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoupdate Punjabi Translation by A S Alam
A S Alam [Sat, 29 Jan 2011 02:03:39 +0000 (07:33 +0530)]
update Punjabi Translation by A S Alam

13 years agoDon't call object notify for something that isn't a property
William Jon McCann [Fri, 28 Jan 2011 21:59:35 +0000 (16:59 -0500)]
Don't call object notify for something that isn't a property

13 years agoCheck if buffer is NULL after setting it to NULL, not before.
Krzesimir Nowak [Fri, 12 Nov 2010 12:14:12 +0000 (13:14 +0100)]
Check if buffer is NULL after setting it to NULL, not before.

This catches cases when "notify::buffer" handler does not recreate
the buffer again, which could end in reference leak.

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

13 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 28 Jan 2011 19:04:18 +0000 (20:04 +0100)]
Updated Spanish translation

13 years agoFix a doc typo
Matthias Clasen [Fri, 28 Jan 2011 16:08:26 +0000 (11:08 -0500)]
Fix a doc typo

13 years agoMention GtkEntryCompletion signal parameter change
Matthias Clasen [Fri, 28 Jan 2011 15:47:36 +0000 (10:47 -0500)]
Mention GtkEntryCompletion signal parameter change

13 years agorecentfilter: Fix gcc warnings
Benjamin Otte [Fri, 28 Jan 2011 15:42:40 +0000 (16:42 +0100)]
recentfilter: Fix gcc warnings

gtkrecentfilter.c:37:47: error: "/*" within comment
gtkrecentfilter.c:61:24: error: "/*" within comment

13 years agogtk: gtkfilefilter.c:57:24: error: "/*" within comment
Benjamin Otte [Fri, 28 Jan 2011 15:32:06 +0000 (16:32 +0100)]
gtk: gtkfilefilter.c:57:24: error: "/*" within comment

13 years agox11: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:45:16 +0000 (15:45 +0100)]
x11: Use Window instead of GdkNativeWindow

13 years agoplug: Move private functions to gtksocketprivate.h
Benjamin Otte [Fri, 28 Jan 2011 14:39:11 +0000 (15:39 +0100)]
plug: Move private functions to gtksocketprivate.h

13 years agotests: Use Window instead of GdkNativeWindow in testsocket example
Benjamin Otte [Fri, 28 Jan 2011 14:37:57 +0000 (15:37 +0100)]
tests: Use Window instead of GdkNativeWindow in testsocket example

13 years agoplug: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:34:28 +0000 (15:34 +0100)]
plug: Use Window instead of GdkNativeWindow

13 years agosocket: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:20:54 +0000 (15:20 +0100)]
socket: Use Window instead of GdkNativeWindow

13 years agowin32: Make GtkWin32EmbedWidget use HWND instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:16:27 +0000 (15:16 +0100)]
win32: Make GtkWin32EmbedWidget use HWND instead of GdkNativeWindow

13 years agowindow: Get rid of GdkNativeWindow usage
Benjamin Otte [Fri, 28 Jan 2011 14:12:47 +0000 (15:12 +0100)]
window: Get rid of GdkNativeWindow usage

Make _gtk_window_add_embedded_xid() and
_gtk_window_remove_embedded_xid() take a Window.

13 years agoAPI: x11: Add GDK_POINTER_TO_XID() and GDK_XID_TO_POINTER()
Benjamin Otte [Fri, 28 Jan 2011 14:11:44 +0000 (15:11 +0100)]
API: x11: Add GDK_POINTER_TO_XID() and GDK_XID_TO_POINTER()

Previously people used GDK_GPOINTER_TO_NATIVE_WINDOW() for this, but
native windows are going away, so we need a replacement.

13 years agowindow: Make embedded xid specific to the X11 backend
Benjamin Otte [Fri, 28 Jan 2011 13:35:49 +0000 (14:35 +0100)]
window: Make embedded xid specific to the X11 backend

13 years agogtk: Prefix gtk_window_add_embedded_xid() with underscore
Benjamin Otte [Fri, 28 Jan 2011 13:28:36 +0000 (14:28 +0100)]
gtk: Prefix gtk_window_add_embedded_xid() with underscore

It's a private API after all.
Same thing for gtk_window_remove_embedded_xid().

13 years agoAPI: Don't export gtk_window_add_embedded_xid()
Benjamin Otte [Fri, 28 Jan 2011 13:01:46 +0000 (14:01 +0100)]
API: Don't export gtk_window_add_embedded_xid()

Same thing for gtk_window_remove_embedded_xid()

13 years agosocket: Merge gtksocket-x11.c back into gtksocket.c
Benjamin Otte [Fri, 28 Jan 2011 12:02:52 +0000 (13:02 +0100)]
socket: Merge gtksocket-x11.c back into gtksocket.c

13 years agoplug: Merge gtkplug-x11.c back into gtkplug.c
Benjamin Otte [Fri, 28 Jan 2011 11:06:24 +0000 (12:06 +0100)]
plug: Merge gtkplug-x11.c back into gtkplug.c

13 years agoplug/socket: Remove x11 checks and non-x11 code
Benjamin Otte [Fri, 28 Jan 2011 10:13:06 +0000 (11:13 +0100)]
plug/socket: Remove x11 checks and non-x11 code

13 years agoplug/socket: Clarify docs about availablility of widgets
Benjamin Otte [Fri, 28 Jan 2011 09:56:40 +0000 (10:56 +0100)]
plug/socket: Clarify docs about availablility of widgets

13 years agowin32: Fix Makefile for plug/socket removal.
Benjamin Otte [Fri, 28 Jan 2011 09:53:32 +0000 (10:53 +0100)]
win32: Fix Makefile for plug/socket removal.

13 years agoplug/socket: Remove plug/socket backend implementations for win32 and stub
Benjamin Otte [Fri, 28 Jan 2011 09:52:29 +0000 (10:52 +0100)]
plug/socket: Remove plug/socket backend implementations for win32 and stub

13 years agoplug/socket: Make GtkPlug and GtkSocket X11-specific
Benjamin Otte [Fri, 28 Jan 2011 09:47:34 +0000 (10:47 +0100)]
plug/socket: Make GtkPlug and GtkSocket X11-specific

People agreed that it doesn't make sense to make an xembed
implementation like plug/socket does not make sense on anything but X11.
And as GdkNativeWindow is going away for multibackend portability
reasons, we'd either need API fixes in the plug-socket codee or
constrain the widgets to a single backend. We chose the latter.

13 years agomount-operation: don't show the dialog until the tree is populated
Cosimo Cecchi [Thu, 27 Jan 2011 18:09:56 +0000 (13:09 -0500)]
mount-operation: don't show the dialog until the tree is populated

Otherwise it won't show up properly, and GTK+ will trigger a warning.
Don't know why this did not show up before.

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

13 years agoRemove gtk_paste_point_override mark if we don't insert any text.
Ignacio Casal Quinteiro [Fri, 28 Jan 2011 12:24:26 +0000 (13:24 +0100)]
Remove gtk_paste_point_override mark if we don't insert any text.

This patch fixes bug #590459.

13 years agoMove gtk_widget_reset_style() out of the deprecation ifdef.
Murray Cumming [Fri, 28 Jan 2011 09:17:06 +0000 (10:17 +0100)]
Move gtk_widget_reset_style() out of the deprecation ifdef.

This new function was not apparently meant to be inside the deprecation
guards.

13 years agoTiny typo fix.
Murray Cumming [Fri, 28 Jan 2011 09:10:23 +0000 (10:10 +0100)]
Tiny typo fix.

13 years agoAdd default class implementation of gtk_widget_get_request_mode().
Tristan Van Berkom [Fri, 28 Jan 2011 06:54:50 +0000 (15:54 +0900)]
Add default class implementation of gtk_widget_get_request_mode().

Instead of checking if klass->get_request_mode is != NULL from
the gtk_widget_get_request_mode() api, this allows classes to
trust that there is a default implementation and chain up (specifically
added this for gtkmm wrapper objects).

13 years agoProtect against giant title fonts
Matthias Clasen [Fri, 28 Jan 2011 04:23:43 +0000 (23:23 -0500)]
Protect against giant title fonts

We don't want repeated calls to set_title_font to blow up the
font size ever more, so reset the font each time.

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

13 years agoMake the places in the file chooser come up with a reasonable size
Matthias Clasen [Fri, 28 Jan 2011 02:50:00 +0000 (21:50 -0500)]
Make the places in the file chooser come up with a reasonable size

13 years agoFix the new filechooser buttons to work without symbolic icons
Matthias Clasen [Fri, 28 Jan 2011 02:04:32 +0000 (21:04 -0500)]
Fix the new filechooser buttons to work without symbolic icons

13 years agoUse a toolbar with symbolic icons under scrolled lists
William Jon McCann [Thu, 27 Jan 2011 20:21:10 +0000 (15:21 -0500)]
Use a toolbar with symbolic icons under scrolled lists

13 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 27 Jan 2011 20:21:53 +0000 (21:21 +0100)]
Updated Spanish translation

13 years agoRemove GTK_RBNODE_IS_SEMI_[COLLAPSED|EXPANDED] flags.
Carlos Garnacho [Sun, 23 Jan 2011 13:34:14 +0000 (14:34 +0100)]
Remove GTK_RBNODE_IS_SEMI_[COLLAPSED|EXPANDED] flags.

These aren't used anymore.

13 years agoSet "cell" class and state before rendering a cellrenderer.
Carlos Garnacho [Sun, 23 Jan 2011 13:31:19 +0000 (14:31 +0100)]
Set "cell" class and state before rendering a cellrenderer.

13 years agoMake GtkCellRendererAccel use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:29:41 +0000 (21:29 +0100)]
Make GtkCellRendererAccel use GtkStyleContext

13 years agoMake GtkCellRendererPixbuf use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:29:11 +0000 (21:29 +0100)]
Make GtkCellRendererPixbuf use GtkStyleContext

13 years agoMake GtkCellRendererProgress use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:28:44 +0000 (21:28 +0100)]
Make GtkCellRendererProgress use GtkStyleContext

13 years agoMake GtkCellRendererToggle use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:27:25 +0000 (21:27 +0100)]
Make GtkCellRendererToggle use GtkStyleContext

13 years agoMake GtkCellRendererText use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:26:52 +0000 (21:26 +0100)]
Make GtkCellRendererText use GtkStyleContext

13 years agoMake GtkIconView use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:26:25 +0000 (21:26 +0100)]
Make GtkIconView use GtkStyleContext

13 years agoMake GtkTreeView use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:18:07 +0000 (21:18 +0100)]
Make GtkTreeView use GtkStyleContext

Expander animation has been replaced by implicit animations
from the style context.

Column headers are also properly themed, GtkContainer::get_path_for_child()
is implemented and the treeview resets column buttons style on columns
being reordered.

The default CSS has changed to theme treeviews sensibly.

13 years agoMake GtkCellArea use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:07:05 +0000 (21:07 +0100)]
Make GtkCellArea use GtkStyleContext

gtk_cell_area_[gs]et_style_detail() is no longer needed, as
the passed widget's context would already have all necessary
info.

13 years agoAdd gtk_cell_renderer_get_state()
Carlos Garnacho [Sun, 23 Jan 2011 13:12:36 +0000 (14:12 +0100)]
Add gtk_cell_renderer_get_state()

This is a helper function to help retrieve a GtkStateFlags
from a GtkCellRendererState, also given the cell renderer
and widget sensitivities.

13 years agoClarify documentation header about GTK+ 3 vs 2
Colin Walters [Thu, 27 Jan 2011 16:19:51 +0000 (11:19 -0500)]
Clarify documentation header about GTK+ 3 vs 2

I think it's confusing for a lot the developers out there who
may not even be aware of GTK+ 3 coming, if suddenly GTK+ 3 becomes
the "stable" version of "gtk" on library.gnome.org.  It may
not even be feasible for them to port to GTK+3 if it's not
shipped in the operating systems they're targeting (for example,
RHEL 6).

Since practically speaking, we expect people to consume GTK+ 2 for
several years at least, redirect these people to the right pages.

(I didn't attempt to explain the differences between the libraries
 here, but hopefully the major version difference is enough of a hint)

As a side effect, this makes the generated HTML look better; previously
it looked rather crappy, since the "for GTK &version;" was totally
offset and in a different group from the documentation title.

13 years agoAdded <mime-types> and <patterns> parsing support to GtkFileFilter.
Tristan Van Berkom [Thu, 27 Jan 2011 07:30:15 +0000 (16:30 +0900)]
Added <mime-types> and <patterns> parsing support to GtkFileFilter.

13 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 27 Jan 2011 10:25:19 +0000 (11:25 +0100)]
Updated Norwegian bokmål translation.

13 years agoRemoved a useless redundant line of code in gtkcellview.c
Tristan Van Berkom [Thu, 27 Jan 2011 07:04:02 +0000 (16:04 +0900)]
Removed a useless redundant line of code in gtkcellview.c

13 years agoAdded links to the GtkTextTagTable and GtkMenuToolButton GtkBuildable documentation...
Tristan Van Berkom [Wed, 26 Jan 2011 18:12:35 +0000 (03:12 +0900)]
Added links to the GtkTextTagTable and GtkMenuToolButton GtkBuildable documentation from GtkBuilder documentation.

13 years agoDocument new default handling
Matthias Clasen [Wed, 26 Jan 2011 16:33:19 +0000 (11:33 -0500)]
Document new default handling

13 years agoRename GTK_SETTINGS_SOURCE_RC_FILE to _THEME
Matthias Clasen [Wed, 26 Jan 2011 16:20:22 +0000 (11:20 -0500)]
Rename GTK_SETTINGS_SOURCE_RC_FILE to _THEME

This makes more sense, since we don't parse rc files anymore.
This is private api inside gtksettings.c, anyway.

13 years agoParse a per-theme settings.ini file
Matthias Clasen [Wed, 26 Jan 2011 16:18:11 +0000 (11:18 -0500)]
Parse a per-theme settings.ini file

This lets themes override settings values again. We are using
the same priority that was used from the rc file parser, so things
are largely unchanged, relative to other settings sources.

13 years agoPrivately export css_provider_get_theme_dir
Matthias Clasen [Wed, 26 Jan 2011 16:17:34 +0000 (11:17 -0500)]
Privately export css_provider_get_theme_dir

13 years agoBreak out into a separate function
Matthias Clasen [Wed, 26 Jan 2011 15:46:40 +0000 (10:46 -0500)]
Break out into a separate function

Move key file parsing to gtk_settings_load_from_key_file(), in
preparation for loading per-theme files. Load key files from both
/etc and ~/.config, with the latter overriding the former. Support
parsing enum values.

13 years agoFirst pass a parsing a keyfile for default settings
Matthias Clasen [Wed, 26 Jan 2011 13:57:08 +0000 (08:57 -0500)]
First pass a parsing a keyfile for default settings

13 years agoQA of Galician translations
Fran Diéguez [Thu, 27 Jan 2011 02:26:00 +0000 (03:26 +0100)]
QA of Galician translations

13 years agoDocument that gtk_widget_queue_draw_area is in widget coordinates
Matthias Clasen [Wed, 26 Jan 2011 23:19:35 +0000 (18:19 -0500)]
Document that gtk_widget_queue_draw_area is in widget coordinates

13 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 26 Jan 2011 19:48:29 +0000 (20:48 +0100)]
Updated Spanish translation

13 years agoUpdated Arabic translation
Khaled Hosny [Wed, 26 Jan 2011 15:54:57 +0000 (17:54 +0200)]
Updated Arabic translation

13 years agoAdded links to the GtkComboBox/GtkRecentFilter GtkBuildable documentation from GtkBui...
Tristan Van Berkom [Wed, 26 Jan 2011 14:58:47 +0000 (23:58 +0900)]
Added links to the GtkComboBox/GtkRecentFilter GtkBuildable documentation from GtkBuilder documentation.

13 years agoFixed GtkCellLayout to parse <cell-packing> property text accumulatively.
Tristan Van Berkom [Wed, 26 Jan 2011 13:19:41 +0000 (22:19 +0900)]
Fixed GtkCellLayout to parse <cell-packing> property text accumulatively.

13 years agoFixed GtkContainer to parse <packing> property text accumulatively.
Tristan Van Berkom [Wed, 26 Jan 2011 13:10:33 +0000 (22:10 +0900)]
Fixed GtkContainer to parse <packing> property text accumulatively.

13 years agoChanged GtkComboBoxText <items> builder parser to use g_string_append_len().
Tristan Van Berkom [Wed, 26 Jan 2011 12:56:43 +0000 (21:56 +0900)]
Changed GtkComboBoxText <items> builder parser to use g_string_append_len().

13 years agoChanged GtkRecentFilter builder parsing to use g_string_append_len
Tristan Van Berkom [Wed, 26 Jan 2011 12:53:45 +0000 (21:53 +0900)]
Changed GtkRecentFilter builder parsing to use g_string_append_len

13 years agoFix GtkRecentFilter GtkBuildable parsing to handle incomming text accumulatively
Tristan Van Berkom [Wed, 26 Jan 2011 12:48:53 +0000 (21:48 +0900)]
Fix GtkRecentFilter GtkBuildable parsing to handle incomming text accumulatively

13 years agoFix GtkComboBoxText GtkBuildable <items> parsing to handle incomming text accumulatively
Tristan Van Berkom [Wed, 26 Jan 2011 12:44:18 +0000 (21:44 +0900)]
Fix GtkComboBoxText GtkBuildable <items> parsing to handle incomming text accumulatively

13 years agoAdded a line to the documentation example of GtkRecentFilter
Tristan Van Berkom [Mon, 24 Jan 2011 08:08:31 +0000 (17:08 +0900)]
Added a line to the documentation example of GtkRecentFilter

13 years agoAdded GtkBuildable support for adding rules to GtkRecentFilter
Tristan Van Berkom [Mon, 24 Jan 2011 08:05:57 +0000 (17:05 +0900)]
Added GtkBuildable support for adding rules to GtkRecentFilter

Also added documentation section for this. Since the GtkRecentFilter
documentation was still living in sgml, as a side-effect I migrated these
docs to the gtkrecentfilter.[ch] sources.

13 years ago[GI] Fix gtk_tree_view_get_cursor() transfer annotation
Martin Pitt [Wed, 26 Jan 2011 13:39:50 +0000 (14:39 +0100)]
[GI] Fix gtk_tree_view_get_cursor() transfer annotation

13 years agoState that _add_button functions return a "#GtkButton widget"
Christian Dywan [Fri, 24 Sep 2010 16:04:14 +0000 (18:04 +0200)]
State that _add_button functions return a "#GtkButton widget"

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=586635
13 years agogtk: add missing class padding
Michael Natterer [Tue, 25 Jan 2011 21:29:00 +0000 (22:29 +0100)]
gtk: add missing class padding

Sorry for this late ABI break, but the newly added style classes
definitely need padding, so I can just as well add missing padding
globally.

13 years agoMake gtk_widget_get_state() only handle GtkStateType values available in 2.x
Carlos Garnacho [Tue, 25 Jan 2011 12:30:24 +0000 (13:30 +0100)]
Make gtk_widget_get_state() only handle GtkStateType values available in 2.x

GtkStateType was generally used as an index in GtkStyle color arrays, so
bigger values will cause invalid memory accesses in widgets that are still
doing that. this was seen in focused GtkIconViews for example

13 years agoUpdated Traditional Chinese translation (Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 25 Jan 2011 11:23:35 +0000 (19:23 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)

13 years agoClarify documentation about application vs window lifecycle
Matthias Clasen [Tue, 25 Jan 2011 03:20:35 +0000 (22:20 -0500)]
Clarify documentation about application vs window lifecycle

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

13 years agoAdd gtk_app_chooser_button_get/set_heading
Matthias Clasen [Tue, 25 Jan 2011 00:25:08 +0000 (19:25 -0500)]
Add gtk_app_chooser_button_get/set_heading

13 years agoDo not modify associated device for non-master devices on dispose
Carlos Garnacho [Mon, 24 Jan 2011 18:55:41 +0000 (19:55 +0100)]
Do not modify associated device for non-master devices on dispose

Only master devices must modify the associated device to separate
a pointer/keyboard pair, slave devices must only call
_gdk_device_remove_slave().

Fixes bug 639767 - password not accepted in gnome-screensaver dialog,
reported by Frederic Crozat. On VT-switch, the X server removes its
grab on HW devices, the effect on clients is that slave devices
disappear, and these were mistakenly mangling the master device
hierarchy. so gdk_device_get_associated_device() on the client
pointer wouldn't return the paired keyboard anymore.

The final effect is that gtkplug-x11 wasn't setting a keyboard to
its generated events.

13 years agoUnset border-width for treeview rows in default CSS
Carlos Garnacho [Mon, 24 Jan 2011 17:14:05 +0000 (18:14 +0100)]
Unset border-width for treeview rows in default CSS

Fixes bug #640391 - Display lines between rows when window is focused.
Reported by Guillaume Desmottes.

13 years agoAvoid passing widgets around here
Matthias Clasen [Mon, 24 Jan 2011 12:46:15 +0000 (07:46 -0500)]
Avoid passing widgets around here

The style context is enough.

13 years agoPort gtk_draw_insertion_cursor to GtkStyleContext
Matthias Clasen [Mon, 24 Jan 2011 05:24:12 +0000 (00:24 -0500)]
Port gtk_draw_insertion_cursor to GtkStyleContext

13 years agoKill one more unused variable
Matthias Clasen [Mon, 24 Jan 2011 04:48:32 +0000 (23:48 -0500)]
Kill one more unused variable

13 years agoDon't leak CursorInfo structs
Matthias Clasen [Mon, 24 Jan 2011 04:20:57 +0000 (23:20 -0500)]
Don't leak CursorInfo structs

13 years agoSilence new gcc warnings
Matthias Clasen [Mon, 24 Jan 2011 02:50:39 +0000 (21:50 -0500)]
Silence new gcc warnings

gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.

13 years agoAdd extra checks for GdkDevice functions that might fail on slave devices.
Carlos Garnacho [Mon, 24 Jan 2011 01:38:12 +0000 (02:38 +0100)]
Add extra checks for GdkDevice functions that might fail on slave devices.

Documentation bits have been added as well.

13 years agoAvoid toplevel tracking on slave device after ungrab
Carlos Garnacho [Mon, 24 Jan 2011 01:32:50 +0000 (02:32 +0100)]
Avoid toplevel tracking on slave device after ungrab

slave devices don't have coordinates themselves, as they depend
on a master, this only changes if they have a grab in effect,
so only keep toplevel tracking enabled in such situation. Fixes
Bug #640313 - BadDevice X error when ungrabbing a SLAVE device,
noticed by Jesse van den Kieboom.

13 years agoSilence new gcc warnings
Matthias Clasen [Sun, 23 Jan 2011 23:50:09 +0000 (18:50 -0500)]
Silence new gcc warnings

gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.

13 years agoSplit out private style context api into a private header
Matthias Clasen [Sun, 23 Jan 2011 23:29:07 +0000 (18:29 -0500)]
Split out private style context api into a private header

13 years agoFree button_state.mask after XIQueryPointer()
Carlos Garnacho [Sun, 23 Jan 2011 22:19:30 +0000 (23:19 +0100)]
Free button_state.mask after XIQueryPointer()

This function allocates the button mask, so free it after
use, or right before the next XIQueryPointer() call, as done
in gdk_x11_device_xi2_window_at_position().

13 years agoFix valgrind warning about uninitialized value
Carlos Garnacho [Sun, 23 Jan 2011 22:09:58 +0000 (23:09 +0100)]
Fix valgrind warning about uninitialized value

mods_state->effective is not being set in XIQueryPointer() currently, so
use base|latched|locked instead, effective is nothing else than a shorthand
for these ORs, and these 3 values are set correctly anytime.

13 years agogdk: When reffing the impl surface, ref it from the impl window
Benjamin Otte [Sun, 23 Jan 2011 20:39:00 +0000 (21:39 +0100)]
gdk: When reffing the impl surface, ref it from the impl window

This was causing surfaces to be created with the wrong size and that
caused broken clipping.

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

13 years agoRender check/radio buttons with border-color: @fg_color
Carlos Garnacho [Sun, 23 Jan 2011 19:01:22 +0000 (20:01 +0100)]
Render check/radio buttons with border-color: @fg_color

13 years agoGtkNotebook: only set/unset active flag on the tab label
Carlos Garnacho [Sun, 23 Jan 2011 17:39:15 +0000 (18:39 +0100)]
GtkNotebook: only set/unset active flag on the tab label

13 years agoSimplify GTK_STATE_FLAG_FOCUSED handling in state propagation.
Carlos Garnacho [Sun, 23 Jan 2011 17:37:14 +0000 (18:37 +0100)]
Simplify GTK_STATE_FLAG_FOCUSED handling in state propagation.

Just unsetting it before propagating to the children suffices.

13 years agoDo not unset sensitivity mistakenly in gtk_widget_set_state_flags()
Carlos Garnacho [Sun, 23 Jan 2011 17:21:32 +0000 (18:21 +0100)]
Do not unset sensitivity mistakenly in gtk_widget_set_state_flags()

together with commit 8903615a34, this finally fixes bug #640282.
Insensitivity is handled separatedly in _gtk_widget_update_state_flags(),
but the insensitive flag is mistakenly unset afterwards if clear is TRUE
in gtk_widget_set_state_flags().

13 years agoGtk(Toggle)Button: preserve untouched state flags when updating state.
Carlos Garnacho [Sun, 23 Jan 2011 17:04:41 +0000 (18:04 +0100)]
Gtk(Toggle)Button: preserve untouched state flags when updating state.

Partly fixes bug #640282, noticed by Christian Persch. buttons were
clobbering the insensitive flag when updating their state.

13 years agoAdd a migration guide section about GdkDrawable
Matthias Clasen [Sun, 23 Jan 2011 17:26:23 +0000 (12:26 -0500)]
Add a migration guide section about GdkDrawable

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

13 years agoUpdate Visual C++ 2008 Project Files Stuff
Chun-wei Fan [Sun, 23 Jan 2011 16:10:19 +0000 (00:10 +0800)]
Update Visual C++ 2008 Project Files Stuff

-Updated README.txt file in build/win32/vs9.
-Fix the gdk.vcprojin and gtk+.vsprops regarding include paths
 and copying of headers (missed header etc.)

13 years agoUpdated Spanish translation
Jorge González [Sun, 23 Jan 2011 14:10:51 +0000 (15:10 +0100)]
Updated Spanish translation