Skip to content

Commit 993333f

Browse files
committed
fix MenuButton icon
1 parent d1b8bd7 commit 993333f

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

auto_cpufreq/gui/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __init__(self, parent):
144144
width=25,
145145
height=25,
146146
preserve_aspect_ratio=True)
147-
self.image = Gtk.Image.new_from_pixbuf(img_buffer)
147+
self.image = Gtk.Image.new_from_icon_name("open-menu-symbolic", Gtk.IconSize.MENU)
148148
self.add(self.image)
149149
self.menu = self.build_menu(parent)
150150
self.set_popup(self.menu)

images/menu.png

-181 Bytes
Binary file not shown.

scripts/style.css

-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@ label{
1010
#small{
1111
font-size: 12px;
1212
}
13-
14-
button.popup{
15-
background-image: none;
16-
background-color: white;
17-
}

0 commit comments

Comments
 (0)