Skip to content

Commit b225cd4

Browse files
authored
fix not showing icons for each videos (#240)
1 parent a96568a commit b225cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gtkvlc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def get_player_control_toolbar(self):
121121
(_("Quit"), _("Quit"), 'gtk-quit', Gtk.main_quit),
122122
):
123123
i = Gtk.Image.new_from_icon_name(iconname, Gtk.IconSize.MENU)
124-
b = Gtk.ToolButton(i, text)
124+
b = Gtk.ToolButton.new(i, text)
125125
b.set_tooltip_text(tooltip)
126126
b.connect("clicked", callback)
127127
tb.insert(b, -1)

0 commit comments

Comments
 (0)