summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
Commit message (Collapse)AuthorAgeFilesLines
* Fix silly bug, noticed by Sven Neumann.Alex Larsson2002-04-291-0/+5
| | | | | | | 2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get): Fix silly bug, noticed by Sven Neumann.
* Fix so that you can set a new sort func.Jonathan Blandford2002-04-291-0/+5
| | | | | | | Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix so that you can set a new sort func.
* Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in aAnders Carlsson2002-04-261-0/+16
| | | | | | | | | | | | | | | | | | 2002-04-27 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display): Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in a GdkDisplay * in the macro. 2002-04-26 Anders Carlsson <andersca@gnu.org> * gdk/gdkdisplay.c: (gdk_set_default_display): Call _gdk_windowing_set_default_display. * gdk/gdkinternals.h: * gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display): New function that sets gdk_display to the default display. Fixes #79965
* if the deleted node was "below" this path, then do not unref all nodesKristian Rietveld2002-04-261-0/+8
| | | | | | | | | | Fri Apr 26 21:58:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the deleted node was "below" this path, then do not unref all nodes between the deleted parent and the node this rowref is pointing too (see added comment in gtk_tree_row_ref_deleted_callback), (fixes #77977)
* tests/testtreecolumns.c quit the main loop when the window is destroyed.Sven Neumann2002-04-261-0/+6
| | | | | | | | 2002-04-26 Sven Neumann <sven@gimp.org> * tests/testtreecolumns.c * tests/testtreeview.c: quit the main loop when the window is destroyed. Removed compiler warnings about wrong format in printf().
* This commit fixes binary compatibility, which I broke with my recent cellKristian Rietveld2002-04-261-0/+17
| | | | | | | | | | | | | | | | | | | Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org> This commit fixes binary compatibility, which I broke with my recent cell renderer commits :/. * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the cell_background field and use this as object data. This way we keep the field private and dont break ABI. * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and stock_detail from _GtkCellRendererPixbuf * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo with above mentioned fields. And update everything.
* include X11/Xlib.h, fixes the buildKristian Rietveld2002-04-261-0/+4
| | | | | | Fri Apr 26 21:42:02 2002 Kristian Rietveld <kris@gtk.org> * gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build
* Add missing gdkscreen/display-x11.h files.Owen Taylor2002-04-261-0/+5
| | | | | | | Fri Apr 26 10:34:15 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add missing gdkscreen/display-x11.h files.
* Start of integration of Erwann Chenede's multihead work from theOwen Taylor2002-04-251-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Apr 25 16:51:40 2002 Owen Taylor <otaylor@redhat.com> Start of integration of Erwann Chenede's multihead work from the gtk-multihead branch. * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch] New classes representing a set of screens with attached input devices and a single contiguous area, respectively. * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c: gdk/x11/gdkprivate-x11.h: Make the initialization interface simple _gdk_windowing_init() and do the rest in gdk_open_display() calls. * gdk/gdk.[ch]: Add gdk_parse_args() which can be used to do the display-independent part of initialization instead of gdk_init_[check]. * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h: Add multihead variants (_for_display(), for_screen()) of functions getting information specific to a particular screen screen or display. * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions like gdk_rgb_get_colormap() that used to get/list global objects. * gdk/x11/gdkx.h: Add functions for converting GdkScreen and GdkDisplay into the X equivalents. * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords() not in the headers and unused. * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}: Remove gxid support ... has not been tested for a long time... "xfree" support is more portable to non XFree86. * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be used to turn off functions that are inherently non-multihead safe. * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions are used in non-multihead-safe ways. * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK multihead safe.
* fix typo in ChangeLogKristian Rietveld2002-04-251-1/+1
|
* Fixes #74206.Kristian Rietveld2002-04-251-0/+13
| | | | | | | | | | | | | | | Thu Apr 25 23:49:01 2002 Kristian Rietveld <kris@gtk.org> Fixes #74206. * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells * gtk/gtktreeview.c (_gtk_tree_view_column_has_editable_cell), (_gtk_tree_view_column_get_editable_cell): remove a space which made the code look ugly (_gtk_tree_view_column_count_special_cells): new function, (gtk_tree_view_column_cell_process_action): if there's only one activatable cell, the whole column will activate that renderer.
* make the search dialog not scroll horizontally (prolly fixes #74806).Kristian Rietveld2002-04-251-0/+5
| | | | | | | Thu Apr 25 23:36:55 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search dialog not scroll horizontally (prolly fixes #74806).
* Avoid a possible division by zero. (#77820)Matthias Clasen2002-04-251-0/+5
| | | | | * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible division by zero. (#77820)
* use the child's requisition.height, not allocation.height, as width ofSoeren Sandmann2002-04-251-0/+6
| | | | | | | | Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's requisition.height, not allocation.height, as width of submenu indicator. (#75948)
* resort if we're already in 'unsorted' state, and update the docsKristian Rietveld2002-04-241-0/+5
| | | | | | | Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func): resort if we're already in 'unsorted' state, and update the docs
* Remove GTK_OBJECT_CONNECTED.Matthias Clasen2002-04-241-0/+5
| | | | | | | * gtk/gtk-sections.txt: Remove GTK_OBJECT_CONNECTED. * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc comment markers on freeform comments.
* temporarily set ->priv->edited_column to NULL. Pleas read the comment inKristian Rietveld2002-04-241-0/+6
| | | | | | | | Wed Apr 24 17:34:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set ->priv->edited_column to NULL. Pleas read the comment in this function for an explanation (fixes #79632).
* Improve docs. (#62359)Matthias Clasen2002-04-231-0/+5
| | | | | | | | | | | | | * gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords): (gtk_text_view_window_to_buffer_coords): Improve docs. (#62359) * gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates. (#79001) * gtk/tmpl/gtksocket.sgml: Add link to XEmbed draft. (#67818) * gtk/tmpl/gtkdrawingarea.sgml: Fix a typo. * gtk/text_widget.sgml: Complete the fix for #79080.
* This commit adds a cell_background property for cell renderers. With thisKristian Rietveld2002-04-231-1/+19
| | | | | | | | | | | | | | | | | | | | | Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org> This commit adds a cell_background property for cell renderers. With this property you can make your TreeView look incredibly ugly. * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and cell_background_set properties, (set_cell_bg_color): new function, (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property): support for new properties, (gtk_cell_renderer_render): render a background when set. * gtk/gtkcellrenderer.h: add cell_background_set and cell_background fields. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): when rendering, pass in just the background_area of the cell and not the background_area of the entire column.
* Update ChangeLogAnders Carlsson2002-04-221-1/+2
|
* Use gtk_entry_get_public_chars. Fixes #79532.Anders Carlsson2002-04-221-0/+6
| | | | | | | 2002-04-22 Anders Carlsson <andersca@gnu.org> * gtk/gtkentry.c (gtk_entry_drag_data_get): Use gtk_entry_get_public_chars. Fixes #79532.
* This commit adds stock icon functionality to GtkCellRendererPixbuf whichKristian Rietveld2002-04-221-0/+14
| | | | | | | | | | | | | | | | Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org> This commit adds stock icon functionality to GtkCellRendererPixbuf which is totally cool. * gtk/gtkcellrendererpixbuf.h: add some fields * gtk/gtkcellrendererpixbuf.c: add finalize method, add some properties, add some stock icon rendering code. * demos/gtk-demo/stock_browser.c: modified to use the stock icon stuff in the cellrendererpixbuf instead of its own stock icon rendering code.
* Save x and y in window_private.Alexander Larsson2002-04-211-0/+9
| | | | | | | | | | | 2002-04-21 Alexander Larsson <alla@lysator.liu.se> * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Save x and y in window_private. * gtk/gtkplug.c (_gtk_plug_add_to_socket): Move plug window outside the visible area to avoid flashing until the first size_allocate.
* remove leftover conflict marker.Matthias Clasen2002-04-201-1/+0
|
* A bunch of trivial doc fixes.Matthias Clasen2002-04-201-0/+12
|
* add "selected_shadow_type" style propertySoeren Sandmann2002-04-201-0/+4
| | | | | | Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenuitem.c: add "selected_shadow_type" style property
* Accept NULL for color to mean "unmodify"Owen Taylor2002-04-201-0/+9
| | | | | | | | | | Sat Apr 20 12:07:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept NULL for color to mean "unmodify" * gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for font_desc to mean "unmodify".
* replace GDK_IS_WINDOW with GDK_IS_DRAWABLE in the assert, only checkKristian Rietveld2002-04-201-0/+8
| | | | | | | | | | Sat Apr 20 16:49:26 2002 Kristian Rietveld <kris@gtk.org> * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED if window is a GdkWindow, (gdk_bitmap_create_from_data): ditto, (gdk_pixmap_create_from_data): ditto
* add bug numberKristian Rietveld2002-04-191-0/+2
|
* add _gtk_tree_view_column_autosizeKristian Rietveld2002-04-191-0/+13
| | | | | | | | | | | | | | | Fri Apr 19 23:38:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize, and add a small note about that function, (gtk_tree_view_button_press): check for double click and "not having an autosize" column before autosizing the column, * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width): call _gtk_tree_view_column_autosize to update autosized column width (gtk_tree_view_column_set_max_width): ditto
* Remove some files whose content is either obsolete or has been movedMatthias Clasen2002-04-191-0/+10
| | | | | | | | | | * TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt, docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt, gdk/TODO: Remove some files whose content is either obsolete or has been moved elsewhere. * Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references to these files.
* cancel editing if tree_view->priv->edited_column != NULL (fixes #76066)Kristian Rietveld2002-04-191-0/+5
| | | | | | | Fri Apr 19 21:31:04 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_row_changed): cancel editing if tree_view->priv->edited_column != NULL (fixes #76066)
* subtract TREE_VIEW_HEADER_HEIGHT from allocation->height to get the realKristian Rietveld2002-04-191-0/+8
| | | | | | | | | | Fri Apr 19 21:06:39 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): subtract TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real size for the tree (fixes #72729), (gtk_tree_view_real_start_editing): correct cell_area->y for scrolling due to gtk_tree_view_real_set_cursor (fixes #75687)
* rename last_single_clicked{,_2} to last_button_press{,_2}, as the latterGTK_MULTIHEAD_MERGEPOINT_19_04_02Kristian Rietveld2002-04-191-0/+10
| | | | | | | | | | | | Fri Apr 19 16:30:09 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeprivate.h, gtk/gtktreeview.c: rename last_single_clicked{,_2} to last_button_press{,_2}, as the latter is a more sane name. * gtk/gtktreeview.c (gtk_tree_view_button_press): use ->priv->anchor instead of ->priv->cursor, check for the anchor at another place, as you can go in edit mode without having an anchor.
* s/<!>/<!-- -->/g throughout the documentation to bring the producedMatthias Clasen2002-04-181-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkitemfactory.c: * gtk/gtkiconfactory.c: * gtk/gtkwidget.c: * gtk/gtkstyle.c: * gtk/gtkrc.c: * gtk/gtktreeviewcolumn.c: * gtk/gtkdialog.c: * gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the documentation to bring the produced Docbook closer to XML. * gdk/tmpl/rgb.sgml: * gdk/tmpl/general.sgml: * gtk/tmpl/gtktogglebutton.sgml: * gtk/tmpl/gtkaccellabel.sgml: * gtk/tmpl/gtkradiobutton.sgml: * gtk/tmpl/gtktreemodel.sgml: * gtk/tmpl/gtkwidget.sgml: * gtk/tmpl/gtkimage.sgml: * gtk/tmpl/gtktooltips.sgml: * gtk/tmpl/gtksignal.sgml: * gtk/tmpl/gtkcombo.sgml: * gtk/tmpl/gtkdnd.sgml: * gtk/tmpl/gtksocket.sgml: * gtk/tmpl/gtkdrawingarea.sgml: * gtk/tmpl/gtkobject.sgml: * gtk/tmpl/gtkpaned.sgml: * gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the documentation to bring the produced Docbook closer to XML.
* gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) Fix typo, thanks toTor Lillqvist2002-04-181-0/+14
| | | | | | | | | | | | | | | | 2002-04-18 Tor Lillqvist <tml@iki.fi> * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) * gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo, thanks to David Sterba for noticing. * gtk/gtkmain.h * gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on Win32 whether compiled with -fnative-struct or not. Unfortunately this wan't noticed until now. So, from now on, check some other struct, too, for which the use of -fnative-struct still matters. GtkBox is one such.
* so this function was completely broken. Fix it and improve readability.Kristian Rietveld2002-04-171-0/+6
| | | | | | | | Thu Apr 18 00:23:31 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_convert_path_to_child_path): so this function was completely broken. Fix it and improve readability.
* Add a small test case.Anders Carlsson2002-04-171-0/+5
| | | | | | | 2002-04-17 Anders Carlsson <andersca@gnu.org> * tests/testtreeedit.c (button_press_event): Add a small test case.
* fix docsKristian Rietveld2002-04-161-0/+4
| | | | | | Wed Apr 17 00:21:36 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_insert_before): fix docs
* check ->priv->cursor and ->priv->anchor rowrefs before removingKristian Rietveld2002-04-161-0/+8
| | | | | | | | | | Tue Apr 16 17:28:21 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): check ->priv->cursor and ->priv->anchor rowrefs before removing node->children from the rbtree. Also check the ->priv->last_single_clicked and ->priv->last_single_clicked_2 rowrefs (I think I really need to rename those two someday).
* don't install/change accelerators from locked accel groups.Tim Janik2002-04-161-0/+8
| | | | | | | | | | Tue Apr 16 07:53:49 2002 Tim Janik <timj@gtk.org> * gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators from locked accel groups. * gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the accel path is from a locked accel group.
* include internal children when doing focus.Jonathan Blandford2002-04-151-0/+7
| | | | | | | | | Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcontainer.c (gtk_container_focus): include internal children when doing focus. (gtk_container_get_all_children): new static function to include internal children when making a list of them.
* add _gtk_tree_view_column_get_editable_cell andKristian Rietveld2002-04-141-0/+15
| | | | | | | | | | | | | | | | | Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and _gtk_tree_view_column_get_neighbor_sizes * gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add real_width field, (_gtk_tree_view_column_get_editable_cell): implement, (gtk_tree_view_column_cell_process_action): fill info->real_width (_gtk_tree_view_column_get_neighbor_sizes): implement * gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable widget" show up with the same size as the actual cell, so it doesnt cover the complete column if there are any other cells in that column.
* Fix typo in message.Abigail Brady2002-04-141-0/+4
| | | | | | | | 2002-04-14 Abigail Brady <morwen@fuzzle.org> * gtk/gtkfilesel.c: Fix typo in message. * po/en_GB.po: Update British translation.
* create the target pixbuf AFTER filling in width/height, so that passing inHavoc Pennington2002-04-131-0/+6
| | | | | | | | 2002-04-13 Havoc Pennington <hp@pobox.com> * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): create the target pixbuf AFTER filling in width/height, so that passing in -1 for width/height will work.
* Fixes #75510Kristian Rietveld2002-04-131-0/+19
| | | | | | | | | | | | | | | | | | | | | Sat Apr 13 22:49:45 2002 Kristian Rietveld <kris@gtk.org> Fixes #75510 * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): make this function work correctly and more sane * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): remove node->children from rbtree before emitting GtkTreeSelection::changed Sat Apr 13 17:15:12 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init): dont set the mode to GTK_CELL_RENDERER_MODE_EDITABLE by default, (gtk_cell_renderer_text_class_init): for some reason our default for editable was TRUE, of course this is FALSE. (gtk_cell_renderer_text_set_property): update mode when editable has been changed.
* fix cut-n-paste bug which breaks big-endian machines (fixes #73585)jacob berkman2002-04-121-0/+5
| | | | | | | 2002-04-12 jacob berkman <jacob@ximian.com> * gdk/x11/xsettings-client.c (fetch_card8): fix cut-n-paste bug which breaks big-endian machines (fixes #73585)
* relocate the remove_weak_pointer to just before we free the page, to beHavoc Pennington2002-04-121-0/+6
| | | | | | | | 2002-04-12 Havoc Pennington <hp@redhat.com> * gtk/gtknotebook.c (gtk_notebook_real_remove): relocate the remove_weak_pointer to just before we free the page, to be sure it doesn't get re-added. #75282
* add clamp_node argument (toplevel): update usages ofKristian Rietveld2002-04-121-0/+9
| | | | | | | | | | | Fri Apr 12 18:32:46 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): add clamp_node argument (toplevel): update usages of gtk_tree_view_real_set_cursor, (gtk_tree_view_focus_to_cursor): don't let gtk_tree_view_real_set_cursor clamp the node, so you won't get unexpected scrolling
* add freeze / thaws to stop deluge of 'notify' signals.Michael Meeks2002-04-121-0/+7
| | | | | | | | | 2002-04-11 Michael Meeks <michael@ximian.com> * gtk/gtklabel.c (gtk_label_parse_uline, gtk_label_set_text), (gtk_label_set_text_with_mnemonic): add freeze / thaws to stop deluge of 'notify' signals.