Commit 9b409fc3 authored by Avi Wadhwa's avatar Avi Wadhwa
Browse files

change when rows are deleted for smoother animation

parent 3ff5596a
......@@ -16,3 +16,6 @@
0 1394 0 meson-install 9bd7faa9472bf40f
0 15 1549087636 src/organizer.gresource 78c4809cb7171ed0
0 1419 0 meson-install 9bd7faa9472bf40f
0 1428 0 meson-install 9bd7faa9472bf40f
0 1552 0 meson-install 9bd7faa9472bf40f
0 1428 0 meson-install 9bd7faa9472bf40f
......@@ -59,13 +59,6 @@ class OrganizerWindow(Gtk.ApplicationWindow):
self.go_back.hide()
self.gtk_stack.set_visible_child(self.start_screen)
# loop and delete all previous file ListBoxRows
children = self.all_location_list.get_children()
children_length = len(children)
for entry in range (0, children_length):
self.all_location_list.remove(children[entry])
# About Menu
def on_about_button_clicked(self, button):
......@@ -89,6 +82,13 @@ class OrganizerWindow(Gtk.ApplicationWindow):
# When any location is clicked on homescreen
def row_activated(self, widget, row):
# loop and delete all previous file ListBoxRows
children = self.all_location_list.get_children()
children_length = len(children)
for entry in range (0, children_length):
self.all_location_list.remove(children[entry])
# Unhide the back button
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment