summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
Commit message (Collapse)AuthorAgeFilesLines
* gtk/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.cMichael Natterer2008-06-171-2/+3
| | | | | | | | | | | | | | | | | 2008-06-17 Michael Natterer <mitch@imendio.com> * gtk/gtkfilesel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkoptionmenu.c * gtk/gtktoolitem.c * gtk/gtktooltips.c: add or move around #undef GTK_DISABLE_DEPRECATED so it's possible to build without deprecated stuff again (with the minor glitch that it doesn't link ;) but at least it's a tool to keep the code clean). svn path=/trunk/; revision=20426
* Use gtk_drag_*_add_{text,uri}_targets instead of hardcoded target tables.Matthias Clasen2008-02-161-107/+47
| | | | | | | | | | | | | | 2008-02-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c: * gtk/gtkfilesel.c: * gtk/gtklabel.c: * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets instead of hardcoded target tables. (#516092, Christian Persch) svn path=/trunk/; revision=19590
* More default property value correctionsMatthias Clasen2007-12-281-1/+1
| | | | svn path=/trunk/; revision=19276
* Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,Matthias Clasen2007-03-091-14/+7
| | | | | | | | | | | | | 2007-03-09 Matthias Clasen <mclasen@redhat.com> * Everywhere: Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, Djihed Afifi) * configure.in: Check for ftw.h svn path=/trunk/; revision=17444
* Call setlocale().Matthias Clasen2007-01-021-2/+2
| | | | | | | | | | | | | | | | | 2007-01-02 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c (main): Call setlocale(). * gtk/gtkfilesel.c: * gtk/gtkfilesystemunix.c: * gtk/gtkfilesystemwin32.c: * gtk/gtkfilechoosersettings.c: * gtk/updateiconcache.c: Consistently use folder instead of directory in translated messages. (#344584, Javier F. Serrador) svn path=/trunk/; revision=17024
* Commit a patch by Behdad to fix typos, omissions and other errors in theMatthias Clasen2006-09-101-1/+0
| | | | | | | | 2006-09-10 Matthias Clasen <mclasen@redhat.com> * Commit a patch by Behdad to fix typos, omissions and other errors in the symbol aliasing, and add checks for local PLT entries. (#354687, Behdad Esfahbod)
* Improve consistency of signal and property namesMatthias Clasen2006-07-061-18/+15
|
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-36/+4
|
* Avoid relocationMatthias Clasen2006-04-041-1/+1
|
* Oops. (#336784)Behdad Esfahbod2006-04-021-1/+0
| | | | | | 2006-04-01 Behdad Esfahbod <behdad@gnome.org> * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
* Use a GString instead of static buffer to reduce .bss by 8kb. (#336784)Behdad Esfahbod2006-04-011-3/+7
| | | | | | | 2006-04-01 Behdad Esfahbod <behdad@gnome.org> * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString instead of static buffer to reduce .bss by 8kb. (#336784)
* Various cleanups. (#315360, Kjartan Maraas)Matthias Clasen2005-09-131-4/+1
| | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
* Stylistic improvements and clarifications for some blurbs. (#315520,Matthias Clasen2005-09-091-1/+1
| | | | | | | | | | | | 2005-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_class_init): * gtk/gtkfilesel.c (gtk_file_selection_class_init): * gtk/gtkcombobox.c (gtk_combo_box_class_init): * gtk/gtklabel.c (gtk_label_class_init): * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): Stylistic improvements and clarifications for some blurbs. (#315520, Clytie Siddall)
* Intern some more strings.Matthias Clasen2005-09-011-2/+2
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Also intern static strings passed to g_object_set_data()Matthias Clasen2005-08-311-1/+1
|
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies.
* Use g_get_host_name().Tor Lillqvist2005-07-081-12/+6
| | | | | | 2005-07-08 Tor Lillqvist <tml@novell.com> * gtk/gtkfilesel.c: Use g_get_host_name().
* Prevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280,Matthias Clasen2005-07-011-2/+4
| | | | | | | 2005-07-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280, Padraig Brady)
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-5/+3
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+5
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* More canonical property names.Matthias Clasen2005-03-091-2/+2
|
* gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.cMatthias Clasen2005-03-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-01 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeyuni.c * gdk/gdkpixbuf-drawable.c * gdk/gdkrgb.c * gdk/x11/gdkdnd-x11.c * gdk/x11/gdkevents-x11.c * gdk/x11/gdkproperty-x11.c * gdk/x11/gdkvisual-x11.c * gdk-pixbuf/gdk-pixbuf.c * gtk/gtkaction.c * gtk/gtkbindings.c * gtk/gtkcolorbutton.c * gtk/gtkcombo.c * gtk/gtkcontainer.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkinputdialog.c * gtk/gtkitemfactory.c * gtk/gtkmenu.c * gtk/gtktextview.c * gtk/gtktooltips.c * gtk/gtktreedatalist.c * gtk/gtkuimanager.c * gtk/tree_minus.xpm * gtk/tree_plus.xpm * gtk/xdgmime/xdgmime.c * gtk/xdgmime/xdgmime.h: Move constant data to .rodata.
* Fix many instances of "the the" in docs and comments. (#165815, MasaoMatthias Clasen2005-02-011-1/+1
| | | | | | | 2005-02-01 Matthias Clasen <mclasen@redhat.com> * */*.c: Fix many instances of "the the" in docs and comments. (#165815, Masao Mutoh)
* gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.cTor Lillqvist2004-12-121-21/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-12 Tor Lillqvist <tml@iki.fi> * gtk/gtkaccelmap.[ch] * gtk/gtkfilechooser.[ch] * gtk/gtkfilesel.c * gtk/gtkfilesystemwin32.c * gtk/gtkiconfactory.[ch] * gtk/gtkicontheme.[ch] * gtk/gtkimage.[ch] * gtk/gtkimmodule.c * gtk/gtkmodules.c * gtk/gtkrc.[ch] * gtk/gtkuimanager.[ch] * gtk/gtkwindow.[ch] * gtk/updateiconcache.c * gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert environment variables referring to pathnames from locale encoding to UTF-8. As in GLib, in order to preserve Windows DLL ABI stability, add binary compatibility versions of functions that take file names as arguments, or return file names. Add a _utf8 suffix to the "real" such functions on Windows. The ABI compatibility versions keep the old name. * gtk/Makefile.am: Strip PRIVATE symbols from the GNU import library. * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement file mapping on Win32. * gtk/updateiconcache.c: Don't crash if invoked without argument. Use binary mode when opening file. * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
* fix unselect in multiple selection (#156805)Erwann Chenede -2004-11-151-2/+10
| | | | | | 2004-11-15 Erwann Chenede - <erwann.chenede@sun.com> * gtk/gtkfilesel.c: fix unselect in multiple selection (#156805)
* Add a public setting for button ordering (#74669, Owen Taylor)Matthias Clasen2004-10-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> Add a public setting for button ordering (#74669, Owen Taylor) * gtk/gtksettings.c (gtk_settings_class_init): Add a gtk-alternative-button-order setting. * gtk/gtkdialog.h: * gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A getter for the alternative button order setting. * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): New function to install an alternative button order for a dialog. * gtk/gtkfilesel.c (gtk_file_selection_init): * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): * gtk/gtkfilechooserdefault.c (location_popup_handler): Set up an alternative button order.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Fix #138807.Federico Mena Quintero2004-06-021-3/+3
| | | | | | | | | | | | | | | | | | 2004-06-02 Federico Mena Quintero <federico@ximian.com> Fix #138807. * gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument. (gtk_fnmatch_intern): Likewise; also implement this option. * gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype. * gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the no_leading_period argument of _gtk_fnmatch(). (attempt_file_completion): Likewise. * gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the no_leading_period argument of _gtk_fnmatch().
* Tell the user to use G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. FixesFederico Mena Quintero2004-04-151-2/+2
| | | | | | | 2004-04-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilesel.c (open_new_dir): Tell the user to use G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* Use a single OK button, not a Close button, as per the HIG.Federico Mena Quintero2004-03-111-1/+1
| | | | | | | | | 2004-03-11 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (error_message_with_parent): Use a single OK button, not a Close button, as per the HIG. * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Likewise.
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-1/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-6/+6
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Use 0777 as the mode for mkdir() and let the umask do the right thing.Federico Mena Quintero2004-01-061-1/+1
| | | | | | | | 2004-01-06 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use 0777 as the mode for mkdir() and let the umask do the right thing. Fixes #121819.
* Removed space that proceeded the end-of-sentence punctuation. Fixes:Alexander Winston2004-01-061-1/+1
| | | | | | | 2004-01-06 Alexander Winston <alexander.winston@comcast.net> * gtk/gtkfilesel.c: (gtk_file_selection_delete_file): Removed space that proceeded the end-of-sentence punctuation. Fixes: #130353.
* Deprecate. Ditto.Kristian Rietveld2003-10-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fri Oct 10 19:10:12 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombo.h: Deprecate. * gtk/gtkoptionmenu.h: Ditto. * gtk/gtkcombobox.c (gtk_combo_box_size_request), (gtk_combo_box_size_allocate): Rework, things behave better now. Still needs some work on requesting enough size when taking the items in the list into account. * gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable deprecated" guards. * gtk/gtkinputdialog.c: ditto. * gtk/gtkitemfactory.c: ditto. * gtk/gtkoptionmenu.c: ditto. * demos/gtk-demo/menus.c: remove the option menu. * demos/gtk-demo/sizegroup.c: replace the option menus with GtkComboBox. * demos/gtk-demo/textview.c: ditto. (A general GtkComboBox demo will be added later on).
* Don't reposition the cursor when we aren't trying to complete. (FixesOwen Taylor2003-08-141-6/+12
| | | | | | | | | | | | | | | Thu Aug 14 18:25:39 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (gtk_file_selection_populate): Don't reposition the cursor when we aren't trying to complete. (Fixes problems with selection on startup, #108433, reported by Mark Finlay.) * gtk/gtkfilesel.c (gtk_file_selection_populate): Remove code that tried to position the cursor after the common prefix when there was one, it wasn't working, and would be hard to fix. Just always put the cursor at the end when completing.
* If getting the current directory fails because of encoding conversionOwen Taylor2003-08-141-9/+42
| | | | | | | | | Thu Aug 14 17:58:23 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (get_current_dir_utf8): If getting the current directory fails because of encoding conversion problems, walk up textually to parent directories until we can convert. (#113627)
* Always return an absolute path (#115590), fix a problem where you couldOwen Taylor2003-08-011-29/+15
| | | | | | | | | Fri Aug 1 17:10:22 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (cmpl_completion_fullname): Always return an absolute path (#115590), fix a problem where you could crash the file selector with a looong name by returning a newly allocated buffer.
* Fix obvious reallocation bug in rarely or never hit code path (#118071,Owen Taylor2003-08-011-1/+1
| | | | | | | | Fri Aug 1 16:44:51 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation bug in rarely or never hit code path (#118071, Tor Lillqvist)
* (gtk_file_selection_set_filename): Add a hint about openingMatthias Clasen2003-05-221-0/+4
| | | | directories. (#113175)
* Some keynav improvements for the "Rename File" and "Create Directory"Matthias Clasen2003-05-211-22/+12
| | | | | | | | | | 2003-05-22 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilesel.c (gtk_file_selection_create_dir): (gtk_file_selection_rename_file): Some keynav improvements for the "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110)
* Fix capitalization of UTF-8. (#106419, Roozbeh Pournader)Owen Taylor2003-04-221-1/+1
| | | | | | | Tue Apr 22 15:33:51 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (open_new_dir): Fix capitalization of UTF-8. (#106419, Roozbeh Pournader)
* Use GetDriveType() to recognize removable drives (in order to avoidTor Lillqvist2003-02-091-1/+1
| | | | | | | | | 2003-02-09 Tor Lillqvist <tml@iki.fi> * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use GetDriveType() to recognize removable drives (in order to avoid hanging if trying to access an empty floppy drive), instead of hardcoding A: and B: (#105654).
* Merge from stable:Tor Lillqvist2003-01-191-36/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-19 Tor Lillqvist <tml@iki.fi> Merge from stable: Fix for #103614 and some other problems with GtkFileSelection on Windows: * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not g_ascii_tolower(). Windows file names are case-insensitive for all Unicode letters. * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h earlier, as it includes config.h unconditionally, and gtkprivate.h redefines GTK_LOCALEDIR. (struct _CompletionDirSent): Ifdef out the fields not used on Windows. (compare_utf8_filenames, compare_sys_filenames): Need different comparison implementation for UTF-8 file names and system locale file names on Win32. Cannot simply use g_ascii_strcasecmp(), but need to casefold all Unicode letters. (cmpl_completion_matches, open_dir, correct_parent): Ifdef out variables not used on Win32 to avoid warnings about unused variables. (open_ref_dir): Use g_path_skip_root() to skip past potential drive letter in front of the leading (back)slash. (open_new_dir): Ifdef out use of CompletionDirSent fields not there on Win32. (correct_parent): Bypass inode check also on Cygwin. Fix bug noticed by Alex Shaduri: Tooltips and other GDK_WINDOW_TEMP windows were activated. This looked very odd, and was a regression from earlier versions. * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune behaviour. Don't ever activate GDK_WINDOW_TEMP windows. (gdk_window_move, gdk_window_resize): Add debug logging. * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a WM_SIZE message for a non-visible (withdrawn) window, don't clear the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn even if its size changes.
* Use g_printf instead of system printf. (#99327)Matthias Clasen2002-12-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-15 Matthias Clasen <maclas@gmx.de> * gtk/gtkcalendar.c: * gtk/gtkfilesel.c: * gtk/gtkfontsel.c: * gtk/gtkhruler.c: * gtk/gtkinputdialog.c: * gtk/gtkprogress.c: * gtk/gtktreemodel.c: * gtk/gtkvruler.c: * gtk/queryimmodules.c: * gtk/theme-bits/decompose-bits.c: * gdk-pixbuf/gdk-pixbuf-csource.c: * gdk-pixbuf/make-inline-pixbuf.c: * gdk-pixbuf/queryloaders.c: * gdk/gdkkeynames.c: * gdk/gdkrgb.c: * gdk/linux-fb/gdkfbmanager.c: * gdk/win32/gdkevents-win32.c: * gdk/win32/gdkmain-win32.c: * gdk/win32/gdkproperty-win32.c: * gdk/x11/gdkmain-x11.c: Use g_printf instead of system printf. (#99327)
* Use g_utf8_collate_key() to sort in human-friendly order. (#94473)Owen Taylor2002-12-131-3/+10
| | | | | | | | 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)
* System fnmatch wasn't going to be UTF-8 clean, neither was our version.Owen Taylor2002-12-131-14/+7
| | | | | | | | | | | | | | 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.
* Const warning fix.Owen Taylor2002-12-131-2/+2
| | | | | | | Thu Dec 12 20:07:25 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c (cmpl_completion_fullname): Const warning fix.
* Include "." and ".." in the list of entries; they are needed for correctOwen Taylor2002-12-131-7/+10
| | | | | | | | | | | | | | 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.