Mercurial > gftp.yaz
comparison src/gtk/chmod_dialog.c @ 648:86a110c13b8e
2004-12-24 Brian Masney <masneyb@gftp.org>
* src/gtk/chmod-dialog.c (dochmod) - fixes for the group execute
permission. If that checkbox was active, then write permissions for
others was enabled
author | masneyb |
---|---|
date | Fri, 24 Dec 2004 11:26:52 +0000 |
parents | 7262851e3ae8 |
children | 877282be3a78 |
comparison
equal
deleted
inserted
replaced
647:c197c8fb1e62 | 648:86a110c13b8e |
---|---|
78 if (GTK_TOGGLE_BUTTON (gr)->active) | 78 if (GTK_TOGGLE_BUTTON (gr)->active) |
79 mode |= S_IRGRP; | 79 mode |= S_IRGRP; |
80 if (GTK_TOGGLE_BUTTON (gw)->active) | 80 if (GTK_TOGGLE_BUTTON (gw)->active) |
81 mode |= S_IWGRP; | 81 mode |= S_IWGRP; |
82 if (GTK_TOGGLE_BUTTON (gx)->active) | 82 if (GTK_TOGGLE_BUTTON (gx)->active) |
83 mode |= S_IWOTH; | 83 mode |= S_IXGRP; |
84 | 84 |
85 if (GTK_TOGGLE_BUTTON (or)->active) | 85 if (GTK_TOGGLE_BUTTON (or)->active) |
86 mode |= S_IROTH; | 86 mode |= S_IROTH; |
87 if (GTK_TOGGLE_BUTTON (ow)->active) | 87 if (GTK_TOGGLE_BUTTON (ow)->active) |
88 mode |= S_IWOTH; | 88 mode |= S_IWOTH; |