[gevice] Fixed bug #606049



commit b1c95fa0120ad57d0bcdd84827c0dfec2683885a
Author: Alejandro Valdes Jimenez <avaldes gnome org>
Date:   Mon Jan 4 17:29:49 2010 -0300

    Fixed bug #606049

 ChangeLog           |    5 +++++
 src/gevicedevice.py |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4699b60..290adbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 2010-01-04  Alejandro Valdes Jimenez  <avaldes gnome org>
+
+	* src/gevicedevice.py:
+	Fixed bug #606049
+
+2010-01-04  Alejandro Valdes Jimenez  <avaldes gnome org>
 	TAG GEVICE_0_6_1
 
 	* configure.ac:
diff --git a/src/gevicedevice.py b/src/gevicedevice.py
index 3a30d80..28ea74a 100644
--- a/src/gevicedevice.py
+++ b/src/gevicedevice.py
@@ -90,6 +90,9 @@ class GeviceDevice:
     def remove_device (self,gevice):
         self.action = "del"
         
+        data = gevice.gmodel.get_data_of_device_from_model(gevice.gmodel.treeview)
+        
+        
         dialog = gtk.Dialog(config.PACKAGE,
             None,
             gtk.DIALOG_DESTROY_WITH_PARENT,
@@ -97,7 +100,7 @@ class GeviceDevice:
 
         dialog.set_has_separator(False)
         dialog.vbox.set_spacing(15)
-        dialog.vbox.pack_start(gtk.Label(_("Do you want to remove: ")))
+        dialog.vbox.pack_start(gtk.Label(_("Do you want to remove: ") + data[0]))
         dialog.show_all()
 
         response = dialog.run ()



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