Commit Graph

11558 Commits

Author SHA1 Message Date
Matthias Clasen
17c1bb4e52 Remove size_request from gtkToolItem 2010-10-27 09:54:44 -04:00
Tristan Van Berkom
7a85a31cc4 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-27 22:51:35 +09:00
Matthias Clasen
1205f5a230 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-27 09:41:37 -04:00
Matthias Clasen
f7740fe580 Remove size_request from GtkTable 2010-10-27 09:33:41 -04:00
Tristan Van Berkom
add32bab71 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-27 22:28:41 +09:00
Matthias Clasen
1184295620 Remove size_request from GtkRuler 2010-10-27 09:23:07 -04:00
Matthias Clasen
fc081e7847 Remove size_request from GtkPathBar 2010-10-27 09:13:26 -04:00
Matthias Clasen
7947f1933e Remove size_request from GtkSeparator 2010-10-27 08:33:42 -04:00
Matthias Clasen
d95f8ae2e2 Remove size_request from GtkRange 2010-10-27 08:10:40 -04:00
Matthias Clasen
9b60d27b83 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-27 07:55:27 -04:00
Tristan Van Berkom
80ac6c9701 Removed size_request from GtkOffscreenWindow 2010-10-27 14:43:30 +09:00
Tristan Van Berkom
9a80908c91 Removed size_request from GtkNotebook 2010-10-27 14:35:04 +09:00
Tristan Van Berkom
2dca7ad91d Removed size_request from GtkMenuBar 2010-10-27 14:30:07 +09:00
Tristan Van Berkom
c8c3cf9beb Removed size_request from GtkImageMenuItem 2010-10-27 14:12:41 +09:00
Tristan Van Berkom
814cd2c3ff Removed size_request from GtkIconView. 2010-10-27 14:11:36 +09:00
Tristan Van Berkom
7e3e0636aa Remove size_request from GtkHandleBox 2010-10-27 13:56:46 +09:00
Tristan Van Berkom
393bd507bb Fixed unused variable in get_preferred_height(). 2010-10-27 13:56:13 +09:00
Matthias Clasen
ac1bb229d1 Remove size_request from GtkSpinButton 2010-10-26 23:46:06 -04:00
Matthias Clasen
e45e9b187b Remove size_request from GtkProgressBar 2010-10-26 23:30:48 -04:00
Matthias Clasen
4ca87168d4 Remove size_reuqest from GtkImage 2010-10-26 23:16:40 -04:00
Matthias Clasen
86cb8d02d3 Remove size_request from GtkLayout 2010-10-26 23:08:15 -04:00
Matthias Clasen
909a005cb2 Remove size_request from GtkHSV 2010-10-26 23:08:01 -04:00
Matthias Clasen
58354f2036 Remove size_request from GtkFixed 2010-10-26 23:07:56 -04:00
Matthias Clasen
2432bf4a58 Remove size_request from GtkEntry 2010-10-26 21:41:13 -04:00
Matthias Clasen
3bb3dc72e3 Remove size_request from GtkCheckButton 2010-10-26 21:29:58 -04:00
Matthias Clasen
f85543af98 Remove size_request from GtkCalendar 2010-10-26 21:06:40 -04:00
Matthias Clasen
8178e6016a Remove size_request from GtkButtonBox 2010-10-26 20:57:40 -04:00
Matthias Clasen
d08e8aac62 Remove size_request from GtkAssistant 2010-10-26 20:57:23 -04:00
Javier Jardón
e0e6d5b4df Fix gtk-doc markup: /* <private> */ should be /*< private >*/ 2010-10-26 18:35:04 +02:00
Matthias Clasen
b69232e51b 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.
2010-10-26 10:53:46 -04:00
Xan Lopez
9c7016ab87 gtkcomboboxtext: remove unused variable 2010-10-26 15:18:35 +09:00
Javier Jardón
5aea672e00 gtk.symbols: Add scrollable policy API 2010-10-26 06:07:43 +02:00
Javier Jardón
8dd7ae38f9 gtkfilechooserentry: Use accessor functions to access GtkEntry 2010-10-26 06:07:43 +02:00
Javier Jardón
0b72acf78d gtkspinbutton: Use accessor functions to access GtkEntry 2010-10-26 06:07:42 +02:00
Javier Jardón
f5615022a7 Use accessor functions to access GtkButton 2010-10-26 06:07:42 +02:00
Javier Jardón
8991603c88 gtktogglebutton: move public members to private structure 2010-10-26 06:07:42 +02:00
Javier Jardón
49446ed57c gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
Javier Jardón
a93e79f8d2 gtkradiobutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Javier Jardón
783d18650b gtkcheckbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Javier Jardón
356cfaa084 gtktoggletoolbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Tristan Van Berkom
3fe0fb4ed9 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.
2010-10-26 10:15:56 +09:00
Matthias Clasen
c406b6ed22 Add new GdkRGBA apis to gtk.symbols 2010-10-25 13:49:37 -04:00
=Christian Persch
d3f1745493 Use g_ascii_strto[u]ll instead of strto[u]l
We don't want GtkBuilder input to be locale-dependent.

Bug #632503
2010-10-25 12:22:20 -04:00
Matthias Clasen
503698f587 Support resetting cell renderer colors with NULL again
This functionality was lost when GdkRGBA was introduced.

Bug 632936
2010-10-25 11:17:24 -04:00
Matthias Clasen
52a7553b2c 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.
2010-10-24 14:43:05 -04:00
Matthias Clasen
520a6aeb8f Fix up docs 2010-10-23 23:41:08 +02:00
Matthias Clasen
1be9b7f782 Some GtkApplication cleanups
Remove no-longer-needed vfuncs, no longer existing functions,
and improve the docs here and there.
2010-10-23 21:24:24 +02:00
Matthias Clasen
7651c231e0 Revert the id-column patch
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
2010-10-23 19:34:20 +02:00
Tristan Van Berkom
051dcde4bf 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).
2010-10-23 22:53:06 +09:00
Tristan Van Berkom
ed63ae2bd3 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.
2010-10-23 20:03:41 +09:00