Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
changeset 26:3a396783bfed
Fixes #125: Tabs lose close buttons
* Use "CreateNotebookTabLabelWithClose" to set label on name change instead of setting label text (added in ibboard:r100)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 28 Aug 2009 18:47:10 +0000 |
parents | 01ddadfa9653 |
children | 83c8945edac2 |
files | FrmMainWindow.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmMainWindow.cs Sat Aug 22 19:48:03 2009 +0000 +++ b/FrmMainWindow.cs Fri Aug 28 18:47:10 2009 +0000 @@ -230,7 +230,7 @@ if (widget!=null) { - unitsNotebook.SetTabLabelText(widget, newValue); + unitsNotebook.SetTabLabel(widget, NotebookUtil.CreateNotebookTabLabelWithClose(unitsNotebook, widget, newValue)); } }