1. 24 Feb, 2002 13 commits
    • Owen Taylor's avatar
      Take border width into account. · 60c1630e
      Owen Taylor authored
      Sun Feb 24 14:15:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (widget_to_buffer): Take border
              width into account.
      
              * gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont
              to compute wrap width ... GdkFont will pull in X11 core
              fonts.
      60c1630e
    • Matthias Warkus's avatar
      Updated for release. · a93987de
      Matthias Warkus authored
      a93987de
    • Hasbullah Bin Pit's avatar
      Updated Malay Translation. · 55359006
      Hasbullah Bin Pit authored
      2002-02-24  Hasbullah Bin Pit <sebol@ikhlas.com>
      
      * ms.po: Updated Malay Translation.
      55359006
    • Owen Taylor's avatar
      Released 1.3.15. · 2bf3857a
      Owen Taylor authored
      Sun Feb 24 00:06:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * Released 1.3.15.
      
              * configure.in: Version 1.3.15, binary, interface age 0.
      
              * NEWS: Updates
      
              * configure.in: Update version requirements.
      2bf3857a
    • Owen Taylor's avatar
      Sanity check default font family name and size. · 23a249a0
      Owen Taylor authored
      Sat Feb 23 22:37:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c (gtk_style_init): Sanity check default
              font family name and size.
      
              * gtk/gtkwindow.c (gtk_window_set_default_size): Remove
              incorrect comment about the geometry widget.
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Unset the
              gtk_window_resize)() information once we've set the size
              once, to avoid it coming back next time we queue a resize.
              (#72359)
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Remove
              setthing of ->need_default_size from here, Havoc
              says that it should correspond more or less exactly
              to GTK_WIDGET_MAPPED (window).
      23a249a0
    • Owen Taylor's avatar
      Document gtk_tree_path_new_root(), gtk_tree_model_get_iter_root() as · c44a49fa
      Owen Taylor authored
      Sat Feb 23 23:39:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/tmpl/gtktreemodel.sgml: Document gtk_tree_path_new_root(),
              gtk_tree_model_get_iter_root() as compatibility macros.
      
              * gtk/gtk-sections.txt: Updates.
      c44a49fa
    • Jonathan Blandford's avatar
      at Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com> · a265926e
      Jonathan Blandford authored
      	* gtk/gtktreemodel.h: add () to function macros as per owen's
      	request.
      
      	* gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
      	(gtk_font_selection_show_available_sizes),
      	(gtk_font_selection_set_font_name):
      	* gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
      	(gtk_tree_model_foreach):
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
      	(gtk_tree_model_sort_build_level):
      	* gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
      	* gtk/gtktreeview.c: (validate_visible_area),
      	(gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
      	(gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
      	(gtk_tree_view_search_init):
      	* tests/testtreeview.c: (run_automated_tests): change iter_root
      	to iter_first
      a265926e
    • Jonathan Blandford's avatar
      change new_root to new_first to avoid confusion. · 5d973ef3
      Jonathan Blandford authored
      Sat Feb 23 22:10:52 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
      	new_first to avoid confusion.
      	(gtk_tree_model_get_iter_first): ditto.
      5d973ef3
    • Owen Taylor's avatar
      gtk/gtksettings.c gtk/gtkstyle.c: Patch from Richard Hestilow to add a · 82b76bbe
      Owen Taylor authored
      Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
              Patch from Richard Hestilow to add a gtk-font-name GtkSetting.
      
              * gdk/x11/gdkevents-x11.c: Add Gtk/FontName XSETTING.
      82b76bbe
    • Tor Lillqvist's avatar
      Move inclusion of <windows.h> before inclusion of <winsock.h>, to actually · d21ebc72
      Tor Lillqvist authored
      2002-02-24  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkfilesel.c: Move inclusion of <windows.h> before inclusion
      	of <winsock.h>, to actually get STRICT prototypes for Win32
      	API. Include glib.h early to get G_OS_WIN32 and G_WITH_CYGWIN.
      	Don't declare static functions that aren't defined if !HAVE_PWD_H
      	or if G_OS_WIN32.
      	(win32_gtk_add_drives_to_dir_list): Remove #if 0 code, reindent.
      	(gtk_file_selection_get_selections): Don't crash if nothing has
      	been selected.
      d21ebc72
    • Owen Taylor's avatar
      Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB · 6a802b24
      Owen Taylor authored
      Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement
              accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
              XEMBED_GTK_KEY_UNGRAB pair of messages.
      
              * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().
      
              * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
              widgets.
      6a802b24
    • Havoc Pennington's avatar
      change gravity of start/end marks so that text added at either end of the · f97ae501
      Havoc Pennington authored
      2002-02-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (save_range): change gravity of start/end
      	marks so that text added at either end of the range doesn't end up
      	inside the range.
      	(gtk_text_buffer_real_insert_range): fix to handle pasting a range
      	into itself. #71412
      f97ae501
    • Jonathan Blandford's avatar
      Didn't refind node when it was NULL. Bug found by Tor Lillqvist. · 779ce437
      Jonathan Blandford authored
      Sat Feb 23 19:05:34 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (validate_visible_area): Didn't refind node
      	when it was NULL.  Bug found by Tor Lillqvist.
      779ce437
  2. 23 Feb, 2002 20 commits
    • Tor Lillqvist's avatar
      Set also group in the key press/release events, always to zero for now. · 591fe66d
      Tor Lillqvist authored
      2002-02-24  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (build_keypress_event,
      	build_keyrelease_event, gdk_event_translate): Set also group in
      	the key press/release events, always to zero for now.
      591fe66d
    • Anders Carlsson's avatar
      Alpha-pad icons so they get the correct size. · 660183e1
      Anders Carlsson authored
      2002-02-24  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/stock-icons/stock_dialog_error_48.png:
      	* gtk/stock-icons/stock_sort_ascending_16.png:
      	* gtk/stock-icons/stock_undelete_24.png:
      	* gtk/stock-icons/stock_sort_descending_16.png:
      	Alpha-pad icons so they get the correct size.
      660183e1
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove some excessive ::changed signals for · 3fceb353
      Owen Taylor authored
      Sat Feb 23 16:52:38 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c: Patch from Matthias Clasen to remove some
              excessive ::changed signals for GtkEntry. (#53130)
      3fceb353
    • Tor Lillqvist's avatar
      Include the gtkrc files for themes. · b74d849b
      Tor Lillqvist authored
      2002-02-23  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Include the gtkrc files for themes.
      b74d849b
    • Anders Carlsson's avatar
      Rename strikeout to strikethrough. · 8466617e
      Anders Carlsson authored
      2002-02-23  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/Makefile.am (HTML_IMAGES): Rename strikeout to
      	strikethrough.
      8466617e
    • Anders Carlsson's avatar
      Register 16x16 versions of most icons. · 1eae84bc
      Anders Carlsson authored
      2002-02-23  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Register 16x16
      	versions of most icons.
      
      	* gtk/stock-icons: Add 16x16 versions
      	of most icons.
      1eae84bc
    • Jonathan Blandford's avatar
      delay scrolling until we try to draw the window. · b2539ba4
      Jonathan Blandford authored
      Wed Feb 20 16:44:05 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay
      	scrolling until we try to draw the window.
      
      	* gtk/gtktreeview.c (validate_visible_area): Implement
      	scroll_to_cell.
      b2539ba4
    • Tor Lillqvist's avatar
      Add missing gtk_file_selection_get_select_multiple. Remove · e59e91bf
      Tor Lillqvist authored
      2002-02-23  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtk.def: Add missing gtk_file_selection_get_select_multiple.
      	Remove gtk_tree_view_column_cell_* entry points that were made
      	private.
      e59e91bf
    • Owen Taylor's avatar
      Make button draw depressed whenever the user clicks / activates it, · 50fbc10b
      Owen Taylor authored
      Sat Feb 23 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktogglebutton.c: Make button draw depressed whenever
              the user clicks / activates it, whether it's off/on/inconsistent.
      50fbc10b
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
    • Owen Taylor's avatar
      Applied patch from Thomas Leonard to make stepper click to scroll take · 96882ebc
      Owen Taylor authored
      Fri Feb 22 20:28:18 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrange.c: Applied patch from Thomas Leonard to make
              stepper click to scroll take effect immediately, rather than after
              a delay (#67649).
      
              * gtk/gtkrange.c: Remove right-click == step in trough since it
              isn't a useful binding and it's a large area to hit accidentally.
              (Leave it on the steppers since its more useful there and less
              likely to do accidentally.)
      96882ebc
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · 70ace6c0
      Kjartan Maraas authored
      2002-02-23  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      70ace6c0
    • Ole Laursen's avatar
      Updated Danish translation. · 1ff589bd
      Ole Laursen authored
      2002-02-23  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      1ff589bd
    • Pablo Saratxaga's avatar
      Added Welsh file · 2ff7322f
      Pablo Saratxaga authored
      2ff7322f
    • Jody Goldberg's avatar
      lower case the key_val. (gtk_accel_group_connect_by_path) : ditto. · 86ce9fdf
      Jody Goldberg authored
      2002-02-23  Jody Goldberg <jody@gnome.org>
      
      	* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
      	  key_val.
      	(gtk_accel_group_connect_by_path) : ditto.
      	(gtk_accel_group_disconnect_key) : ditto.
      
      	* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
      	(gtk_widget_real_key_press_event) : ditto.
      86ce9fdf
    • Jonathan Blandford's avatar
      Documented undocumented functions. · 095ae0c0
      Jonathan Blandford authored
      Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviecolumn.c: Documented undocumented functions.
      095ae0c0
    • Jonathan Blandford's avatar
      Documented undocumented functions. · 95c08351
      Jonathan Blandford authored
      Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c: Documented undocumented functions.
      95c08351
    • Kristian Rietveld's avatar
      honor min_width and max_width while resizing columns (pointed out by Jorn · c1a26cc3
      Kristian Rietveld authored
      Sat Feb 23 03:10:20 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and
              max_width while resizing columns (pointed out by Jorn Baayen)
      c1a26cc3
    • Owen Taylor's avatar
      Patch from Matthias Clasen (#54488) · 53171867
      Owen Taylor authored
      Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Matthias Clasen (#54488)
      
              * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
              and do ::has-focus notifications.
      
              * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
              gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
              Remove unecessary focus_in/out handles and unecessary
              flag setting.
      
              * gtk/gtkwidget.c: Adda missing notification on ::parent.
      53171867
    • Owen Taylor's avatar
      Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. · a504db9e
      Owen Taylor authored
      Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
      	#72182.
      
      	* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
      	gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
      	gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
      	Squash trailing commas on enumerations.
      
      	* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
      	of 1 << 31 to work around AIX compiler problem. (C standard
      	seems to imply that compiler is required to use an unsigned
      	type for the enum value in this case.)
      
      	* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.
      
      	* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
      	compilers may choose to use a signed type for bitfields.
      a504db9e
  3. 22 Feb, 2002 7 commits
    • Kristian Rietveld's avatar
      Let's mention the bug number · c73054c5
      Kristian Rietveld authored
      c73054c5
    • Kristian Rietveld's avatar
      leave threads before returning · c096137b
      Kristian Rietveld authored
      Sat Feb 23 00:34:01 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_rows_handler): leave threads before
              returning
      c096137b
    • Anders Carlsson's avatar
      Rename icons. · 7d69cbed
      Anders Carlsson authored
      2002-02-22  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/stock-icons/*: Rename icons.
      
      	* gtk/stock-icons/Makefile.am: Update for new icon names.
      
      	* gtk/gtkiconfactory.c (init_icon_sizes): Set the
      	GTK_ICON_SIZE_BUTTON size to be 20x20.
      	(get_default_icons): Change stock names.
      
      2002-02-22  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/Makefile.am (HTML_IMAGES): Update for name changes.
      7d69cbed
    • Kristian Rietveld's avatar
      add last_single_clicked and last_single_clicked_2 rowrefs and add · 45d646eb
      Kristian Rietveld authored
      Fri Feb 22 22:39:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeprivate.h: add last_single_clicked and
              last_single_clicked_2 rowrefs and add disable_popdown to the
              bitfield
      
              * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff
              for two new rowrefs
              (gtk_tree_view_button_press): add some 'advanced' button handling,
              so double click is being handled right (double click madness was
              discovered by Anders Carlsson)
      
              * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing
              break
              (gtk_tree_view_class_init): default value of headers_visible
              should be TRUE (both pointed out by Damon Chaplin, #71986)
      
              * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
              connect to populate_popup,
              (gtk_tree_view_search_disable_popdown): new function,
              (gtk_tree_view_real_search_enable_popdown): ditto,
              (gtk_tree_view_search_enable_popdown): ditto,
              (gtk_tree_view_search_dialog_destroy): check for
              gtk-tree-view-popdown-disabled (#71868)
      
              * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move
              ->priv->reorderable assignment to bottom. (#72122)
      45d646eb
    • Havoc Pennington's avatar
      subtract 1 from line endpoint, to avoid cursor dirt in the text widget. · ccfab158
      Havoc Pennington authored
      2002-02-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
      	line endpoint, to avoid cursor dirt in the text widget.
      	zero-width lines appear to draw the endpoint always. #67999
      ccfab158
    • Havoc Pennington's avatar
      implement more cleanly by using text_window->allocation.x/y instead of · 5109ff02
      Havoc Pennington authored
      2002-02-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (buffer_to_widget): implement more cleanly by
      	using text_window->allocation.x/y instead of recomputing it.
      	Fixes a bug caused by leaving out the border width here.
      5109ff02
    • Havoc Pennington's avatar
      call gtk_size_group_queue_resize to avoid invalidating the widget every · a07ef437
      Havoc Pennington authored
      2002-02-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (changed_handler): call
      	gtk_size_group_queue_resize to avoid invalidating the widget every
      	time its requisition changes. Instead we use the btree invalid
      	lines to know what to redraw. Fixes #71429
      a07ef437