[Webkit-unassigned] [Bug 48512] [GTK] Implement sample browser app for WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 05:58:39 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=48512





--- Comment #25 from Alejandro G. Castro <alex at igalia.com>  2011-03-30 05:58:39 PST ---
(In reply to comment #24)
> (In reply to comment #22)
> > > Tools/MiniBrowser/gtk/main.c:138
> > > +    gchar *fileURL = filenameToURL(uri);
> > 
> > I think we could/should use g_file_new_for_commandline_arg() when argc > 1 and then simply g_file_get_uri() instead of filenameToURL. Do we really need to check whether the file exists when it's a local path?
> 
> Just for the record, I'm not adding this change because it chages the behavior of what the gtklauncher is already doing, it is a fair request, we can discuss if it is what we want in other bug. Thanks for the comment.

After checking in more detail the implementation I realized the code is not doing exactly what I was thinking in the laucher, so I'm proposing a solution with carlos suggestion.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list