summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rename last_single_clicked{,_2} to last_button_press{,_2}, as the latterGTK_MULTIHEAD_MERGEPOINT_19_04_02Kristian Rietveld2002-04-198-41/+106
| | | | | | | | | | | | 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-1832-86/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1810-11/+121
| | | | | | | | | | | | | | | | 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-177-5/+48
| | | | | | | | 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-177-0/+45
| | | | | | | 2002-04-17 Anders Carlsson <andersca@gnu.org> * tests/testtreeedit.c (button_press_event): Add a small test case.
* fix docsKristian Rietveld2002-04-167-4/+28
| | | | | | 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-167-26/+95
| | | | | | | | | | 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).
* updated Vietnamese filePablo Saratxaga2002-04-162-615/+417
|
* Updated russian translation.Valek Frob2002-04-162-93/+100
|
* don't install/change accelerators from locked accel groups.Tim Janik2002-04-1610-7/+59
| | | | | | | | | | 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-157-1/+57
| | | | | | | | | 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.
* Updated russian translation.gtk-2-0-branchpointValek Frob2002-04-152-3/+7
|
* Updated Korean translation.Changwoo Ryu2002-04-142-171/+174
| | | | * ko.po: Updated Korean translation.
* add _gtk_tree_view_column_get_editable_cell andKristian Rietveld2002-04-149-10/+183
| | | | | | | | | | | | | | | | | 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-149-52/+99
| | | | | | | | 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-137-8/+44
| | | | | | | | 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-139-20/+143
| | | | | | | | | | | | | | | | | | | | | 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-127-1/+31
| | | | | | | 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-127-6/+43
| | | | | | | | 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-127-15/+74
| | | | | | | | | | | 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-127-1/+55
| | | | | | | | | 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.
* More fixes for #77807:Matthias Clasen2002-04-115-169/+211
| | | | | | | | | | | | | | | | * io-tga.c (get_contiguous_pixbuf): Helper function to create a pixbuf with a contiguous pixel array while being careful about overflow. * io-tga.c (fill_in_context, get_image_pseudocolor, get_image_truecolor, get_image_grayscale): Use get_contiguous_pixbuf instead of manually allocating image storage. * io-xpm.c (pixbuf_create_from_xpm): * io-pnm.c (gdk_pixbuf__pnm_image_load): * io-jpeg.c (gdk_pixbuf__jpeg_image_load): Use gdk_pixbuf_new instead of manually allocating image storage.
* Updated French translation.Christophe Merlet2002-04-112-46/+62
|
* Export private _gtk_menu_shell_activate() to encapsulate cut-and-pasteOwen Taylor2002-04-1110-19/+80
| | | | | | | | | | | | Sat Apr 6 06:57:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export private _gtk_menu_shell_activate() to encapsulate cut-and-paste code. * gtk/gtkmenubar.c: Select the first item on the menu bar for F10 rather than acting as if the user pressed <Alt>F to select the file manager.
* Updated Slovak translation.Stanislav Visnovsky2002-04-102-156/+112
| | | | | | 2002-04-10 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation.
* Fix problems with HandleBox and focusing - #78232Owen Taylor2002-04-098-31/+114
| | | | | | | | | | | | | | Tue Apr 9 19:01:28 2002 Owen Taylor <otaylor@redhat.com> Fix problems with HandleBox and focusing - #78232 * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle GtkHandleBox / GnomeDock style window heirarchy / widget heirarchy disconnects. :-(. * gtk/gtkcontainer.c: Handle failures from gtk_widget_translate_coordinates (Focusing is not right, but at least it doesn't go into infinite loops.)
* Always set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,Owen Taylor2002-04-097-11/+60
| | | | | | | | | | Tue Apr 9 18:34:58 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy, even if we aren't currently in a resize container... we need this to properly handle size changes to widgets that are being moved from one heirarchy to another. (#78226)
* Fixes #78110Kristian Rietveld2002-04-0911-12/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 9 21:41:24 2002 Kristian Rietveld <kris@gtk.org> Fixes #78110 * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): add override_browse_mode argument and implement, (gtk_tree_selection_unselect_path): always unselect the path, (toplevel): update uses of _gtk_tree_selection_internal_select_node * gtk/gtktreeview.c: update uses of _gtk_tree_selection_internal_select_node * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node): update prototype Tue Apr 9 21:39:44 2002 Kristian Rietveld <kris@gtk.org> Fixes #77862 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell): new function * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event on first click when cell isn't editable Tue Apr 9 21:37:31 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some types which were missing and useful to use (fixes #77870)
* Initialize error to NULL.Anders Carlsson2002-04-097-1/+25
| | | | | | 002-04-09 Anders Carlsson <andersca@gnu.org> * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
* Use priv->image_module->module_name instead of image_type which may beMatthias Clasen2002-04-092-1/+7
| | | | | | * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use priv->image_module->module_name instead of image_type which may be NULL.
* really revert testgtk.cManish Singh2002-04-087-12/+36
| | | | | | 2002-04-08 Manish Singh <yosh@gimp.org> * tests/testgtk.c: really revert testgtk.c
* check the return value of _gtk_tree_view_find_node and return if it'sKristian Rietveld2002-04-087-15/+69
| | | | | | | | | | Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeselection.c (gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path), (gtk_tree_selection_path_is_selected): check the return value of _gtk_tree_view_find_node and return if it's TRUE. This makes those functions work somewhat saner on non-expanded trees.
* Updated French translation.Christophe Merlet2002-04-082-400/+371
|
* Restructured to use gdk_pixbuf_new instead of manually allocating imageMatthias Clasen2002-04-062-52/+23
| | | | | | * io-png.c (gdk_pixbuf__png_image_load): Restructured to use gdk_pixbuf_new instead of manually allocating image storage. This gives us a good rowstride and overflow checks. (#77807)
* Updated Danish translation.Ole Laursen2002-04-062-51/+55
| | | | | | 2002-04-06 Ole Laursen <olau@hardworking.dk> * da.po: Updated Danish translation.
* Updated Polish translation by GNOME PL Team <translators@gnome.pl>Chyla Zbigniew2002-04-062-1095/+1111
|
* Avoid allocating an extra copy of the image by using aMatthias Clasen2002-04-052-50/+93
| | | | | | | * io-tiff.c (tiff_image_parse): Avoid allocating an extra copy of the image by using a TIFFRGBAImage{Begin,Get,End} with suitable put functions instead of TIFFRGBAImage. And check image dimensions for overflow.
* Updated Malay Translation.Hasbullah Bin Pit2002-04-052-81/+76
| | | | | | 2002-04-05 Hasbullah Bin Pit <sebol@ikhlas.com> * ms.po: Updated Malay Translation.
* free anchor row reference after unselecting the selection (fixes #76272)Kristian Rietveld2002-04-059-3/+101
| | | | | | | | | | | | | | | | | | Fri Apr 5 18:28:56 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free anchor row reference after unselecting the selection (fixes #76272) Fri Apr 5 18:27:48 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return when we don't have to open all children (fixes #75736) Fri Apr 5 18:24:24 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref cellrenderer after clearing the attributes of the renderer (fixes #75592)
* implement. (gtk_tree_view_move_cursor_up_down): check for focusJonathan Blandford2002-04-058-18/+159
| | | | | | | | | | | | | | | | | | | Fri Apr 5 05:55:14 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement. (gtk_tree_view_move_cursor_up_down): check for focus (gtk_tree_view_move_cursor_page_up_down): ditto (gtk_tree_view_move_cursor_left_right): ditto (gtk_tree_view_move_cursor_start_end): ditto (gtk_tree_view_real_select_all): ditto (gtk_tree_view_real_unselect_all): ditto (gtk_tree_view_real_select_cursor_row): ditto (gtk_tree_view_real_toggle_cursor_row): ditto (gtk_tree_view_real_expand_collapse_cursor_row): ditto (gtk_tree_view_real_select_cursor_parent): ditto (gtk_tree_view_real_start_interactive_search): ditto * gtk/gtktreeviewcolumn.c: grab focus
* Updated Ukrainian translationYuri Syrota2002-04-051-443/+458
|
* removed gdkkeysyms.h from .cvsignoreSven Neumann2002-04-051-1/+0
|
* Fix undefined variable typo. Patch from Simon Floery <simon.floery@gmx.at>Alex Larsson2002-04-057-1/+37
| | | | | | | | 2002-04-05 Alex Larsson <alexl@redhat.com> * gdk/linux-fb/gdkkeyboard-fb.c (write_string): Fix undefined variable typo. Patch from Simon Floery <simon.floery@gmx.at>
* fix segfault upon NULL return from gdk_utf8_to_string_target().Tim Janik2002-04-048-2/+57
| | | | | | | | | | Fri Apr 5 01:06:15 2002 Tim Janik <timj@gtk.org> * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault upon NULL return from gdk_utf8_to_string_target(). * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix return value comment to mention NULL returns upon EMFILE.
* revert accidentally commited change to testgtk.cSoeren Sandmann2002-04-047-1/+31
| | | | | | | Thu Apr 4 22:35:42 2002 Soeren Sandmann <sandmann@daimi.au.dk> * tests/testgtk.c (menu_items): revert accidentally commited change to testgtk.c
* Fix problem with menu titles being clipped (#75948)Soeren Sandmann2002-04-048-15/+52
| | | | | | | Thu Apr 4 22:28:08 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu titles being clipped (#75948)
* Fix some bugs, and introduce a minor feature.Tor Lillqvist2002-04-047-27/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-04 Tor Lillqvist <tml@iki.fi> * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature. (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per pixel) static visuals (fixes #858). (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix same bugs in both functions: Odd start coordinate (partial byte) was not handled correctly. Also a partial final byte was not handled correctly. (gdk_rgb_do_colormaps): Use G_N_ELEMENTS. (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2 colorcube only for depths 3 and 4. For static color, use it for depths 3..7 like before. (Depth 5..7 pseudocolor probably never occurs on X11. It doesn't normally occur on Win32 either, but there is experimental code in gdkvisual-win32.c to let the user restrict the size of palette used.) (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag is set. (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6 and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel static color.
* Fix a doc typo.Matthias Clasen2002-04-032-1/+5
| | | | * gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type): Fix a doc typo.
* Updated Korean translation.Changwoo Ryu2002-04-032-8/+9
| | | | * ko.po: Updated Korean translation.
* Updated Estonian translation.Tõivo Leedjärv2002-04-022-47/+35
| | | | | | 2002-04-02 Tõivo Leedjärv <toivo@linux.ee> * et.po: Updated Estonian translation.