Reapply my entry improvements. How they did get lost?

This commit is contained in:
Marco Pesenti Gritti 2006-04-20 22:22:09 -04:00
parent 6a9a060d1c
commit 2d21e0b266

View File

@ -170,13 +170,21 @@ class AddressEntry(gtk.HBox):
image.show()
self.entry.show()
def __button_clicked_cb(self, button):
self.entry.grab_focus()
def get_folded(self):
return self.folded
def set_folded(self, folded):
self.folded = not self.folded
self._update_folded_state()
self._update_folded_state()
def __button_clicked_cb(self, button):
self.set_folded(not self.get_folded())
def __activate_cb(self, entry):
self.callback(entry.get_text())
self.set_folded(True)
class NavigationToolbar(gtk.Toolbar):
def __init__(self, embed):