1 diff -Naur mintbackup.orig/usr/bin/mintbackup mintbackup/usr/bin/mintbackup
2 --- mintbackup.orig/usr/bin/mintbackup 2011-03-07 22:44:30.000000000 +0100
3 +++ mintbackup/usr/bin/mintbackup 2011-03-07 23:47:19.403907618 +0100
11 -launcher = commands.getoutput("/usr/lib/linuxmint/common/mint-which-launcher.py")
12 -command = "%s /usr/lib/linuxmint/mintBackup/mintBackup.py" % (launcher)
14 +os.system("/usr/lib/linuxmint/mintBackup/mintBackup.py")
16 diff -Naur mintbackup.orig/usr/lib/linuxmint/mintBackup/mintBackup.glade mintbackup/usr/lib/linuxmint/mintBackup/mintBackup.glade
17 --- mintbackup.orig/usr/lib/linuxmint/mintBackup/mintBackup.glade 2011-03-07 22:44:30.000000000 +0100
18 +++ mintbackup/usr/lib/linuxmint/mintBackup/mintBackup.glade 2011-03-07 23:37:40.339124747 +0100
20 <property name="y_padding">3</property>
25 <widget class="GtkButton" id="button_backup_packages">
26 <property name="visible">True</property>
27 <property name="can_focus">True</property>
29 <property name="x_padding">6</property>
30 <property name="y_padding">3</property>
35 <widget class="GtkButton" id="button_restore_files">
36 <property name="visible">True</property>
38 <property name="y_padding">3</property>
43 <widget class="GtkButton" id="button_restore_packages">
44 <property name="visible">True</property>
45 <property name="can_focus">True</property>
47 <property name="x_padding">6</property>
48 <property name="y_padding">3</property>
54 <property name="position">1</property>
55 diff -Naur mintbackup.orig/usr/lib/linuxmint/mintBackup/mintBackup.py mintbackup/usr/lib/linuxmint/mintBackup/mintBackup.py
56 --- mintbackup.orig/usr/lib/linuxmint/mintBackup/mintBackup.py 2011-03-07 23:21:00.000000000 +0100
57 +++ mintbackup/usr/lib/linuxmint/mintBackup/mintBackup.py 2011-03-07 23:41:02.106511118 +0100
61 from time import strftime, localtime, sleep
70 ''' Handy. Makes message dialogs easy :D '''
71 -class MessageDialog(apt.progress.gtk2.GOpProgress):
72 +class MessageDialog():
74 def __init__(self, title, message, style):
78 self.wTree.get_widget("button_backup_files").connect("clicked", self.wizard_buttons_cb, 1)
79 self.wTree.get_widget("button_restore_files").connect("clicked", self.wizard_buttons_cb, 6)
80 - self.wTree.get_widget("button_backup_packages").connect("clicked", self.wizard_buttons_cb, 10)
81 - self.wTree.get_widget("button_restore_packages").connect("clicked", self.wizard_buttons_cb, 14)
82 +# self.wTree.get_widget("button_backup_packages").connect("clicked", self.wizard_buttons_cb, 10)
83 +# self.wTree.get_widget("button_restore_packages").connect("clicked", self.wizard_buttons_cb, 14)
85 # set up backup page 1 (source/dest/options)
86 # Displayname, [tarfile mode, file extension]
89 self.wTree.get_widget("label_create_backup").set_text(_("Backup files"))
90 self.wTree.get_widget("label_restore_backup").set_text(_("Restore files"))
91 - self.wTree.get_widget("label_create_packages").set_text(_("Backup software selection"))
92 - self.wTree.get_widget("label_restore_packages").set_text(_("Restore software selection"))
93 +# self.wTree.get_widget("label_create_packages").set_text(_("Backup software selection"))
94 +# self.wTree.get_widget("label_restore_packages").set_text(_("Restore software selection"))
96 self.wTree.get_widget("label_detail1").set_markup("<small>" + _("Make a backup of your files") + "</small>")
97 - self.wTree.get_widget("label_detail2").set_markup("<small>" + _("Save the list of installed applications") + "</small>")
98 +# self.wTree.get_widget("label_detail2").set_markup("<small>" + _("Save the list of installed applications") + "</small>")
99 self.wTree.get_widget("label_detail3").set_markup("<small>" + _("Restore a previous backup") + "</small>")
100 - self.wTree.get_widget("label_detail4").set_markup("<small>" + _("Restore previously installed applications") + "</small>")
101 +# self.wTree.get_widget("label_detail4").set_markup("<small>" + _("Restore previously installed applications") + "</small>")
103 self.wTree.get_widget("image_backup_data").set_from_file("/usr/lib/linuxmint/mintBackup/backup-data.svg")
104 self.wTree.get_widget("image_restore_data").set_from_file("/usr/lib/linuxmint/mintBackup/restore-data.svg")
105 - self.wTree.get_widget("image_backup_software").set_from_file("/usr/lib/linuxmint/mintBackup/backup-software.svg")
106 - self.wTree.get_widget("image_restore_software").set_from_file("/usr/lib/linuxmint/mintBackup/restore-software.svg")
107 +# self.wTree.get_widget("image_backup_software").set_from_file("/usr/lib/linuxmint/mintBackup/backup-software.svg")
108 +# self.wTree.get_widget("image_restore_software").set_from_file("/usr/lib/linuxmint/mintBackup/restore-software.svg")
110 # i18n - Page 1 (choose backup directories)
111 self.wTree.get_widget("label_title_destination").set_markup("<big><b>" + _("Backup files") + "</b></big>")
113 dlg.set_program_name("mintBackup")
114 dlg.set_comments(_("Backup Tool"))
116 - h = open('/usr/share/common-licenses/GPL','r')
117 + h = open('/usr/share/licenses/common/GPL/license.txt','r')
124 version = commands.getoutput("/usr/lib/linuxmint/common/version.py mintbackup")
125 - dlg.set_version(version)
126 + dlg.set_version("2.0.8")
127 except Exception, detail: