~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tart up users window a bit
[disorder]
/
disobedience
/
menu.c
diff --git
a/disobedience/menu.c
b/disobedience/menu.c
index
ab32f36
..
d2bb6a6
100644
(file)
--- a/
disobedience/menu.c
+++ b/
disobedience/menu.c
@@
-130,6
+130,7
@@
void menu_update(int page) {
t->selectall_sensitive(tab));
gtk_widget_set_sensitive(selectnone_widget,
t->selectnone_sensitive(tab));
t->selectall_sensitive(tab));
gtk_widget_set_sensitive(selectnone_widget,
t->selectnone_sensitive(tab));
+ /* TODO Users should only be sensitive if have RIGHT_ADMIN */
}
/** @brief Fetch version in order to display the about... popup */
}
/** @brief Fetch version in order to display the about... popup */
@@
-220,7
+221,7
@@
GtkWidget *menubar(GtkWidget *w) {
static const GtkItemFactoryEntry entries[] = {
{
static const GtkItemFactoryEntry entries[] = {
{
- (char *)"/
File",
/* path */
+ (char *)"/
Server",
/* path */
0, /* accelerator */
0, /* callback */
0, /* callback_action */
0, /* accelerator */
0, /* callback */
0, /* callback_action */
@@
-228,7
+229,7
@@
GtkWidget *menubar(GtkWidget *w) {
0 /* extra_data */
},
{
0 /* extra_data */
},
{
- (char *)"/
File/Login",
/* path */
+ (char *)"/
Server/Login",
/* path */
(char *)"<CTRL>L", /* accelerator */
login, /* callback */
0, /* callback_action */
(char *)"<CTRL>L", /* accelerator */
login, /* callback */
0, /* callback_action */
@@
-236,7
+237,7
@@
GtkWidget *menubar(GtkWidget *w) {
0 /* extra_data */
},
{
0 /* extra_data */
},
{
- (char *)"/
File/Users",
/* path */
+ (char *)"/
Server/Manage users",
/* path */
0, /* accelerator */
users, /* callback */
0, /* callback_action */
0, /* accelerator */
users, /* callback */
0, /* callback_action */
@@
-245,7
+246,7
@@
GtkWidget *menubar(GtkWidget *w) {
},
#if 0
{
},
#if 0
{
- (char *)"/
File/Settings",
/* path */
+ (char *)"/
Server/Settings",
/* path */
0, /* accelerator */
settings, /* callback */
0, /* callback_action */
0, /* accelerator */
settings, /* callback */
0, /* callback_action */
@@
-254,7
+255,7
@@
GtkWidget *menubar(GtkWidget *w) {
},
#endif
{
},
#endif
{
- (char *)"/
File
/Quit Disobedience", /* path */
+ (char *)"/
Server
/Quit Disobedience", /* path */
(char *)"<CTRL>Q", /* accelerator */
quit_program, /* callback */
0, /* callback_action */
(char *)"<CTRL>Q", /* accelerator */
quit_program, /* callback */
0, /* callback_action */