rev 318 - offlineimap/head/offlineimap/ui
[email protected] Mon, 6 Jan 2003 11:14:18 -0600 (CST)
| Newsgroups | gmane.mail.imap.offlineimap.subversion |
|---|---|
| Message-ID | <[email protected]> |
Author: jgoerzen
Date: 2003-01-06 11:14:17 -0600 (Mon, 06 Jan 2003)
New Revision: 318
Modified:
offlineimap/head/offlineimap/ui/Tk.py
Log:
More visual tweaking. The Button doesn't seem to be working well, so I'm
going to try a MenuButton.
Modified: offlineimap/head/offlineimap/ui/Tk.py
==============================================================================
--- offlineimap/head/offlineimap/ui/Tk.py (original)
+++ offlineimap/head/offlineimap/ui/Tk.py Mon Jan 6 11:14:18 2003
@@ -329,12 +329,14 @@
self.accountname = accountname
self.fontfamily = fontfamily
self.fontsize = fontsize
- self.frame = Frame(self.top)
+ self.frame = Frame(self.top, background = 'black')
self.frame.pack(side = BOTTOM, expand = 0, fill = X)
self._createcanvas(self.frame)
- self.label = Label(self.frame, text = accountname)
- self.label.pack()
+ self.label = Label(self.frame, text = accountname,
+ background = "black", foreground = "blue",
+ font = (self.fontfamily, self.fontsize))
+ self.label.pack(side = LEFT)
def getnewthreadframe(s):
return LEDThreadFrame(s.canvas)
@@ -350,8 +352,13 @@
def startsleep(s, sleepsecs):
print 351
s.sleeping_abort = 0
- s.button = Button(s.frame, text = "Sync now", command = s.syncnow)
- s.button.pack()
+ s.button = Button(s.frame, text = "Sync now", command = s.syncnow,
+ background = "black", activebackground = "black",
+ activeforeground = "white",
+ foreground = "blue",
+ font = (s.fontfamily, s.fontsize), bd = 0,
+ relief = FLAT)
+ s.button.pack(side = LEFT)
def syncnow(s):
print 357