Compare commits
2 commits
6695e6b07f
...
f934fe0b14
Author | SHA1 | Date | |
---|---|---|---|
f934fe0b14 | |||
0655290232 |
1 changed files with 7 additions and 3 deletions
|
@ -59,6 +59,13 @@ 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)
|
||||
|
||||
|
@ -491,9 +498,6 @@ 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