braus
braus copied to clipboard
"Set as default" re-appears on each braus start
Braus starts and asks "Set Braus as your default browser". Then I click "Set as Default".
Upon the "Braus" start, it asks me again.
This happens on Ubuntu 18.04 with Gnome Shell 3.28.4.
I guess the problem is
if app.settings.get_boolean("ask-default") == True or (Gio.AppInfo.get_default_for_type(app.content_types[1], True).get_id() != Gio.Application.get_application_id(app) + '.desktop') :
It always shows the "make me default" bar even if it is already is default. The "or" should be a "and".
Thank you! I'll test and merge this some time this week.