[gnome-devel-docs] Fix indentation in Python entry tutorial



commit 60ac45d75933349a81afd4a853d206f1de201059
Author: David King <amigadave amigadave com>
Date:   Sun Jan 26 23:44:26 2014 +0000

    Fix indentation in Python entry tutorial
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685406

 platform-demos/C/samples/entry.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/platform-demos/C/samples/entry.py b/platform-demos/C/samples/entry.py
index 75eb7c2..51d15ef 100644
--- a/platform-demos/C/samples/entry.py
+++ b/platform-demos/C/samples/entry.py
@@ -19,9 +19,9 @@ class MyWindow(Gtk.ApplicationWindow):
     # the content of the entry is used to write in the terminal
     def cb_activate(self, entry):
         # retrieve the content of the widget
-               name = entry.get_text()
-               # print it in a nice form in the terminal
-               print "Hello " + name + "!"
+        name = entry.get_text()
+        # print it in a nice form in the terminal
+        print "Hello " + name + "!"
 
 class MyApplication(Gtk.Application):
     def __init__(self):


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