Added 48px icons for protobuf and gRPC.

Sun, 19 Nov 2017 13:03:04 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 19 Nov 2017 13:03:04 +0100
changeset 5984
bc7ec03158fc
parent 5978
cf64d523f233
child 5986
1e78a1aa438b

Added 48px icons for protobuf and gRPC.

Project/ProjectProtocolsBrowser.py file | annotate | diff | comparison | revisions
icons/default/gRPC48.png file | annotate | diff | comparison | revisions
icons/default/protobuf48.png file | annotate | diff | comparison | revisions
--- a/Project/ProjectProtocolsBrowser.py	Sat Nov 18 19:28:37 2017 +0100
+++ b/Project/ProjectProtocolsBrowser.py	Sun Nov 19 13:03:04 2017 +0100
@@ -545,8 +545,12 @@
                         "The compilation of the protocol file was"
                         " successful."))
             else:
+                if grpc:
+                    icon = UI.PixmapCache.getPixmap("gRPC48.png")
+                else:
+                    icon = UI.PixmapCache.getPixmap("protobuf48.png")
                 ui.showNotification(
-                    UI.PixmapCache.getPixmap("protobuf48.png"),
+                    icon,
                     self.tr("Protocol Compilation"),
                     self.tr(
                         "The compilation of the protocol file was"
@@ -559,8 +563,12 @@
                     self.tr(
                         "The compilation of the protocol file failed."))
             else:
+                if grpc:
+                    icon = UI.PixmapCache.getPixmap("gRPC48.png")
+                else:
+                    icon = UI.PixmapCache.getPixmap("protobuf48.png")
                 ui.showNotification(
-                    UI.PixmapCache.getPixmap("protobuf48.png"),
+                    icon,
                     self.tr("Protocol Compilation"),
                     self.tr(
                         "The compilation of the protocol file failed."))
Binary file icons/default/gRPC48.png has changed
Binary file icons/default/protobuf48.png has changed

eric ide

mercurial