GNOME Bugzilla – Bug 683614
Phase out usage of 'embed_shell' and 'ephy_shell' globals
Last modified: 2012-12-10 17:12:28 UTC
- Using global variables is generally wrong. - We have accessor functions for these. - I think a sane way of implementing Private Mode would be to create a EphyPrivateShell (or something) and create a new EphyWebView that uses this. The shell would take care of changing the paths so that we don't use the main cookies, bookmarks, history, etc. It will be much easier to do this if we don't access the shell through the global variables.
Created attachment 231166 [details] [review] e-embed-shell: remove the embed_shell global
Created attachment 231167 [details] [review] ephy-shell: remove the ephy_shell global
Will open another bug for the work you suggested on EphyWebView. Attachment 231166 [details] pushed as e65754d - e-embed-shell: remove the embed_shell global Attachment 231167 [details] pushed as 533c348 - ephy-shell: remove the ephy_shell global