209
218
if (System.IO.Directory.Exists (filename))
212
224
if (IdeApp.Services.ProjectService.IsWorkspaceItemFile (filename) || IdeApp.Services.ProjectService.IsSolutionItemFile (filename)) {
213
225
button.Menu.AddItem (new NSMenuItem () { Title = GettextCatalog.GetString ("Solution Workbench") });
214
226
currentViewers.Add (null);
216
235
foreach (var vw in DisplayBindingService.GetFileViewers (filename, null)) {
218
237
button.Menu.AddItem (new NSMenuItem () { Title = vw.Title });
222
250
button.Enabled = currentViewers.Count > 1;