def set_multi_wallpapper(self): uris = [] for item in self.items: if item.is_tick: url = "file://%s" % item.image_path uris.append(url) image_path_string = ";".join(uris) background_gsettings.set_string("picture-uris", image_path_string) background_gsettings.set_int("background-duration", 600)
def select_view_double_clicked(self, widget, item, x, y): image_path_string = "file://%s;" % item.image_path background_gsettings.set_string("picture-uris", image_path_string)
def apply_wallpapers(self, image_paths): image_path_string = ";".join(image_paths) background_gsettings.set_string("picture-uris", image_path_string) if self.theme: self.theme.save()