b8724d8bc8
(messy) magic, which doesn't relay on sizeof(FILE), but on two integer variables having separate addresses and pointer casts not changing this fact.
13 lines
765 B
Text
13 lines
765 B
Text
$NetBSD: patch-ag,v 1.1 2006/06/20 20:41:22 joerg Exp $
|
|
|
|
--- src/cfg_paths.c.orig 2006-06-19 13:33:18.000000000 +0000
|
|
+++ src/cfg_paths.c
|
|
@@ -153,7 +153,7 @@ static GtkWidget * cpt_init(MainInfo *mi
|
|
page->path[i].path = gtk_entry_new();
|
|
gtk_signal_connect(GTK_OBJECT(page->path[i].path), "changed", GTK_SIGNAL_FUNC(evt_path_changed), page);
|
|
gtk_table_attach_defaults(GTK_TABLE(page->ptable), page->path[i].path, 1, 2, i, i+1);
|
|
-#if defined __OpenBSD__ || defined __FreeBSD__ || defined __NetBSD__
|
|
+#if defined __OpenBSD__ || defined __FreeBSD__ || defined __NetBSD__ || defined __DragonFly__
|
|
/* Mountlist and mounted fs files are non-configurable on BSD systems. */
|
|
if(i == 2 || i == 3)
|
|
gtk_widget_set_sensitive(page->path[i].path, FALSE);
|