[gnome-schedule] fix bug lp:1283158: editing of at template does not work



commit ddfbd3a3b0b99885c21c323a3936f2c6c04bf781
Author: Roger Sauret <rogersauret free fr>
Date:   Wed Feb 26 18:30:56 2014 +0100

    fix bug lp:1283158: editing of at template does not work
    
    output value was not unpacked from tuple containing template.
    
    bug and fix by: Roger Sauret.
    
    https://bugs.launchpad.net/ubuntu/+source/gnome-schedule/+bug/1283158
    
    Signed-off-by: Gaute Hope <eg gaute vetsj com>

 src/template_manager.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/template_manager.py b/src/template_manager.py
index dd348c2..328557a 100644
--- a/src/template_manager.py
+++ b/src/template_manager.py
@@ -118,8 +118,8 @@ class TemplateManager:
             if type == "at":
                 t = self.template.gettemplate ("at", int (id))
                 if t != False:
-                    id2, title, command = t
-                    self.parent.at_editor.showedit_template (self.widget, id2, title, command)
+                    id2, title, command, output = t
+                    self.parent.at_editor.showedit_template (self.widget, id2, title, command, output)
 
             elif type == "crontab":
                 t = self.template.gettemplate ("crontab", int (id)  )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]