Commit 9cc65687 authored by Gaute Hope's avatar Gaute Hope

Applied patch from bug 534706, thanks to Fabricio Godoy

svn path=/trunk/; revision=1095
parent bd0a2c63
2008-09-21 Gaute Hope <eg@gaute.vetsj.com>
* src/crontabEditor.py: Applied patch from bug 534706, thanks to Fabricio Godoy
2008-03-17 Gaute Hope <eg@gaute.vetsj.com>
* src/at.py, src/crontab.py: Setting the right permission on datafiles when editing as root.
......
......@@ -318,7 +318,7 @@ class CrontabEditor:
self.wrongdialog.destroy()
def __dialog_command_failed__ (self):
self.wrongdialog2 = gtk.MessageDialog(self.widget, gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, (_("Your command contains one or more of the character %, this is special for cron and cannot be used with Gnome-schedule because of the format it uses to store extra information on the crontab line. Please use the | redirector character to acheieve the same functionality. Refer to the crontab manual for more information about the % character. If you don not want to use it for redirection it must be properly escaped with the \ letter.")))
self.wrongdialog2 = gtk.MessageDialog(self.widget, gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, (_("Your command contains one or more of the character %, this is special for cron and cannot be used with Gnome-schedule because of the format it uses to store extra information on the crontab line. Please use the | redirector character to achieve the same functionality. Refer to the crontab manual for more information about the % character. If you don not want to use it for redirection it must be properly escaped with the \ letter.")))
self.wrongdialog2.run()
self.wrongdialog2.destroy()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment