summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.c
Commit message (Collapse)AuthorAgeFilesLines
* GtkIconView: Unseal private pointerJavier Jardón2010-07-131-4/+4
|
* Use accessor functions to access GtkCellRendererJavier Jardón2010-07-131-9/+13
|
* Use accessor functions to access GtkAccesible variablesJavier Jardón2010-07-131-14/+17
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-6/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Add (out) annotations to GtkTreeIter parametersPhilip Withnall2010-07-071-3/+3
|
* [iconview] Fix segfault when using rubberband selectionFlorian Müllner2010-07-021-1/+1
| | | | | | | When iterating over the cairo region's rectangles, do not decrement the counter twice ... https://bugzilla.gnome.org/show_bug.cgi?id=623389
* s/GdkRegion/cairo_region_t/ in all of gtkBenjamin Otte2010-06-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=613284
* Deprecate the GdkRegion APIBenjamin Otte2010-06-291-14/+13
| | | | | | | | | | Includes fixing all callers to use the cairo region API instead. This is usually just replacing the function names, the only difference is gdk_region_get_rectangles() being replaced by cairo_region_num_rectangles() and cairo_region_get_rectangle() which required a bit more work. https://bugzilla.gnome.org/show_bug.cgi?id=613284
* Revert "Add length to gtk_tree_path_get_indices"Colin Walters2010-06-281-18/+18
| | | | | | This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739. Was an accidental commit.
* Add length to gtk_tree_path_get_indicesColin Walters2010-06-281-18/+18
| | | | | | The old version wasn't introspectable as it didn't have a length return parameter. Also, delete gtk_tree_path_get_indices_with_depth, since it's no longer needed.
* Get rid of templates that gtk-doc touches during distcheckMatthias Clasen2010-06-081-0/+13
| | | | | In an attempt to make distcheck not touch any files under source control.
* Improved icon view keynavMatthias Clasen2010-05-301-4/+77
| | | | | | | | Use ::keynav-failed for arrow navigation in icon views, so that it is possible to override error handling. Also add API to get the row/col of an item. With this, it is possible to make arrow keynav span adjacent icon views, which is desired in the new control-center shell. testiconview-keynav demonstrates this.
* Trivial typo fixMatthias Clasen2010-05-301-4/+17
|
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-6/+15
|
* Revert "Forward-port a GtkAdjustment compatibility fix"Javier Jardón2010-05-241-34/+18
| | | | | | | | | | | | | | | | In the early 2.14.x releases, GtkAdjustment was changed to enforce that values are restricted to the range [lower, upper - page_size]. This has always been the documented behaviour, and the recommended practice is to set page_size to 0 when using adjustments for simple scalar values, like in a slider or spin button. Due to the large number of applications that are affected by this change, the behaviour has been reverted to the old behaviour in 2.14.3, with an explicit warning that this change will be reintroduced in 2.90. This reverts commit e6373738fc9c53c95e467a3681fcd3426fd94d13. https://bugzilla.gnome.org/show_bug.cgi?id=619474
* Don't use GTK_WIDGET_STATE in internal code anymoreJavier Jardón2010-03-091-6/+6
| | | | | | Use gtk_widget_get/set_state() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-031-10/+11
| | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)Javier Jardón2010-03-021-1/+1
| | | | Use new API instead: gtk_widget_set_can_focus ()
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_HAS_FOCUSJavier Jardón2010-03-011-9/+9
| | | | | | Use gtk_widget_has_focus() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* [annotations] Add allow-noneJohan Dahlin2010-02-191-13/+13
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-8/+8
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* [doc] Fix the documentation of GtkIconEntryChristian Dywan2009-12-081-1/+1
| | | | | | Cast to (GFunc) in example code Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383
* Fix a doc commentMatthias Clasen2009-11-271-4/+4
|
* Do not use static GTypeInfo and GInterfaceInfoNicola Fontana2009-11-061-7/+7
| | | | | | | | | Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600158
* Bug 581150 - GtkIconView tries to paint items with invalid sizesMatthew Barnes2009-10-231-0/+5
| | | | | | Run gtk_icon_view_layout() if necessary before attempting to paint the icon view items during an expose event. This ensures all the items have valid sizes, as some themes don't take kindly to negative dimensions.
* Always initialize out paramsMatthias Clasen2009-09-281-7/+7
| | | | | This was causing a crash in the appearance capplet, reported in bug 596345.
* Pack the struct better, should save four bytes per GtkIconViewMart Raudsepp2009-09-221-3/+3
|
* Don't return uninitialized pointersMatthias Clasen2009-08-131-3/+3
| | | | This was giving me segfaults somewhere else.
* Fix make checkMatthias Clasen2009-08-111-0/+8
|
* Add a GtkIconView::item-padding propertyMatthias Clasen2009-08-061-21/+83
| | | | | The property can be used to fine-tune who much space each column needs. See bug 586100.
* Fix DND onto an empty icon viewMatthias Clasen2009-07-171-1/+1
| | | | | | This did not work due to a copy and paste bug from the time when the treeview DND code was turned into iconview DND code. Fixes bug 599484.
* fix wrap width calculations that caused item height to be wrongCody Russell2009-07-011-11/+8
| | | | Fix by logari81 to the wrap width calculations fir GtkIconView. #490724
* fix compile warningsBenjamin Otte2009-06-171-2/+4
| | | | | Fallout from running make CFLAGS="-Werror"; mostly missing casts and constness issues.
* Forward-port a GtkAdjustment compatibility fixMatthias Clasen2009-05-031-18/+34
| | | | | We reverted GtkAdjustment to its traditional behaviour wrt. to clamping in 2.14.3, but the fix was lost between 2.14 and 2.16.
* Deselect all other selected items when clicking a selected oneClaudio Saavedra2009-04-181-8/+5
| | | | | When clicking on an GtkIconView item inside a selection, deselect all other selected items. (#506862)
* Copy the right string. Pointed out by Tommi RantalaMatthias Clasen2009-02-281-1/+1
| | | | | | | | | * gtk/gtkiconview.c (gtk_icon_view_item_accessible_image_set_image_description): Copy the right string. Pointed out by Tommi Rantala svn path=/trunk/; revision=22417
* More docstrings improvements regarding reorderable property.Claudio Saavedra2009-01-241-2/+4
| | | | | | | | | | 2009-01-25 Claudio Saavedra <csaavedra@igalia.com> * gtk/gtkiconview.c: More docstrings improvements regarding reorderable property. svn path=/trunk/; revision=22212
* Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt.Claudio Saavedra2009-01-241-5/+9
| | | | | | | | | | | | | 2009-01-24 Claudio Saavedra <csaavedra@igalia.com> Bug 559420 – gtk_icon_view_enable_model_drag_[source|dest] docs wrt. reorderable property * gtk/gtkiconview.c: Improve docstrings regarding reorderable property. Based on a patch by Björn Lindqvist. svn path=/trunk/; revision=22211
* Fix markupMatthias Clasen2008-12-301-0/+111
| | | | svn path=/trunk/; revision=22003
* Bug #549251. No need to set name if there is no a11y item object.Li Yuan2008-12-221-11/+14
| | | | | | | | | 2008-12-23 Li Yuan <li.yuan@sun.com> * gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed): Bug #549251. No need to set name if there is no a11y item object. svn path=/trunk/; revision=21926
* Bug 565203: RTL locales: icons are misplaced when horizontal gtkiconviewYair Hershkovitz2008-12-211-4/+7
| | | | | | | | | | | | 2008-12-21 Yair Hershkovitz <yairhr@gmail.com> Bug 565203: RTL locales: icons are misplaced when horizontal gtkiconview is contained in a gtkscrolledwindow. * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Fix horizontal icon positions when in RTL locale. svn path=/trunk/; revision=21918
* Handle separate append/set for rows. Patch by Li YuanMatthias Clasen2008-12-131-1/+29
| | | | | | | | | * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed): Handle separate append/set for rows. Patch by Li Yuan svn path=/trunk/; revision=21884
* Use the new order correctly. Patch by Li YuanMatthias Clasen2008-12-131-1/+10
| | | | | | | | * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered): Use the new order correctly. Patch by Li Yuan svn path=/trunk/; revision=21878
* Document the "set-scroll-adjustments" signalSven Herzberg2008-12-111-0/+9
| | | | | | | | | | | | | | | | | 2008-12-11 Sven Herzberg <sven@imendio.com> Document the "set-scroll-adjustments" signal Reviewed by Kristian Rietveld. * gtk/gtkiconview.c, * gtk/gtklayout.c, * gtk/gtktextview.c, * gtk/gtktreeview.c, * gtk/gtkviewport.c: added proper documentation for the signal svn path=/trunk/; revision=21871
* Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problemChristian Persch2008-11-031-40/+9
| | | | svn path=/trunk/; revision=21753
* gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item():Murray Cumming2008-10-201-0/+3
| | | | | | | | | | | | | 2008-10-20 Murray Cumming <murrayc@murrayc.com> * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item(): * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_cell(): Documentation: Mention the simple set_tooltip_column() alternative. svn path=/trunk/; revision=21689
* only draw keyboard focus when keyboard navigation is used, likeDenis Washington2008-09-271-1/+10
| | | | | | | | | 2008-09-27 Denis Washington <denisw@svn.gnome.org> * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation is used, like GtkTreeView. (Bug #553575) svn path=/trunk/; revision=21534