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
Plug: check for AppCenter before creating updates button #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. Perhaps a comment could be helpful here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, when I uninstall AppCenter and run this, this works. However, when I reinstall AppCenter, I can't get the button to show back up.
@danrabbit for some reason I'm still not getting an updates button after reinstalling AppCenter from the repos, rebooting, etc. |
} catch (Error e) { | ||
warning (e.message); | ||
} | ||
appcenter_info.launch_action ("ShowUpdates", new GLib.AppLaunchContext ()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL that's a thing 🤯️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that an approve :p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually works now!
Alternative to #97 that checks for the existence of AppCenter before creating the update button