From da70c26149b64f3a0892bb1e4e351511a084dd4a Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 12 Jul 1999 20:22:47 +0000 Subject: [PATCH] 1999-07-12 Miguel de Icaza * gnome-file-property-dialog.c (perm_group_new): Patch from Germano Leichsenring that fixes the display of groups for non-root users. --- gnome/ChangeLog | 6 ++++++ gnome/gnome-file-property-dialog.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 149b4a798..279a470f6 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,9 @@ +1999-07-12 Miguel de Icaza + + * gnome-file-property-dialog.c (perm_group_new): Patch from + Germano Leichsenring that fixes the + display of groups for non-root users. + 1999-07-07 * mc.keys.in.in: updated a few values. diff --git a/gnome/gnome-file-property-dialog.c b/gnome/gnome-file-property-dialog.c index 78a114cc6..3fec5fd40 100644 --- a/gnome/gnome-file-property-dialog.c +++ b/gnome/gnome-file-property-dialog.c @@ -900,7 +900,7 @@ perm_group_new (GnomeFilePropertyDialog *fp_dlg) gentry = gtk_entry_new (); gtk_widget_set_sensitive (gentry, FALSE); grp = getgrgid (fp_dlg->st.st_gid); - gtk_entry_set_text (GTK_ENTRY (gentry), grpname); + gtk_entry_set_text (GTK_ENTRY (gentry), grp->gr_name); } return gentry; }