Skip to content

Commit

Permalink
fix MenuButton icon
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeyg56 committed Feb 13, 2023
1 parent d1b8bd7 commit 993333f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion auto_cpufreq/gui/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def __init__(self, parent):
width=25,
height=25,
preserve_aspect_ratio=True)
self.image = Gtk.Image.new_from_pixbuf(img_buffer)
self.image = Gtk.Image.new_from_icon_name("open-menu-symbolic", Gtk.IconSize.MENU)
self.add(self.image)
self.menu = self.build_menu(parent)
self.set_popup(self.menu)
Expand Down
Binary file removed images/menu.png
Binary file not shown.
5 changes: 0 additions & 5 deletions scripts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ label{
#small{
font-size: 12px;
}

button.popup{
background-image: none;
background-color: white;
}

0 comments on commit 993333f

Please sign in to comment.