1. 13 Dec, 2002 4 commits
    • Owen Taylor's avatar
      Use g_utf8_collate_key() to sort in human-friendly order. (#94473) · 137ad5b9
      Owen Taylor authored
      Fri Dec 13 18:22:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (compare_cmpl_dir): Use
              g_utf8_collate_key() to sort in human-friendly order.
              (#94473)
      137ad5b9
    • Owen Taylor's avatar
      System fnmatch wasn't going to be UTF-8 clean, neither was our version. · 73b15ba3
      Owen Taylor authored
      Fri Dec 13 17:45:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
              System fnmatch wasn't going to be UTF-8 clean, neither
              was our version. Redo our fnmatch.c to be UTF-8, add
              test cases, fix all sorts of bugs inherited
              from the antique GNU fnmatch code. Change interface
              to get rid of fnmatch.h constants. Fixes basic
              non-workingness of filesel with non-ASCII filenames.
      
              * gtk/fnmatch.h: No longer needed.
      73b15ba3
    • Owen Taylor's avatar
      Const warning fix. · 72ecdb5c
      Owen Taylor authored
      Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
              warning fix.
      72ecdb5c
    • Owen Taylor's avatar
      Include "." and ".." in the list of entries; they are needed for correct · 829c6708
      Owen Taylor authored
      Thu Dec 12 19:51:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (open_new_dir): Include "."
              and ".." in the list of entries; they are needed for
              correct handling of .<TAB>, ..<TAB>; were lost
              with the GDir conversion. (Francisco Bustamante,
              #89972)
      
              * gtk/gtkfilesel.c (open_new_dir): If we hit
              EOF unexpectedly, that's OK... a file was just
              deleted while we were reading the directory.
      829c6708
  2. 10 Dec, 2002 1 commit
  3. 07 Nov, 2002 1 commit
  4. 03 Nov, 2002 1 commit
  5. 02 Nov, 2002 1 commit
  6. 29 Oct, 2002 1 commit
  7. 25 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Fix sensitivity of file operation buttons and buttons inside fileop · 12f3fbc0
      Owen Taylor authored
      Fri Oct 25 14:51:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c: Fix sensitivity of file operation
              buttons and buttons inside fileop dialogs to update
              properly based on the contents of the entries.
              (#74267, based on part of a patch from Muktha
              Narayan)
      12f3fbc0
  8. 09 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · fb6a7df8
      Manish Singh authored
      Wed Oct  9 15:07:08 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch]
              gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]:
              Deprecation cleanup
      fb6a7df8
  9. 25 Sep, 2002 2 commits
  10. 31 Aug, 2002 1 commit
  11. 25 Aug, 2002 1 commit
  12. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  13. 16 Jun, 2002 2 commits
    • Owen Taylor's avatar
      Actually use the UTF-8 filename, so we actually fix #83386. · c2f90c27
      Owen Taylor authored
      Sat Jun 15 23:53:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
              Actually use the UTF-8 filename, so we actually
              fix #83386.
      
              * tests/testgtk.c: Remember the directory as a
              test of gtk_file_selection_set_filename().
      c2f90c27
    • Owen Taylor's avatar
      Fix backwards asssertion. (#85434) · 12fa1554
      Owen Taylor authored
      Sat Jun 15 23:05:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
              Fix backwards asssertion. (#85434)
      12fa1554
  14. 13 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Fix so that the encoding of the filename is handled properly in the case · 6b835878
      Owen Taylor authored
      Thu Jun 13 12:24:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
              Fix so that the encoding of the filename is handled
              properly in the case of non-UTF-8 filesystems;
              document the encoding. (#83386, Sebastian Ritau)
      
              * gtk/gtkfilesel.c (filenames_drag_get): Remove
              debug printf. Fix UTF-8 / filename encoding
              confusion
      6b835878
  15. 13 May, 2002 1 commit
  16. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Doc fixes. · b21eb283
      Owen Taylor authored
      Tue Apr 30 14:15:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
      b21eb283
  17. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      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.
      4632fb81
  18. 14 Apr, 2002 1 commit
    • Abigail Brady's avatar
      Fix typo in message. · 2b350816
      Abigail Brady authored
      2002-04-14  Abigail Brady  <morwen@fuzzle.org>
      
      	* gtk/gtkfilesel.c: Fix typo in message.
      
      	* po/en_GB.po: Update British translation.
      2b350816
  19. 09 Apr, 2002 1 commit
  20. 28 Mar, 2002 1 commit
  21. 08 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Some packing tweaks. · 9c6d85da
      Owen Taylor authored
      Fri Mar  8 14:22:43 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_init): Some packing
              tweaks.
      
              * configure.in: Include GLIB_LIBS when checking
              for bind_textdomain_codeset, to catch the case where
              it is in -lintl.
      9c6d85da
  22. 04 Mar, 2002 1 commit
  23. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
  24. 28 Feb, 2002 1 commit
  25. 27 Feb, 2002 1 commit
    • Hans Breuer's avatar
      new file · bc94033d
      Hans Breuer authored
      2002-02-27  Hans Breuer  <hans@breuer.org>
      
      	* demos/gtk-demo/makefile.msc.in : new file
      
      	* gdk-pixbuf/gtk-pixbuf.rc.in : new file to include
      	  version resource
      	* gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res
      
      	* gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU,
      	(gdk_keyval_name) : fix endless looping
      
      	* gtk/gtkfilesel.c : translate_win32_path() static
      	* gtk/queryimmodules : print_escaped(), query_module() static
      
      	* gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res
      
      	* gtk/stock-icons/makefile.msc : regenerated from directory
      	listing (almost all filenames changed)
      bc94033d
  26. 24 Feb, 2002 1 commit
    • 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
  27. 18 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Released 1.3.14 · 2e8d083c
      Owen Taylor authored
      Sun Feb 17 21:30:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * Released 1.3.14
      
              * configure.in: Version 1.3.14, interface, binary age 0.
      
              * gdk/gdkregion-generic.c (miSubtractO): Fix out-of-bounds
              read. (#71619, reported by Morten Welinder)
      
              * gtk/gtkmenu.c (gtk_menu_class_init): Fix setting default.
      
              * gtk/gtkfilesel.c (gtk_file_selection_class_init): Add
              a select_multiple property to go along with thenew
              get/set_select_multiple.
      
              * gdk/gdkwindow.c: Patch from Soeren Sandmann to improve
              update debugging code. (#71703)
      2e8d083c
  28. 17 Feb, 2002 1 commit
  29. 11 Feb, 2002 1 commit
  30. 10 Feb, 2002 1 commit
    • 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
  31. 08 Feb, 2002 1 commit
  32. 01 Feb, 2002 1 commit
  33. 29 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Switch over to GtkTreeView from GtkCList. Remove the entries above the · 833b99fc
      Owen Taylor authored
      Tue Jan 29 15:24:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from
              GtkCList. Remove the entries above the font/face lists
              since they were a little confusing. (Not sure about this
              change, so the code is still there the entries are
              just hidden.) (#68890)
      
              * gtk/gtkfilesel.c: Switch over to GtkTreeView from
              GtkCList. Add mnemonics for fileops. Allow Control/Shift
              Tab to focus out.
      
              * gtk/gtkfilesel.c: Make fileop dialogs transient-for
              the fileselector. (#69336, patch from Melvin Hadasht)
      
              * gtk/gtkgamma.c (button_clicked_callback): Fix handling
              of gamma dialog a bit. (#69336, Matthias Clasen.)
      833b99fc
  34. 17 Jan, 2002 2 commits
    • Matthias Clasen's avatar
      Mark children as composite. (#66360) · 77c28630
      Matthias Clasen authored
              * gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
              Mark children as composite. (#66360)
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
              composite children some more. (#66360)
      77c28630
    • Owen Taylor's avatar
      Fix "deleting" filename by adding another boolean parameter to · 9961ddc2
      Owen Taylor authored
      Wed Jan 16 20:28:38 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c: Fix "deleting" filename by adding
      	another boolean parameter to file_selection_populate() -
      	whether to clear the entry. Also, never fill in the
      	entry when the user clicks on something in the
      	directory list. (#6791, Reported by Jos Dehaes and many,
      	many, many others.)
      9961ddc2