diff --git a/src/client/spark/Daemons/AboutDaemon.cs b/src/client/spark/Daemons/AboutDaemon.cs index 627cd8440..8abe6cc66 100644 --- a/src/client/spark/Daemons/AboutDaemon.cs +++ b/src/client/spark/Daemons/AboutDaemon.cs @@ -18,13 +18,13 @@ namespace bts.ui { [Export, Export(typeof(IShellDaemon))] class AboutDaemon : IShellDaemon, IDisposable { readonly string _user; - readonly IBrowserWindowManager _browser; + readonly IBus _bus; IDisposable _dispose; [ImportingConstructor] - public AboutDaemon(IBus bus, [Import("username")]string username, IBrowserWindowManager browser) { + public AboutDaemon(IBus bus, [Import("username")]string username) { _user = username; - _browser = browser; + _bus = bus; _dispose = bus.subscribe(SparkTags.About).OnDispatcher().Subscribe(_ => show_about()); } @@ -50,7 +50,7 @@ namespace bts.ui { } else if (!string.IsNullOrEmpty(param)) { Uri address = new Uri("bts://" + param); - _browser.Pages.Add(address); + _bus.post(SparkTags.ShowUri, address); } } })); diff --git a/src/client/spark/Images/Icons.cs b/src/client/spark/Images/Icons.cs index 49359e894..8f4d8f20f 100644 --- a/src/client/spark/Images/Icons.cs +++ b/src/client/spark/Images/Icons.cs @@ -44,7 +44,9 @@ namespace mbts.ui public static ImageSource DataCopy { get { return load_image("DataCopy.ico"); } } public static ImageSource Refresh { get { return load_image("Refresh.png"); } } public static ImageSource FavoriteWindow { get { return load_image("FavoriteWindow.png"); } } - //public static ImageSource Ticket { get { return load_image("Ticket.png"); } } // replaced with AddOrders + + public static ImageSource Browser => (DrawingImage)_resources["Browser"]; + public static ImageSource Date { get { return load_image("Date.png"); } } public static ImageSource Cube3d { get { return (DrawingImage)_resources["Cube"]; } } diff --git a/src/client/spark/Images/Vector/Icons.xaml b/src/client/spark/Images/Vector/Icons.xaml index 4ea28281e..41de02ec7 100644 --- a/src/client/spark/Images/Vector/Icons.xaml +++ b/src/client/spark/Images/Vector/Icons.xaml @@ -753,6 +753,19 @@ M0,0L63.999001,0 63.999001,48.792999 0,48.792999z"> + + + + + + + + + +