Commit Graph

23549 Commits

Author SHA1 Message Date
Ignacio Casal Quinteiro
211c39c500 Remove useless vars. 2010-10-30 17:35:22 +09:00
Tristan Van Berkom
89cc46374d Fire a warning if there are any handlers connected to the deprecated "size-request" signal. 2010-10-30 17:35:22 +09:00
Tristan Van Berkom
731853a7ec Added a runtime warning if any class is implementing the ->size_request() vfunc. 2010-10-30 17:35:22 +09:00
Tristan Van Berkom
b277ba4238 Make GtkPathBar use set_size_request() instead of the "size-request" signal. 2010-10-30 17:35:22 +09:00
Tristan Van Berkom
05ca7e14b0 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.
2010-10-30 17:35:21 +09:00
Tristan Van Berkom
3265d46c9d Use gtk_widget_set_size_request() instead of handling "size-request" signals. 2010-10-30 17:35:21 +09:00
Matthias Clasen
d02443d57c Add a migration guide section on size_request 2010-10-30 17:35:21 +09:00
Matthias Clasen
9c128ed442 Fix the build 2010-10-30 17:35:21 +09:00
Matthias Clasen
eb60282b1b Fix gtk_fixed_get_preferred_width
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
2010-10-30 17:35:21 +09:00
Bastien Nocera
2a37d949ba 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().
2010-10-30 17:35:20 +09:00
Owen W. Taylor
d8fdbd8b72 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
2010-10-30 17:35:20 +09:00
Tristan Van Berkom
d86164f90d Revert "Removed size_request from GtkTextView"
This reverts commit 87dfa724eb.

I pushed this to the wrong branch, ouch sorry.
2010-10-30 17:35:20 +09:00
Matthias Clasen
2d4f3e1365 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.
2010-10-30 17:35:20 +09:00
Matthias Clasen
965b3af8a1 Don't g_free gslice-allocated structures
This was causing memory corruption when removing remote plugs from
sockets.
2010-10-30 17:35:20 +09:00
Matthias Clasen
3cdf3bc46c Remove size_request from GtkScale 2010-10-30 17:35:20 +09:00
Tristan Van Berkom
e573a455bb Removed size_request from GtkTearoffMenuItem 2010-10-30 17:35:20 +09:00
Tristan Van Berkom
292f32dde8 Fixed remaining call to ->size_request in GtkTextView. 2010-10-30 17:35:20 +09:00
Matthias Clasen
ebcb6e6b94 Remove size_request from GtkSeparatorToolItem 2010-10-30 17:35:20 +09:00
Matthias Clasen
5e0451de3a Use correct icon name in testtoolbar 2010-10-30 17:35:20 +09:00
Tristan Van Berkom
0db2b334b0 Removed size_request from GtkTextView 2010-10-30 17:35:19 +09:00
Matthias Clasen
9f074f8612 Remove size_request from gtkToolItem 2010-10-30 17:35:19 +09:00
Tristan Van Berkom
0b3e2ffee6 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.
2010-10-30 17:35:19 +09:00
Matthias Clasen
bf75f63f49 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.
2010-10-30 17:35:19 +09:00
Matthias Clasen
f3d5e20cff Remove size_request from GtkTable 2010-10-30 17:35:19 +09:00
Tristan Van Berkom
cd2a7a899f 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.
2010-10-30 17:35:19 +09:00
Matthias Clasen
113362b169 Remove size_request from GtkRuler 2010-10-30 17:35:19 +09:00
Matthias Clasen
7f8d92f02c Remove size_request from GtkPathBar 2010-10-30 17:35:19 +09:00
Matthias Clasen
70c81d6651 Remove size_request from GtkSeparator 2010-10-30 17:35:19 +09:00
Matthias Clasen
4927c16486 Remove size_request from GtkRange 2010-10-30 17:35:19 +09:00
Matthias Clasen
53744b6daf Fix a typo 2010-10-30 17:35:19 +09:00
Matthias Clasen
6b5debcaca 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.
2010-10-30 17:35:18 +09:00
Ivar Smolin
c823f33516 [l10n] Updated Estonian translation 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
34e1cd373b Removed size_request from GtkOffscreenWindow 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
af0c4bc656 Removed size_request from GtkNotebook 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
e9f541dc51 Removed size_request from GtkMenuBar 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
0f9c04769b Removed size_request from GtkImageMenuItem 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
8565b86223 Removed size_request from GtkIconView. 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
399f353427 Remove size_request from GtkHandleBox 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
16512bd9d3 Fixed unused variable in get_preferred_height(). 2010-10-30 17:35:18 +09:00
Matthias Clasen
f336754a8f Remove size_request from GtkSpinButton 2010-10-30 17:35:18 +09:00
Matthias Clasen
eca2d782ce Remove size_request from GtkProgressBar 2010-10-30 17:35:17 +09:00
Matthias Clasen
f83403098d Remove size_reuqest from GtkImage 2010-10-30 17:35:17 +09:00
Matthias Clasen
d4a07d5661 Remove size_request from GtkLayout 2010-10-30 17:35:17 +09:00
Matthias Clasen
381cd8b07c Remove size_request from GtkHSV 2010-10-30 17:35:17 +09:00
Matthias Clasen
b3f6f67c33 Remove size_request from GtkFixed 2010-10-30 17:35:17 +09:00
Matthias Clasen
e165c6c884 Remove size_request from GtkEntry 2010-10-30 17:35:17 +09:00
Matthias Clasen
2e4e7264e6 Remove size_request from GtkCheckButton 2010-10-30 17:35:17 +09:00
Matthias Clasen
23a9127765 Remove size_request from GtkCalendar 2010-10-30 17:35:17 +09:00
Matthias Clasen
2078db969c Remove size_request from GtkButtonBox 2010-10-30 17:35:17 +09:00
Matthias Clasen
42de07f2f3 Remove size_request from GtkAssistant 2010-10-30 17:35:17 +09:00