After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 388181 - Greasemonkey user scripts installation path
Greasemonkey user scripts installation path
Status: RESOLVED FIXED
Product: epiphany-extensions
Classification: Deprecated
Component: general
2.17.x
Other All
: Normal minor
: ---
Assigned To: epiphany-extensions-maint
epiphany-extensions-maint
Depends on:
Blocks:
 
 
Reported: 2006-12-21 06:29 UTC by Priit Laes (IRC: plaes)
Modified: 2006-12-22 00:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
ephy-extension-greasemonkey-help-wrong-dir.patch (1.20 KB, patch)
2006-12-21 06:31 UTC, Priit Laes (IRC: plaes)
accepted-commit_now Details | Review

Description Priit Laes (IRC: plaes) 2006-12-21 06:29:55 UTC
Documentation 
Section: greasemonkey tutorial and usage.
Currently helps says that scripts should be installed into:
$HOME/.gnome2/epiphany/extensions/data/

Correct version:
Based on source-code (see below), I would assume, that extension looks for them from:
$HOME/.gnome2/epiphany/extensions/data/greasemonkey

static char *
get_script_dir (void)
{
        return g_build_filename (ephy_dot_dir (), "extensions", "data",
                                 "greasemonkey", NULL);
}


Other information:
Patch coming...
Comment 1 Priit Laes (IRC: plaes) 2006-12-21 06:31:24 UTC
Created attachment 78728 [details] [review]
ephy-extension-greasemonkey-help-wrong-dir.patch

Does it look ok for HEAD and 2-16?
Comment 2 Jean-François Rameau 2006-12-21 09:44:11 UTC
Thanks for the patch !

Looks good :) 

Could you commit it on both HEAD and 2.16 ?
Comment 3 Priit Laes (IRC: plaes) 2006-12-22 00:48:05 UTC
Committed both to 2-16 and HEAD.

2006-12-22  Priit Laes  <plaes@cvs.gnome.org>

        * help/C/epiphany-extensions.xml:

        Correct path for Greasemonkey user script in manual.
        Closes bug #388181.