def set_background(self, pixbuf):
doc = self.app.doc.model
doc.set_background(pixbuf)
- if self.app.scratchpad_doc:
- self.app.scratchpad_doc.model.set_background(pixbuf)
self.current_background_pixbuf = pixbuf
def add_color_to_patterns_cb(self, widget):