[Tails-dev] Fix: persistence: clearer warning at delete step

Delete this message

Reply to this message
Autore: Andres Gomez Ramirez
Data:  
To: tails-dev@boum.org
Oggetto: [Tails-dev] Fix: persistence: clearer warning at delete step
Hi,

Meanwhile I get how to deal with feature #5917, I send a patch for the feature #5888 "persistence: clearer warning at delete step" https://labs.riseup.net/code/issues/5888 and I'll take a look of https://labs.riseup.net/code/issues/5311.

Cheers,

AndresFrom ce7b1451052f86f340fb5ca42a297bc1eba8e060 Mon Sep 17 00:00:00 2001
From: kurono <andres.gomez@???>
Date: Sun, 10 Nov 2013 00:15:35 +0100
Subject: [PATCH] persistence: clearer warning at delete step

---
 lib/Tails/Persistence/Step/Delete.pm |    2 ++
 1 file changed, 2 insertions(+)


diff --git a/lib/Tails/Persistence/Step/Delete.pm b/lib/Tails/Persistence/Step/Delete.pm
index 1a7cfd5..5ddfa4e 100644
--- a/lib/Tails/Persistence/Step/Delete.pm
+++ b/lib/Tails/Persistence/Step/Delete.pm
@@ -58,7 +58,9 @@ sub _build_main_box {
     my $self = shift;


     my $box = Gtk2::VBox->new();
+    my $image = Gtk2::Image->new_from_stock("gtk-dialog-warning", "GTK_ICON_SIZE_DIALOG");
     $box->set_spacing(6);
+    $box->pack_start($image, FALSE, FALSE, 0);
     $box->pack_start($self->title, FALSE, FALSE, 0);
     $box->pack_start($self->subtitle, FALSE, FALSE, 0);
     $box->pack_start($self->description, FALSE, FALSE, 0);
-- 
1.7.9.5