mainwindow: force icons to have sane size
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86398
This commit is contained in:
parent
f6015d6426
commit
6e0de0a39a
|
@ -290,7 +290,7 @@ static void set_icon_name_fallback(Gtk::Image *i, const char *name, Gtk::IconSiz
|
||||||
theme = Gtk::IconTheme::get_default();
|
theme = Gtk::IconTheme::get_default();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
pixbuf = theme->load_icon(name, width, Gtk::ICON_LOOKUP_GENERIC_FALLBACK);
|
pixbuf = theme->load_icon(name, width, Gtk::ICON_LOOKUP_GENERIC_FALLBACK | Gtk::ICON_LOOKUP_FORCE_SIZE);
|
||||||
|
|
||||||
if (pixbuf)
|
if (pixbuf)
|
||||||
i->set(pixbuf);
|
i->set(pixbuf);
|
||||||
|
|
Loading…
Reference in New Issue