Merge pull request #89 from MoralCode/fix-icon

Fix icon not displaying when falling back to systray
This commit is contained in:
trigg 2020-10-19 09:10:05 +00:00 committed by GitHub
commit 0f7f451f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -87,7 +87,7 @@ class Discover:
except Exception as e:
# Create System Tray
logging.info("Falling back to Systray : %s" % (e))
self.tray = Gtk.StatusIcon.new_from_icon_name("discover_overlay")
self.tray = Gtk.StatusIcon.new_from_icon_name("discover-overlay")
self.tray.connect('popup-menu', self.show_menu)
def make_menu(self):

View file

@ -20,7 +20,9 @@ class MainSettingsWindow(Gtk.Window):
self.text_overlay = text_overlay
self.voice_overlay = voice_overlay
self.set_title("Discover Overlay Configuration")
self.set_icon_from_file("discover-overlay.png")
self.set_default_size(280, 180)
# Create
nb = Gtk.Notebook()
#nb.set_tab_pos(Gtk.POS_TOP)