[gnome-devel-docs] tutorials python: corrected combobox example



commit 32279d209b0544ee259c5ec190c2cebf269dfa56
Author: Marta Maria Casetti <mmcasetti gmail com>
Date:   Tue Jun 5 21:17:19 2012 +0100

    tutorials python: corrected combobox example

 platform-demos/C/samples/combobox.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/samples/combobox.py b/platform-demos/C/samples/combobox.py
index 915bff1..4d81736 100644
--- a/platform-demos/C/samples/combobox.py
+++ b/platform-demos/C/samples/combobox.py
@@ -38,7 +38,7 @@ class MyWindow(Gtk.ApplicationWindow):
     def on_changed(self, combo):
         # if the row selected is not the first one, write its value on the terminal
         if combo.get_active() != 0:
-			print "You chose " + str(distros[combo.get_active()][0]) +"\n"
+            print "You chose " + str(distros[combo.get_active()][0]) +"."
         return True
 
 



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