Fixing translate plugin; attempted dispose call
This commit is contained in:
@@ -75,7 +75,11 @@ class IconGridWidget(Gtk.IconView):
|
||||
return self.get_model()
|
||||
|
||||
def clear_and_set_new_store(self):
|
||||
store = self.get_model()
|
||||
if store:
|
||||
store.run_dispose()
|
||||
|
||||
self.set_model(None)
|
||||
store = Gtk.ListStore(GdkPixbuf.Pixbuf or GdkPixbuf.PixbufAnimation or None, str or None)
|
||||
# store = Gtk.ListStore(Gtk.DirectoryList)
|
||||
self.set_model(store)
|
||||
self.set_model(store)
|
||||
|
Reference in New Issue
Block a user