Tristan Van Berkom
a160358830
GtkIconView now uses a per-row GtkCellAreaContext to store the alignments
...
of each row.
GtkIconView now properly calculates the height of each row separately
using a separate GtkCellAreaContext stored in an array which it can
always easily index with the item->row index for all purposes.
2011-01-06 13:51:48 +09:00
Tristan Van Berkom
2d5eadb7f9
Alignments with variable row heights almost works perfectly.
...
However, I'm going to have to figure a way to store the alignments
for rows separately, this may involve using a separate GtkCellAreaContext
for each row, unfortunately.
2011-01-06 13:51:48 +09:00
Tristan Van Berkom
e51592c0b3
Experimenting with allocating the context a different height for each row.
2011-01-06 13:51:48 +09:00
Tristan Van Berkom
c77abe1f83
Committing working version of GtkIconView using GtkCellArea.
...
Some things still not sorted out, GtkCellAreaContext is not allocated
so icons dont recieve alignments yet, focus navigation is not exactly
what it used to be (maybe we can work around that by observing the
item orientation and explicitly setting focus to the same cell when
navigating in the wrong orientation).
2011-01-06 13:51:48 +09:00
Tristan Van Berkom
951ea857cc
Initial messy commit of GtkIconView using GtkCellArea (nothing works yet).
2011-01-06 13:51:48 +09:00
Tristan Van Berkom
6d483ed930
Added GtkCellArea & GtkCellAreaContext to GtkIconView
...
First commit to icon-view-refactor, essentially only adds the
construct-only "cell-area" property and the context but doesnt
use it.
2011-01-06 13:51:48 +09:00
Szilárd Pfeiffer
8219ed3a26
Add gtk_tree_model_iter_previous() vfunc
...
https://bugzilla.gnome.org/show_bug.cgi?id=128058
2011-01-05 23:39:11 -05:00
Matthias Clasen
072023e57b
Remove deprecated GtkSpinner style properties
2011-01-05 23:21:52 -05:00
Matthias Clasen
2b3b3934a4
Another NEWS update
2011-01-05 21:12:51 -05:00
A S Alam
f4cf52f2cc
Translation: update Punjabi
2011-01-06 07:16:05 +05:30
Matthias Clasen
53b67b9a72
Drop the G_SEAL definition from gdkconfig.h
...
All sealed members removed. Yay!
2011-01-05 19:00:14 -05:00
Benjamin Otte
2e064b3378
tests: Port testsocket example to not use deprecated APIs
2011-01-05 23:50:22 +01:00
Benjamin Otte
8136481d75
tests: Fix compile warnings for people who don't read gcc output.
2011-01-05 23:50:22 +01:00
Benjamin Otte
96091a4d9c
adjustment: Privateize sealed members
2011-01-05 23:50:22 +01:00
Benjamin Otte
e1cb1b89d8
testgtk: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
3d3358b561
testgtk: Rename "adj" variables to "adjustment"
2011-01-05 23:50:22 +01:00
Benjamin Otte
b533305728
tests: Update prop-editor adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
d5f7b6cd64
gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile
2011-01-05 23:50:22 +01:00
Benjamin Otte
e62b39c921
volumebutton: Update adjustment usage for sealing
...
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
2011-01-05 23:50:22 +01:00
Benjamin Otte
f79c6baa66
scalebutton: Update adjustment usage for sealing
...
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
2011-01-05 23:50:22 +01:00
Benjamin Otte
cc879a6028
textview: Update adjustment usage for sealing
...
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
2011-01-05 23:50:22 +01:00
Benjamin Otte
cd80f49053
tests: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
a41402c455
combobox: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
e4442c010b
examples: Update dial adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
c731e1ce0a
demos: Update testpixbuf-scale demo for adjustment sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
a28be2cc6c
gail: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
801ba1c758
range: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
95e9f4c0c1
range: Rewrite attachment setters to use sealed API
2011-01-05 23:50:22 +01:00
Benjamin Otte
7210e6e1cd
viewport: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
2b4bb071a3
viewport: Rewrite adjustment modification code for sealing
2011-01-05 23:50:21 +01:00
Benjamin Otte
a317499031
iconview: Update adjustment usage for sealing
2011-01-05 23:50:21 +01:00
Benjamin Otte
aa495f00b4
iconview: Use gtk_adjustment_configure() instead of g_object_set()
...
Simplifies code quite a bit apart from jsut making it more readable.
2011-01-05 23:50:21 +01:00
Benjamin Otte
3f1a65d6f5
iconview: Use set_[hv]adjustment_values() also when just changing upper
...
Simplifies the code quite a bit and the code is smart enough to not do
extra work if only one value changes.
2011-01-05 23:50:21 +01:00
Benjamin Otte
1af3a95e8c
menu: Update adjustment usage for sealing
2011-01-05 23:50:21 +01:00
Benjamin Otte
8ea3372395
menu: Update adjustment usage for sealing
...
Call gtk_adjustment_set_value() instead of manually updating the value
in gtk_menu_scroll_to()
2011-01-05 23:50:21 +01:00
Benjamin Otte
f5a3af9b02
scrolledwindow: Update adjustment usage for sealing
2011-01-05 23:50:21 +01:00
Benjamin Otte
76b50a7eae
spinbutton: Update adjustment usage for sealing
...
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
2011-01-05 23:50:21 +01:00
Matthias Clasen
14a452ab50
More updates
2011-01-05 16:58:08 -05:00
Matthias Clasen
7799fbf239
Add GtkNumerableIcon
...
This is a subclass of GEmblemedIcon that can show a number or
short string as an emblem, overlayed on top of another emblem.
Written by Cosimo Cecchi
https://bugzilla.gnome.org/show_bug.cgi?id=637169
2011-01-05 16:33:15 -05:00
Tristan Van Berkom
9a80100e9a
Fixed get_size() for GtkCellRendererText to clip to the input area
...
For ellipsize cells it's important to clip the result of get_size()
so that the returned required rectangle is indeed less than or equal
to the input rectangle... this is done so that GtkCellArea can accurately
paint focus on cells by calling gtk_cell_renderer_get_aligned_area().
Patch also adds assertions to gtk_cell_renderer_get_aligned_area() to
ensure this keeps working correctly.
2011-01-06 02:31:42 +09:00
Matthias Clasen
e41fb7703c
Add padding to text attribute structs
2011-01-05 11:28:45 -05:00
Ivar Smolin
3d12aca2f9
[l10n] Updated Estonian translation
2011-01-05 18:14:40 +02:00
Matthias Clasen
67b8f22d8b
Remove some dropped symbols from gtk3-sections.txt
2011-01-05 11:01:46 -05:00
Matthias Clasen
3109441c77
Update gtk symbols list
2011-01-05 11:01:45 -05:00
Milan Bouchet-Valat
d7af47d657
Fix doc about gtk_cell_layout_get_area()
...
Return value was copied and pasted from gtk_cell_layout_get_cells(),
which is obviously wrong.
2011-01-05 16:45:51 +01:00
Milan Bouchet-Valat
ebe9d075f4
Fix GtkCellArea:edit-widget to be of type GtkCellEditable
...
More correct, and consistent with gtk_cell_area_get_editable_widget().
2011-01-05 16:45:51 +01:00
Matthias Clasen
f377621eb7
Fix libgail-util doc build
2011-01-05 10:12:16 -05:00
Matthias Clasen
680b64d04a
Fix some parameter name mismatches in the docs
2011-01-05 10:04:48 -05:00
Matthias Clasen
9f13312520
Fix file lists in the win32 backend
2011-01-05 09:58:46 -05:00
Matthias Clasen
1a8290f92c
Update POTFILES some more
2011-01-05 09:43:45 -05:00