Skip to content

Commit

Permalink
fix greeter window hide before login issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Jul 29, 2024
1 parent 6c8d20a commit baafdb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/module/gtkwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def login_handler(self):
os.unlink("/{}/pardus-greeter".format(busdir))

self.kill_windowmanager()
self.o("ui_window_main").hide()


############### events ###############
Expand Down
2 changes: 2 additions & 0 deletions src/module/lightdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ def __authentication_complete(self, greeter):
except:
# Exit greeter (for reload)
sys.exit(0)
debug("Greeter done")
sys.exit(0)
else:
# Authentication failed.
self.__show_message(greeter, _(
Expand Down

0 comments on commit baafdb6

Please sign in to comment.