]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 1 Nov 2010 12:14:19 +0000 (08:14 -0400)]
NEWS for 2.91.3
Ivar Smolin [Mon, 1 Nov 2010 06:19:38 +0000 (08:19 +0200)]
[l10n] Updated Estonian translation
Matthias Clasen [Mon, 1 Nov 2010 02:16:41 +0000 (22:16 -0400)]
Fix a typo
Matthias Clasen [Mon, 1 Nov 2010 02:14:53 +0000 (22:14 -0400)]
Mention actions in the libunique migration guide
Matthias Clasen [Sun, 31 Oct 2010 19:52:32 +0000 (15:52 -0400)]
Fix interaction between scrolling menus and automatic mnemonics
https://bugzilla.gnome.org/show_bug.cgi?id=612611
Michael Natterer [Sun, 31 Oct 2010 19:16:19 +0000 (20:16 +0100)]
gtk: remove all border_width handling from the button box
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
Michael Natterer [Sun, 31 Oct 2010 19:03:55 +0000 (20:03 +0100)]
gtk: fix automatic width of spin buttons which have no width in chars set
Michael Natterer [Sun, 31 Oct 2010 19:00:38 +0000 (20:00 +0100)]
tests: missed these two gtk_box_new() which sneaked in by rebasing...
Matthias Clasen [Sun, 31 Oct 2010 18:34:35 +0000 (14:34 -0400)]
GtkAssistant: Mention custom pages in the introduction
Michael Natterer [Sun, 31 Oct 2010 17:07:20 +0000 (18:07 +0100)]
gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
Matthias Clasen [Sun, 31 Oct 2010 18:09:48 +0000 (14:09 -0400)]
Add content size test for scrolled window
Bastien Nocera [Sat, 30 Oct 2010 19:12:58 +0000 (20:12 +0100)]
GtkAssistant: Add custom page type
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.
The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
Bastien Nocera [Sat, 30 Oct 2010 18:57:55 +0000 (19:57 +0100)]
GtkAssistant: Add more details about buttons shown
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
Matthias Clasen [Sun, 31 Oct 2010 01:25:21 +0000 (21:25 -0400)]
Improve GtkAssistant docs
Martin Nordholts [Sat, 30 Oct 2010 22:06:48 +0000 (00:06 +0200)]
Handle NULL intp in test_increment_intp()
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
Tristan Van Berkom [Mon, 1 Nov 2010 07:01:25 +0000 (16:01 +0900)]
Added cell focus apis to GtkCellArea.
Tristan Van Berkom [Mon, 1 Nov 2010 03:39:00 +0000 (12:39 +0900)]
Added GtkCellRendererState flags to GtkCellArea->event/render() methods
Tristan Van Berkom [Sun, 31 Oct 2010 13:50:53 +0000 (22:50 +0900)]
Changed GtkCellArea margin-left/right... for cell-margin-left/right...
The rationale here is that every cell in an area needs to have space
reserved around it, requests have to be fully margin inclusive...
cells need to have the full size fed as the "background area" and
the "cell area" has margins removed... This will be used by GtkTreeViewColumn
to set the focus line width so that cells can paint a background on the
full background, then render themselves into the cell area... and parents
can go ahead and draw focus and other indicators on the background area
but outside of the cell area.
Tristan Van Berkom [Sun, 31 Oct 2010 09:55:51 +0000 (18:55 +0900)]
Added margins to the cell area
Added margin properties to the cell area, margins will be removed
from the area given to ->render() when creating the inner cell area.
Tristan Van Berkom [Sun, 31 Oct 2010 08:45:29 +0000 (17:45 +0900)]
Implemented cell packing properties on GtkCellAreaBox
Tristan Van Berkom [Sun, 31 Oct 2010 08:45:06 +0000 (17:45 +0900)]
Added GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID to gtkcellarea.h
Tristan Van Berkom [Sun, 31 Oct 2010 08:13:15 +0000 (17:13 +0900)]
Implemented "cell properties" on the GtkCellArea
Added cell "packing" properties for generic configuration
of child cells inside an area.
Tristan Van Berkom [Sun, 31 Oct 2010 06:22:39 +0000 (15:22 +0900)]
Finished up allocation of cells.
Added get_allocated_cells() which returns a practical list
of cells with allocation for render/event time, this abstracts
whether the cells are individually aligned or aligned into groups,
when there are groups of cells before an alignment, those groups
get allocated on the fly for render time.
Tristan Van Berkom [Sun, 31 Oct 2010 04:06:10 +0000 (13:06 +0900)]
Cleaned up GtkCellAreaIter implementation to use arrays to store grouped cell information.
Tristan Van Berkom [Sat, 30 Oct 2010 14:48:52 +0000 (23:48 +0900)]
Adding GtkCellAreaIter arg to GtkCellArea->render/->event
Tristan Van Berkom [Sat, 30 Oct 2010 14:10:43 +0000 (23:10 +0900)]
Fixed hangs in TextView and ToolPalette
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
Tristan Van Berkom [Sat, 30 Oct 2010 14:09:14 +0000 (23:09 +0900)]
Fixing typo in scrolled window
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
Tristan Van Berkom [Sat, 30 Oct 2010 14:06:26 +0000 (23:06 +0900)]
Added the majority of the allocate machinery to GtkCellAreaIter[Box].
Tristan Van Berkom [Sat, 30 Oct 2010 12:40:22 +0000 (21:40 +0900)]
Fixed GtkCellAreaIter to notify invalidation of sizes on flush
Also fixed GtkCellAreaBox to track the iters it creates and flush
them when the overall layout configuration changes (add/remove/reorder/
spacing changed etc).
Javier Jardón [Sat, 30 Oct 2010 04:53:44 +0000 (06:53 +0200)]
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
Javier Jardón [Sat, 30 Oct 2010 03:00:32 +0000 (05:00 +0200)]
Use gtk_box_new() instead gtk_[v|h]box_new()
Javier Jardón [Sat, 30 Oct 2010 03:01:31 +0000 (05:01 +0200)]
docs: remove template of deprecated gtkcombo widget
Matthias Clasen [Sat, 30 Oct 2010 02:48:26 +0000 (22:48 -0400)]
Migration guide additions
Add some information about expand flags and the scrollable interface.
Christian Persch [Sat, 30 Oct 2010 01:16:52 +0000 (21:16 -0400)]
Make gdk_rgba_to_string() take a const GdkRGBA
https://bugzilla.gnome.org/show_bug.cgi?id=633216
Matthias Clasen [Sat, 30 Oct 2010 01:13:55 +0000 (21:13 -0400)]
Fix initial size allocation with child widgets
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
Javier Jardón [Sat, 30 Oct 2010 00:11:05 +0000 (02:11 +0200)]
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
Javier Jardón [Sat, 30 Oct 2010 00:07:28 +0000 (02:07 +0200)]
Use gtk_scale_new() instead gtk_[v|h]scale_new()
Javier Jardón [Sat, 30 Oct 2010 00:01:27 +0000 (02:01 +0200)]
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
Javier Jardón [Fri, 29 Oct 2010 23:47:13 +0000 (01:47 +0200)]
Use gtk_paned_new() instead gtk_[v|h]paned_new()
Javier Jardón [Fri, 29 Oct 2010 23:41:55 +0000 (01:41 +0200)]
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()
Javier Jardón [Fri, 29 Oct 2010 23:32:34 +0000 (01:32 +0200)]
Use gtk_separator_new() instead gtk_[v|h]separator_new()
Javier Jardón [Fri, 29 Oct 2010 23:21:15 +0000 (01:21 +0200)]
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Michael Natterer [Fri, 29 Oct 2010 11:19:22 +0000 (13:19 +0200)]
gtk: remove declarations of removed internal functions
Matthias Clasen [Fri, 29 Oct 2010 16:58:24 +0000 (12:58 -0400)]
Don't set get_preferred_width_for_height to NULL
The size request machinery expects that it is non-NULL.
Matthias Clasen [Fri, 29 Oct 2010 16:28:42 +0000 (12:28 -0400)]
GtkComboBox: Add a constructor that takes a model and adds an entry
https://bugzilla.gnome.org/show_bug.cgi?id=633050
Javier Jardón [Fri, 29 Oct 2010 01:28:24 +0000 (03:28 +0200)]
Re-enable deprecation guards
Carles Ferrando [Fri, 29 Oct 2010 00:37:58 +0000 (01:37 +0100)]
Updated Catalan (Valencian) translation
Carlos Garnacho [Thu, 28 Oct 2010 21:01:16 +0000 (23:01 +0200)]
Use the client pointer for events with no device.
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
Owen W. Taylor [Thu, 28 Oct 2010 20:43:55 +0000 (16:43 -0400)]
Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager
not used.
Matthias Clasen [Thu, 28 Oct 2010 18:27:04 +0000 (14:27 -0400)]
ifdef X-specific stuff
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
Matthias Clasen [Thu, 28 Oct 2010 18:22:46 +0000 (14:22 -0400)]
GtkButtonBox doesn't do height-for-width
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
John (J5) Palmieri [Thu, 28 Oct 2010 17:25:10 +0000 (13:25 -0400)]
[introspection] annotate delete_text invoker to match do_delete_text v-method
Vincent Untz [Thu, 28 Oct 2010 16:16:55 +0000 (12:16 -0400)]
Port tests to GtkScrollable API instead of deprecated GtkLayout API
https://bugzilla.gnome.org/show_bug.cgi?id=633374
Tristan Van Berkom [Sat, 30 Oct 2010 08:32:15 +0000 (17:32 +0900)]
Made GtkCellAreaBox:align-cells a packing property per cell
Implemented all request apis on GtkCellAreaBox considering
alignment of groups of cells (some cells can be aligned while
others fill space smartly).
Ignacio Casal Quinteiro [Thu, 28 Oct 2010 09:54:05 +0000 (11:54 +0200)]
Remove useless vars.
Tristan Van Berkom [Thu, 28 Oct 2010 07:00:19 +0000 (16:00 +0900)]
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
Tristan Van Berkom [Thu, 28 Oct 2010 06:41:00 +0000 (15:41 +0900)]
Added a runtime warning if any class is implementing the ->size_request() vfunc.
Tristan Van Berkom [Thu, 28 Oct 2010 06:17:06 +0000 (15:17 +0900)]
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
Tristan Van Berkom [Thu, 28 Oct 2010 06:16:06 +0000 (15:16 +0900)]
Removed size_request from GtkToolItemGroup
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
Tristan Van Berkom [Thu, 28 Oct 2010 05:56:04 +0000 (14:56 +0900)]
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
Matthias Clasen [Wed, 27 Oct 2010 19:55:33 +0000 (15:55 -0400)]
Add a migration guide section on size_request
Matthias Clasen [Wed, 27 Oct 2010 17:00:58 +0000 (13:00 -0400)]
Fix the build
Matthias Clasen [Wed, 27 Oct 2010 16:53:47 +0000 (12:53 -0400)]
Fix gtk_fixed_get_preferred_width
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
Bastien Nocera [Wed, 27 Oct 2010 16:47:08 +0000 (17:47 +0100)]
gtk: Fix crasher when loading symbolic icons
If the style didn't include symbolic colors for either success,
warning or error, gtk_icon_info_load_symbolic_for_style() would crash.
Instead, make sure we don't try to use the colors if they're not
available, and fallback on default colors inside
_gtk_icon_info_load_symbolic_internal().
Owen W. Taylor [Wed, 27 Oct 2010 16:40:59 +0000 (12:40 -0400)]
GtkSocket: Add error trap around call to XFixesChangeSaveSet()
Previously any X error from XFixesChangeSaveSet() was being eaten
by the subsequent error trap when sending a client message. With
asynchronous error traps, that side effect no longer occurs, so
we need to add a proper error trap around the call to
XFixesChangeSaveSet().
https://bugzilla.gnome.org/show_bug.cgi?id=633274
Tristan Van Berkom [Wed, 27 Oct 2010 16:40:51 +0000 (01:40 +0900)]
Revert "Removed size_request from GtkTextView"
This reverts commit
87dfa724ebb4e8710bee17461cb4823ba66d8658 .
I pushed this to the wrong branch, ouch sorry.
Matthias Clasen [Wed, 27 Oct 2010 15:17:40 +0000 (11:17 -0400)]
Remove size_request from GtkSocket
This is only preliminary, GtkSocket can do minimal/natural width
properly, there's code for that in the extended-layout branch.
Matthias Clasen [Wed, 27 Oct 2010 15:16:02 +0000 (11:16 -0400)]
Don't g_free gslice-allocated structures
This was causing memory corruption when removing remote plugs from
sockets.
Matthias Clasen [Wed, 27 Oct 2010 14:32:58 +0000 (10:32 -0400)]
Remove size_request from GtkScale
Tristan Van Berkom [Wed, 27 Oct 2010 14:59:43 +0000 (23:59 +0900)]
Removed size_request from GtkTearoffMenuItem
Tristan Van Berkom [Wed, 27 Oct 2010 14:34:58 +0000 (23:34 +0900)]
Fixed remaining call to ->size_request in GtkTextView.
Matthias Clasen [Wed, 27 Oct 2010 14:17:58 +0000 (10:17 -0400)]
Remove size_request from GtkSeparatorToolItem
Matthias Clasen [Wed, 27 Oct 2010 14:14:25 +0000 (10:14 -0400)]
Use correct icon name in testtoolbar
Tristan Van Berkom [Wed, 27 Oct 2010 13:59:49 +0000 (22:59 +0900)]
Removed size_request from GtkTextView
Matthias Clasen [Wed, 27 Oct 2010 13:53:46 +0000 (09:53 -0400)]
Remove size_request from gtkToolItem
Tristan Van Berkom [Wed, 27 Oct 2010 13:50:24 +0000 (22:50 +0900)]
Removing size_request from GtkToolPalette
Note GtkToolPalette is internally height-for-width, it needs to
be refactored to cooperate with GTK+'s height-for-width geometry
management properly.
Matthias Clasen [Wed, 27 Oct 2010 13:41:37 +0000 (09:41 -0400)]
Remove size_request from GtkToolbar
This is just a bandaid fix, the toolbar should really return proper
min/natural sizes, so that we can handle the overflow properly.
Matthias Clasen [Wed, 27 Oct 2010 13:32:42 +0000 (09:32 -0400)]
Remove size_request from GtkTable
Tristan Van Berkom [Wed, 27 Oct 2010 13:23:25 +0000 (22:23 +0900)]
Removing size_request from GtkTreeview.
This should be implemented as propery height-for-width by
the treeview-refactor branch. This commit includes a FIXME
comment that scroll adjustments should not be updated from
inside size requests but only after receiving an allocation.
Matthias Clasen [Wed, 27 Oct 2010 13:23:07 +0000 (09:23 -0400)]
Remove size_request from GtkRuler
Matthias Clasen [Wed, 27 Oct 2010 13:13:26 +0000 (09:13 -0400)]
Remove size_request from GtkPathBar
Matthias Clasen [Wed, 27 Oct 2010 12:33:42 +0000 (08:33 -0400)]
Remove size_request from GtkSeparator
Matthias Clasen [Wed, 27 Oct 2010 12:10:40 +0000 (08:10 -0400)]
Remove size_request from GtkRange
Matthias Clasen [Wed, 27 Oct 2010 11:57:03 +0000 (07:57 -0400)]
Fix a typo
Matthias Clasen [Wed, 27 Oct 2010 11:55:27 +0000 (07:55 -0400)]
Remove size_request from GtkPaned
This is not the final word; GtkPaned should really implement
height-for-width, but I didn't have time to complete that now.
Ivar Smolin [Wed, 27 Oct 2010 08:22:06 +0000 (11:22 +0300)]
[l10n] Updated Estonian translation
Tristan Van Berkom [Wed, 27 Oct 2010 05:43:30 +0000 (14:43 +0900)]
Removed size_request from GtkOffscreenWindow
Tristan Van Berkom [Wed, 27 Oct 2010 05:35:04 +0000 (14:35 +0900)]
Removed size_request from GtkNotebook
Tristan Van Berkom [Wed, 27 Oct 2010 05:30:07 +0000 (14:30 +0900)]
Removed size_request from GtkMenuBar
Tristan Van Berkom [Wed, 27 Oct 2010 05:12:41 +0000 (14:12 +0900)]
Removed size_request from GtkImageMenuItem
Tristan Van Berkom [Wed, 27 Oct 2010 05:11:36 +0000 (14:11 +0900)]
Removed size_request from GtkIconView.
Tristan Van Berkom [Wed, 27 Oct 2010 04:56:46 +0000 (13:56 +0900)]
Remove size_request from GtkHandleBox
Tristan Van Berkom [Wed, 27 Oct 2010 04:56:13 +0000 (13:56 +0900)]
Fixed unused variable in get_preferred_height().
Matthias Clasen [Wed, 27 Oct 2010 03:46:06 +0000 (23:46 -0400)]
Remove size_request from GtkSpinButton
Matthias Clasen [Wed, 27 Oct 2010 03:30:48 +0000 (23:30 -0400)]
Remove size_request from GtkProgressBar
Matthias Clasen [Wed, 27 Oct 2010 03:16:40 +0000 (23:16 -0400)]
Remove size_reuqest from GtkImage
Matthias Clasen [Wed, 27 Oct 2010 03:03:10 +0000 (23:03 -0400)]
Remove size_request from GtkLayout
Matthias Clasen [Wed, 27 Oct 2010 02:56:53 +0000 (22:56 -0400)]
Remove size_request from GtkHSV
Matthias Clasen [Wed, 27 Oct 2010 02:28:24 +0000 (22:28 -0400)]
Remove size_request from GtkFixed
Matthias Clasen [Wed, 27 Oct 2010 01:41:13 +0000 (21:41 -0400)]
Remove size_request from GtkEntry