GNOME Bugzilla – Bug 690050
Improve recursive epiphany launching prevention
Last modified: 2012-12-12 11:31:42 UTC
The way this is done is a big hack right now, so improve it!
Created attachment 231278 [details] [review] self-launch.diff First improve to self-launch detection. With tests!
Created attachment 231284 [details] [review] uuid.diff Remove the UUID stuff now.
Review of attachment 231278 [details] [review]: OK, seems to make sense. Next time please split into patches doing refactoring and patches adding new stuff! ::: embed/ephy-embed-shell.c @@ +611,3 @@ + +/** + * ephy_embed_shell_launch_application: ephy_embed_shell_launch_handler: ::: lib/ephy-file-helpers.c @@ +765,3 @@ GdkDisplay *display; GdkScreen *screen; + gboolean res = FALSE; I'm a bit confused by this? This was just missing?
Review of attachment 231284 [details] [review]: Gone with it!
(In reply to comment #3) > Review of attachment 231278 [details] [review]: > > OK, seems to make sense. Next time please split into patches doing refactoring > and patches adding new stuff! > > ::: embed/ephy-embed-shell.c > @@ +611,3 @@ > + > +/** > + * ephy_embed_shell_launch_application: > > ephy_embed_shell_launch_handler: > > ::: lib/ephy-file-helpers.c > @@ +765,3 @@ > GdkDisplay *display; > GdkScreen *screen; > + gboolean res = FALSE; > > I'm a bit confused by this? This was just missing? Just a leftover from an early experiment, I can remove that.