mirror of
https://github.com/sloumdrone/burrow
synced 2024-06-14 13:06:36 +00:00
Removed .py ext from burrow, changed buttons to use PIL to provide OSX compatibility
This commit is contained in:
parent
e11bd4d636
commit
572e50429a
2
burrow.py → burrow
Normal file → Executable file
2
burrow.py → burrow
Normal file → Executable file
|
@ -2,7 +2,7 @@
|
||||||
################################################
|
################################################
|
||||||
## Burrow, a gopher client/browser
|
## Burrow, a gopher client/browser
|
||||||
## - - - - - - - - - - - - - - - - - - - - - - -
|
## - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
## Version 0.8.4
|
## Version 0.8.8
|
||||||
################################################
|
################################################
|
||||||
|
|
||||||
from gui import GUI
|
from gui import GUI
|
15
gui.py
15
gui.py
|
@ -148,11 +148,16 @@ class GUI:
|
||||||
|
|
||||||
|
|
||||||
def add_assets(self):
|
def add_assets(self):
|
||||||
self.img_back = tk.PhotoImage(file='./images/back.png')
|
back = Image.open('./images/back.png')
|
||||||
self.img_forward = tk.PhotoImage(file='./images/forward.png')
|
self.img_back = ImageTk.PhotoImage(back)
|
||||||
self.img_favorite = tk.PhotoImage(file='./images/favorite.png')
|
forward = Image.open('./images/forward.png')
|
||||||
self.img_home = tk.PhotoImage(file='./images/home.png')
|
self.img_forward = ImageTk.PhotoImage(forward)
|
||||||
self.img_menu = tk.PhotoImage(file='./images/settings.png')
|
favorite = Image.open('./images/favorite.png')
|
||||||
|
self.img_favorite = ImageTk.PhotoImage(favorite)
|
||||||
|
home = Image.open('./images/home.png')
|
||||||
|
self.img_home = ImageTk.PhotoImage(home)
|
||||||
|
settings = Image.open('./images/settings.png')
|
||||||
|
self.img_menu = ImageTk.PhotoImage(settings)
|
||||||
self.message_bar_content = tk.StringVar()
|
self.message_bar_content = tk.StringVar()
|
||||||
self.message_bar_content.set('Ready.')
|
self.message_bar_content.set('Ready.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user