]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Thu, 6 Jan 2011 05:07:48 +0000 (00:07 -0500)]
Cosmetic changes
Tristan Van Berkom [Wed, 5 Jan 2011 16:30:17 +0000 (01:30 +0900)]
Ensure that GtkIconView items get redrawn when the focus cell changes.
Seems the redraw was not happenning from keynav when set_focus_cell()
was called because keynav already updates the focus-cell. Now we
just unconditionally redraw the focus item when set_focus_cell() is
called.
Tristan Van Berkom [Wed, 5 Jan 2011 12:58:32 +0000 (21:58 +0900)]
Fixed GtkIconView keynav
Icon View was not initially setting focus on a cell when
focus initially comes into the view. Focusing into whatever
is the first cell in the cursor item when set_cursor_item
is called with a NULL cell fixes this.
Tristan Van Berkom [Tue, 21 Dec 2010 12:28:46 +0000 (21:28 +0900)]
Fixed gtkiconview dispose cycle to not fire warnings.
Tristan Van Berkom [Tue, 14 Dec 2010 06:37:42 +0000 (15:37 +0900)]
Restored the old GtkIconView guess for wrap-width/width size of text cell
GtkIconView sets the minimum width of the text cell to be at least 50
pixels and otherwise twice the width of the first pixbuf cell found
in the icon list.
Tristan Van Berkom [Mon, 13 Dec 2010 09:08:37 +0000 (18:08 +0900)]
Made GtkIconView reset the context and invalidate all sizes when a row changes.
GtkIconView should have a "grow-only" mode to handle optimization to
only allow icons to grow in width when rows change, however since
GtkIconView still does not handle large numbers of rows for now we'll
just relayout the whole thing whenever a series of rows change.
Also fixed up to watch the context incase of implicit resets.
Tristan Van Berkom [Mon, 13 Dec 2010 08:41:50 +0000 (17:41 +0900)]
Removed gtk_icon_view_get_item_area()
Now use a GdkRectangle at the begining of the GtkIconViewItem
structure and just re-cast the struct to get the item area.
Tristan Van Berkom [Mon, 13 Dec 2010 07:01:58 +0000 (16:01 +0900)]
Fixed GtkIconView buildable custom tag end to let cell layout properly
handle <cell-packing>
Tristan Van Berkom [Mon, 13 Dec 2010 06:54:02 +0000 (15:54 +0900)]
Added gtk_icon_view_new_with_area()
Tristan Van Berkom [Sun, 12 Dec 2010 15:24:26 +0000 (00:24 +0900)]
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.
Tristan Van Berkom [Sun, 12 Dec 2010 11:59:41 +0000 (20:59 +0900)]
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.
Tristan Van Berkom [Sun, 12 Dec 2010 11:37:38 +0000 (20:37 +0900)]
Experimenting with allocating the context a different height for each row.
Tristan Van Berkom [Sun, 12 Dec 2010 10:59:41 +0000 (19:59 +0900)]
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).
Tristan Van Berkom [Sun, 12 Dec 2010 07:29:41 +0000 (16:29 +0900)]
Initial messy commit of GtkIconView using GtkCellArea (nothing works yet).
Tristan Van Berkom [Fri, 10 Dec 2010 08:15:39 +0000 (17:15 +0900)]
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.
Szilárd Pfeiffer [Thu, 6 Jan 2011 04:39:11 +0000 (23:39 -0500)]
Add gtk_tree_model_iter_previous() vfunc
https://bugzilla.gnome.org/show_bug.cgi?id=128058
Matthias Clasen [Thu, 6 Jan 2011 04:21:52 +0000 (23:21 -0500)]
Remove deprecated GtkSpinner style properties
Matthias Clasen [Thu, 6 Jan 2011 02:08:30 +0000 (21:08 -0500)]
Another NEWS update
A S Alam [Thu, 6 Jan 2011 01:46:05 +0000 (07:16 +0530)]
Translation: update Punjabi
Matthias Clasen [Thu, 6 Jan 2011 00:00:14 +0000 (19:00 -0500)]
Drop the G_SEAL definition from gdkconfig.h
All sealed members removed. Yay!
Benjamin Otte [Wed, 5 Jan 2011 22:49:40 +0000 (23:49 +0100)]
tests: Port testsocket example to not use deprecated APIs
Benjamin Otte [Wed, 5 Jan 2011 22:49:14 +0000 (23:49 +0100)]
tests: Fix compile warnings for people who don't read gcc output.
Benjamin Otte [Wed, 5 Jan 2011 22:03:57 +0000 (23:03 +0100)]
adjustment: Privateize sealed members
Benjamin Otte [Wed, 5 Jan 2011 22:33:50 +0000 (23:33 +0100)]
testgtk: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:28:55 +0000 (23:28 +0100)]
testgtk: Rename "adj" variables to "adjustment"
Benjamin Otte [Wed, 5 Jan 2011 22:28:36 +0000 (23:28 +0100)]
tests: Update prop-editor adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:25:33 +0000 (23:25 +0100)]
gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile
Benjamin Otte [Wed, 5 Jan 2011 22:03:09 +0000 (23:03 +0100)]
volumebutton: Update adjustment usage for sealing
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
Benjamin Otte [Wed, 5 Jan 2011 22:02:10 +0000 (23:02 +0100)]
scalebutton: Update adjustment usage for sealing
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
Benjamin Otte [Wed, 5 Jan 2011 22:00:46 +0000 (23:00 +0100)]
textview: Update adjustment usage for sealing
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
Benjamin Otte [Wed, 5 Jan 2011 22:00:26 +0000 (23:00 +0100)]
tests: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:29:13 +0000 (22:29 +0100)]
combobox: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:15:42 +0000 (22:15 +0100)]
examples: Update dial adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:14:32 +0000 (22:14 +0100)]
demos: Update testpixbuf-scale demo for adjustment sealing
Benjamin Otte [Wed, 5 Jan 2011 21:12:58 +0000 (22:12 +0100)]
gail: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:08:45 +0000 (22:08 +0100)]
range: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 21:06:55 +0000 (22:06 +0100)]
range: Rewrite attachment setters to use sealed API
Benjamin Otte [Wed, 5 Jan 2011 20:54:54 +0000 (21:54 +0100)]
viewport: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 20:53:04 +0000 (21:53 +0100)]
viewport: Rewrite adjustment modification code for sealing
Benjamin Otte [Wed, 5 Jan 2011 19:57:46 +0000 (20:57 +0100)]
iconview: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 22:14:02 +0000 (23:14 +0100)]
iconview: Use gtk_adjustment_configure() instead of g_object_set()
Simplifies code quite a bit apart from jsut making it more readable.
Benjamin Otte [Wed, 5 Jan 2011 22:00:54 +0000 (23:00 +0100)]
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.
Benjamin Otte [Wed, 5 Jan 2011 18:26:14 +0000 (19:26 +0100)]
menu: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 18:18:50 +0000 (19:18 +0100)]
menu: Update adjustment usage for sealing
Call gtk_adjustment_set_value() instead of manually updating the value
in gtk_menu_scroll_to()
Benjamin Otte [Wed, 5 Jan 2011 18:15:06 +0000 (19:15 +0100)]
scrolledwindow: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 15:54:12 +0000 (16:54 +0100)]
spinbutton: Update adjustment usage for sealing
Also rename all variables named "adj" to "adjustment", like they're
called everywhere else.
Matthias Clasen [Wed, 5 Jan 2011 21:58:08 +0000 (16:58 -0500)]
More updates
Matthias Clasen [Wed, 5 Jan 2011 21:30:57 +0000 (16:30 -0500)]
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
Tristan Van Berkom [Wed, 5 Jan 2011 17:29:18 +0000 (02:29 +0900)]
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.
Matthias Clasen [Wed, 5 Jan 2011 16:26:14 +0000 (11:26 -0500)]
Add padding to text attribute structs
Ivar Smolin [Wed, 5 Jan 2011 16:14:40 +0000 (18:14 +0200)]
[l10n] Updated Estonian translation
Matthias Clasen [Wed, 5 Jan 2011 16:01:20 +0000 (11:01 -0500)]
Remove some dropped symbols from gtk3-sections.txt
Matthias Clasen [Wed, 5 Jan 2011 16:00:23 +0000 (11:00 -0500)]
Update gtk symbols list
Milan Bouchet-Valat [Wed, 5 Jan 2011 13:49:09 +0000 (14:49 +0100)]
Fix doc about gtk_cell_layout_get_area()
Return value was copied and pasted from gtk_cell_layout_get_cells(),
which is obviously wrong.
Milan Bouchet-Valat [Wed, 5 Jan 2011 13:47:16 +0000 (14:47 +0100)]
Fix GtkCellArea:edit-widget to be of type GtkCellEditable
More correct, and consistent with gtk_cell_area_get_editable_widget().
Matthias Clasen [Wed, 5 Jan 2011 15:12:16 +0000 (10:12 -0500)]
Fix libgail-util doc build
Matthias Clasen [Wed, 5 Jan 2011 15:04:48 +0000 (10:04 -0500)]
Fix some parameter name mismatches in the docs
Matthias Clasen [Wed, 5 Jan 2011 14:58:46 +0000 (09:58 -0500)]
Fix file lists in the win32 backend
Matthias Clasen [Wed, 5 Jan 2011 14:43:45 +0000 (09:43 -0500)]
Update POTFILES some more
Matthias Clasen [Wed, 5 Jan 2011 14:38:36 +0000 (09:38 -0500)]
Try again to fix the doc build
Matthias Clasen [Wed, 5 Jan 2011 13:41:41 +0000 (08:41 -0500)]
Update POTFILES
Benjamin Otte [Wed, 5 Jan 2011 13:30:29 +0000 (14:30 +0100)]
testutils: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 13:28:08 +0000 (14:28 +0100)]
textview: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 13:12:24 +0000 (14:12 +0100)]
treeview: Update adjustment usage for sealing
Use getters instead of direct structure access.
Benjamin Otte [Wed, 5 Jan 2011 12:58:28 +0000 (13:58 +0100)]
treeview: Update adjustment usage for sealing
Use gtk_adjustment_set_upper() instead of doing its work manually.
Benjamin Otte [Wed, 5 Jan 2011 12:43:12 +0000 (13:43 +0100)]
treeview: Update adjustment usage for sealing
Use gtk_adjustment_configure() when toggling header visibility.
Benjamin Otte [Wed, 5 Jan 2011 12:27:12 +0000 (13:27 +0100)]
tests: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 12:25:28 +0000 (13:25 +0100)]
toolitemgroup: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 12:17:18 +0000 (13:17 +0100)]
layout: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 12:14:31 +0000 (13:14 +0100)]
colorsel: Update adjustment usage for sealing
Benjamin Otte [Wed, 5 Jan 2011 12:12:17 +0000 (13:12 +0100)]
toolpalette: Update adjustment usage for sealing
Benjamin Otte [Tue, 4 Jan 2011 16:23:07 +0000 (17:23 +0100)]
API: range: Remove update policy
It's unused and complicates code a lot. In particular, it breaks the
adjustment/range abstractions.
Matthias Clasen [Wed, 5 Jan 2011 04:45:34 +0000 (23:45 -0500)]
Update gtk symbol list
Matthias Clasen [Wed, 5 Jan 2011 04:40:41 +0000 (23:40 -0500)]
Fix gdk/abicheck.sh temporarily
The best fix for now is to just hardcode the X11 backend again
Matthias Clasen [Wed, 5 Jan 2011 04:15:35 +0000 (23:15 -0500)]
fix documentation build
Matthias Clasen [Wed, 5 Jan 2011 03:49:54 +0000 (22:49 -0500)]
Update NEWS for 2.99
Matthias Clasen [Wed, 5 Jan 2011 03:01:48 +0000 (22:01 -0500)]
Bump version to 2.99
Matthias Clasen [Wed, 5 Jan 2011 02:57:21 +0000 (21:57 -0500)]
Brush up configure output
Show used X extensions, print backends, etc.
Also make configure abort in some more cases when explicitly
enabled options are missing dependencies.
Matthias Clasen [Wed, 5 Jan 2011 00:25:17 +0000 (19:25 -0500)]
Decouple GdkWindowCache life-cycle from GdkX11DragContext
By making window caches refcounted. This fixes problems with leaking
drag contexts, as experienced in
https://bugzilla.gnome.org/show_bug.cgi?id=637691
and
https://bugzilla.gnome.org/show_bug.cgi?id=144324
Based on a patch by drago01@gmail.com
Emilio Pozuelo Monfort [Tue, 4 Jan 2011 23:20:53 +0000 (23:20 +0000)]
Fix build when builddir != srcdir
Emilio Pozuelo Monfort [Tue, 4 Jan 2011 20:24:47 +0000 (20:24 +0000)]
Fix introspection build when builddir != srcdir
So gdk/gdk.h can find gdk/gdkconfig.h, which is in $builddir
because it's generated.
Matthias Clasen [Tue, 4 Jan 2011 22:54:47 +0000 (17:54 -0500)]
Move GtkEntryCompletion docs inline
Based on a patch by Garrett Regier
https://bugzilla.gnome.org/show_bug.cgi?id=617322
Matthias Clasen [Tue, 4 Jan 2011 22:52:14 +0000 (17:52 -0500)]
Add gtkcellrenderer.sgml to .gitignore
Matthias Clasen [Tue, 4 Jan 2011 22:42:30 +0000 (17:42 -0500)]
Small doc cleanups for GtkCellLayout
Matthias Clasen [Tue, 4 Jan 2011 22:32:12 +0000 (17:32 -0500)]
Move docs for gtkmain inline
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
Matthias Clasen [Tue, 4 Jan 2011 19:51:19 +0000 (14:51 -0500)]
Remove gtktypeutils altogether
Based on patches by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
Matthias Clasen [Tue, 4 Jan 2011 18:49:37 +0000 (13:49 -0500)]
Remove GtkArg, GtkCallbackMarshal and GtkFunction
Based on a patch by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
Javier Jardón [Tue, 4 Jan 2011 18:39:35 +0000 (13:39 -0500)]
Remove deprecated gtk_quit_* API
Matthias Clasen [Tue, 4 Jan 2011 18:25:04 +0000 (13:25 -0500)]
Move GtkExpander docs inline
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617327
Matthias Clasen [Tue, 4 Jan 2011 18:07:28 +0000 (13:07 -0500)]
Move GtkDrawingArea docs inline
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617315
Javier Jardón [Tue, 4 Jan 2011 17:51:06 +0000 (18:51 +0100)]
gtkmenuitem: Use private pointer instead G_TYPE_INSTANCE_GET_PRIVATE
Matthias Clasen [Tue, 4 Jan 2011 17:54:24 +0000 (12:54 -0500)]
Remove gtk_tree_menu_get_type from gtk3.types
Matthias Clasen [Tue, 4 Jan 2011 17:51:11 +0000 (12:51 -0500)]
Move GtkDialog docs inline
Based on a patch by Garrett Regier.
https://bugzilla.gnome.org/show_bug.cgi?id=617312
Javier Jardón [Tue, 4 Jan 2011 17:32:22 +0000 (18:32 +0100)]
gtkmenu: Use private pointer instead G_TYPE_INSTANCE_GET_PRIVATE
Matthias Clasen [Tue, 4 Jan 2011 17:21:41 +0000 (12:21 -0500)]
Drop explicit includes of gdkkeysyms.h
These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h
to use the new GDK_KEY_ symbols.
Matthias Clasen [Tue, 4 Jan 2011 17:05:05 +0000 (12:05 -0500)]
Reduce includes of gtktypeutils.h to a minimum
Matthias Clasen [Tue, 4 Jan 2011 16:55:56 +0000 (11:55 -0500)]
Remove an outdated doc statement.
https://bugzilla.gnome.org/show_bug.cgi?id=553404
Matthias Clasen [Tue, 4 Jan 2011 16:44:09 +0000 (11:44 -0500)]
Some more calendar doc additions
Proposed by Nikos Kouremenos
https://bugzilla.gnome.org/show_bug.cgi?id=321958
Matthias Clasen [Tue, 4 Jan 2011 16:36:42 +0000 (11:36 -0500)]
Some documentation additions
Proposed by Bruno Piguet.
https://bugzilla.gnome.org/show_bug.cgi?id=559503
Matthias Clasen [Tue, 4 Jan 2011 16:25:40 +0000 (11:25 -0500)]
Mention gvfs in the gtk_show_uri() docs
https://bugzilla.gnome.org/show_bug.cgi?id=622125