mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-09-11 17:07:43 +03:00
Update message
This commit is contained in:
parent
c0087dca19
commit
facc7879d9
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,7 +1,7 @@
|
||||
timeshift (1.2.2) quantal; urgency=medium
|
||||
|
||||
* Fixed: Browse button does not work on Elementary OS
|
||||
* Fixed: Application exists with an 'already mounted' error
|
||||
|
||||
* Exclude Konqueror web browser cache
|
||||
* Exclude /cdrom
|
||||
|
||||
-- Tony George <tony.george.kol@gmail.com> Sun, 03 Oct 2013 10:00:00 +0530
|
||||
-- Tony George <tony.george.kol@gmail.com> Fri, 08 Nov 2013 10:00:00 +0530
|
||||
|
@ -2076,11 +2076,6 @@ public class Main : GLib.Object{
|
||||
|
||||
public bool mount_device(PartitionInfo dev, string mount_point, string mount_options){
|
||||
bool status = mount(dev.device, mount_point, mount_options);
|
||||
if (status == false){
|
||||
if (app_mode == ""){
|
||||
gtk_messagebox_show(_("Error"), _("Failed to mount device") + ": %s".printf(dev.device));
|
||||
}
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -771,6 +771,16 @@ class MainWindow : Gtk.Window{
|
||||
bool status = App.mount_backup_device();
|
||||
|
||||
if (status == false){
|
||||
|
||||
string msg = _("Failed to mount device") + ": %s".printf(App.snapshot_device.device);
|
||||
var dlg = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.OK, msg);
|
||||
dlg.set_title(_("Error"));
|
||||
dlg.set_default_size (200, -1);
|
||||
dlg.set_transient_for(this);
|
||||
dlg.set_modal(true);
|
||||
dlg.run();
|
||||
dlg.destroy();
|
||||
|
||||
cmb_backup_device.active = cmb_backup_device_index_default;
|
||||
}
|
||||
|
||||
@ -1248,7 +1258,7 @@ class MainWindow : Gtk.Window{
|
||||
txt = _("Please select the backup device");
|
||||
}
|
||||
else{
|
||||
txt = _("Backup device not available");
|
||||
txt = _("Backup device is not mounted!");;
|
||||
}
|
||||
txt = "<span foreground=\"#8A0808\">" + txt + "</span>";
|
||||
lbl_backup_device_warning.label = txt;
|
||||
|
@ -492,7 +492,7 @@ public class RestoreWindow : Gtk.Dialog{
|
||||
|
||||
refresh_tv_partitions();
|
||||
refresh_cmb_boot_device();
|
||||
refresh_tv_exclude();
|
||||
//refresh_tv_exclude(); //called by btn_reset_exclude_list_clicked()
|
||||
//refresh_tv_apps();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user