Skip to content

Commit

Permalink
replace pledgie by direct paypal donation
Browse files Browse the repository at this point in the history
pledgie has closed, use directly paypal for donations.
  • Loading branch information
JonathanTaquet committed Jul 17, 2018
1 parent d2e7da0 commit 9046d9d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
9 changes: 6 additions & 3 deletions GUI/res.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
playIcon=None
stopIcon=None
stop_smallIcon=None
pledgieIcon=None
donateEurIcon=None
donateUsdIcon=None

# for pyIntaller bundled executable
def resource_path(relative_path):
Expand Down Expand Up @@ -67,7 +68,8 @@ def init():
global playIcon
global stopIcon
global stop_smallIcon
global pledgieIcon
global donateEurIcon
global donateUsdIcon

exchangeIcon=tk.PhotoImage(file=resource_path("images/exchange.gif"))
swap_nextIcon=tk.PhotoImage(file=resource_path("images/swap-next.gif"))
Expand All @@ -86,4 +88,5 @@ def init():
playIcon=tk.PhotoImage(file=resource_path("images/play.gif"))
stopIcon=tk.PhotoImage(file=resource_path("images/stop.gif"))
stop_smallIcon=tk.PhotoImage(file=resource_path("images/stop-small.gif"))
pledgieIcon=tk.PhotoImage(file=resource_path("images/pledgie-small.gif"))
donateEurIcon=tk.PhotoImage(file=resource_path("images/donate-eur.gif"))
donateUsdIcon=tk.PhotoImage(file=resource_path("images/donate-usd.gif"))
16 changes: 11 additions & 5 deletions Oe2sSLE_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -2016,9 +2016,12 @@ def __init__(self, *args, **kw):
self.sizeEntry.pack(side=tk.RIGHT)
tk.Label(fr,text='Total Data Size : ').pack(side=tk.RIGHT)

self.buttonDonate = tk.Button(fr, command=self.donate, image=GUI.res.pledgieIcon)
ToolTip(self.buttonDonate, follow_mouse=1, text="what about\noffering me a beer?")
self.buttonDonate.pack(side=tk.LEFT)
self.buttonDonateEur = tk.Button(fr, command=self.donate_eur, image=GUI.res.donateEurIcon)
ToolTip(self.buttonDonateEur, follow_mouse=1, text="what about\noffering me a beer with € ?")
self.buttonDonateEur.pack(side=tk.LEFT)
self.buttonDonateUsd = tk.Button(fr, command=self.donate_usd, image=GUI.res.donateUsdIcon)
ToolTip(self.buttonDonateUsd, follow_mouse=1, text="what about\noffering me a beer with $ ?")
self.buttonDonateUsd.pack(side=tk.LEFT)

self.buttonAbout=tk.Button(fr, text="About", width=10, command=self.about)
tk.Frame(fr).pack(side=tk.TOP,fill=tk.Y,expand=1)
Expand Down Expand Up @@ -2084,9 +2087,12 @@ def exchange(self):
sl.exchange(selected, dialog.result)
sl.set_selected(dialog.result)

def donate(self):
webbrowser.open('https://pledgie.com/campaigns/30817')
def donate_eur(self):
webbrowser.open('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L6BSNDEHYQ2HE')

def donate_usd(self):
webbrowser.open('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PG6YDQS4EZAE2')

def about(self):
about = AboutDialog(self)

Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,7 @@ Using `About` button you will see copyright notice as well as software version a
### 5 To offer me a beer

If you find the software useful, consider making a donation (any amount will be appreciated).
This can be done by using the 'donate' [![donate icon](images/pledgie-small.gif?raw=true "what about offering me a beer?")](https://pledgie.com/campaigns/30817) button in the application.
This can be done by using the 'donate' buttons [![donate € with paypal](images/donate-eur.gif?raw=true)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L6BSNDEHYQ2HE) or [![donate $ with paypal](images/donate-usd.gif?raw=true)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PG6YDQS4EZAE2) in the application.

You can also directly click on the above image ;)

This is a [pledgie](https://pledgie.com) donation. 3% of the donation will go to pledgie and then paypal fees will be taken from the reminder.
If you don't want to support pledgie and paypal, and if you prefer, you can directly make a bitcoin donation to the following address:
362PTqA6fRSwfP2tcUEGVQBttH5EBBdGh5

![donate bitcoin icon](doc/images/qr.png?raw=true "offering a beer with bitcoin")

Binary file added images/donate-eur.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/donate-usd.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/pledgie-small.gif
Binary file not shown.

0 comments on commit 9046d9d

Please sign in to comment.