]>
Pileus Git - ~andy/gtk/log
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:30:32 +0000 (15:30 +0900)]
Merge branch 'kill-size-request'
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.
Tristan Van Berkom [Wed, 27 Oct 2010 14:25:05 +0000 (23:25 +0900)]
Removing size_request from 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 >*/
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.
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: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
Khaled Hosny [Sun, 24 Oct 2010 10:04:02 +0000 (12:04 +0200)]
Updated Arabic translation
Matthias Clasen [Sat, 23 Oct 2010 21:02:40 +0000 (23:02 +0200)]
Fix up docs
Matthias Clasen [Sat, 23 Oct 2010 20:51:38 +0000 (22:51 +0200)]
Add a unique->GtkApplication migration guide
Matthias Clasen [Sat, 23 Oct 2010 19:24:24 +0000 (21:24 +0200)]
Some GtkApplication cleanups
Remove no-longer-needed vfuncs, no longer existing functions,
and improve the docs here and there.
Matthias Clasen [Sat, 23 Oct 2010 19:23:22 +0000 (21:23 +0200)]
Fix doc build
Matthias Clasen [Sat, 23 Oct 2010 17:28:05 +0000 (19:28 +0200)]
Revert the id-column patch
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
Tristan Van Berkom [Sat, 23 Oct 2010 13:50:25 +0000 (22:50 +0900)]
Fixed fallout from GtkScrollable patches.
The scrollable patch removed set_scroll_adjustments (NULL, NULL) from
gtk_tree_view_init() which ensured the treeview would have adjustments
at all times, this patch adds set_v/hadjustment (NULL) to _init to ensure
the same thing (without it, there are crashes when trying to access the
adjustments notably from set_headers_visible() in gedit).
Jorge González [Sat, 23 Oct 2010 12:25:35 +0000 (14:25 +0200)]
Updated Spanish translation
Tristan Van Berkom [Sat, 23 Oct 2010 11:03:41 +0000 (20:03 +0900)]
Fixed push/pop_recursion_check() to not fire warnings for expected code.
I.e. Since we are now calling get_preferred_width() to ensure a good 'for_size'
for get_height_for_width() we need to avoid warning about this internal expected
recursion.
Javier Jardón [Sat, 23 Oct 2010 01:03:50 +0000 (03:03 +0200)]
docs: GtkComboBoxText: more fixes
Javier Jardón [Sat, 23 Oct 2010 00:52:24 +0000 (02:52 +0200)]
docs: Some fixes in GtkComboboxText notations
Yaron Shahrabani [Sat, 23 Oct 2010 00:40:54 +0000 (02:40 +0200)]
Updated Hebrew translation.
Matthias Clasen [Fri, 22 Oct 2010 22:23:17 +0000 (00:23 +0200)]
Fix distcheck
Matthias Clasen [Fri, 22 Oct 2010 22:06:39 +0000 (00:06 +0200)]
NEWS for 2.91.2
Matthias Clasen [Fri, 22 Oct 2010 21:33:30 +0000 (23:33 +0200)]
Add a way to associate numeric ids with combobox values
This will let us use combo boxes as property editors for
GSettings enmerations easily.
Javier Jardón [Fri, 22 Oct 2010 22:16:27 +0000 (00:16 +0200)]
gtkadjustment: Move documentation to inline comments