Commit Graph

23361 Commits

Author SHA1 Message Date
16512bd9d3 Fixed unused variable in get_preferred_height(). 2010-10-30 17:35:18 +09:00
f336754a8f Remove size_request from GtkSpinButton 2010-10-30 17:35:18 +09:00
eca2d782ce Remove size_request from GtkProgressBar 2010-10-30 17:35:17 +09:00
f83403098d Remove size_reuqest from GtkImage 2010-10-30 17:35:17 +09:00
d4a07d5661 Remove size_request from GtkLayout 2010-10-30 17:35:17 +09:00
381cd8b07c Remove size_request from GtkHSV 2010-10-30 17:35:17 +09:00
b3f6f67c33 Remove size_request from GtkFixed 2010-10-30 17:35:17 +09:00
e165c6c884 Remove size_request from GtkEntry 2010-10-30 17:35:17 +09:00
2e4e7264e6 Remove size_request from GtkCheckButton 2010-10-30 17:35:17 +09:00
23a9127765 Remove size_request from GtkCalendar 2010-10-30 17:35:17 +09:00
2078db969c Remove size_request from GtkButtonBox 2010-10-30 17:35:17 +09:00
42de07f2f3 Remove size_request from GtkAssistant 2010-10-30 17:35:17 +09:00
65dd3460ce Fix gtk-doc markup: /* <private> */ should be /*< private >*/ 2010-10-30 17:35:17 +09:00
abcfd2d5ef Merge branch 'master' into treeview-refactor 2010-10-27 01:06:58 +09:00
695e427522 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).
2010-10-27 01:01:58 +09:00
fca72da479 Updated galician translations 2010-10-26 17:00:40 +02:00
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
11f8dfe3f4 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.
2010-10-26 23:01:17 +09:00
97e3ccc58b Added GtkCellAreaBox subclass to handle alignments of cells across rows inside a GtkCellAreaBox. 2010-10-26 18:22:59 +09:00
b5e529f578 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.
2010-10-26 17:14:20 +09:00
bb77ea4a2c Update properties Hebrew translation. 2010-10-26 08:32:32 +02:00
9c7016ab87 gtkcomboboxtext: remove unused variable 2010-10-26 15:18:35 +09:00
5aea672e00 gtk.symbols: Add scrollable policy API 2010-10-26 06:07:43 +02:00
8dd7ae38f9 gtkfilechooserentry: Use accessor functions to access GtkEntry 2010-10-26 06:07:43 +02:00
0b72acf78d gtkspinbutton: Use accessor functions to access GtkEntry 2010-10-26 06:07:42 +02:00
f5615022a7 Use accessor functions to access GtkButton 2010-10-26 06:07:42 +02:00
8991603c88 gtktogglebutton: move public members to private structure 2010-10-26 06:07:42 +02:00
49446ed57c gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
a93e79f8d2 gtkradiobutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
783d18650b gtkcheckbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
356cfaa084 gtktoggletoolbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
fda588d10d gail: use accessor functions to access GtkToggleButton 2010-10-26 06:07:33 +02:00
49c409c498 tests: use accessor functions to access GtkToogleButton 2010-10-26 05:02:19 +02:00
8679563247 Merge branch 'master' into treeview-refactor 2010-10-26 11:37:27 +09:00
209715f0ef Missed adding the scrolled window test in previous commit, added scrolled window test. 2010-10-26 11:35:04 +09:00
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
04c1337bda Bump version 2010-10-25 18:32:37 -04:00
a7285e6435 Include gdkrgba.h 2010-10-25 14:35:19 -04:00
7bbaa56f53 More updates 2010-10-25 13:59:49 -04:00
c406b6ed22 Add new GdkRGBA apis to gtk.symbols 2010-10-25 13:49:37 -04:00
9c60da8978 Add new GdkRGBA api to symbol list 2010-10-25 13:44:43 -04:00
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
377e7179b8 Add tests for GdkRGBA serialization
In particular, test that serialization is not dependent on the
locale.
2010-10-25 12:10:48 -04:00
366a37d8c1 Add some GdkRGBA tests 2010-10-25 12:01:11 -04:00
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
546be63ecc Updated Spanish translation 2010-10-25 16:26:28 +02:00
1d7aabee69 Fix make distcheck as gtkcomboboxentry does not exist anymore 2010-10-25 10:20:10 +01:00
4a63814815 Updated Galician translations 2010-10-25 01:13:13 +02:00
fdea6c5c19 Fix typo. 2010-10-24 22:51:51 +02:00
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