OSDN Git Service

* src/paths.c (initialize_paths): Look in /usr/share for stuff.
authorcgf <cgf>
Mon, 12 Jun 2000 19:22:56 +0000 (19:22 +0000)
committercgf <cgf>
Mon, 12 Jun 2000 19:22:56 +0000 (19:22 +0000)
libgui/ChangeLog
libgui/src/paths.c

index 4f270f6..1cd8a53 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jun  9 20:43:40 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * src/paths.c (initialize_paths): Look in /usr/share for stuff.
+
 2000-04-18  James Ingham  <jingham@leda.cygnus.com>
 
        * library/toolbar.tcl (TOOLBAR_button_up): If the pointer is still 
index 3304d1f..1e131ef 100644 (file)
@@ -68,6 +68,9 @@ proc initialize_paths {} {\n\
   }\n\
   cd [file dirname $exec_name]\n\
   # Handle build with --exec-prefix and build without.\n\
+  set d [file join [file dirname [pwd]] usr share]\n\
+  lappend prefdirs $d\n\
+  lappend guidirs [file join $d cygnus gui]\n\
   set d [file join [file dirname [pwd]] share]\n\
   lappend prefdirs $d\n\
   lappend guidirs [file join $d cygnus gui]\n\