don't put a newline after the default workspace name

2002-07-13  Havoc Pennington  <hp@pobox.com>

	* src/workspace.c (meta_workspace_new): don't put a newline after
	the default workspace name
This commit is contained in:
Havoc Pennington 2002-07-14 03:59:18 +00:00 committed by Havoc Pennington
parent 812f783084
commit badb397bce
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-07-13 Havoc Pennington <hp@pobox.com>
* src/workspace.c (meta_workspace_new): don't put a newline after
the default workspace name
2002-07-13 Havoc Pennington <hp@pobox.com> 2002-07-13 Havoc Pennington <hp@pobox.com>
* src/keybindings.c: adapt to virtual modifiers * src/keybindings.c: adapt to virtual modifiers

View File

@ -48,7 +48,7 @@ meta_workspace_new (MetaScreen *screen)
workspace->work_area.height = screen->height; workspace->work_area.height = screen->height;
workspace->work_area_invalid = TRUE; workspace->work_area_invalid = TRUE;
workspace->name = g_strdup_printf (_("Workspace %d\n"), workspace->name = g_strdup_printf (_("Workspace %d"),
meta_workspace_index (workspace) + 1); meta_workspace_index (workspace) + 1);
/* Update hint for current number of workspaces */ /* Update hint for current number of workspaces */