diff --git a/Makefile b/Makefile index cfbb282a..d5d7192a 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,7 @@ flatpak-install: translations-to-qm pip3 install --prefix=/app --no-deps . install -D src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml /app/share/metainfo/com.borgbase.Vorta.appdata.xml install -D package/icon.svg /app/share/icons/hicolor/scalable/apps/com.borgbase.Vorta.svg + install -D package/icon-symbolic.svg /app/share/icons/hicolor/symbolic/apps/com.borgbase.Vorta-symbolic.svg install -D src/vorta/assets/metadata/com.borgbase.Vorta.desktop /app/share/applications/com.borgbase.Vorta.desktop help: diff --git a/package/icon-symbolic.svg b/package/icon-symbolic.svg new file mode 100644 index 00000000..44769ff5 --- /dev/null +++ b/package/icon-symbolic.svg @@ -0,0 +1,54 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/package/icon.svg b/package/icon.svg index 760ef1a3..f08ab3ff 100644 --- a/package/icon.svg +++ b/package/icon.svg @@ -1,22 +1,6 @@ - - - - - - -vorta - - - + + + + + diff --git a/src/vorta/notifications.py b/src/vorta/notifications.py index 1e568a97..0635e387 100644 --- a/src/vorta/notifications.py +++ b/src/vorta/notifications.py @@ -78,7 +78,7 @@ def _dbus_notify(self, header, msg, level='info'): v = QtCore.QVariant(12321) # random int to identify all notifications if v.convert(QtCore.QVariant.UInt): id_replace = v - icon = "" + icon = "com.borgbase.Vorta-symbolic" title = header text = msg actions_list = QtDBus.QDBusArgument([], QtCore.QMetaType.QStringList)