Do not resize the icon, use the original icon size.
This commit is contained in:
parent
8571920734
commit
cf508c1d22
@ -398,7 +398,7 @@ class NMClientApp:
|
|||||||
info = self._icon_theme.lookup_icon(name, 75, 0)
|
info = self._icon_theme.lookup_icon(name, 75, 0)
|
||||||
if not info or not info.get_filename():
|
if not info or not info.get_filename():
|
||||||
raise RuntimeError
|
raise RuntimeError
|
||||||
return gtk.gdk.pixbuf_new_from_file_at_size(info.get_filename(), 75, 75)
|
return gtk.gdk.pixbuf_new_from_file(info.get_filename())
|
||||||
|
|
||||||
def _load_icons(self):
|
def _load_icons(self):
|
||||||
icons = {}
|
icons = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user