[pulseaudio-commits] src/mainwindow.cc

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sun May 1 17:28:56 UTC 2016


 src/mainwindow.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6e0de0a39a9d314d93fa382917037a0cd32d3c95
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sun May 1 20:27:12 2016 +0300

    mainwindow: force icons to have sane size
    
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86398

diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index ea8f234..31d5695 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -290,7 +290,7 @@ static void set_icon_name_fallback(Gtk::Image *i, const char *name, Gtk::IconSiz
     theme = Gtk::IconTheme::get_default();
 
     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)
             i->set(pixbuf);



More information about the pulseaudio-commits mailing list