[gevice] src/gevice.py: Fixed wrong call to function.



commit 5227d05f5cb79d755f4539b5488e4c40127ed469
Author: Alejandro Valdes J <avaldes primate utalca cl>
Date:   Thu Mar 14 16:00:04 2013 -0300

    src/gevice.py: Fixed wrong call to function.

 ChangeLog     |    3 +++
 src/gevice.py |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d26ed49..a007ee2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-03-14  Alejandro Valdes Jimenez  <avaldes gnome org>
+       * src/gevice.py: Fixed wrong call to function.
+
 2012-12-28  Alejandro Valdes Jimenez  <avaldes gnome org>
        * src/gevice.py:
        * src/gevicedatabase.py:
diff --git a/src/gevice.py b/src/gevice.py
index 4a743f0..91d9f3d 100755
--- a/src/gevice.py
+++ b/src/gevice.py
@@ -576,9 +576,9 @@ class Gevice:
           self.gpref.gsettings.get_string("csvseparator"),filename)
         
         if (export.get_status()):
-          result = gevice.show_infobar_message (_("Model exported"), Gtk.MessageType.INFO)
+          result = self.show_infobar_message (_("Model exported"), Gtk.MessageType.INFO)
         else:
-          result = gevice.show_infobar_message (_("Can not write to file"), Gtk.MessageType.ERROR)
+          result = self.show_infobar_message (_("Can not write to file"), Gtk.MessageType.ERROR)
           
     filechooser.destroy()
 


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