From 5e25d4afcf47ffb72ccc87257966be12adc913a2 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 28 May 2010 18:38:09 -0400 Subject: [PATCH] Fixed underscore characters on some buttons --- twitterwidgets.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/twitterwidgets.py b/twitterwidgets.py index 521fab1..9b6aaa6 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -285,7 +285,7 @@ class TweetBox(gtk.HBox): self.pack_start(text_box) ## Build the header - self.user_button = gtk.Button() + self.user_button = gtk.Button(use_underline=False) user_button_eb = gtk.EventBox() user_button_eb.add(self.user_button) @@ -293,7 +293,7 @@ class TweetBox(gtk.HBox): time_label_eb = gtk.EventBox() time_label_eb.add(self.time_label) - self.app_button = gtk.Button() + self.app_button = gtk.Button(use_underline=False) app_button_eb = gtk.EventBox() app_button_eb.add(self.app_button) @@ -301,7 +301,6 @@ class TweetBox(gtk.HBox): via_label_eb = gtk.EventBox() via_label_eb.add(self.via_label) - self.header = gtk.Button() label_box = gtk.HBox() label_box.pack_start(user_button_eb, expand=False) label_box.pack_start(time_label_eb, expand=False) @@ -738,7 +737,7 @@ class CloseTabLabel(gtk.EventBox): #create a custom tab for notebook containing a #label and a button with STOCK_ICON tabBox = gtk.HBox(False, 2) - tabButton=gtk.Button() + tabButton=gtk.Button(use_underline=False) tabButton.connect('clicked', self.on_clicked) self.label = gtk.Label(name)