summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.c
Commit message (Collapse)AuthorAgeFilesLines
* gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.cMichael Natterer2008-03-041-1/+0
| | | | | | | | | | | | | | | | | | | | | 2008-03-04 Michael Natterer <mitch@imendio.com> * gtk/gtkcellview.c * gtk/gtkcolorbutton.c * gtk/gtkentrycompletion.c * gtk/gtkfontbutton.c * gtk/gtkiconview.c * gtk/gtkobject.c * gtk/gtkpaned.c * gtk/gtkpreview.c: don't include "gtksignal.h". * gtk/gtkfilefilter.c * gtk/gtkrecentchoosermenu.c * gtk/gtkrecentfilter.c * gtk/gtktext.c: don't include "gtkobject.h". svn path=/trunk/; revision=19708
* Remove left-over focus_pad variable. (#490892, Claudio Saavedra)Johan Dahlin2008-03-031-2/+1
| | | | | | | | | | | 2008-03-02 Johan Dahlin <johan@gnome.org> * gtk/gtkiconview.c (gtk_icon_view_paint_item): Remove left-over focus_pad variable. (#490892, Claudio Saavedra) svn path=/trunk/; revision=19693
* Fix state change reporting for accessibility. (#499835, Rich Burridge,Matthias Clasen2008-02-121-9/+48
| | | | | | | | | | 2008-02-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c: Fix state change reporting for accessibility. (#499835, Rich Burridge, patch by LiYan Zhang) svn path=/trunk/; revision=19538
* Unify the handling of various "Enter" keysyms all over the place.Matthias Clasen2008-02-121-0/+4
| | | | | | | | | | | 2008-02-12 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Unify the handling of various "Enter" keysyms all over the place. (#515047, Christian Persch) svn path=/trunk/; revision=19528
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) plug leak wrt. linkKristian Rietveld2008-02-111-2/+2
| | | | | | | | | | | 2008-02-11 Kristian Rietveld <kris@imendio.com> * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder) * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak wrt. link deletion from list; contination of fix for #503569. svn path=/trunk/; revision=19513
* gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.cMichael Natterer2008-02-071-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.c * gtk/gtkassistant.c * gtk/gtkbin.c * gtk/gtkbox.c * gtk/gtkcalendar.c * gtk/gtkcellrenderercombo.c * gtk/gtkcombobox.c * gtk/gtkcombo.c * gtk/gtkdrawingarea.c * gtk/gtkentrycompletion.c * gtk/gtkfixed.h * gtk/gtkgamma.c * gtk/gtkhpaned.c * gtk/gtkiconview.c * gtk/gtkitem.c * gtk/gtkitemfactory.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19491
* Require gtk-doc 1.8Matthias Clasen2007-11-251-2/+2
| | | | | | | | | | | 2007-11-25 Matthias Clasen <mclasen@redhat.com> * configure.in: Require gtk-doc 1.8 * */*.c: Use gtk-doc abbreviations for examples in docs. svn path=/trunk/; revision=19041
* Add a bounding box test that will avoid getting the individual cell boxesMatthias Clasen2007-09-101-0/+8
| | | | | | | | | | | | 2007-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a bounding box test that will avoid getting the individual cell boxes if they haven't been calculated yet. (#404541) svn path=/trunk/; revision=18775
* Fix some doc formatting errorsMatthias Clasen2007-07-231-1/+1
| | | | svn path=/trunk/; revision=18530
* Remove debug spewMatthias Clasen2007-07-201-4/+1
| | | | svn path=/trunk/; revision=18507
* Add new convenience api for tooltips on icon viewsMatthias Clasen2007-07-191-3/+205
| | | | svn path=/trunk/; revision=18501
* Convenience functions to position tooltips on icon view items or cells.Matthias Clasen2007-07-161-1/+79
| | | | | | | | | | | | | | 2007-07-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item): (gtk_icon_view_set_tooltip_cell): Convenience functions to position tooltips on icon view items or cells. svn path=/trunk/; revision=18473
* New function to convert widget coords to what is expected by the at_posMatthias Clasen2007-07-111-3/+41
| | | | | | | | | | | | | 2007-07-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.[hc] (gtk_icon_view_convert_widget_to_bin_window_coords): New function to convert widget coords to what is expected by the at_pos functions. (#455984) svn path=/trunk/; revision=18445
* Rename buildable methods to not clash with widget methods. (#448928,Johan Dahlin2007-06-191-1/+1
| | | | | | | | | | 2007-06-19 Johan Dahlin <jdahlin@async.com.br> * gtk/*: Rename buildable methods to not clash with widget methods. (#448928, Torsten Schoenfeld) svn path=/trunk/; revision=18187
* Add GtkBuilder, fixes #172535Johan Dahlin2007-06-151-1/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-15 Johan Dahlin <jdahlin@async.com.br> * demos/gtk-demo/Makefile.am: * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: * docs/reference/gtk/gtk-docs.sgml: * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/gtk.types: * docs/reference/gtk/tmpl/gtkbuildable.sgml: * docs/reference/gtk/tmpl/gtkbuilder.sgml: * gtk/Makefile.am: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkaction.c: (gtk_action_buildable_init), (gtk_action_buildable_set_name), (gtk_action_buildable_get_name): * gtk/gtkactiongroup.c: (gtk_action_group_get_type), (gtk_action_group_buildable_init), (gtk_action_group_buildable_add), (gtk_action_group_buildable_set_name), (gtk_action_group_buildable_get_name): * gtk/gtkbuildable.c: (gtk_buildable_get_type), (gtk_buildable_set_name), (gtk_buildable_get_name), (gtk_buildable_add), (gtk_buildable_set_property), (gtk_buildable_parser_finished), (gtk_buildable_construct_child), (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end), (gtk_buildable_custom_finished), (gtk_buildable_get_internal_child): * gtk/gtkbuildable.h: * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init), (gtk_builder_finalize), (gtk_builder_set_property), (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily), (gtk_builder_real_get_type_from_name), (gtk_builder_get_parameters), (gtk_builder_get_internal_child), (_gtk_builder_construct), (_gtk_builder_add), (apply_delayed_properties), (_gtk_builder_finish), (gtk_builder_new), (gtk_builder_add_from_file), (gtk_builder_add_from_string), (gtk_builder_get_object), (object_add_to_list), (gtk_builder_get_objects), (gtk_builder_set_translation_domain), (gtk_builder_get_translation_domain), (gtk_builder_connect_signals_default), (gtk_builder_connect_signals), (gtk_builder_connect_signals_full), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type), (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string), (gtk_builder_get_type_from_name), (gtk_builder_error_quark): * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop), (error_missing_attribute), (error_invalid_attribute), (error_invalid_tag), (builder_construct), (parse_object), (free_object_info), (_get_type_by_symbol), (parse_child), (free_child_info), (parse_property), (free_property_info), (parse_signal), (_free_signal_info), (parse_interface), (create_subparser), (free_subparser), (subparser_start), (subparser_end), (parse_custom), (start_element), (end_element), (text), (_gtk_builder_parser_parse_buffer): * gtk/gtkbuilderprivate.h: * gtk/gtkcelllayout.c: (attributes_start_element), (attributes_text_element), (_gtk_cell_layout_buildable_custom_tag_start), (_gtk_cell_layout_buildable_custom_tag_end), (_gtk_cell_layout_buildable_add): * gtk/gtkcelllayout.h: * gtk/gtkcellview.c: (gtk_cell_view_buildable_init), (gtk_cell_view_buildable_custom_tag_start), (gtk_cell_view_buildable_custom_tag_end): * gtk/gtkcolorseldialog.c: (gtk_color_selection_dialog_buildable_interface_init), (gtk_color_selection_dialog_buildable_get_internal_child): * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init), (gtk_combo_box_buildable_custom_tag_start), (gtk_combo_box_buildable_custom_tag_end): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_buildable_interface_init), (gtk_combo_box_entry_buildable_get_internal_child): * gtk/gtkcontainer.c: (gtk_container_get_type), (gtk_container_buildable_init), (gtk_container_buildable_add), (gtk_container_buildable_set_child_property), (attributes_start_element), (attributes_text_element), (gtk_container_buildable_custom_tag_start), (gtk_container_buildable_custom_tag_end): * gtk/gtkdebug.h: * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init), (gtk_dialog_buildable_get_internal_child), (attributes_start_element), (attributes_text_element), (gtk_dialog_buildable_custom_tag_start), (gtk_dialog_buildable_custom_finished): * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init): * gtk/gtkexpander.c: (gtk_expander_buildable_add), (gtk_expander_buildable_init): * gtk/gtkfontsel.c: (gtk_font_selection_dialog_buildable_interface_init), (gtk_font_selection_dialog_buildable_get_internal_child): * gtk/gtkframe.c: (gtk_frame_buildable_init), (gtk_frame_buildable_add): * gtk/gtkiconview.c: (gtk_icon_view_buildable_init), (gtk_icon_view_buildable_custom_tag_start), (gtk_icon_view_buildable_custom_tag_end): * gtk/gtkliststore.c: (gtk_list_store_buildable_init), (list_store_start_element), (list_store_end_element), (list_store_text), (gtk_list_store_buildable_custom_tag_start), (gtk_list_store_buildable_custom_tag_end): * gtk/gtkmain.c: * gtk/gtknotebook.c: (gtk_notebook_buildable_init), (gtk_notebook_buildable_add): * gtk/gtksizegroup.c: (gtk_size_group_buildable_init), (size_group_start_element), (gtk_size_group_buildable_custom_tag_start), (gtk_size_group_buildable_custom_finished): * gtk/gtktreestore.c: (gtk_tree_store_buildable_init), (tree_model_start_element), (gtk_tree_store_buildable_custom_tag_start), (gtk_tree_store_buildable_custom_finished): * gtk/gtktreeview.c: (gtk_tree_view_buildable_init), (gtk_tree_view_buildable_add): * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init): * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init), (gtk_ui_manager_buildable_add), (gtk_ui_manager_buildable_construct_child), (gtk_ui_manager_buildable_custom_tag_start), (gtk_ui_manager_buildable_custom_tag_end): * gtk/gtkwidget.c: (gtk_widget_get_type), (gtk_widget_buildable_interface_init), (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name), (gtk_widget_buildable_set_property), (gtk_widget_buildable_parser_finshed), (accel_group_start_element), (gtk_widget_buildable_custom_tag_start), (gtk_widget_buildable_custom_finshed): * gtk/gtkwindow.c: (gtk_window_buildable_interface_init), (gtk_window_buildable_set_property), (gtk_window_buildable_parser_finished): * tests/Makefile.am: * tests/buildertest.c: (builder_new_from_string), (test_parser), (signal_normal), (signal_after), (signal_object), (signal_object_after), (signal_first), (signal_second), (signal_extra), (signal_extra2), (test_connect_signals), (test_uimanager_simple), (test_domain), (test_translation), (test_sizegroup), (test_list_store), (test_tree_store), (test_types), (test_spin_button), (test_notebook), (test_construct_only_property), (test_children), (test_child_properties), (test_treeview_column), (test_icon_view), (test_combo_box), (test_combo_box_entry), (test_cell_view), (test_dialog), (test_accelerators), (test_widget), (main): Add GtkBuilder, fixes #172535 svn path=/trunk/; revision=18141
* use PANGO_BREAK_WORD_CHAR instead of PANGO_BREAK_WORD so the text cellMichael Natterer2007-06-121-2/+2
| | | | | | | | | | | | 2007-06-12 Michael Natterer <mitch@imendio.com> * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR instead of PANGO_BREAK_WORD so the text cell doesn't overflow the wrap-width if there is no whitespace found to break at. Fixes bug #446107. svn path=/trunk/; revision=18112
* Fix #410815, reported by Lucas Rocha.Kristian Rietveld2007-06-121-7/+25
| | | | | | | | | | | | | | | | | | | 2007-06-12 Kristian Rietveld <kris@imendio.com> Fix #410815, reported by Lucas Rocha. * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable wrap-width with the first icon, if it exists, (adjust_wrap_width): try to use icon_view->priv->item_width if available, (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here, which caused changes in wrap-width during the layouting process and resulted in layouting artefacts, (update_text_cell): don't set the wrap-width property, this should be handled by adjust_wrap_width. svn path=/trunk/; revision=18111
* Queue a resize if the size changed. (#418047, Alex Graveley)Matthias Clasen2007-05-301-1/+5
| | | | | | | | | | | 2007-05-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize if the size changed. (#418047, Alex Graveley) svn path=/trunk/; revision=17985
* Don't crash and don't leak. (#439565, Pedro Villavicencio)Matthias Clasen2007-05-251-2/+8
| | | | | | | | | | | 2007-05-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child): Don't crash and don't leak. (#439565, Pedro Villavicencio) svn path=/trunk/; revision=17913
* Disable key bindings during rubber banding, make pressing Esc stop rubberKristian Rietveld2007-05-091-0/+35
| | | | | | | | | | | | | | 2007-05-09 Kristian Rietveld <kris@imendio.com> * gtk/gtktreeview.c (gtk_tree_view_key_press), (gtk_tree_view_key_release): * gtk/gtkiconview.c (gtk_icon_view_class_init), (gtk_icon_view_key_press), (gtk_icon_view_key_release): Disable key bindings during rubber banding, make pressing Esc stop rubber banding. (#405027). svn path=/trunk/; revision=17807
* Internalize some strings, pointed out by Damon Chaplin.Matthias Clasen2007-04-271-2/+2
| | | | | | | | | | | | | | | | 2007-04-27 Matthias Clasen <mclasen@redhat.com> * gtkassistant.c: * gtkiconfactory.c: * gtkiconview.c: * gtkpapersize.c: * gtkrecentmanager.c: * gtktextiter.c: Internalize some strings, pointed out by Damon Chaplin. svn path=/trunk/; revision=17661
* Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,Matthias Clasen2007-03-091-2/+1
| | | | | | | | | | | | | 2007-03-09 Matthias Clasen <mclasen@redhat.com> * Everywhere: Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, Djihed Afifi) * configure.in: Check for ftw.h svn path=/trunk/; revision=17444
* Documentation fixes (#400530, Anders Brander)Matthias Clasen2007-01-271-3/+3
| | | | | | | | | | 2007-01-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander) svn path=/trunk/; revision=17222
* Cross-compilation fixes. (#392646, Yevgen Muntyan)Matthias Clasen2007-01-041-0/+5
| | | | | | | | | | | | | | 2007-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: * gdk-pixbuf/Makefile.am: * configure.in: * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes. (#392646, Yevgen Muntyan) svn path=/trunk/; revision=17065
* New function to get the cell renderers of a cell layout.Matthias Clasen2006-12-291-0/+19
| | | | | | | | | | | | 2006-12-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells): New function to get the cell renderers of a cell layout. * gtk/gtktreeviewcolumn.c: * gtk/gtkcellview.c: * gtk/gtkiconview.c: Implement get_cells.
* Use word wrapping by default, and center multiline labels. (#318763, RossMatthias Clasen2006-12-291-5/+9
| | | | | | | | | | 2006-12-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c: Use word wrapping by default, and center multiline labels. (#318763, Ross Burton) * gtk/gtkcellrenderertext.c (get_layout): Remove a special case for single-line layouts.
* Bug 340141 – Update to Pango 1.16 APIBehdad Esfahbod2006-12-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-24 Behdad Esfahbod <behdad@gnome.org> Bug 340141 – Update to Pango 1.16 API * gdk/gdkpango.c (layout_iter_get_line_clip_region), (gdk_pango_layout_line_get_clip_region): * gtk/gtkcalendar.c (gtk_calendar_size_request): * gtk/gtkentry.c (gtk_entry_get_pixel_ranges), (get_layout_position), (gtk_entry_find_position), (gtk_entry_adjust_scroll): * gtk/gtkiconview.c (get_pango_text_offsets): * gtk/gtklabel.c (get_cursor_direction): * gtk/gtkstyle.c (get_insensitive_layout): * gtk/gtktextdisplay.c (render_para): * gtk/gtktextlayout.c (allocate_child_widgets), (find_display_line_below), (find_display_line_above), (gtk_text_layout_move_iter_to_previous_line), (gtk_text_layout_move_iter_to_next_line), (gtk_text_layout_move_iter_to_line_end), (gtk_text_layout_iter_starts_line), (gtk_text_layout_move_iter_to_x): * gtk/gtktextutil.c (limit_layout_lines): Use the _readonly version of pango_layout_iter_get_line(), pango_layout_iter_get_run(), pango_layout_get_line(), and pango_layout_get_lines(). * gtk/gtkmain.c (gtk_get_default_language): Use pango_get_default_language().
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-20/+4
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Fix docs typo. Bug #385642.Christian Persch2006-12-141-1/+1
| | | | | | 2006-12-14 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
* Add new infrastructure for notifications of failed keyboard navigation andMichael Natterer2006-11-161-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-16 Michael Natterer <mitch@imendio.com> Add new infrastructure for notifications of failed keyboard navigation and navigation with restricted set of keys. The patch handles configurable beeping, navigating the GUI with cursor keys only (as in phone environments), and configurable wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742 and #309291. * gtk/gtksettings.c: added properties gtk-keynav-cursor-only, gtk-keynav-wrap-around and gtk-error-bell. * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public API to emit it. Added New function gtk_widget_error_bell() which looks at the gtk-error-bell setting and calls gdk_window_beep() accordingly. * gtk/gtk.symbols: add the new widget symbols. * gtk/gtkcellrendereraccel.c * gtk/gtkimcontextsimple.c * gtk/gtkmenu.c * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the gtk-error-bell setting instead of calling gdk_display_beep() unconditionally. * gtk/gtkcombobox.c * gtk/gtkentry.c * gtk/gtkiconview.c * gtk/gtklabel.c * gtk/gtkmenushell.c * gtk/gtkspinbutton.c * gtk/gtktextview.c * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav. * gtk/gtkentry.c * gtk/gtklabel.c * gtk/gtkrange.c * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed cursor navigation and leave the widget if it returns FALSE. * gtk/gtkmenushell.c * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around is TRUE. * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide whether to to wrap-around, and don't select active items on cursor navigation if gtk-keynav-cursor-only is TRUE. Should look at gtk-keynav-wrap-around too, will look into that.
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-3/+0
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* Apply a patch by Behdad Esfahbod to reduce relocations. (#359053)Matthias Clasen2006-10-031-2/+2
| | | | | | | 2006-10-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to reduce relocations. (#359053)
* Update background upon style-set and state-changed. (#348634, ThomasMatthias Clasen2006-08-161-1/+41
| | | | | | | 2006-08-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c: Update background upon style-set and state-changed. (#348634, Thomas Rydzynski)
* Fix a memleakMatthias Clasen2006-07-211-0/+12
|
* Fix some typos with inline property docs. (#347065, John Finlay)Matthias Clasen2006-07-101-6/+6
| | | | | | | | | | | | 2006-07-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.c: * gtk/gtkiconview.c: * gtk/gtkprintbackend.c: * gtk/gtkprintoperation-unix.c: * gtk/gtkscrolledwindow.c: * gtk/gtktoolbar.c: Fix some typos with inline property docs. (#347065, John Finlay)
* Improve consistency of signal and property namesMatthias Clasen2006-07-061-13/+13
|
* Small doc fix. (#345176, Claudio Saavedra)Matthias Clasen2006-06-201-1/+1
| | | | | | | 2006-06-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest): Small doc fix. (#345176, Claudio Saavedra)
* gtk/gtklayout.c (gtk_layout_realize), gtk/gtkiconview.cSøren Sandmann2006-05-151-1/+1
| | | | | | | | | | | | | | | Mon May 15 15:12:05 2006 Søren Sandmann <sandmann@redhat.com> * gtk/gtklayout.c (gtk_layout_realize), * gtk/gtkiconview.c (gtk_icon_view_realize), * gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of the clip windows to NULL, since they are generally invisible and don't have EXPOSURE set, which means they temp-unvlicker code doesn't apply to them. * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset the background of the parent window during resizing. Invalidate the uncoered area of the parent window. Bug 341332.
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-1/+0
|
* Document that @cell must be one of the renderers of the icon view, warn ifMatthias Clasen2006-03-201-17/+16
| | | | | | | | | 2006-03-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that @cell must be one of the renderers of the icon view, warn if it is not, and ignore @start_editing if @cell is not set. (#335001, Emmanuel Rodriguez)
* Apply some arbitrary lower limit for the guessed wrap width. (#332466,Matthias Clasen2006-03-061-40/+40
| | | | | | | | 2006-03-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (adjust_wrap_width): Apply some arbitrary lower limit for the guessed wrap width. (#332466, Donald Straney)
* Make scroll_to_path work for newly inserted items, by delaying the scrollMatthias Clasen2006-03-021-28/+39
| | | | | | | | | 2006-03-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_layout) (gtk_icon_view_row_inserted, gtk_icon_view_scroll_to_path): Make scroll_to_path work for newly inserted items, by delaying the scroll until layout is done. (#332923, Cory Dodt)
* Fix row_spacing/column_spacing confusion. (#330732, Donald Straney)Matthias Clasen2006-02-111-2/+2
| | | | | | | 2006-02-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix row_spacing/column_spacing confusion. (#330732, Donald Straney)
* Adjust the wrap-width also if an explicit item width is set. (#322475,Matthias Clasen2005-12-211-2/+1
| | | | | | | | 2005-12-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (adjust_wrap_width): Adjust the wrap-width also if an explicit item width is set. (#322475, Alex Graveley)
* Reset pressed_button to -1 after handling a double click, so that motionMatthias Clasen2005-12-201-0/+1
| | | | | | | | | 2005-12-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset pressed_button to -1 after handling a double click, so that motion events occurring between here and the release event don't trigger DND. (#324588, Dave Andreoli)
* Correctly handle the cell list and indices into it. (#321856)Matthias Clasen2005-11-281-2/+8
| | | | | | | 2005-11-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly handle the cell list and indices into it. (#321856)
* deprecated floating/sink API and implemented it in terms of the GObjectTim Janik2005-11-231-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Nov 23 18:55:47 2005 Tim Janik <timj@imendio.com> * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it in terms of the GObject floating/sink API. * gtk/gtkaboutdialog.c: * gtk/gtkaction.c: * gtk/gtkcellview.c: * gtk/gtkclist.c: * gtk/gtkcolorsel.c: * gtk/gtkcombobox.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkiconview.c: * gtk/gtkinvisible.c: * gtk/gtkitemfactory.c: * gtk/gtklayout.c: * gtk/gtkmenu.c: * gtk/gtkmenutoolbutton.c: * gtk/gtknotebook.c: * gtk/gtkprogress.c: * gtk/gtkrange.c: * gtk/gtkspinbutton.c: * gtk/gtkstatusicon.c: * gtk/gtktext.c: * gtk/gtktextview.c: * gtk/gtktoolbar.c: * gtk/gtktoolbutton.c: * gtk/gtktoolitem.c: * gtk/gtktreeitem.c: * gtk/gtktreeview.c: * gtk/gtktreeviewcolumn.c: * gtk/gtkuimanager.c: * gtk/gtkviewport.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: ported to use GObject's g_object_ref_sink(). * gtk/gtkcolorsel.c: * gtk/gtkfilechooserdefault.c: * gtk/gtkaboutdialog.c: fixed compiler warnings.
* More typo fixesMatthias Clasen2005-09-191-1/+1
|
* Fix a typo in the docs. (#316419, Guillaume Cottenceau)Matthias Clasen2005-09-191-1/+1
| | | | | | | 2005-09-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): Fix a typo in the docs. (#316419, Guillaume Cottenceau)