Go to file
Tanu Kaskinen e6caa8b87a mainwindow: scale icons to sane size
If load_icon() fails, we treat the icon name as a file path and try to
load an image from the path. In case that works, we need to ensure that
the has correct size. Previously that wasn't done, which led to too
large icons.

scale_simple() doesn't do anything if the image is already the correct
size, so we can call it unconditionally.

The exception handling was a bit weird in that the exception types
didn't match the documentation of IconTheme::load_icon() and
Image::set(). I updated the exception types (Image::set() doesn't need
exception handling any more, because now it's called with a Pixbuf
rather than a file name).

Fixes: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/60
2019-07-27 13:53:48 +03:00
doc doc: Drop email as a method of patch submission 2019-07-02 10:42:44 +05:30
m4 build-sys: Add m4 file for AX_CXX_COMPILE_STDCXX_11 2016-02-02 17:05:36 +05:30
po Update Croatian translation 2019-06-23 14:35:33 +02:00
src mainwindow: scale icons to sane size 2019-07-27 13:53:48 +03:00
.gitignore .gitignore: add compile 2016-04-26 17:12:07 +03:00
LICENSE Fix license mess: change everything to GPL 2007-05-23 23:34:52 +00:00
Makefile.am build-sys: Don't dist m4/ChangeLog 2015-03-23 23:35:39 +05:30
autogen.sh remove $Id$ 2008-07-15 13:24:56 +02:00
bootstrap.sh build-sys: Use autoreconf in bootstrap.sh 2013-03-25 08:45:24 +02:00
configure.ac prepare for releasing 4.0 2019-03-05 17:37:57 +02:00