1. 13 Feb, 2002 5 commits
    • Owen Taylor's avatar
      Implement Control-F1 as toggle-tooltips-mode. · 803a1f6f
      Owen Taylor authored
      Wed Feb 13 15:42:42 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
      	as toggle-tooltips-mode.
      
      	* gtk/gtktooltips.c: Remove parsing of tooltips style
      	string from here ... now in gtkrc.c.
      803a1f6f
    • Owen Taylor's avatar
      g_warning() if setting the local fails, like gdk_set_locale() did. · 6b838a22
      Owen Taylor authored
      Wed Feb 13 12:41:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmain.c (gtk_init_check): g_warning() if setting
              the local fails, like gdk_set_locale() did.
      
              * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list):
              Don't free local_list if local_count == 0. (#71241, reported
              by Kevin Vandersloot.)
      
              * gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list):
              Clean up list == NULL handling and failure.
      6b838a22
    • Owen Taylor's avatar
      Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder) · 294e8eb7
      Owen Taylor authored
      Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* tests/testtreeview.c (typesystem_recurse): Cast GType
              to long	and use	%ld to	fix warning. (#71318, Morten Welinder)
      294e8eb7
    • Tim Janik's avatar
      fix figuring accel path and changing behaviour. · f42cc7f7
      Tim Janik authored
      Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
      f42cc7f7
    • Tim Janik's avatar
      partly revert my recent expanding change to not expand the table if all · aa18bbf0
      Tim Janik authored
      Wed Feb 13 06:42:37 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktable.c (gtk_table_size_allocate_pass1): partly revert
              my recent expanding change to not expand the table if all children
              have not epxand behaviour. this fixes palette views which often
              use homogeneous non-expanding tables.
      aa18bbf0
  2. 12 Feb, 2002 5 commits
    • Matthias Clasen's avatar
      Add a (#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory(). · a9a06ee4
      Matthias Clasen authored
      	* test-images.h (tiff1_test_3), test-loaders.c (main): Add a
      	(#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory().
      
      	* io-ico.c (DecodeHeader): Check that pixbuf could be allocated.
      
      	* test-images.h (ico_test_2), test-loaders.c (main): Test the
      	previous change.
      
      	* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment): Don't write
      	beyond the end of buffer if width % 8 != 0.
      
      	* io-tga.c (try_preload): Enforce that ctx->hdr->type is one of
      	the supported types, otherwise parse_data_for_row () will not make
      	any progress, leading to an infinite loop.
      a9a06ee4
    • Kristian Rietveld's avatar
      emit row_deleted before we start unreffing the nodes ourselves · 67051d64
      Kristian Rietveld authored
      Tue Feb 12 14:27:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit
              row_deleted before we start unreffing the nodes ourselves
              (gtk_tree_model_sort_increment_stamp): always increment the stamp,
              and not only if the stamp equals 0 (pointed out by Darin Adler)
      
              * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want
              to continue the while loop and not the nested for loop.
      67051d64
    • Tim Janik's avatar
      always spread out the extra space allocated for the homogeneous case, as · 1cc88c4c
      Tim Janik authored
      Tue Feb 12 02:19:49 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktable.c (gtk_table_size_allocate_pass1): always spread out
              the extra space allocated for the homogeneous case, as we don't
              properly deal with readjusting table allocation within it. (for  this
              purpose, a GtkAlignment can be used as table parent).
      1cc88c4c
    • Darin Adler's avatar
      Consider reordering the row even when there's no sort column, if there's a · c823b8f6
      Darin Adler authored
              * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed):
              Consider reordering the row even when there's no sort column, if
              there's a default sort function.
              (gtk_tree_model_sort_rows_reordered): Use symbolic constants.
              (gtk_tree_model_sort_level_find_insert): Add code to handle the
              case where there is no sort column, but a default sort function.
              (gtk_tree_model_sort_insert_value): Add code to handle the case
              where there is no sort column an no default sort function.
              (gtk_tree_model_sort_set_model): Use symbolic constant.
              (gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant.
      c823b8f6
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · fa5f2b74
      Kjartan Maraas authored
      2002-02-12  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      fa5f2b74
  3. 11 Feb, 2002 11 commits
  4. 10 Feb, 2002 8 commits
    • Kristian Rietveld's avatar
      Add bug number · 50974e7c
      Kristian Rietveld authored
      50974e7c
    • Kristian Rietveld's avatar
      increase value of new_location by one if cmp_a > 0 and we hit the end of · 1aefb116
      Kristian Rietveld authored
      Sun Feb 10 22:20:46 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): increase
              value of new_location by one if cmp_a > 0 and we hit the end of
              the list and pass NULL instead of a 'NULL-iter' with
              _rows_reordered
      1aefb116
    • Matthias Clasen's avatar
      Enable some tests which should work now. · 73aa2bfe
      Matthias Clasen authored
      	* test-loaders.c (main): Enable some tests which should work
      	now.
      
      	* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment): Detect
      	invalid image dimensions and insufficient memory.
      
      	* io-tga.c (try_preload): Detect invalid image dimensions.
      	(gdk_pixbuf__tga_stop_load): Don't try to unref NULL pointers.
      
      	* io-ico.c (DecodeHeader): Detect some invalid headers and
      	don't segfault.
      73aa2bfe
    • Owen Taylor's avatar
      Add three Ethiopic input methods from Daniel Yacob. · 88462758
      Owen Taylor authored
      Sun Feb 10 12:32:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/Makefile.am modules/input/{imam-et.c, imti-er.c,
              imti-et.c} po/POTFILES.in: Add three Ethiopic input methods from
              Daniel Yacob.
      88462758
    • Anders Carlsson's avatar
      Set finalize handler; (gtk_calendar_finalize): Rename gtk_calendar_destroy · 3619eade
      Anders Carlsson authored
      2002-02-10  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkcalendar.c (gtk_calendar_class_init): Set finalize handler;
      	(gtk_calendar_finalize): Rename gtk_calendar_destroy to gtk_calendar_finalize
      	since ::destroy can be called multiple times, resulting in double-freeing memory.
      3619eade
    • Hans Breuer's avatar
      don't reduce the scroll rect size by the scroll amount · 6d33d1c7
      Hans Breuer authored
      2002-02-10  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkgeometry-win32.c : don't reduce the scroll
      	rect size by the scroll amount
      
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/win32/gdkselection-win32.c : added some casts to
      	make it compile with msvc's strict type checking
      
      	* gtk/fnmatch.c : #include <ctype.h> again for tolower
      	prototype. The fnmatch() code assumes to be in the crt
      	locale though it is feeded by utf8 strings from gtkfilesel.c
      
      	* gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by
      	_CompletionDir instead of referencing already freed memory
      
      	* gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to
      	gtk_rc_parse_string (theDefaultTooltipColor) once as it
      	was intended
      
      	* tests/makefile.msc : added more tests
      
      	* tests/testgtk.c (create_list) : don't try to load gtkenums.h
      	from the current directory use ../gtk/gtkenums.h instead
      6d33d1c7
    • Kjartan Maraas's avatar
      Fix a double «The» typo in a string. · f42f2a64
      Kjartan Maraas authored
      2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gtk/gtksizegroup.c: Fix a double «The» typo in a string.
      f42f2a64
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · efe1ca21
      Kjartan Maraas authored
      2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      efe1ca21
  5. 09 Feb, 2002 11 commits