summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-24 20:29:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:16 -0500
commit2fa732c6251f6dd23c3c8ef1facf638c9c531bdd (patch)
treeecd5915134035df978162e9a242d3c10603fcac5 /source4/gtk/tools/gregedit.c
parentae1ea5619b18be9c37f9647756e06718b17b88f2 (diff)
downloadsamba-2fa732c6251f6dd23c3c8ef1facf638c9c531bdd.tar.gz
samba-2fa732c6251f6dd23c3c8ef1facf638c9c531bdd.tar.bz2
samba-2fa732c6251f6dd23c3c8ef1facf638c9c531bdd.zip
r6045: Couple of small GTK+ fixes
Use uint32_t and uint16_t rather then DWORD and WORD in the NT4 backend. Add some more unknown fields.. (This used to be commit 6c3b1ec3296c7ab1ddfdcee86162f2eb0d73f5a8)
Diffstat (limited to 'source4/gtk/tools/gregedit.c')
-rw-r--r--source4/gtk/tools/gregedit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 28423040bf..472a5683ed 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -2,7 +2,7 @@
Unix SMB/CIFS implementation.
GTK+ registry frontend
- Copyright (C) Jelmer Vernooij 2004
+ Copyright (C) Jelmer Vernooij 2004-2005
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -753,6 +753,10 @@ static GtkWidget* create_mainwindow(void)
discard_const_p(char, "ldb"));
}
+ separatormenuitem1 = gtk_menu_item_new ();
+ gtk_container_add (GTK_CONTAINER (menu_file_menu), separatormenuitem1);
+ gtk_widget_set_sensitive (separatormenuitem1, FALSE);
+
save = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group);
gtk_widget_set_sensitive( save, False );
gtk_container_add (GTK_CONTAINER (menu_file_menu), save);