]>
Pileus Git - ~andy/gtk/log
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
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.
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.
Matthias Clasen [Mon, 27 Dec 2010 04:40:59 +0000 (23:40 -0500)]
GtkTreeView: Don't use deprecated grab api
Matthias Clasen [Mon, 27 Dec 2010 04:17:10 +0000 (23:17 -0500)]
Remove pointless sealing from GtkTextMark
Matthias Clasen [Mon, 27 Dec 2010 03:39:18 +0000 (22:39 -0500)]
Remove pointless sealing from GtkTextChild
Matthias Clasen [Mon, 27 Dec 2010 01:36:51 +0000 (20:36 -0500)]
Removed sealed members from GtkMenuItem
A S Alam [Mon, 27 Dec 2010 02:00:19 +0000 (07:30 +0530)]
update Punjabi Properities file
Benjamin Otte [Mon, 27 Dec 2010 00:05:40 +0000 (01:05 +0100)]
tooltip: Don't use deprecated APIs
Benjamin Otte [Sun, 26 Dec 2010 23:50:30 +0000 (00:50 +0100)]
notebook: Use nondeprecated API to query coordinates
Benjamin Otte [Sun, 26 Dec 2010 23:45:56 +0000 (00:45 +0100)]
hsv: Fix gcc warnings
Matthias Clasen [Sat, 25 Dec 2010 05:29:23 +0000 (00:29 -0500)]
Fix some more typos
Matthias Clasen [Sat, 25 Dec 2010 05:26:22 +0000 (00:26 -0500)]
Fix a few typos
Matthias Clasen [Sat, 25 Dec 2010 05:02:39 +0000 (00:02 -0500)]
Fix up GDK docs
Matthias Clasen [Sat, 25 Dec 2010 01:01:24 +0000 (20:01 -0500)]
Add deprecation guards for deprecated grab APIs
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.
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.
Matthias Clasen [Fri, 24 Dec 2010 22:36:19 +0000 (17:36 -0500)]
Avoid some gtk-doc warnings
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.
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.
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.
Carlos Garnacho [Fri, 24 Dec 2010 19:16:22 +0000 (20:16 +0100)]
Use gtk_style_context_get_font() in GtkSpinButton
Carlos Garnacho [Fri, 24 Dec 2010 18:33:14 +0000 (19:33 +0100)]
Make GtkSeparator use GtkStyleContext
Carlos Garnacho [Fri, 24 Dec 2010 18:30:58 +0000 (19:30 +0100)]
Make GtkPaned use GtkStyleContext
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.
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.
Carlos Garnacho [Tue, 21 Dec 2010 13:49:06 +0000 (14:49 +0100)]
Make GtkArrow use GtkStyleContext
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.
Carlos Garnacho [Tue, 21 Dec 2010 13:47:17 +0000 (14:47 +0100)]
Make GtkAccelLabel use GtkStyleContext.
Javier Jardón [Fri, 24 Dec 2010 17:42:24 +0000 (18:42 +0100)]
gailmenushell.c: Fix typo
Javier Jardón [Fri, 24 Dec 2010 16:38:26 +0000 (17:38 +0100)]
build: Use autoreconf
Kristian Rietveld [Fri, 24 Dec 2010 13:45:19 +0000 (14:45 +0100)]
Check for NULL pointer
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
Matthias Clasen [Fri, 24 Dec 2010 03:16:50 +0000 (22:16 -0500)]
Drop GtkThemeEngine
It is not used anymore.
Matthias Clasen [Fri, 24 Dec 2010 03:11:50 +0000 (22:11 -0500)]
Fix a few warnings
Matthias Clasen [Fri, 24 Dec 2010 03:11:28 +0000 (22:11 -0500)]
Add some missing includes
Matthias Clasen [Fri, 24 Dec 2010 02:55:47 +0000 (21:55 -0500)]
Remove sealed members from GtkSettings
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
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...
Matthias Clasen [Thu, 23 Dec 2010 23:21:53 +0000 (18:21 -0500)]
Remove sealed members from GtkMenuShell
Matthias Clasen [Thu, 23 Dec 2010 20:50:18 +0000 (15:50 -0500)]
Remove sealed members from GtkMenu
Jorge Gonzalez [Thu, 23 Dec 2010 19:37:52 +0000 (20:37 +0100)]
Updated Spanish translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:17:15 +0000 (20:17 +0100)]
Added UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:11:32 +0000 (20:11 +0100)]
Added UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 18:18:55 +0000 (19:18 +0100)]
Added UG translation
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.
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.
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.
Kristian Rietveld [Thu, 23 Dec 2010 17:19:11 +0000 (18:19 +0100)]
Hide GtkTreeViewColumn buttons when header_window is not visible
Kristian Rietveld [Thu, 23 Dec 2010 13:38:03 +0000 (14:38 +0100)]
Delimit the other_entries array
Matthias Clasen [Thu, 23 Dec 2010 16:18:50 +0000 (11:18 -0500)]
Some small doc corrections
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.
Kristian Rietveld [Thu, 23 Dec 2010 13:13:35 +0000 (14:13 +0100)]
quartz: internalize _gdk_quartz_window_set_needs_display_in_region
Kristian Rietveld [Thu, 23 Dec 2010 13:11:38 +0000 (14:11 +0100)]
quartz: move gdkgeometry-quartz into gdkwindow-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 13:08:40 +0000 (14:08 +0100)]
quartz: reorder gdkprivate-quartz.h and related clean up
Kristian Rietveld [Thu, 23 Dec 2010 12:44:44 +0000 (13:44 +0100)]
quartz: _gdk_quartz_visual -> gdk_quartz_visual
Kristian Rietveld [Thu, 23 Dec 2010 12:43:29 +0000 (13:43 +0100)]
quartz: _gdk_quartz_screen -> gdk_quartz_screen
Kristian Rietveld [Thu, 23 Dec 2010 12:41:50 +0000 (13:41 +0100)]
quartz: _gdk_quartz_keymap -> gdk_quartz_keymap
Kristian Rietveld [Thu, 23 Dec 2010 12:39:07 +0000 (13:39 +0100)]
quartz: _gdk_quartz_display -> gdk_quartz_display
Kristian Rietveld [Thu, 23 Dec 2010 12:20:24 +0000 (13:20 +0100)]
quartz: we must provide a window on drag begin now
Kristian Rietveld [Thu, 23 Dec 2010 12:20:14 +0000 (13:20 +0100)]
quartz: fix some more typos
Kristian Rietveld [Thu, 23 Dec 2010 12:19:17 +0000 (13:19 +0100)]
quartz: fix typo
Kristian Rietveld [Thu, 23 Dec 2010 12:14:49 +0000 (13:14 +0100)]
quartz: move utils to gdkutils-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 12:09:01 +0000 (13:09 +0100)]
quartz: remove gdkmain-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 11:59:26 +0000 (12:59 +0100)]
quartz: Clean up header files, use same arrangement as X11 backend
Erdal Ronahi [Thu, 23 Dec 2010 13:14:10 +0000 (14:14 +0100)]
Updated Kurdish translations
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.
Brian Cameron [Thu, 23 Dec 2010 03:58:40 +0000 (21:58 -0600)]
Fix spacing.
Brian Cameron [Thu, 23 Dec 2010 03:55:12 +0000 (21:55 -0600)]
Fix bug #637721, fix function prototype.
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.
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.
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.
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
Kristian Rietveld [Wed, 22 Dec 2010 21:33:05 +0000 (22:33 +0100)]
quartz: Make keyboard input work again
Kristian Rietveld [Wed, 22 Dec 2010 19:41:06 +0000 (20:41 +0100)]
Implement process_updates_recurse for GdkOffscreenWindow
Makes offscreen windows work again.
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.
Matthias Clasen [Wed, 22 Dec 2010 19:08:03 +0000 (14:08 -0500)]
Avoid a crash
pointed out in bug 533745
Javier Jardón [Wed, 22 Dec 2010 17:05:50 +0000 (17:05 +0000)]
docs: fix a typo
Kristian Rietveld [Wed, 22 Dec 2010 16:30:29 +0000 (17:30 +0100)]
quartz: rename GdkDeviceManagerCore -> GdkQuartzDeviceManagerCore
Kristian Rietveld [Wed, 22 Dec 2010 16:25:46 +0000 (17:25 +0100)]
quartz: Rename GdkDeviceCore -> GdkQuartzDeviceCore
Kristian Rietveld [Wed, 22 Dec 2010 16:25:31 +0000 (17:25 +0100)]
quartz: commit forgotten file
Kristian Rietveld [Wed, 22 Dec 2010 16:08:25 +0000 (17:08 +0100)]
quartz: GdkDeviceCore: check for NULL pointer
Kristian Rietveld [Wed, 22 Dec 2010 16:06:13 +0000 (17:06 +0100)]
quartz: register before/after process all updates
Kristian Rietveld [Wed, 22 Dec 2010 16:04:40 +0000 (17:04 +0100)]
quartz: set all methods on window class, not root window class
Kristian Rietveld [Wed, 22 Dec 2010 15:56:58 +0000 (16:56 +0100)]
quartz: set window_type in display_class
Kristian Rietveld [Wed, 22 Dec 2010 15:56:44 +0000 (16:56 +0100)]
quartz: introduce GdkQuartzWindow (as a subclass of GdkWindow)
Kristian Rietveld [Wed, 22 Dec 2010 15:55:56 +0000 (16:55 +0100)]
quartz: rename GdkQuartzWindow to GdkQuartzNSWindow
Kristian Rietveld [Wed, 22 Dec 2010 15:17:43 +0000 (16:17 +0100)]
quartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 15:15:42 +0000 (16:15 +0100)]
quartz: add new files to Makefile.am
Kristian Rietveld [Wed, 22 Dec 2010 15:14:09 +0000 (16:14 +0100)]
GdkDisplayManager: register Quartz backend when applicable
Kristian Rietveld [Wed, 22 Dec 2010 15:13:50 +0000 (16:13 +0100)]
quartz: create gdkdisplaymanager-quartz.h
Kristian Rietveld [Wed, 22 Dec 2010 15:07:05 +0000 (16:07 +0100)]
quartz: gdkselection-quartz.c: fix typos
Kristian Rietveld [Wed, 22 Dec 2010 15:05:12 +0000 (16:05 +0100)]
quartz: re-introduce _gdk_quartz_display_list_devices
Kristian Rietveld [Wed, 22 Dec 2010 14:47:46 +0000 (15:47 +0100)]
gdkwindow-quartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 14:46:10 +0000 (15:46 +0100)]
gtkclipboard-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
Kristian Rietveld [Wed, 22 Dec 2010 14:44:58 +0000 (15:44 +0100)]
quartz: gtkquartz.c: add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:07:12 +0000 (15:07 +0100)]
gdk: Fix toplevel makefile to build non-x11 backends again
Kristian Rietveld [Wed, 22 Dec 2010 14:06:55 +0000 (15:06 +0100)]
quartz: remove duplicate definition of gdk_flush
Kristian Rietveld [Wed, 22 Dec 2010 14:06:44 +0000 (15:06 +0100)]
quartz: gdkkeys-quartz.c: remove duplicate function