-
-
Notifications
You must be signed in to change notification settings - Fork 113
Follow natural-copy-paste behaviour of pantheon-terminal #1578
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
Conversation
|
|
||
| private void update_terminal_settings (string settings_schema) { | ||
| var pantheon_terminal_settings = new GLib.Settings (settings_schema); | ||
| pantheon_terminal_settings = new GLib.Settings (settings_schema); |
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.
Since this key comes from another app, we should really check and make sure it exists before reading from it so we don't introduce a new crash
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.
True, but pantheon_terminal_settings is already being used at several other places unrelated to this PR (getting "font", "audible-bell", "cursor-shape", "background", "foreground" and "palette" keys) so maybe dealing with the case that the Terminal schema has been uninstalled can be left to a separate PR covering all these cases?
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.
That's fair!
Fixes #147
Copy code from Terminal