1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01:00

GreaseMonkey: Use openuserjs.org instead of dead userscripts.org

This commit is contained in:
David Rosca 2014-09-16 15:56:55 +02:00
parent 464f05962e
commit 0eef26f843
4 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@ PluginSpec GM_Plugin::pluginSpec()
spec.name = "GreaseMonkey";
spec.info = "Userscripts for QupZilla";
spec.description = "Provides support for userscripts (www.userscripts.org)";
spec.version = "0.4.5";
spec.version = "0.4.6";
spec.author = "David Rosca <nowrep@gmail.com>";
spec.icon = QPixmap(":gm/data/icon.png");
spec.hasSettings = true;

View File

@ -41,16 +41,16 @@ GM_Settings::GM_Settings(GM_Manager* manager, QWidget* parent)
connect(ui->openDirectory, SIGNAL(clicked()),
this, SLOT(openScriptsDirectory()));
connect(ui->link, SIGNAL(clicked(QPoint)),
this, SLOT(openUserscripts()));
this, SLOT(openUserJs()));
connect(manager, SIGNAL(scriptsChanged()),
this, SLOT(loadScripts()));
loadScripts();
}
void GM_Settings::openUserscripts()
void GM_Settings::openUserJs()
{
mApp->addNewTab(QUrl("http://www.userscripts.org"));
mApp->addNewTab(QUrl(QSL("http://openuserjs.org")));
close();
}

View File

@ -45,7 +45,7 @@ private slots:
void itemChanged(QListWidgetItem* item);
void openScriptsDirectory();
void openUserscripts();
void openUserJs();
void loadScripts();

View File

@ -160,7 +160,7 @@
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string notr="true">userscripts.org</string>
<string notr="true">openuserjs.org</string>
</property>
<property name="html-link-look" stdset="0">
<bool>true</bool>