summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-08-10 18:47:36 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-08-10 18:47:36 +0000
commit75109ac21182171a8fcfce26197558b185ecea46 (patch)
treeab359776ef115654992b357284b0d89849f794bc /src
parent02bcf068092edf5b0dc3530728ec47a02c086a9a (diff)
downloadmetacity-75109ac21182171a8fcfce26197558b185ecea46.tar.gz
metacity-75109ac21182171a8fcfce26197558b185ecea46.tar.bz2
reorder the menu items so that Close is at the bottom
2002-08-10 Havoc Pennington <hp@pobox.com> * src/menu.c: reorder the menu items so that Close is at the bottom * src/theme-viewer.c (main): set debugging mode if METACITY_DEBUG enabled
Diffstat (limited to 'src')
-rw-r--r--src/menu.c3
-rw-r--r--src/theme-viewer.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c
index 367c5e9..c5372b8 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -49,7 +49,6 @@ struct _MenuData
static void activate_cb (GtkWidget *menuitem, gpointer data);
static MenuItem menuitems[] = {
- { META_MENU_OP_DELETE, METACITY_STOCK_DELETE, N_("_Close") },
{ META_MENU_OP_MINIMIZE, METACITY_STOCK_MINIMIZE, N_("_Minimize") },
{ META_MENU_OP_MAXIMIZE, METACITY_STOCK_MAXIMIZE, N_("Ma_ximize") },
{ META_MENU_OP_UNMAXIMIZE, NULL, N_("Unma_ximize") },
@@ -58,6 +57,8 @@ static MenuItem menuitems[] = {
{ META_MENU_OP_MOVE, NULL, N_("Mo_ve") },
{ META_MENU_OP_RESIZE, NULL, N_("_Resize") },
{ 0, NULL, NULL }, /* separator */
+ { META_MENU_OP_DELETE, METACITY_STOCK_DELETE, N_("_Close") },
+ { 0, NULL, NULL }, /* separator */
{ META_MENU_OP_STICK, NULL, N_("Put on _All Workspaces") },
{ META_MENU_OP_UNSTICK, NULL, N_("Only on _This Workspace") }
};
diff --git a/src/theme-viewer.c b/src/theme-viewer.c
index 1f7cc0f..2334eb8 100644
--- a/src/theme-viewer.c
+++ b/src/theme-viewer.c
@@ -566,6 +566,12 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
+ if (g_getenv ("METACITY_DEBUG") != NULL)
+ {
+ meta_set_debugging (TRUE);
+ meta_set_verbose (TRUE);
+ }
+
start = clock ();
err = NULL;
if (argc == 1)