1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36: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.name = "GreaseMonkey";
spec.info = "Userscripts for QupZilla"; spec.info = "Userscripts for QupZilla";
spec.description = "Provides support for userscripts (www.userscripts.org)"; 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.author = "David Rosca <nowrep@gmail.com>";
spec.icon = QPixmap(":gm/data/icon.png"); spec.icon = QPixmap(":gm/data/icon.png");
spec.hasSettings = true; spec.hasSettings = true;

View File

@ -41,16 +41,16 @@ GM_Settings::GM_Settings(GM_Manager* manager, QWidget* parent)
connect(ui->openDirectory, SIGNAL(clicked()), connect(ui->openDirectory, SIGNAL(clicked()),
this, SLOT(openScriptsDirectory())); this, SLOT(openScriptsDirectory()));
connect(ui->link, SIGNAL(clicked(QPoint)), connect(ui->link, SIGNAL(clicked(QPoint)),
this, SLOT(openUserscripts())); this, SLOT(openUserJs()));
connect(manager, SIGNAL(scriptsChanged()), connect(manager, SIGNAL(scriptsChanged()),
this, SLOT(loadScripts())); this, SLOT(loadScripts()));
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(); close();
} }

View File

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

View File

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