diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-15 19:14:59 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-11-23 16:14:34 (GMT) |
commit | 7acfbd070fa207dff309383da6e743ad2b9843c3 (patch) | |
tree | 662b4cb7ff5494f162365d85098e7fce7179d35e /tests/graphics | |
parent | 5f13fcfc847ecff18b9558de8ce29da884a06d7a (diff) |
style cleanup: prefer ' for strings
Tomeu prefers ' for strings, so let's use it wherever we don't have a good
reason to use ".
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'tests/graphics')
-rw-r--r-- | tests/graphics/common.py | 2 | ||||
-rw-r--r-- | tests/graphics/hipposcalability.py | 2 | ||||
-rw-r--r-- | tests/graphics/iconcache.py | 4 | ||||
-rw-r--r-- | tests/graphics/iconwidget.py | 2 | ||||
-rw-r--r-- | tests/graphics/ticket2855.py | 2 | ||||
-rw-r--r-- | tests/graphics/ticket2999.py | 2 | ||||
-rw-r--r-- | tests/graphics/ticket3000.py | 2 | ||||
-rw-r--r-- | tests/graphics/toolbarpalettes.py | 2 | ||||
-rw-r--r-- | tests/graphics/tray.py | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/tests/graphics/common.py b/tests/graphics/common.py index 1a7bf47..8085261 100644 --- a/tests/graphics/common.py +++ b/tests/graphics/common.py @@ -45,7 +45,7 @@ class TestPalette(Test): class TestRunner(object): def run(self, test): window = gtk.Window() - window.connect("destroy", lambda w: gtk.main_quit()) + window.connect('destroy', lambda w: gtk.main_quit()) window.add(test) test.show() diff --git a/tests/graphics/hipposcalability.py b/tests/graphics/hipposcalability.py index 4101138..efea57e 100644 --- a/tests/graphics/hipposcalability.py +++ b/tests/graphics/hipposcalability.py @@ -47,5 +47,5 @@ gobject.idle_add(idle_cb) test.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/iconcache.py b/tests/graphics/iconcache.py index 90511d4..b3a8443 100644 --- a/tests/graphics/iconcache.py +++ b/tests/graphics/iconcache.py @@ -59,12 +59,12 @@ for d in data: test.pack_start(icon) icon.show() -button = gtk.Button("mec mac") +button = gtk.Button('mec mac') test.pack_start(button) button.connect('activate', _button_activated_cb) button.show() test.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/iconwidget.py b/tests/graphics/iconwidget.py index 625306e..a425c17 100644 --- a/tests/graphics/iconwidget.py +++ b/tests/graphics/iconwidget.py @@ -83,5 +83,5 @@ test.show() #import gobject #gobject.idle_add(idle_cb) -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/ticket2855.py b/tests/graphics/ticket2855.py index cc4b3c0..4d9d9d4 100644 --- a/tests/graphics/ticket2855.py +++ b/tests/graphics/ticket2855.py @@ -55,5 +55,5 @@ radio.show() palette.set_content(box) box.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/ticket2999.py b/tests/graphics/ticket2999.py index a7b92d5..caf7adf 100644 --- a/tests/graphics/ticket2999.py +++ b/tests/graphics/ticket2999.py @@ -34,5 +34,5 @@ text_view.props.buffer.props.text = 'Blah blah blah, blah blah blah.' test.pack_start(text_view) text_view.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/ticket3000.py b/tests/graphics/ticket3000.py index c28b2cb..f2fdfd9 100644 --- a/tests/graphics/ticket3000.py +++ b/tests/graphics/ticket3000.py @@ -44,5 +44,5 @@ toolbar.insert(button, -1) button.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/toolbarpalettes.py b/tests/graphics/toolbarpalettes.py index 608ef57..3a69455 100644 --- a/tests/graphics/toolbarpalettes.py +++ b/tests/graphics/toolbarpalettes.py @@ -61,5 +61,5 @@ vbox.show() test.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) diff --git a/tests/graphics/tray.py b/tests/graphics/tray.py index f589f4e..99d4891 100644 --- a/tests/graphics/tray.py +++ b/tests/graphics/tray.py @@ -78,5 +78,5 @@ vbox.show() test.show() -if __name__ == "__main__": +if __name__ == '__main__': common.main(test) |