1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gnome-file-property-dialog.c (perm_group_new): Set the correct
	group name in the group entry box.  BUGFIX: Red Hat bugzilla #3244.

	* gmount.c (get_mountable_devices): Return the list in getmntent()
	order.  BUGFIX: Red Hat bugzilla #3621.

	* gprefs.c (help_callback): New help callback for the preferences
	dialog.  It loads the "gmcprefs.html" section from the GMC user's
	guide.  We need a better framework for this; we need to be able to
	map DocBook identifiers (<foo id="bar">) to HTML files or
	whatever.  BUGFIX: Red Hat bugzilla #3194.

1999-08-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* doc-gnome/C/gmc.sgml: Set the book element's id to "index" so
	that the correct index.html will be generated.
This commit is contained in:
Miguel de Icaza 1999-08-05 20:58:36 +00:00
parent 102ab40364
commit 3e988d4f1f
7 changed files with 83 additions and 49 deletions

2
BUGS
View File

@ -1,4 +1,4 @@
Bugzilla: 3436, 3194, 3621, 3244
Bugzilla: 3436
bugs.gnome.org:
Important: 216, 382, 707, 1006, 1035, etc.

View File

@ -1,3 +1,8 @@
1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* doc-gnome/C/gmc.sgml: Set the book element's id to "index" so
that the correct index.html will be generated.
1999-07-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
* syntax/Makefile.in (ALLSYNTAX): Added the missing syntax files

View File

@ -1,6 +1,6 @@
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
]>
<book>
<book id="index">
<bookinfo>
<title>Gnome Midnight Commander Documentation</title>
<authorgroup>
@ -556,7 +556,7 @@
</listitem>
</itemizedlist>
</sect1>
<sect1 id=gmcprefs>
<sect1 id="gmcprefs">
<title>Changing Your Preferences in The File Manager</title>
<para>
<indexterm>

View File

@ -1,3 +1,17 @@
1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Set the correct
group name in the group entry box. BUGFIX: Red Hat bugzilla #3244.
* gmount.c (get_mountable_devices): Return the list in getmntent()
order. BUGFIX: Red Hat bugzilla #3621.
* gprefs.c (help_callback): New help callback for the preferences
dialog. It loads the "gmcprefs.html" section from the GMC user's
guide. We need a better framework for this; we need to be able to
map DocBook identifiers (<foo id="bar">) to HTML files or
whatever. BUGFIX: Red Hat bugzilla #3194.
1999-08-01 David Martin <dmartina@usa.net>
* gcmd.c (gnome_about_cmd): Change strings in gmc "about" to

View File

@ -214,7 +214,10 @@ get_mountable_devices (void)
list = g_list_prepend (list, dit);
}
}
endmntent (f);
list = g_list_reverse (list);
return list;
}

View File

@ -820,13 +820,11 @@ perm_group_new (GnomeFilePropertyDialog *fp_dlg)
{
GtkWidget *gentry;
struct group *grp;
gchar grpnum [50];
gboolean grp_flag = FALSE;
gchar *grpname = NULL;
GList *templist;
GList *list = NULL;
/* Are we root? Do we own the file? */
/* In this case we can change it. */
/* A little bit of this was swiped from kfm. */
@ -887,7 +885,7 @@ perm_group_new (GnomeFilePropertyDialog *fp_dlg)
for (templist = list; templist; templist = templist->next) {
g_free (templist->data);
}
gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (gentry)->entry), grpname);
gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (gentry)->entry), fp_dlg->group_name);
g_list_free (list);
} else {
/* we're neither so we just put an entry down */

View File

@ -467,6 +467,18 @@ create_page (PrefsDlg *dlg, PrefsPage *page)
gtk_label_new (_(page->title)));
}
/* Help callback for the preferences dialog */
static void
help_callback (GnomePropertyBox *pb, gint page_num, gpointer data)
{
static GnomeHelpMenuEntry entry = {
"gmc",
"gmcprefs.html"
};
gnome_help_display (NULL, &entry);
}
static void
create_prop_box (PrefsDlg *dlg)
{
@ -492,6 +504,8 @@ create_prop_box (PrefsDlg *dlg)
gtk_signal_connect (GTK_OBJECT (dlg->prop_box), "apply",
GTK_SIGNAL_FUNC (apply_callback), dlg);
gtk_signal_connect (GTK_OBJECT (dlg->prop_box), "help",
GTK_SIGNAL_FUNC (help_callback), dlg);
}
void