Update of bug #20637 (project mypaint):

                  Status:               Confirmed => In Progress            

    _______________________________________________________

Follow-up Comment #7:

Hmm. Not sure what the cause of this is - perhaps the style isn't being set
sensibly and up-front outside a DE? In any case, the right thing to do is to
rip out or replace any uses of the deprecated gtk.Widget.get_style() with
[Gg]tk.Widget.get_style_context() equivalents. We have a few to deal with:


$ find gui/ -type f -name '*.py' -print0 | xargs -r0 grep get_style gui/*.py |
grep -v get_style_context
gui/brushselectionwindow.py:        style = self.get_style()
gui/brushselectionwindow.py:        style = self.get_style()
gui/curve.py:        style = widget.get_style()
gui/dialogs.py:        bl_style = self.brushlist.get_style()
gui/layout.py:        sty = self.get_style()
gui/pixbuflist.py:        style = widget.get_style()
gui/tileddrawwidget.py:            gc =
self.get_style().fg_gc[self.get_state()]
gui/tileddrawwidget.py:            gc =
self.get_style().fg_gc[self.get_state()]
gui/brushselectionwindow.py:        style = self.get_style()
gui/brushselectionwindow.py:        style = self.get_style()
gui/curve.py:        style = widget.get_style()
gui/dialogs.py:        bl_style = self.brushlist.get_style()
gui/layout.py:        sty = self.get_style()
gui/colors/paletteview.py:        style = self.get_style()
gui/colors/paletteview.py:        style = self.get_style()
gui/colors/hcywheel.py:        style = self.get_style()
gui/colors/hcywheel.py:        style = self.get_style()
gui/pixbuflist.py:        style = widget.get_style()


working on swatting those now.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20637>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to