mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
fixed not answered dialog alert icon
On gnome-shell,ubuntu 18.04 by using the Warning icon, it substituted our icon by another one. So use NoIcon, since we're already setting our own alert icon.
This commit is contained in:
parent
6c64438256
commit
9d139a3f51
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ class UIService(ui_pb2_grpc.UIServicer, QtWidgets.QGraphicsObject):
|
|||
_title = "%s:%d (%s)" % (request.dst_host, request.dst_port, request.protocol)
|
||||
|
||||
self._tray.setIcon(self.alert_icon)
|
||||
self._tray.showMessage(_title, "%s action applied\nArguments: %s" % (rule.action, request.process_args), QtWidgets.QSystemTrayIcon.Warning, 0)
|
||||
self._tray.showMessage(_title, "%s action applied\nArguments: %s" % (rule.action, request.process_args), QtWidgets.QSystemTrayIcon.NoIcon, 0)
|
||||
|
||||
self._last_ping = datetime.now()
|
||||
self._asking = False
|
||||
|
|
Loading…
Add table
Reference in a new issue