mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
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
This commit is contained in:
parent
02bcf06809
commit
75109ac211
@ -1,3 +1,11 @@
|
|||||||
|
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
|
||||||
|
|
||||||
2002-08-10 Havoc Pennington <hp@pobox.com>
|
2002-08-10 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/xprops.c (meta_prop_get_motif_hints): allow Motif hints to
|
* src/xprops.c (meta_prop_get_motif_hints): allow Motif hints to
|
||||||
|
@ -49,7 +49,6 @@ struct _MenuData
|
|||||||
static void activate_cb (GtkWidget *menuitem, gpointer data);
|
static void activate_cb (GtkWidget *menuitem, gpointer data);
|
||||||
|
|
||||||
static MenuItem menuitems[] = {
|
static MenuItem menuitems[] = {
|
||||||
{ META_MENU_OP_DELETE, METACITY_STOCK_DELETE, N_("_Close") },
|
|
||||||
{ META_MENU_OP_MINIMIZE, METACITY_STOCK_MINIMIZE, N_("_Minimize") },
|
{ META_MENU_OP_MINIMIZE, METACITY_STOCK_MINIMIZE, N_("_Minimize") },
|
||||||
{ META_MENU_OP_MAXIMIZE, METACITY_STOCK_MAXIMIZE, N_("Ma_ximize") },
|
{ META_MENU_OP_MAXIMIZE, METACITY_STOCK_MAXIMIZE, N_("Ma_ximize") },
|
||||||
{ META_MENU_OP_UNMAXIMIZE, NULL, N_("Unma_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_MOVE, NULL, N_("Mo_ve") },
|
||||||
{ META_MENU_OP_RESIZE, NULL, N_("_Resize") },
|
{ META_MENU_OP_RESIZE, NULL, N_("_Resize") },
|
||||||
{ 0, NULL, NULL }, /* separator */
|
{ 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_STICK, NULL, N_("Put on _All Workspaces") },
|
||||||
{ META_MENU_OP_UNSTICK, NULL, N_("Only on _This Workspace") }
|
{ META_MENU_OP_UNSTICK, NULL, N_("Only on _This Workspace") }
|
||||||
};
|
};
|
||||||
|
@ -566,6 +566,12 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
|
if (g_getenv ("METACITY_DEBUG") != NULL)
|
||||||
|
{
|
||||||
|
meta_set_debugging (TRUE);
|
||||||
|
meta_set_verbose (TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
start = clock ();
|
start = clock ();
|
||||||
err = NULL;
|
err = NULL;
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user