b317104bf6
* Updated to automake/autoconf/aclocal/a* 1.10.x, with the usual pains. I hope it builds for people other than me ... * Updated to a new included version of GNU gettext (0.16.1). * Made gentoo's start-up more friendly to GTK+, so that standard options supported by the toolkit (like --sync) work, now. * Added new Mexican Spanish translation. * Added a "Case" page to the RenameRE command, with options to easily convert filenames to all-lower or all-upper case. Far easier than manually entering all characters for "Map". Also refactored code of RenameRE quite a bit, it is shorter now. * Fixed bugs where the GTK+ event-flushing loop used in various places in the code generated a spurious error 11 ("Resource temporarily unavailable"). * Added a new setting ("Buffer Size for mmap()" under Commands/ Options/ViewText) that controls how much data is passed from the mmap()ed text file to the GTK+ text widget at a time. Before this release, this was always "all of it", which seems to cause problems sometimes. If you get an empty viewer when you try looking at a large-ish (>64 KB) text file and you use mmap(), lower this setting.
23 lines
729 B
Text
23 lines
729 B
Text
$NetBSD: patch-ad,v 1.8 2008/11/10 14:56:16 adam Exp $
|
|
|
|
--- src/gentoo.c.orig 2006-08-23 14:58:12.000000000 -0400
|
|
+++ src/gentoo.c 2008-08-17 01:44:41.000000000 -0400
|
|
@@ -334,7 +334,18 @@ static GtkWidget * build_gui(MainInfo *m
|
|
static void init_paths(CfgInfo *cfg)
|
|
{
|
|
cfg->path.path[PTID_ICON] = g_string_new(PATH_ICN);
|
|
+#if 0
|
|
+ /* PATH_GRC is the compile-time $HOME, which seems wrong. */
|
|
cfg->path.path[PTID_GTKRC] = g_string_new(PATH_GRC);
|
|
+#else
|
|
+ {
|
|
+ const char *home = getenv("HOME");
|
|
+ if (home == NULL) {
|
|
+ home = "/";
|
|
+ }
|
|
+ cfg->path.path[PTID_GTKRC] = g_string_new(home);
|
|
+ }
|
|
+#endif
|
|
cfg->path.path[PTID_FSTAB] = g_string_new("/etc/fstab");
|
|
cfg->path.path[PTID_MTAB] = g_string_new("/proc/mounts");
|
|
|