Compare commits
No commits in common. "f934fe0b1458766025570f426394591f935d8669" and "6695e6b07faeb9c2035ea08d31621e1f745a9498" have entirely different histories.
f934fe0b14
...
6695e6b07f
1 changed files with 3 additions and 7 deletions
|
|
@ -59,13 +59,6 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||
key_controller.connect("key-pressed", self._on_key_pressed)
|
||||
self.add_controller(key_controller)
|
||||
|
||||
# Hide mouse cursor
|
||||
display = Gdk.Display.get_default()
|
||||
if display:
|
||||
cursor = Gdk.Cursor.new_from_name("none")
|
||||
if cursor:
|
||||
self.set_cursor(cursor)
|
||||
|
||||
# Main horizontal box to split the screen
|
||||
main_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
|
||||
|
||||
|
|
@ -498,6 +491,9 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||
def _populate_file_list(self) -> None:
|
||||
items: list[FileItem] = []
|
||||
|
||||
# Add parent directory
|
||||
items.append(FileItem("..", FileType.DIRECTORY, Path("..").resolve()))
|
||||
|
||||
for entry in os.scandir():
|
||||
if entry.name.startswith("."):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue