From a9295fc2c32cf329400305c2425618c3509c9db5 Mon Sep 17 00:00:00 2001 From: h3llrais3r Date: Tue, 10 Jan 2017 21:39:48 +0100 Subject: [PATCH] Update version to 0.3.4 Minor update to put the webui forced start checkbox under the pause and resume right click dropdown items --- myscheduler/data/myscheduler.js | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/myscheduler/data/myscheduler.js b/myscheduler/data/myscheduler.js index 0fd663e..91d5301 100644 --- a/myscheduler/data/myscheduler.js +++ b/myscheduler/data/myscheduler.js @@ -691,7 +691,8 @@ Deluge.plugins.MySchedulerPlugin = Ext.extend(Deluge.Plugin, { onEnable: function() { this.prefsPage = deluge.preferences.addPage (new Deluge.ux.preferences.MySchedulerPage()); - this.menuItem = deluge.menus.torrent.add(new Ext.menu.CheckItem ({ + // insert at position 3 (after pause and resume) in menu + this.menuItem = deluge.menus.torrent.insert(2, new Ext.menu.CheckItem ({ text: _('Forced Start'), checked: false, diff --git a/setup.py b/setup.py index 9d5ccd8..f6425ef 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ __plugin_name__ = "MyScheduler" __author__ = "h3llrais3r" __author_email__ = "pooh_beer_1@hotmail.com" -__version__ = "0.3.3" +__version__ = "0.3.4" __url__ = "http://deluge-torrent.org" __license__ = "GPLv3" __description__ = "Schedule limits on a per-hour per-day basis."