1999-01-21 Jonathan Blandford <jrb@redhat.com>
* gnome-file-property-dialog.c (apply_uid_group_change): uh, lets do this in Octal. (:
Этот коммит содержится в:
родитель
54676965fa
Коммит
798749403a
@ -1,5 +1,8 @@
|
||||
1999-01-21 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gnome-file-property-dialog.c (apply_uid_group_change): uh, lets
|
||||
do this in Octal. (:
|
||||
|
||||
* glayout.c: comment out compare panels.
|
||||
|
||||
* gnome-file-property-dialog.h: new file. This is a new widget
|
||||
|
@ -627,8 +627,8 @@ apply_mode_change (GnomeFilePropertyDialog *fpd)
|
||||
gchar *new_mode;
|
||||
gtk_label_get (GTK_LABEL (fpd->mode_label), &new_mode);
|
||||
if (strcmp (new_mode, fpd->mode_name)) {
|
||||
g_print ("changed mode:%d:\n", (mode_t) atoi (new_mode));
|
||||
mc_chmod (fpd->file_name, (mode_t) atoi (new_mode));
|
||||
g_print ("changed mode:%d:\n", (mode_t) strtol(new_mode, (char **)NULL, 8));
|
||||
mc_chmod (fpd->file_name, (mode_t) strtol(new_mode, (char **)NULL, 8));
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user