diff --git a/ricaun.RevitTest.Application/Revit/App.cs b/ricaun.RevitTest.Application/Revit/App.cs index ddee57b..e01178f 100644 --- a/ricaun.RevitTest.Application/Revit/App.cs +++ b/ricaun.RevitTest.Application/Revit/App.cs @@ -324,8 +324,6 @@ private void CreateRibbonPanel(UIControlledApplication application) var ribbon = ribbonPanel.CreatePushButton("ricaun.Auth") .SetToolTip("Open dialog to Login/Logout with Autodesk Platform Service."); - //ribbonPanel.GetRibbonPanel().Source.DialogLauncher = ribbon.GetRibbonItem(); - //ribbonPanel.Remove(ribbon); ribbonPanel.SetDialogLauncher(ribbon); UpdateLargeImageBusy(ribbonItem, RevitBusyService); diff --git a/ricaun.RevitTest.Application/Revit/Utils/RibbonUtils.cs b/ricaun.RevitTest.Application/Revit/Utils/RibbonUtils.cs index 3c16932..fb0a1d1 100644 --- a/ricaun.RevitTest.Application/Revit/Utils/RibbonUtils.cs +++ b/ricaun.RevitTest.Application/Revit/Utils/RibbonUtils.cs @@ -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); - } } } \ No newline at end of file