Skip to content

Commit

Permalink
Clear Application
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Dec 5, 2023
1 parent c934268 commit 64004c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions ricaun.RevitTest.Application/Revit/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,6 @@ private void CreateRibbonPanel(UIControlledApplication application)

var ribbon = ribbonPanel.CreatePushButton<ApsApplication.CommandApsView>("ricaun.Auth")
.SetToolTip("Open dialog to Login/Logout with Autodesk Platform Service.");
//ribbonPanel.GetRibbonPanel().Source.DialogLauncher = ribbon.GetRibbonItem<Autodesk.Windows.RibbonCommandItem>();
//ribbonPanel.Remove(ribbon);
ribbonPanel.SetDialogLauncher(ribbon);

UpdateLargeImageBusy(ribbonItem, RevitBusyService);
Expand Down
5 changes: 0 additions & 5 deletions ricaun.RevitTest.Application/Revit/Utils/RibbonUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ public static string GetComponentImage(string imageName)
{
return string.Format("Images/{0}.ico", imageName);
}
static string GetComponentImagePack(string imageName)
{
var assemblyName = Assembly.GetCallingAssembly().GetName().Name;
return string.Format("pack://application:,,,/{0};component/Images/{1}.png", assemblyName, imageName);
}
}
}

0 comments on commit 64004c9

Please sign in to comment.