]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years ago[gail] Clean the code to check the redundan object on the show watcher
Alejandro Piñeiro [Sat, 25 Dec 2010 23:43:02 +0000 (00:43 +0100)]
[gail] Clean the code to check the redundan object on the show watcher

The watcher doesn't add a window if is a redundant object. This
patch fixes two things:

 * The check was made twice.
 * It uses a check with the string "redundant object", when the
   defined role ATK_ROLE_REDUNDANT_OBJECT is available

13 years ago[gail] Proper connection to a toplevel window destroy signal
Alejandro Piñeiro [Sat, 25 Dec 2010 23:13:07 +0000 (00:13 +0100)]
[gail] Proper connection to a toplevel window destroy signal

Only connect to the destroy of a toplevel window if it was
really added to the toplevel list of windows.

The destroy callback was added to remove the window from
the toplevel list. The callback doesn't cause a error,
but would iterate on the toplevel list without success.

13 years agoFix some issues with initial setup of GdkX11DisplayManager
Matthias Clasen [Mon, 27 Dec 2010 06:02:52 +0000 (01:02 -0500)]
Fix some issues with initial setup of GdkX11DisplayManager

We need to defer setting the default display until the
GdkDisplay is fully initialized. Also, short-circuit some
encoding conversions when creating windows, to avoid an
implicit dependency on the display being in the list of
displays yet.

13 years agoGtkTreeView: Don't use deprecated grab api
Matthias Clasen [Mon, 27 Dec 2010 04:40:59 +0000 (23:40 -0500)]
GtkTreeView: Don't use deprecated grab api

13 years agoRemove pointless sealing from GtkTextMark
Matthias Clasen [Mon, 27 Dec 2010 04:17:10 +0000 (23:17 -0500)]
Remove pointless sealing from GtkTextMark

13 years agoRemove pointless sealing from GtkTextChild
Matthias Clasen [Mon, 27 Dec 2010 03:39:18 +0000 (22:39 -0500)]
Remove pointless sealing from GtkTextChild

13 years agoRemoved sealed members from GtkMenuItem
Matthias Clasen [Mon, 27 Dec 2010 01:36:51 +0000 (20:36 -0500)]
Removed sealed members from GtkMenuItem

13 years agoupdate Punjabi Properities file
A S Alam [Mon, 27 Dec 2010 02:00:19 +0000 (07:30 +0530)]
update Punjabi Properities file

13 years agotooltip: Don't use deprecated APIs
Benjamin Otte [Mon, 27 Dec 2010 00:05:40 +0000 (01:05 +0100)]
tooltip: Don't use deprecated APIs

13 years agonotebook: Use nondeprecated API to query coordinates
Benjamin Otte [Sun, 26 Dec 2010 23:50:30 +0000 (00:50 +0100)]
notebook: Use nondeprecated API to query coordinates

13 years agohsv: Fix gcc warnings
Benjamin Otte [Sun, 26 Dec 2010 23:45:56 +0000 (00:45 +0100)]
hsv: Fix gcc warnings

13 years agoFix some more typos
Matthias Clasen [Sat, 25 Dec 2010 05:29:23 +0000 (00:29 -0500)]
Fix some more typos

13 years agoFix a few typos
Matthias Clasen [Sat, 25 Dec 2010 05:26:22 +0000 (00:26 -0500)]
Fix a few typos

13 years agoFix up GDK docs
Matthias Clasen [Sat, 25 Dec 2010 05:02:39 +0000 (00:02 -0500)]
Fix up GDK docs

13 years agoAdd deprecation guards for deprecated grab APIs
Matthias Clasen [Sat, 25 Dec 2010 01:01:24 +0000 (20:01 -0500)]
Add deprecation guards for deprecated grab APIs

13 years agoDon't use gdk_{pointer,keyboard}_grab
Matthias Clasen [Sat, 25 Dec 2010 01:00:19 +0000 (20:00 -0500)]
Don't use gdk_{pointer,keyboard}_grab

Instead use gdk_device_grab.

13 years agoAdd deprecation guards for deprecated GdkAppLaunchContext API
Matthias Clasen [Fri, 24 Dec 2010 22:37:00 +0000 (17:37 -0500)]
Add deprecation guards for deprecated GdkAppLaunchContext API

Also adapt the docs to not use deprecated API.

13 years agoAvoid some gtk-doc warnings
Matthias Clasen [Fri, 24 Dec 2010 22:36:19 +0000 (17:36 -0500)]
Avoid some gtk-doc warnings

13 years agoFix gdk_x11_display_text_property_to_text_list
Matthias Clasen [Fri, 24 Dec 2010 21:27:31 +0000 (16:27 -0500)]
Fix gdk_x11_display_text_property_to_text_list

This was an incomplete attempt to get rid of the custom free function.
Lets just keep it for now. Bug 637849, patch by Dan Winship.

Also add a test case for this function.

13 years agoConsistently hide class structs
Matthias Clasen [Fri, 24 Dec 2010 20:54:12 +0000 (15:54 -0500)]
Consistently hide class structs

And, since we've decided to keep the structs private, there is
no point in having the standard GObject clas macros anymore either.

13 years agoRename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c
John Ralls [Fri, 24 Dec 2010 19:25:40 +0000 (11:25 -0800)]
Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c

Normally HFS+ (the MacOSX file system) isn't case-sensitive, so having both
GtkQuartzWindow.h and gtkquartzwindow.h causes the latter to overwrite the
former during git pull, breaking the build.

13 years agoUse gtk_style_context_get_font() in GtkSpinButton
Carlos Garnacho [Fri, 24 Dec 2010 19:16:22 +0000 (20:16 +0100)]
Use gtk_style_context_get_font() in GtkSpinButton

13 years agoMake GtkSeparator use GtkStyleContext
Carlos Garnacho [Fri, 24 Dec 2010 18:33:14 +0000 (19:33 +0100)]
Make GtkSeparator use GtkStyleContext

13 years agoMake GtkPaned use GtkStyleContext
Carlos Garnacho [Fri, 24 Dec 2010 18:30:58 +0000 (19:30 +0100)]
Make GtkPaned use GtkStyleContext

13 years agoDo not set "entry" class in spinbutton buttons.
Carlos Garnacho [Fri, 24 Dec 2010 18:21:39 +0000 (19:21 +0100)]
Do not set "entry" class in spinbutton buttons.

Also, fix an unpaired gtk_style_context_save() call.

13 years agoBug 637910 - GtkSpinner - does not animate
Carlos Garnacho [Fri, 24 Dec 2010 17:05:07 +0000 (18:05 +0100)]
Bug 637910 - GtkSpinner - does not animate

Fix widget-to-window coordinates translation in the
style context animation code.

13 years agoMake GtkArrow use GtkStyleContext
Carlos Garnacho [Tue, 21 Dec 2010 13:49:06 +0000 (14:49 +0100)]
Make GtkArrow use GtkStyleContext

13 years agoFix color name (as of rgb.txt) parsing in symbolic colors
Carlos Garnacho [Tue, 21 Dec 2010 17:44:53 +0000 (18:44 +0100)]
Fix color name (as of rgb.txt) parsing in symbolic colors

The end of the substring wasn't being detected properly.

13 years agoMake GtkAccelLabel use GtkStyleContext.
Carlos Garnacho [Tue, 21 Dec 2010 13:47:17 +0000 (14:47 +0100)]
Make GtkAccelLabel use GtkStyleContext.

13 years agogailmenushell.c: Fix typo
Javier Jardón [Fri, 24 Dec 2010 17:42:24 +0000 (18:42 +0100)]
gailmenushell.c: Fix typo

13 years agobuild: Use autoreconf
Javier Jardón [Fri, 24 Dec 2010 16:38:26 +0000 (17:38 +0100)]
build: Use autoreconf

13 years agoCheck for NULL pointer
Kristian Rietveld [Fri, 24 Dec 2010 13:45:19 +0000 (14:45 +0100)]
Check for NULL pointer

13 years agodocs: Add docs about how to get a GtkDevice
Javier Jardón [Fri, 24 Dec 2010 13:39:55 +0000 (14:39 +0100)]
docs: Add docs about how to get a GtkDevice

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

13 years agoDrop GtkThemeEngine
Matthias Clasen [Fri, 24 Dec 2010 03:16:50 +0000 (22:16 -0500)]
Drop GtkThemeEngine

It is not used anymore.

13 years agoFix a few warnings
Matthias Clasen [Fri, 24 Dec 2010 03:11:50 +0000 (22:11 -0500)]
Fix a few warnings

13 years agoAdd some missing includes
Matthias Clasen [Fri, 24 Dec 2010 03:11:28 +0000 (22:11 -0500)]
Add some missing includes

13 years agoRemove sealed members from GtkSettings
Matthias Clasen [Fri, 24 Dec 2010 02:55:47 +0000 (21:55 -0500)]
Remove sealed members from GtkSettings

13 years agoRemove private header from gtkwindow.h
Stef Walter [Fri, 24 Dec 2010 01:19:59 +0000 (19:19 -0600)]
Remove private header from gtkwindow.h

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

13 years agoAdd sufficient API to make gail work
Matthias Clasen [Fri, 24 Dec 2010 01:11:38 +0000 (20:11 -0500)]
Add sufficient API to make gail work

The accessible implementations should really be folded into
gtk proper. Until that happens, we need some more guts exposed...

13 years agoRemove sealed members from GtkMenuShell
Matthias Clasen [Thu, 23 Dec 2010 23:21:53 +0000 (18:21 -0500)]
Remove sealed members from GtkMenuShell

13 years agoRemove sealed members from GtkMenu
Matthias Clasen [Thu, 23 Dec 2010 20:50:18 +0000 (15:50 -0500)]
Remove sealed members from GtkMenu

13 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 23 Dec 2010 19:37:52 +0000 (20:37 +0100)]
Updated Spanish translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:17:15 +0000 (20:17 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:11:32 +0000 (20:11 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 18:18:55 +0000 (19:18 +0100)]
Added UG translation

13 years agoReserve space for a pointer in GtkDrawingArea
Matthias Clasen [Thu, 23 Dec 2010 18:01:21 +0000 (13:01 -0500)]
Reserve space for a pointer in GtkDrawingArea

It was pointed out that this will let us add a private pointer
without abi break in the future, should we ever need one.

13 years agoDrop long-obsolete linux framebuffer APIs
Matthias Clasen [Thu, 23 Dec 2010 17:58:00 +0000 (12:58 -0500)]
Drop long-obsolete linux framebuffer APIs

The functions to set frames on windows stopped being interesting
when the linux framebuffer port was dropped, many years ago.

Similar functionality may come back with client-side decorations
in the future.

13 years agoGtkCellRendererText: use PANGO_PIXELS_CEIL for text_width
Kristian Rietveld [Thu, 23 Dec 2010 17:41:23 +0000 (18:41 +0100)]
GtkCellRendererText: use PANGO_PIXELS_CEIL for text_width

Usually pango_layout_get_pixel_extents() is used, which uses
PANGO_PIXELS_CEIL on the rectangle's width.  This commit makes the new
function gtk_cell_renderer_text_get_preferred_width() consistent with
this.

This fixes rounding errors on Mac OS X, where we were seeing tree views
with a double height for a single line of text, while the usual single
row height would have been sufficient.

13 years agoHide GtkTreeViewColumn buttons when header_window is not visible
Kristian Rietveld [Thu, 23 Dec 2010 17:19:11 +0000 (18:19 +0100)]
Hide GtkTreeViewColumn buttons when header_window is not visible

13 years agoDelimit the other_entries array
Kristian Rietveld [Thu, 23 Dec 2010 13:38:03 +0000 (14:38 +0100)]
Delimit the other_entries array

13 years agoSome small doc corrections
Matthias Clasen [Thu, 23 Dec 2010 16:18:50 +0000 (11:18 -0500)]
Some small doc corrections

13 years agoUpdate keymap docs to match current behaviour
Matthias Clasen [Thu, 23 Dec 2010 15:06:08 +0000 (10:06 -0500)]
Update keymap docs to match current behaviour

An overlooked API change in the gdk-backend work: many of the
keymap functions used to accept NULL to mean 'default keymap'.
They no longer do, so update the docs to match the new behaviour.

13 years agoquartz: internalize _gdk_quartz_window_set_needs_display_in_region
Kristian Rietveld [Thu, 23 Dec 2010 13:13:35 +0000 (14:13 +0100)]
quartz: internalize _gdk_quartz_window_set_needs_display_in_region

13 years agoquartz: move gdkgeometry-quartz into gdkwindow-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 13:11:38 +0000 (14:11 +0100)]
quartz: move gdkgeometry-quartz into gdkwindow-quartz.c

13 years agoquartz: reorder gdkprivate-quartz.h and related clean up
Kristian Rietveld [Thu, 23 Dec 2010 13:08:40 +0000 (14:08 +0100)]
quartz: reorder gdkprivate-quartz.h and related clean up

13 years agoquartz: _gdk_quartz_visual -> gdk_quartz_visual
Kristian Rietveld [Thu, 23 Dec 2010 12:44:44 +0000 (13:44 +0100)]
quartz: _gdk_quartz_visual -> gdk_quartz_visual

13 years agoquartz: _gdk_quartz_screen -> gdk_quartz_screen
Kristian Rietveld [Thu, 23 Dec 2010 12:43:29 +0000 (13:43 +0100)]
quartz: _gdk_quartz_screen -> gdk_quartz_screen

13 years agoquartz: _gdk_quartz_keymap -> gdk_quartz_keymap
Kristian Rietveld [Thu, 23 Dec 2010 12:41:50 +0000 (13:41 +0100)]
quartz: _gdk_quartz_keymap -> gdk_quartz_keymap

13 years agoquartz: _gdk_quartz_display -> gdk_quartz_display
Kristian Rietveld [Thu, 23 Dec 2010 12:39:07 +0000 (13:39 +0100)]
quartz: _gdk_quartz_display -> gdk_quartz_display

13 years agoquartz: we must provide a window on drag begin now
Kristian Rietveld [Thu, 23 Dec 2010 12:20:24 +0000 (13:20 +0100)]
quartz: we must provide a window on drag begin now

13 years agoquartz: fix some more typos
Kristian Rietveld [Thu, 23 Dec 2010 12:20:14 +0000 (13:20 +0100)]
quartz: fix some more typos

13 years agoquartz: fix typo
Kristian Rietveld [Thu, 23 Dec 2010 12:19:17 +0000 (13:19 +0100)]
quartz: fix typo

13 years agoquartz: move utils to gdkutils-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 12:14:49 +0000 (13:14 +0100)]
quartz: move utils to gdkutils-quartz.c

13 years agoquartz: remove gdkmain-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 12:09:01 +0000 (13:09 +0100)]
quartz: remove gdkmain-quartz.c

13 years agoquartz: Clean up header files, use same arrangement as X11 backend
Kristian Rietveld [Thu, 23 Dec 2010 11:59:26 +0000 (12:59 +0100)]
quartz: Clean up header files, use same arrangement as X11 backend

13 years agoUpdated Kurdish translations
Erdal Ronahi [Thu, 23 Dec 2010 13:14:10 +0000 (14:14 +0100)]
Updated Kurdish translations

13 years agoAllow inspection of construct-only object properties
Matthias Clasen [Thu, 23 Dec 2010 05:40:58 +0000 (00:40 -0500)]
Allow inspection of construct-only object properties

The 'Properties' button here is not really modifying the property
in any way, so it doesn't make sense to disable it just because
the object can only be set at construction.

This lets us poke at e.g. the cell area of an icon view.

13 years agoFix spacing.
Brian Cameron [Thu, 23 Dec 2010 03:58:40 +0000 (21:58 -0600)]
Fix spacing.

13 years agoFix bug #637721, fix function prototype.
Brian Cameron [Thu, 23 Dec 2010 03:55:12 +0000 (21:55 -0600)]
Fix bug #637721, fix function prototype.

13 years agoBetter fix for keynav dnd
Matthias Clasen [Thu, 23 Dec 2010 03:33:40 +0000 (22:33 -0500)]
Better fix for keynav dnd

With proper rounding, we can go back to a 'small step' of 1.

13 years agoAbort a drag when a keynav drop has not destination
Matthias Clasen [Thu, 23 Dec 2010 02:46:23 +0000 (21:46 -0500)]
Abort a drag when a keynav drop has not destination

This was claimed to cause problems for Chromium, see bug 599130.

Also work around apparent rounding errors in XIWarpDevice by
setting the 'small step' for keynav dnd to 2 instead of 1 - I notice
that a warp seems to sometimes warp a little less than I tell it to,
and if I tell it to only move by 1 pixel then moving less means
that you are stuck.

13 years agoAdd a default handler for drag_failed
Matthias Clasen [Wed, 22 Dec 2010 23:46:29 +0000 (18:46 -0500)]
Add a default handler for drag_failed

And use it in notebook dnd.

13 years agoAvoid invariant checking spew in gnome-shell
Matthias Clasen [Wed, 22 Dec 2010 21:53:26 +0000 (16:53 -0500)]
Avoid invariant checking spew in gnome-shell

For normal toplevels, visible is tightly bound to mapped, but for
something like a toplevel that exists within a Clutter stage we
may want to make mapping dependenton external factors, so we shouldn't
actually checked that !mapped toplevels are !visible.

Pointed out by Owen Taylor,

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

13 years agoquartz: Make keyboard input work again
Kristian Rietveld [Wed, 22 Dec 2010 21:33:05 +0000 (22:33 +0100)]
quartz: Make keyboard input work again

13 years agoImplement process_updates_recurse for GdkOffscreenWindow
Kristian Rietveld [Wed, 22 Dec 2010 19:41:06 +0000 (20:41 +0100)]
Implement process_updates_recurse for GdkOffscreenWindow

Makes offscreen windows work again.

13 years agoDon't return PropertyNotify.state as modifier state
Matthias Clasen [Wed, 22 Dec 2010 19:33:09 +0000 (14:33 -0500)]
Don't return PropertyNotify.state as modifier state

It isn't, it really is a GdkPropertyState.

Reported by Tim Janik in bug 633795.

13 years agoAvoid a crash
Matthias Clasen [Wed, 22 Dec 2010 19:08:03 +0000 (14:08 -0500)]
Avoid a crash

pointed out in bug 533745

13 years agodocs: fix a typo
Javier Jardón [Wed, 22 Dec 2010 17:05:50 +0000 (17:05 +0000)]
docs: fix a typo

13 years agoquartz: rename GdkDeviceManagerCore -> GdkQuartzDeviceManagerCore
Kristian Rietveld [Wed, 22 Dec 2010 16:30:29 +0000 (17:30 +0100)]
quartz: rename GdkDeviceManagerCore -> GdkQuartzDeviceManagerCore

13 years agoquartz: Rename GdkDeviceCore -> GdkQuartzDeviceCore
Kristian Rietveld [Wed, 22 Dec 2010 16:25:46 +0000 (17:25 +0100)]
quartz: Rename GdkDeviceCore -> GdkQuartzDeviceCore

13 years agoquartz: commit forgotten file
Kristian Rietveld [Wed, 22 Dec 2010 16:25:31 +0000 (17:25 +0100)]
quartz: commit forgotten file

13 years agoquartz: GdkDeviceCore: check for NULL pointer
Kristian Rietveld [Wed, 22 Dec 2010 16:08:25 +0000 (17:08 +0100)]
quartz: GdkDeviceCore: check for NULL pointer

13 years agoquartz: register before/after process all updates
Kristian Rietveld [Wed, 22 Dec 2010 16:06:13 +0000 (17:06 +0100)]
quartz: register before/after process all updates

13 years agoquartz: set all methods on window class, not root window class
Kristian Rietveld [Wed, 22 Dec 2010 16:04:40 +0000 (17:04 +0100)]
quartz: set all methods on window class, not root window class

13 years agoquartz: set window_type in display_class
Kristian Rietveld [Wed, 22 Dec 2010 15:56:58 +0000 (16:56 +0100)]
quartz: set window_type in display_class

13 years agoquartz: introduce GdkQuartzWindow (as a subclass of GdkWindow)
Kristian Rietveld [Wed, 22 Dec 2010 15:56:44 +0000 (16:56 +0100)]
quartz: introduce GdkQuartzWindow (as a subclass of GdkWindow)

13 years agoquartz: rename GdkQuartzWindow to GdkQuartzNSWindow
Kristian Rietveld [Wed, 22 Dec 2010 15:55:56 +0000 (16:55 +0100)]
quartz: rename GdkQuartzWindow to GdkQuartzNSWindow

13 years agoquartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 15:17:43 +0000 (16:17 +0100)]
quartz: fix typo

13 years agoquartz: add new files to Makefile.am
Kristian Rietveld [Wed, 22 Dec 2010 15:15:42 +0000 (16:15 +0100)]
quartz: add new files to Makefile.am

13 years agoGdkDisplayManager: register Quartz backend when applicable
Kristian Rietveld [Wed, 22 Dec 2010 15:14:09 +0000 (16:14 +0100)]
GdkDisplayManager: register Quartz backend when applicable

13 years agoquartz: create gdkdisplaymanager-quartz.h
Kristian Rietveld [Wed, 22 Dec 2010 15:13:50 +0000 (16:13 +0100)]
quartz: create gdkdisplaymanager-quartz.h

13 years agoquartz: gdkselection-quartz.c: fix typos
Kristian Rietveld [Wed, 22 Dec 2010 15:07:05 +0000 (16:07 +0100)]
quartz: gdkselection-quartz.c: fix typos

13 years agoquartz: re-introduce _gdk_quartz_display_list_devices
Kristian Rietveld [Wed, 22 Dec 2010 15:05:12 +0000 (16:05 +0100)]
quartz: re-introduce _gdk_quartz_display_list_devices

13 years agogdkwindow-quartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 14:47:46 +0000 (15:47 +0100)]
gdkwindow-quartz: fix typo

13 years agogtkclipboard-quartz: use accessors and add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:46:10 +0000 (15:46 +0100)]
gtkclipboard-quartz: use accessors and add missing include

13 years agogtkdnd-quartz: use accessors and add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:45:44 +0000 (15:45 +0100)]
gtkdnd-quartz: use accessors and add missing include

13 years agoquartz: gtkquartz.c: add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:44:58 +0000 (15:44 +0100)]
quartz: gtkquartz.c: add missing include

13 years agogdk: Fix toplevel makefile to build non-x11 backends again
Kristian Rietveld [Wed, 22 Dec 2010 14:07:12 +0000 (15:07 +0100)]
gdk: Fix toplevel makefile to build non-x11 backends again

13 years agoquartz: remove duplicate definition of gdk_flush
Kristian Rietveld [Wed, 22 Dec 2010 14:06:55 +0000 (15:06 +0100)]
quartz: remove duplicate definition of gdk_flush

13 years agoquartz: gdkkeys-quartz.c: remove duplicate function
Kristian Rietveld [Wed, 22 Dec 2010 14:06:44 +0000 (15:06 +0100)]
quartz: gdkkeys-quartz.c: remove duplicate function