Fixed underscore characters on some buttons

This commit is contained in:
Anna 2010-05-28 18:38:09 -04:00
parent 9b525d4cb1
commit 5e25d4afcf

View File

@ -285,7 +285,7 @@ class TweetBox(gtk.HBox):
self.pack_start(text_box) self.pack_start(text_box)
## Build the header ## Build the header
self.user_button = gtk.Button() self.user_button = gtk.Button(use_underline=False)
user_button_eb = gtk.EventBox() user_button_eb = gtk.EventBox()
user_button_eb.add(self.user_button) user_button_eb.add(self.user_button)
@ -293,7 +293,7 @@ class TweetBox(gtk.HBox):
time_label_eb = gtk.EventBox() time_label_eb = gtk.EventBox()
time_label_eb.add(self.time_label) 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 = gtk.EventBox()
app_button_eb.add(self.app_button) app_button_eb.add(self.app_button)
@ -301,7 +301,6 @@ class TweetBox(gtk.HBox):
via_label_eb = gtk.EventBox() via_label_eb = gtk.EventBox()
via_label_eb.add(self.via_label) via_label_eb.add(self.via_label)
self.header = gtk.Button()
label_box = gtk.HBox() label_box = gtk.HBox()
label_box.pack_start(user_button_eb, expand=False) label_box.pack_start(user_button_eb, expand=False)
label_box.pack_start(time_label_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 #create a custom tab for notebook containing a
#label and a button with STOCK_ICON #label and a button with STOCK_ICON
tabBox = gtk.HBox(False, 2) tabBox = gtk.HBox(False, 2)
tabButton=gtk.Button() tabButton=gtk.Button(use_underline=False)
tabButton.connect('clicked', self.on_clicked) tabButton.connect('clicked', self.on_clicked)
self.label = gtk.Label(name) self.label = gtk.Label(name)