From 75109ac21182171a8fcfce26197558b185ecea46 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 10 Aug 2002 18:47:36 +0000 Subject: [PATCH] reorder the menu items so that Close is at the bottom 2002-08-10 Havoc Pennington * 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 --- ChangeLog | 8 ++++++++ src/menu.c | 3 ++- src/theme-viewer.c | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 639d98988..b8dab99f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-08-10 Havoc Pennington + + * 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 + 2002-08-10 Havoc Pennington * src/xprops.c (meta_prop_get_motif_hints): allow Motif hints to diff --git a/src/menu.c b/src/menu.c index 367c5e95b..c5372b83b 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 1f7cc0f1e..2334eb84c 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)