Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/helpbutton.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-09-28 19:29:35 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-09-28 19:29:35 (GMT)
commitb25168933d598de2cc7911b539f6829ad581fcf5 (patch)
tree2bce0fcba0c0a391760e5128db7baf22e151a38f /helpbutton.py
parent2b8491cacde6c5e9b1c1dc2b24b780463329ff0d (diff)
cleanup of misc conversion bugs
Diffstat (limited to 'helpbutton.py')
-rw-r--r--helpbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpbutton.py b/helpbutton.py
index 4ab5543..cea6110 100644
--- a/helpbutton.py
+++ b/helpbutton.py
@@ -86,7 +86,7 @@ class HelpButton(Gtk.ToolItem):
def add_section(help_box, section_text, icon=None):
''' Add a section to the help palette. From helpbutton.py by
Gonzalo Odiard '''
- max_text_width = int(Gdk.screen.width() / 3) - 20
+ max_text_width = int(Gdk.Screen.width() / 3) - 20
hbox = Gtk.HBox()
label = Gtk.Label()
label.set_use_markup(True)
@@ -108,7 +108,7 @@ def add_section(help_box, section_text, icon=None):
def add_paragraph(help_box, text, icon=None):
''' Add an entry to the help palette. From helpbutton.py by
Gonzalo Odiard '''
- max_text_width = int(Gdk.screen.width() / 3) - 20
+ max_text_width = int(Gdk.Screen.width() / 3) - 20
hbox = Gtk.HBox()
label = Gtk.Label(label=text)
label.set_justify(Gtk.Justification.LEFT)