[pygobject] [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
- Date: Wed, 24 Aug 2011 17:04:09 +0000 (UTC)
commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Fri Aug 19 14:54:39 2011 +0200
[gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
demos/gtk-demo/gtk-demo.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/gtk-demo.py b/demos/gtk-demo/gtk-demo.py
index 16300bb..00ed674 100755
--- a/demos/gtk-demo/gtk-demo.py
+++ b/demos/gtk-demo/gtk-demo.py
@@ -125,7 +125,7 @@ class GtkDemoWindow(Gtk.Window):
notebook = Gtk.Notebook()
hbox.pack_start(notebook, True, True, 0)
- (text_widget, info_buffer) = self.create_text(True)
+ (text_widget, info_buffer) = self.create_text(False)
notebook.append_page(text_widget, Gtk.Label.new_with_mnemonic('_Info'))
self.info_buffer = info_buffer
@@ -206,7 +206,7 @@ class GtkDemoWindow(Gtk.Window):
start = end.copy()
start.backward_chars(len(title))
self.info_buffer.apply_tag_by_name('title', start, end)
- self.info_buffer.insert(end, '\n\n')
+ self.info_buffer.insert(end, '\n')
# output the description
self.info_buffer.insert(end, description)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]