[Frugalware-darcs] setup: formatdisk: added root device selecting section

VMiklos vmiklos at frugalware.org
Wed Mar 29 23:54:17 CEST 2006


[formatdisk: added root device selecting section
VMiklos <vmiklos at frugalware.org>**20051111170723] {
hunk ./src/plugins/formatdisk.c 217
+char *selrootdev()
+{
+	char **array;
+	
+	array = parts2dialog(parts);
+	dialog_vars.backtitle=gen_backtitle(_("Setting up root the partition"));
+	dlg_put_backtitle();
+	fw_menu(_("Select the Linux installation partition"),
+		_("Please select a partition from the following list to use "
+		"for your root (/) partition. The following ones "
+		"are available:"), 0, 0, 0, g_list_length(parts)/2, array);
+	return(strdup(dialog_vars.input_result));
+}
+
hunk ./src/plugins/formatdisk.c 236
+	char *ptr;
hunk ./src/plugins/formatdisk.c 263
+	ptr = selrootdev();
+
hunk ./src/plugins/formatdisk.c 267
-	/*char **array;
-	array = parts2dialog(parts);
-	dialog_vars.backtitle=gen_backtitle(_("Setting up root the partition"));
-	dlg_put_backtitle();
-	fw_menu(_("Select the Linux installation partition"),
-		_("Please select a partition from the following list to use "
-		"for your root (/) partition. The following ones "
-		"are available:"), 0, 0, 0, g_list_length(parts)/2, array);*/
-
hunk ./src/plugins/formatdisk.c 268
-	//dialog_msgbox("title", "content", 0, 0, 1);
+	//dialog_msgbox("title", ptr, 0, 0, 1);
}


More information about the Frugalware-darcs mailing list