SdiWorkspaceWindow.cs (pinta-1.7) | : | SdiWorkspaceWindow.cs (pinta-1.7.1) | ||
---|---|---|---|---|
skipping to change at line 579 | skipping to change at line 579 | |||
subViewContent.Selected (); | subViewContent.Selected (); | |||
OnActiveViewContentChanged (new ActiveViewContentEventArg s (this.ActiveViewContent)); | OnActiveViewContentChanged (new ActiveViewContentEventArg s (this.ActiveViewContent)); | |||
} | } | |||
void SetDockNotebookTabTitle () | void SetDockNotebookTabTitle () | |||
{ | { | |||
tab.Text = Title; | tab.Text = Title; | |||
tab.Notify = show_notification; | tab.Notify = show_notification; | |||
tab.Dirty = content.IsDirty; | tab.Dirty = content.IsDirty; | |||
if (content.ContentName != null && content.ContentName != | ||||
"") { | if (!string.IsNullOrEmpty(content.FullContentName)) | |||
{ | ||||
tab.Tooltip = content.FullContentName; | ||||
} | ||||
else if (!string.IsNullOrEmpty(content.ContentName)) | ||||
{ | ||||
tab.Tooltip = content.ContentName; | tab.Tooltip = content.ContentName; | |||
} | } | |||
// JONTODO ? | // JONTODO ? | |||
//try { | //try { | |||
// if (content.StockIconId != null) { | // if (content.StockIconId != null) { | |||
// tab.Icon = ImageService.GetIcon (content.StockIconId, Icon Size.Menu); | // tab.Icon = ImageService.GetIcon (content.StockIconId, Icon Size.Menu); | |||
// } | // } | |||
// else | // else | |||
// if (content.ContentName != null && content.ContentName.Ind exOfAny (new char[] { | // if (content.ContentName != null && content.ContentName.Ind exOfAny (new char[] { | |||
// '*', | // '*', | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 7 lines changed or added |