-
Notifications
You must be signed in to change notification settings - Fork 72
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
Federated (Facebook/Google) Login Always Shows 'Facebook Login' in Title #637
Comments
This looks like an easy fix: minigalaxy/ui/login.py |
I think we could also add a listener to the webview and take the title of the target url instead. Something like def on_create(self, widget, action):
popup = Gtk.Dialog(title=_("Login"), parent=self, flags=0, buttons=())
webview = WebKit2.WebView.new_with_related_view(widget)
change_dialog_title = lambda : popup.set_title(webview.get_title())
webview.connect('notify::title', change_dialog_title)
webview.load_uri(action.get_request().get_uri())
webview.__dict__['popup'] = popup
webview.connect('close', self.on_close_popup)
popup.get_content_area().pack_start(webview, True, True, 0)
popup.set_size_request(400, 600)
popup.set_modal(True)
popup.show_all()
return webview I'm going to run a little test for that once i have the time. |
Thanks for bringing this up, I wasn't aware. I'd take a PR for either of these solutions. |
The reason it was like that is that before Facebook was the only additional way to authenticate. |
I've created a pull request for this little fix: #638. |
When logging in using a third party identity provider, the option of Facebook or Google exists.
If Google is selected, the Google login interface is correctly displayed in the frame, but the title of the window is 'Facebook Login'.
This could confuse users or erode trust.
The text was updated successfully, but these errors were encountered: