]>
Pileus Git - ~andy/gtk/log
John Ralls [Tue, 5 Oct 2010 23:18:25 +0000 (01:18 +0200)]
Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Javier Jardón [Tue, 5 Oct 2010 23:09:23 +0000 (01:09 +0200)]
docs: visuals: Do not mention deprecated GdkRGB API's
Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473
Benjamin Otte [Tue, 5 Oct 2010 21:25:53 +0000 (23:25 +0200)]
docs: Dn't mark all signals in GtkWidgetClass as private
They are meant to be overwritten by subclasses after all.
Benjamin Otte [Tue, 5 Oct 2010 21:22:25 +0000 (23:22 +0200)]
viewport: Clip contents properly when called via gtk_widget_draw()
Benjamin Otte [Tue, 5 Oct 2010 20:36:35 +0000 (22:36 +0200)]
Revert "testgtk: Remove snapshot test"
This reverts commit
99c82af20a5204940ce2cb0f841be0d6f70a2778 and fixes
up things to compile again. Of course, the snapshotting now uses
gtk_widget_draw() instead.
Javier Jardón [Tue, 5 Oct 2010 20:52:31 +0000 (22:52 +0200)]
docs: reword GtkAdjustment short description
Federico Mena Quintero [Tue, 5 Oct 2010 19:41:51 +0000 (14:41 -0500)]
Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode
Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER.
Now we just make that function act the same as for CREATE_FOLDER mode. In either
case, if you type "/blah/nonexistent" and hit Enter, you want a folder
with that name to be created (under the already-existing /blah).
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Stephen Shaw [Tue, 5 Oct 2010 17:59:45 +0000 (12:59 -0500)]
Clarify the name of a callback
The old save_entry_get_info_cb() was misnamed; it is actually used
to see if a file's presumed parent *is* a folder. So we rename
it to name_entry_get_parent_info_cb().
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Stephen Shaw [Tue, 5 Oct 2010 17:55:03 +0000 (12:55 -0500)]
bgo#629722 - file chooser should cope with typing a directory name and then Enter
file_exists_get_info_cb() used to let some actions fall through to
the code that checks for the file type of the selected file's parent
(e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz).
However, we need to be more explicit for each file chooser action, as
in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not
give you an immediate selection, but rather the file chooser would
complain that it couldn't create that directory as it already exists.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Kibavuidi Nsiangani [Tue, 5 Oct 2010 19:52:42 +0000 (21:52 +0200)]
Added Kikongo translation
Kristian Rietveld [Tue, 5 Oct 2010 13:21:40 +0000 (15:21 +0200)]
Make set_cairo_surface_size a vfunc on GdkWindowImpl
Note the special implementation of this method on GdkOffscreenWindow
that makes sure its current surface is not destroyed.
Michael Natterer [Tue, 5 Oct 2010 11:05:56 +0000 (13:05 +0200)]
tests: don't call gtk_widget_get_allocation() on NULL children
Javier Jardón [Mon, 4 Oct 2010 16:48:47 +0000 (18:48 +0200)]
gtkmenu: Really fix menu code
Previous patch
f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2
is not correct as it try to fix a bug introduced in commit
3a10216dd01c8d10df235b88c8942b2fda15689b
Christian Persch [Mon, 4 Oct 2010 14:36:43 +0000 (10:36 -0400)]
Fix a crash in menu code
https://bugzilla.gnome.org/show_bug.cgi?id=631311
Matthias Clasen [Mon, 4 Oct 2010 14:22:09 +0000 (10:22 -0400)]
Make GdkRectangle arguments in GtkCellRenderer use const consistently
https://bugzilla.gnome.org/show_bug.cgi?id=630900
Kristian Rietveld [Mon, 4 Oct 2010 09:43:16 +0000 (11:43 +0200)]
quartz: Emulate root window as 1x1 bitmap
We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz,
and override the get_context method in order to do this cleanly.
Also made release_context a virtual method, since the root window has
to release its CGContextRef differently compared to normal windows.
Javier Jardón [Mon, 4 Oct 2010 01:47:40 +0000 (03:47 +0200)]
docs: Move documentation to inline comments: colors
Javier Jardón [Mon, 4 Oct 2010 01:35:42 +0000 (03:35 +0200)]
docs: Move documentation to inline comments: pixbufs
Javier Jardón [Mon, 4 Oct 2010 01:19:43 +0000 (03:19 +0200)]
docs: Move documentation to inline comments: regions
Javier Jardón [Mon, 4 Oct 2010 01:04:09 +0000 (03:04 +0200)]
docs: Move documentation to inline comments: cairo_interaction
Javier Jardón [Mon, 4 Oct 2010 00:05:45 +0000 (02:05 +0200)]
docs: Move documentation to inline comments: GtkComboBox
Ignacio Casal Quinteiro [Sun, 3 Oct 2010 16:17:17 +0000 (18:17 +0200)]
Add missing vfuncs to gtknotebook.
Javier Jardón [Sun, 3 Oct 2010 17:50:11 +0000 (19:50 +0200)]
docs: Move documentation to inline comments: GtkNotebook
Žygimantas Beručka [Sun, 3 Oct 2010 13:21:32 +0000 (15:21 +0200)]
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com> and Rimas Kudelis <rq@akl.lt>
Žygimantas Beručka [Sun, 3 Oct 2010 13:15:53 +0000 (15:15 +0200)]
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com>
José Aliste [Sun, 3 Oct 2010 10:14:48 +0000 (12:14 +0200)]
textview: Fix clip usage
The previous code used cairo_clip_extents() and interpreted its
parameters wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=631203
Javier Jardón [Sun, 3 Oct 2010 02:59:23 +0000 (04:59 +0200)]
docs: Latest 2.x release will be 2.24, not 2.22
Javier Jardón [Sun, 3 Oct 2010 01:41:44 +0000 (03:41 +0200)]
docs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size()
GtkSizeRequest interface is now merged in GtkWidget
Garrett Regier [Sat, 2 Oct 2010 23:19:55 +0000 (01:19 +0200)]
docs: Move documentation to inline comments: GtkEntryBuffer
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617320
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Javier Jardón [Sat, 2 Oct 2010 22:58:38 +0000 (00:58 +0200)]
docs: Move documentation to inline comments: GtkTooltip
Javier Jardón [Sat, 2 Oct 2010 22:28:54 +0000 (00:28 +0200)]
docs: Move documentation to inline comments: GtkToolbar
Garrett Regier [Sat, 2 Oct 2010 19:17:48 +0000 (21:17 +0200)]
docs: Move documentation to inline comments: GtkComboBoxEntry
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617308
Signed-off-by: Javier Jardón <jjardon@gnome.org>
William Jon McCann [Sat, 2 Oct 2010 19:45:46 +0000 (15:45 -0400)]
gail: use a weak pointer instead of an invalid destroy signal
Matthias Clasen [Sat, 2 Oct 2010 03:29:00 +0000 (23:29 -0400)]
Bump version to 2.91.1
Matthias Clasen [Sat, 2 Oct 2010 01:43:23 +0000 (21:43 -0400)]
Fix a reference in the gdk_pixbuf_get_from_surface docs
Matthias Clasen [Sat, 2 Oct 2010 01:36:16 +0000 (21:36 -0400)]
More distcheck fixes
Benjamin Otte [Sat, 2 Oct 2010 01:34:42 +0000 (03:34 +0200)]
gail: Fix menu emission hooks
Ref the GtkmenuItem class, so we can add emission hooks. And actually
add the emission hooks again that were removed in
7c140feb6b18c6e158b83356370a85864758c4f9 .
Benjamin Otte [Sat, 2 Oct 2010 00:47:55 +0000 (02:47 +0200)]
gdk: Make gdk_pixbuf_get_from_*() bindable
The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.
Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.
Matthias Clasen [Sat, 2 Oct 2010 00:02:35 +0000 (20:02 -0400)]
Fix distcheck
Don't include config.h in headers, it doesn't work.
Matthias Clasen [Fri, 1 Oct 2010 22:46:09 +0000 (18:46 -0400)]
Fix make dist
Matthias Clasen [Fri, 1 Oct 2010 22:27:53 +0000 (18:27 -0400)]
Update NEWS for 2.91.0
Matthias Clasen [Fri, 1 Oct 2010 19:58:09 +0000 (15:58 -0400)]
Update po files
Colin Walters [Fri, 1 Oct 2010 21:29:20 +0000 (17:29 -0400)]
Distribute autogen.sh
This makes it easier for OS vendors to always invoke autogen.sh
for building, regardless of building from legacy tarballs or
git snapshots.
Matthias Clasen [Fri, 1 Oct 2010 18:57:25 +0000 (14:57 -0400)]
Set version to 2.91.0
Having an odd minor helps some tools which assume 'even minor == stable'
and 2.91 will keep us in sync with the wider GNOME versioning.
Matthias Clasen [Fri, 1 Oct 2010 18:54:11 +0000 (14:54 -0400)]
Migration guide: Add an example for creating custom cursors
Matthias Clasen [Fri, 1 Oct 2010 17:46:39 +0000 (13:46 -0400)]
Revert an erroneous change
Matthias Clasen [Fri, 1 Oct 2010 17:10:35 +0000 (13:10 -0400)]
GTK docs: Update width-for-height docs
Some places did not get updated after the recent rename-and-GtkWidget-merge.
Matthias Clasen [Fri, 1 Oct 2010 17:05:12 +0000 (13:05 -0400)]
GTK docs: various fixups
Matthias Clasen [Fri, 1 Oct 2010 13:39:10 +0000 (09:39 -0400)]
Drop GdkSpan type
GdkSpan is not used anywhere.
Matthias Clasen [Fri, 1 Oct 2010 13:38:36 +0000 (09:38 -0400)]
GDK docs: Improve gdk_pixbuf_get_from_window docs
Matthias Clasen [Fri, 1 Oct 2010 13:10:52 +0000 (09:10 -0400)]
GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse
Matthias Clasen [Fri, 1 Oct 2010 12:16:38 +0000 (08:16 -0400)]
GDK docs: improve the gdk_x11_display_error_trap_push docs
Matthias Clasen [Fri, 1 Oct 2010 12:09:31 +0000 (08:09 -0400)]
GDK docs: Clean out some dead symbols
Matthias Clasen [Fri, 1 Oct 2010 11:37:26 +0000 (07:37 -0400)]
GdkVisual: tell gtk-doc to ignore the innards
Matthias Clasen [Fri, 1 Oct 2010 02:58:50 +0000 (22:58 -0400)]
Update for recent api changes
Matthias Clasen [Fri, 1 Oct 2010 02:49:57 +0000 (22:49 -0400)]
Remove colormap api from gdk.symbols
Richard Hughes [Fri, 1 Oct 2010 11:36:57 +0000 (12:36 +0100)]
Complete the removal of GtkObject to fix make dist
Richard Hughes [Fri, 1 Oct 2010 11:36:16 +0000 (12:36 +0100)]
Complete the removal of examples/pixmap to fix make dist
Jonh Wendell [Thu, 30 Sep 2010 19:56:11 +0000 (16:56 -0300)]
Initialize private structure
William Jon McCann [Thu, 30 Sep 2010 18:42:38 +0000 (14:42 -0400)]
gail: remove obsolete select and deselect signals from MenuItem
They were removed in
3bd93e5bfd968d21cbcba15b952b254c41f204f9
Benjamin Otte [Thu, 30 Sep 2010 14:25:11 +0000 (16:25 +0200)]
dnd: Fix gtk_drag_set_icon_surface() with translucent surfaces
The code for surfaces with alpha content was apparently untested and
screwed up the signs.
Benjamin Otte [Thu, 30 Sep 2010 14:24:11 +0000 (16:24 +0200)]
gdk: Fix gdk_cairo_region_create_from_surface() with device offsets
Benjamin Otte [Thu, 30 Sep 2010 13:50:52 +0000 (15:50 +0200)]
trayicon: Use gdk_cairo_get_clip_rectangle() to simplify code
Benjamin Otte [Thu, 30 Sep 2010 11:54:20 +0000 (13:54 +0200)]
docs: Add note about hot_x/y in gtk_drag_set_icon_surface()
Kristian Rietveld [Thu, 30 Sep 2010 07:01:11 +0000 (09:01 +0200)]
Fix GDK build on Quartz
Colin Walters [Wed, 29 Sep 2010 14:44:10 +0000 (10:44 -0400)]
introspection: Fix some annotation syntax
Benjamin Otte [Wed, 29 Sep 2010 12:12:22 +0000 (14:12 +0200)]
gtk: Fix remaining mentions of gtk_container_propagate_expose()
That includes the gtkcontainer.h header file.
https://bugzilla.gnome.org/show_bug.cgi?id=630800
Benjamin Otte [Wed, 29 Sep 2010 10:07:12 +0000 (12:07 +0200)]
gdk: Don't (un)set the background when destroying a window.
This previously caused the x11 code to do a XSetWindowBackgroundPixmap
call on a window that was about to be destroyed. And that's not really
useful.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
Benjamin Otte [Wed, 29 Sep 2010 10:06:19 +0000 (12:06 +0200)]
x11: Don't set ParentRealtive if the parent's visual is different
Causes a BadMatch otherwise, see code comments.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
Javier Jardón [Wed, 29 Sep 2010 04:11:13 +0000 (06:11 +0200)]
gtk-demo: remove GtkObject type
Javier Jardón [Wed, 29 Sep 2010 04:06:50 +0000 (06:06 +0200)]
examples/gtkdial/gtkdial.c: Fixing for removal of GtkObject type
Javier Jardón [Wed, 29 Sep 2010 04:01:07 +0000 (06:01 +0200)]
examples/colorsel/colorsel.c: remove unneded GTK_OBJECT cast
Javier Jardón [Wed, 29 Sep 2010 03:58:02 +0000 (05:58 +0200)]
testtext: Use gtk_widget_destroy() instead gtk_object_destroy()
Javier Jardón [Mon, 27 Sep 2010 13:10:12 +0000 (15:10 +0200)]
Remove unneded casts
As gtk_adjustment_new() returns a GtkAdjustment* now
https://bugzilla.gnome.org/show_bug.cgi?id=630731
Javier Jardón [Mon, 27 Sep 2010 12:48:26 +0000 (14:48 +0200)]
gtk_adjustment_new() should return a GtkAdjustment*
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=630731
Benjamin Otte [Tue, 28 Sep 2010 17:13:24 +0000 (19:13 +0200)]
API: remove gtk_window_set_visual()
gtk_widget_set_visual() exists now and can be used instead.
This reverts commit
59b227e1232998fdb854affc8dcd9dcd2a446b39 .
Benjamin Otte [Tue, 28 Sep 2010 17:11:46 +0000 (19:11 +0200)]
testgtk: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 17:11:30 +0000 (19:11 +0200)]
trayicon: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 16:56:34 +0000 (18:56 +0200)]
API: gtk: Add gtk_widget_set_visual()
It turns out that the previous handling of just providing a way to set
visuals just on toplevels was not sufficient. In particular it
complicated the various implementations of the tray icon specification.
This patch reintroduces gtk_widget_set_visual() which behaves very
similar to GTK2's gtk_widget_set_colormap().
A future commit will remove the gtk_window_set_visual() function.
Benjamin Otte [Tue, 28 Sep 2010 16:33:23 +0000 (18:33 +0200)]
widget: Fix compile warnings: missing return value
Benjamin Otte [Tue, 28 Sep 2010 16:26:31 +0000 (18:26 +0200)]
gail: Fix tests compilation - too many casts
Benjamin Otte [Tue, 28 Sep 2010 16:26:23 +0000 (18:26 +0200)]
toolbar: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:26:05 +0000 (18:26 +0200)]
treeview: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:55 +0000 (18:24 +0200)]
offscreenwindow: Fix includes
Benjamin Otte [Tue, 28 Sep 2010 16:24:34 +0000 (18:24 +0200)]
notebook: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:14 +0000 (18:24 +0200)]
combobox: Fix compilation warnings - missing cast
Michael Natterer [Tue, 28 Sep 2010 14:03:59 +0000 (16:03 +0200)]
gdk: remove "screen" member from GdkOffscreenWindow, it has become obsolete
Also remove screen parameter from _gdk_offscreen_window_new() and get
rid of a bunch on includes in gdkoffscreenwindow.c
Tor Lillqvist [Tue, 28 Sep 2010 13:22:44 +0000 (16:22 +0300)]
Create directory before installing files there
Claudio Saavedra [Mon, 27 Sep 2010 09:22:03 +0000 (12:22 +0300)]
Fix maintainer-clean
gtkimcontextsimpleseqs.h is not really autogenerated but shipped
https://bugzilla.gnome.org/show_bug.cgi?id=630708
Matthias Clasen [Tue, 28 Sep 2010 00:59:08 +0000 (20:59 -0400)]
Improve some docs
Sílvia Miranda [Mon, 27 Sep 2010 22:04:12 +0000 (00:04 +0200)]
Updated Catalan translation
Gil Forcada [Mon, 27 Sep 2010 22:03:28 +0000 (00:03 +0200)]
Removed invalid entry
Benjamin Otte [Mon, 27 Sep 2010 18:49:39 +0000 (20:49 +0200)]
label: Fix rendering of rotated labels
gtk_paint_layout is utterly broken. Someone needs to fix it so we use
the cairo_t's matrix and don't juggle with both Pango and cairo matrices
everywhere.
Benjamin Otte [Mon, 27 Sep 2010 18:49:06 +0000 (20:49 +0200)]
gtk-demo: Clean up toolpalette drawing code
Fix compile warning and use cairo_paint() instead of querying the widget
size and cairo_fill()ing it.
Benjamin Otte [Mon, 27 Sep 2010 18:48:43 +0000 (20:48 +0200)]
cups: Fix compile warnings with --enable-debug
Benjamin Otte [Mon, 27 Sep 2010 15:33:39 +0000 (17:33 +0200)]
x11: Fix debug code
With recent changes, nobody compiled with debug enabled. Fix that.
Tristan Van Berkom [Mon, 27 Sep 2010 12:15:16 +0000 (21:15 +0900)]
Fix erroneous usage of height-for-width apis in gtk_widget_real_adjust_size_allocation().
When fitting a widget into its allocation, the second dimension
is always dependent on the first, so gtk_widget_get_preferred_size()
cannot be used directly (because we want the natural height for
the allocated width, not the natural height for the natural width,
which is generally a smaller height than the height-for-minimum-width
or height-for-allocated-width).
Added test to testadjustsize to ensure proper behaviour.
Tristan Van Berkom [Mon, 27 Sep 2010 06:11:27 +0000 (15:11 +0900)]
Fixing documentation of gtk_widget_get_request_mode()
Tristan Van Berkom [Mon, 27 Sep 2010 06:10:50 +0000 (15:10 +0900)]
Fixing demos/ directory to build for removal of GtkObject type.
Tristan Van Berkom [Mon, 27 Sep 2010 06:10:23 +0000 (15:10 +0900)]
Fixing tests/ build for removal of GtkObject type.