Merge pull request #89 from MoralCode/fix-icon
Fix icon not displaying when falling back to systray
This commit is contained in:
commit
0f7f451f1e
2 changed files with 4 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue