Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: script was outdated #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MichaelWiciak
Copy link

The script was outdated so I updated it to make it work again.
Deprecation Fixes:

Updated Gtk.Dialog constructor to use keyword arguments instead of positional arguments to avoid deprecation warnings.
Used gi.require_version('Gtk', '3.0') for version control, ensuring compatibility with Gtk 3.
Error Handling:

Added error handling for missing Steam installation, with a dialog box showing the error message.
UI Improvements:

Fixed the Gtk.MessageDialog issue by passing the correct arguments and making it compatible with the latest Gtk version.
Enhanced dialog boxes and added proper layout management for better user experience.
Code Clean-up:

Refined function definitions for better clarity and streamlined the logic of refreshing app data and handling app toggle actions.
Removed unnecessary code and added comments for better maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant