From 46590084ade13f5edc6c8046275ada1709501016 Mon Sep 17 00:00:00 2001
From: Fabrice Bellet <fabrice@bellet.info>
Date: Wed, 24 Jul 2019 21:22:37 +0200
Subject: [PATCH] Fix reference to gtk stock icons
---
src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
index facf99ff4..207719e5a 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapActions.cs
@@ -49,14 +49,13 @@ namespace Banshee.Dap.Gui
public DapActions () : base ("dap")
{
AddImportant (
- new ActionEntry ("SyncDapAction", null,
+ new ActionEntry ("SyncDapAction", Stock.Refresh,
Catalog.GetString ("Sync"), null,
String.Empty, OnSyncDap)
);
AddUiFromFile ("GlobalUI.xml");
- this["SyncDapAction"].IconName = Stock.Refresh;
ServiceManager.SourceManager.ActiveSourceChanged += OnActiveSourceChanged;
Actions.SourceActions.Updated += delegate { UpdateActions (); };
OnActiveSourceChanged (null);
--
2.21.0