ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [29/50] [abbrv] incubator-ignite git commit: # ignite-522 Fixed icon in Visor cmd.
Date Fri, 20 Mar 2015 15:48:24 GMT
# ignite-522 Fixed icon in Visor cmd.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4e4ab9e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4e4ab9e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4e4ab9e2

Branch: refs/heads/ignite-525
Commit: 4e4ab9e24d5ffdfe4ec05db38bd06494d9f19826
Parents: 747b4b8
Author: anovikov <anovikov@gridgain.com>
Authored: Fri Mar 20 17:01:16 2015 +0700
Committer: anovikov <anovikov@gridgain.com>
Committed: Fri Mar 20 17:01:16 2015 +0700

----------------------------------------------------------------------
 .../ignite/visor/commands/VisorConsole.scala       |   6 ++++--
 .../ignite/visor/commands/logo_ignite_128x128.png  | Bin 18667 -> 0 bytes
 .../ignite/visor/commands/logo_ignite_48x48.png    | Bin 16572 -> 0 bytes
 3 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4e4ab9e2/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/VisorConsole.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/VisorConsole.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/VisorConsole.scala
index 7e88577..7dd7ff8 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/VisorConsole.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/VisorConsole.scala
@@ -224,8 +224,10 @@ object VisorConsole extends App {
      * Setting up mac os specific menu.
      */
     private def customizeUI() {
-        def urlIcon(iconPath: String) = {
-            val dockIconUrl = getClass.getResource(iconPath)
+        def urlIcon(iconName: String) = {
+            val iconPath = "org/apache/ignite/startup/cmdline/" + iconName
+
+            val dockIconUrl = U.detectClassLoader(getClass).getResource(iconPath)
 
             assert(dockIconUrl != null, "Unknown icon path: " + iconPath)
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4e4ab9e2/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_128x128.png
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_128x128.png
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_128x128.png
deleted file mode 100644
index 046e381..0000000
Binary files a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_128x128.png
and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4e4ab9e2/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_48x48.png
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_48x48.png
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_48x48.png
deleted file mode 100644
index d4836ef..0000000
Binary files a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/logo_ignite_48x48.png
and /dev/null differ


Mime
View raw message