Closed rhl-bthr closed 6 years ago
If these changes are approved, kindly let me know before merging, as the following changes also need to be done.
Notebook
at relevant places should have instance name as _notebook
@Pro-Panda, thanks for the research. It does begin to look complicated. I've solved it in Terminal by adding methods to the activity class which use the superior methods. https://github.com/sugarlabs/terminal-activity/commit/b37d83ff2f16717cb3dad08590f3c3c56f774232
@quozl, Thank you 😄 But shouldn't this be a global feature, pertaining to all activities ?
Eg: pydebug also has a fullscreen option, which doesn't hide the notebook (although tabs are at the bottom, and don't overlap with the unfullscreen button, but tabs should be hidden in fullscreen)
Thanks. I've not used or shipped pydebug.
I'm not sure if it is justified to make it global; there are so few activities that embed a Gtk.Notebook as activity canvas.
https://github.com/search?utf8=%E2%9C%93&q=org%3Asugarlabs+set_canvas%28self._notebook%29&type=Code is a useful search.
Activities that I'm caring for that have a Gtk.Notebook;
Fixed in this PR: Terminal Activity #25
Effect of this PR:
@quozl, I am in doubt whether this change should have been implemented in the toolkit, or local to the terminal activity. My opinion: Fullscreen implies the current working space should be the only thing present on the entire screen. Hence, this change should be there for all activities, in the toolkit itself
Tested on: terminal activity, Sugar 0.112 (rdesktop, Ubuntu 16.04)