]>
Pileus Git - ~andy/gtk/log
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
Matthias Clasen [Wed, 27 Oct 2010 01:29:58 +0000 (21:29 -0400)]
Remove size_request from GtkCheckButton
Matthias Clasen [Wed, 27 Oct 2010 01:06:40 +0000 (21:06 -0400)]
Remove size_request from GtkCalendar
Matthias Clasen [Wed, 27 Oct 2010 00:57:40 +0000 (20:57 -0400)]
Remove size_request from GtkButtonBox
Matthias Clasen [Wed, 27 Oct 2010 00:57:23 +0000 (20:57 -0400)]
Remove size_request from GtkAssistant
Javier Jardón [Tue, 26 Oct 2010 04:35:10 +0000 (06:35 +0200)]
Fix gtk-doc markup: /* <private> */ should be /*< private >*/
Tristan Van Berkom [Tue, 26 Oct 2010 16:06:58 +0000 (01:06 +0900)]
Merge branch 'master' into treeview-refactor
Tristan Van Berkom [Tue, 26 Oct 2010 16:01:58 +0000 (01:01 +0900)]
Added most of the request code for GtkCellAreaBox
Added the following to GtkCellAreaBox:
- GtkCellAreaBox:spacing property defines spacing between cells
- GtkCellAreaBox:align-cells property defines whether cells should
be aligned with cells in adjacent rows.
- Implementations for get_preferred_width / get_preferred_height
- Implementations for get_preferred_height_for_width and the other
when the box is oriented in the easy way (i.e. height_for_width()
implemented for a vertical box, no virtual allocations done yet).
Fran Diéguez [Tue, 26 Oct 2010 14:59:45 +0000 (16:59 +0200)]
Updated galician translations
Matthias Clasen [Tue, 26 Oct 2010 14:53:46 +0000 (10:53 -0400)]
Stop calling GtkWidget parameters 'request'
There were at least a few places where we were using GTK_WIDGET()
on something that was already a GtkWidget*, just because it was
named wrong.
Tristan Van Berkom [Tue, 26 Oct 2010 14:01:17 +0000 (23:01 +0900)]
Finished up initial revision of GtkCellAreaBoxIter
The interaction between this class and GtkCellAreaBox could
use some optimization, maybe the cells and their sizes should
be returned as a list and iterated over at the same time as
requesting sizes instead of the hash table approach currently
taken, however the code is clean this way for now.
Tristan Van Berkom [Tue, 26 Oct 2010 09:22:59 +0000 (18:22 +0900)]
Added GtkCellAreaBox subclass to handle alignments of cells across rows inside a GtkCellAreaBox.
Tristan Van Berkom [Tue, 26 Oct 2010 08:14:20 +0000 (17:14 +0900)]
Added GtkCellAreaIter class
Added base class to hold alignment and overall size request information
while itterating over the size requests of various rows of a GtkTreeModel,
updated GtkCellArea/GtkCellAreaBox classes accordingly.
Yaron Shahrabani [Tue, 26 Oct 2010 06:32:05 +0000 (08:32 +0200)]
Update properties Hebrew translation.
Xan Lopez [Tue, 26 Oct 2010 06:18:35 +0000 (15:18 +0900)]
gtkcomboboxtext: remove unused variable
Javier Jardón [Tue, 26 Oct 2010 04:03:34 +0000 (06:03 +0200)]
gtk.symbols: Add scrollable policy API
Javier Jardón [Wed, 20 Oct 2010 16:37:59 +0000 (18:37 +0200)]
gtkfilechooserentry: Use accessor functions to access GtkEntry
Javier Jardón [Wed, 20 Oct 2010 15:45:17 +0000 (17:45 +0200)]
gtkspinbutton: Use accessor functions to access GtkEntry
Javier Jardón [Tue, 19 Oct 2010 00:00:10 +0000 (02:00 +0200)]
Use accessor functions to access GtkButton
Javier Jardón [Tue, 19 Oct 2010 16:18:02 +0000 (18:18 +0200)]
gtktogglebutton: move public members to private structure
Javier Jardón [Tue, 19 Oct 2010 16:21:56 +0000 (18:21 +0200)]
gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
It's needed by gtkradiobutton
Javier Jardón [Tue, 19 Oct 2010 02:16:17 +0000 (04:16 +0200)]
gtkradiobutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 02:15:37 +0000 (04:15 +0200)]
gtkcheckbutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 16:45:11 +0000 (18:45 +0200)]
gtktoggletoolbutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 16:46:07 +0000 (18:46 +0200)]
gail: use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 16:46:40 +0000 (18:46 +0200)]
tests: use accessor functions to access GtkToogleButton
Tristan Van Berkom [Tue, 26 Oct 2010 02:37:27 +0000 (11:37 +0900)]
Merge branch 'master' into treeview-refactor
Tristan Van Berkom [Tue, 26 Oct 2010 02:35:04 +0000 (11:35 +0900)]
Missed adding the scrolled window test in previous commit, added scrolled window test.
Tristan Van Berkom [Tue, 26 Oct 2010 00:59:02 +0000 (09:59 +0900)]
Added GtkScrollablePolicy property to scrollable interface
This patch adds the GtkScrollablePolicy type property to GtkScrollable
and implements it in all subclasses. GtkScrolledWindow observes this
property to make a good guess about when to show/hide scrollbars for
height-for-width content.
Most scrollable children do not do height-for-width *yet* but
most certainly will (toolpalette, treeview, iconview, textview
widgets all TODO), for scrollable widgets that do have a minimum
and natural size, it's important for them to observe the state
of this property in order to properly drive the scroll adjustments
according to the desired GtkScrollablePolicy. This patch makes
GtkViewport do this.
Patch also adds tests/testscrolledwindow.c to display the effects
of this property.
Matthias Clasen [Mon, 25 Oct 2010 22:32:37 +0000 (18:32 -0400)]
Bump version
Matthias Clasen [Mon, 25 Oct 2010 18:35:19 +0000 (14:35 -0400)]
Include gdkrgba.h
Matthias Clasen [Mon, 25 Oct 2010 17:59:49 +0000 (13:59 -0400)]
More updates
Matthias Clasen [Mon, 25 Oct 2010 17:49:37 +0000 (13:49 -0400)]
Add new GdkRGBA apis to gtk.symbols
Matthias Clasen [Mon, 25 Oct 2010 17:44:43 +0000 (13:44 -0400)]
Add new GdkRGBA api to symbol list
=Christian Persch [Mon, 25 Oct 2010 16:22:20 +0000 (12:22 -0400)]
Use g_ascii_strto[u]ll instead of strto[u]l
We don't want GtkBuilder input to be locale-dependent.
Bug #632503
Matthias Clasen [Mon, 25 Oct 2010 16:10:48 +0000 (12:10 -0400)]
Add tests for GdkRGBA serialization
In particular, test that serialization is not dependent on the
locale.
Matthias Clasen [Mon, 25 Oct 2010 16:01:11 +0000 (12:01 -0400)]
Add some GdkRGBA tests
Matthias Clasen [Mon, 25 Oct 2010 15:17:24 +0000 (11:17 -0400)]
Support resetting cell renderer colors with NULL again
This functionality was lost when GdkRGBA was introduced.
Bug 632936
Jorge González [Mon, 25 Oct 2010 14:26:28 +0000 (16:26 +0200)]
Updated Spanish translation
Richard Hughes [Mon, 25 Oct 2010 09:20:10 +0000 (10:20 +0100)]
Fix make distcheck as gtkcomboboxentry does not exist anymore
Fran Diéguez [Sun, 24 Oct 2010 23:13:13 +0000 (01:13 +0200)]
Updated Galician translations
Ignacio Casal Quinteiro [Sun, 24 Oct 2010 20:51:51 +0000 (22:51 +0200)]
Fix typo.
Matthias Clasen [Sun, 24 Oct 2010 05:22:13 +0000 (07:22 +0200)]
GtkCalendar: turn into a no-window widget
After these changes, GtkCalendar only has a few input-only windows
left for catching input events. All drawing goes to the parent
window now.
Matthias Clasen [Sun, 24 Oct 2010 05:21:37 +0000 (07:21 +0200)]
Bring back lost functionality
Double-click to mark/unmark was lost a while ago.
Also add easy RTL testing.
Matthias Clasen [Sat, 23 Oct 2010 22:38:37 +0000 (00:38 +0200)]
Fill out the bug section
Tristan Van Berkom [Sun, 24 Oct 2010 11:08:21 +0000 (20:08 +0900)]
Implemented GtkCellLayoutIface->reorder on GtkCellAreaBox.
Tristan Van Berkom [Sun, 24 Oct 2010 11:01:04 +0000 (20:01 +0900)]
Implemented basic child list handling on GtkCellAreaBox
Added the child list to GtkCellAreaBox, added _pack_start() and
_pack_end() apis to GtkCellAreaBox since they are appropriate there
and implemented GtkCellLayoutIface to override the _pack_start()/end()
methods (since the base GtkCellArea class simply forwards these apis
to the generic ->add() api on the base class).