mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-18 17:15:51 +00:00
added link to configuration guide
This commit is contained in:
parent
a6594d2951
commit
14af25bd26
@ -24,6 +24,9 @@ class GuiConfiguration:
|
|||||||
self.hostEntry.select_region(0, len(self.hostEntry.get_text()))
|
self.hostEntry.select_region(0, len(self.hostEntry.get_text()))
|
||||||
button = gtk.Button(stock=gtk.STOCK_SAVE)
|
button = gtk.Button(stock=gtk.STOCK_SAVE)
|
||||||
button.connect("clicked", lambda w: self._saveDataAndLeave())
|
button.connect("clicked", lambda w: self._saveDataAndLeave())
|
||||||
|
guideLink = gtk.LinkButton("http://syncplay.pl/guide/", "Configuration Guide")
|
||||||
|
guideLink.show()
|
||||||
|
vbox.add(guideLink)
|
||||||
vbox.pack_start(button, True, True, 0)
|
vbox.pack_start(button, True, True, 0)
|
||||||
button.set_flags(gtk.CAN_DEFAULT)
|
button.set_flags(gtk.CAN_DEFAULT)
|
||||||
button.grab_default()
|
button.grab_default()
|
||||||
@ -68,13 +71,13 @@ class GuiConfiguration:
|
|||||||
self.config['password'] = self.passEntry.get_text()
|
self.config['password'] = self.passEntry.get_text()
|
||||||
self.config['playerPath'] = self.mpcEntry.get_text()
|
self.config['playerPath'] = self.mpcEntry.get_text()
|
||||||
if self.alwaysShowCheck.get_active() == True:
|
if self.alwaysShowCheck.get_active() == True:
|
||||||
self.config['alwaysShow'] = True
|
self.config['noGui'] = True
|
||||||
else:
|
else:
|
||||||
self.config['alwaysShow'] = False
|
self.config['noGui'] = False
|
||||||
if self.storeConfigCheck.get_active() == True:
|
if self.storeConfigCheck.get_active() == True:
|
||||||
self.config['storeConfig'] = True
|
self.config['noStore'] = True
|
||||||
else:
|
else:
|
||||||
self.config['storeConfig'] = False
|
self.config['noStore'] = False
|
||||||
if self.slowOnDesyncCheck.get_active() == True:
|
if self.slowOnDesyncCheck.get_active() == True:
|
||||||
self.config['slowOnDesync'] = True
|
self.config['slowOnDesync'] = True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user