This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new 274219080f Replace icon clear database cache
new 7caf60bf75 Merge pull request #2046 from nadment/HOPCLEARDBCACHE
274219080f is described below
commit 274219080f8e83ebbb64861f308bc668c5fd3bef
Author: Nicolas Adment <[email protected]>
AuthorDate: Sun Dec 11 16:14:27 2022 +0100
Replace icon clear database cache
---
.../core/database/MetaSelectionLineClearDbCacheToolbarItem.java | 2 +-
ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java | 2 +-
ui/src/main/resources/ui/images/clear.svg | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git
a/ui/src/main/java/org/apache/hop/ui/core/database/MetaSelectionLineClearDbCacheToolbarItem.java
b/ui/src/main/java/org/apache/hop/ui/core/database/MetaSelectionLineClearDbCacheToolbarItem.java
index 7ae77dd96b..e3446e94ab 100644
---
a/ui/src/main/java/org/apache/hop/ui/core/database/MetaSelectionLineClearDbCacheToolbarItem.java
+++
b/ui/src/main/java/org/apache/hop/ui/core/database/MetaSelectionLineClearDbCacheToolbarItem.java
@@ -35,7 +35,7 @@ public class MetaSelectionLineClearDbCacheToolbarItem {
root = MetaSelectionLine.GUI_PLUGIN_TOOLBAR_PARENT_ID,
id = TOOLBAR_ITEM_CLEAR_CACHE,
toolTip = "Clear the database cache",
- image = "ui/images/clear-text.svg")
+ image = "ui/images/clear.svg")
public void clearDatabaseCache() {
DbCache.getInstance().clear(null);
}
diff --git a/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
index 1ff0aa66e7..0ce39a97d6 100644
--- a/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
+++ b/ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
@@ -1132,7 +1132,7 @@ public class HopGui
label = "i18n::HopGui.Menu.Tools.DatabaseClearCache",
parentId = ID_MAIN_MENU_TOOLS_PARENT_ID,
separator = true,
- image = "ui/images/database.svg")
+ image = "ui/images/clear.svg")
public void menuToolsDatabaseClearCache() {
DbCache.getInstance().clear(null);
}
diff --git a/ui/src/main/resources/ui/images/clear.svg
b/ui/src/main/resources/ui/images/clear.svg
new file mode 100644
index 0000000000..b7285951fb
--- /dev/null
+++ b/ui/src/main/resources/ui/images/clear.svg
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version:
6.00 Build 43363) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="128px" height="128px" viewBox="0 0 128 128"
enable-background="new 0 0 128 128" xml:space="preserve">
+<path fill="#0F3B5A"
d="M103.254,14.507l7.572,7.573L80.32,52.533c5.707,8.213,6.506,18.08,1.707,24.48L48.32,43.307
+ c6.4-4.8,16.266-4,24.48,1.707L103.254,14.507
M31.626,93.707c-10.72-10.721-17.28-23.521-19.093-35.467L38.56,47.093l39.68,39.68
+ L67.094,112.8C55.146,110.986,42.347,104.427,31.626,93.707z"/>
+</svg>