[Summary] Change request from IGOR

This commit is contained in:
VKamyshniy 2014-10-02 12:16:46 +03:00
parent 42151129c9
commit 826495ce38
3 changed files with 19 additions and 12 deletions

View file

@ -56,9 +56,9 @@ WavesIconButton::render (cairo_t* cr, cairo_rectangle_t*)
if (pixbuf == 0) {
pixbuf = (get_state() == Gtk::STATE_INSENSITIVE) ?
(_inactive_pixbuf ? _inactive_pixbuf : _normal_pixbuf) :
(get_active() ? (_active_pixbuf ? _active_pixbuf : _normal_pixbuf) :
_normal_pixbuf);
_inactive_pixbuf :
(_pushed ? (get_active () ? _normal_pixbuf : _active_pixbuf) :
(get_active () ? _active_pixbuf : _normal_pixbuf));
}
// pixbuf, if any