diff -r cf64d523f233 -r bc7ec03158fc Project/ProjectProtocolsBrowser.py --- 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."))