Skip to content

Commit

Permalink
fix gtk warns
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiko2k committed Dec 19, 2024
1 parent be1b53a commit 2d409c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tauon/t_modules/t_dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def update() -> None:
self.indicator.set_title(tauon.t_title)
self.tray_text = text

item = Gtk.MenuItem(tauon.strings.menu_open_tauon)
item = Gtk.MenuItem(label=tauon.strings.menu_open_tauon)
item.connect("activate", restore)
item.show()
self.menu.append(item)
Expand All @@ -182,17 +182,17 @@ def update() -> None:
item.show()
self.menu.append(item)

item = Gtk.MenuItem(tauon.strings.menu_play_pause)
item = Gtk.MenuItem(label=tauon.strings.menu_play_pause)
item.connect("activate", play_pause)
item.show()
self.menu.append(item)

item = Gtk.MenuItem(tauon.strings.menu_next)
item = Gtk.MenuItem(label=tauon.strings.menu_next)
item.connect("activate", next)
item.show()
self.menu.append(item)

item = Gtk.MenuItem(tauon.strings.menu_previous)
item = Gtk.MenuItem(label=tauon.strings.menu_previous)
item.connect("activate", back)
item.show()
self.menu.append(item)
Expand All @@ -201,7 +201,7 @@ def update() -> None:
item.show()
self.menu.append(item)

item = Gtk.MenuItem(tauon.strings.menu_quit)
item = Gtk.MenuItem(label=tauon.strings.menu_quit)
item.connect("activate", menu_quit)
item.show()
self.menu.append(item)
Expand Down

0 comments on commit 2d409c7

Please sign in to comment.