mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
don't create workspaces menu items if only 1 workspace. Fix for #101952
2003-01-29 Havoc Pennington <hp@pobox.com> * src/menu.c (meta_window_menu_new): don't create workspaces menu items if only 1 workspace. Fix for #101952 from Orien Vandenbergh
This commit is contained in:
parent
b424364710
commit
18990530b0
@ -1,3 +1,9 @@
|
||||
2003-01-29 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/menu.c (meta_window_menu_new): don't create workspaces
|
||||
menu items if only 1 workspace. Fix for #101952 from
|
||||
Orien Vandenbergh
|
||||
|
||||
2003-01-28 Bill Haneman <bill.haneman@sun.com>
|
||||
|
||||
* Re-instated visual-bell patch
|
||||
|
@ -316,7 +316,7 @@ meta_window_menu_new (MetaFrames *frames,
|
||||
meta_verbose ("Creating %d-workspace menu current space %d\n",
|
||||
n_workspaces, active_workspace);
|
||||
|
||||
if (n_workspaces > 0)
|
||||
if (n_workspaces > 1)
|
||||
{
|
||||
GtkWidget *mi;
|
||||
Display *display;
|
||||
|
Loading…
Reference in New Issue
Block a user