Export button
Clicking this button will convert the library from the in-memory Tree based form to xml.
This commit is contained in:
parent
65ccdb1780
commit
e0cfc08ba3
|
@ -102,6 +102,13 @@ class ClearButton(Button):
|
|||
from ocarina import tabs
|
||||
tabs.reset_current_page()
|
||||
|
||||
class ExportButton(Button):
|
||||
def __init__(self):
|
||||
Button.__init__(self, gtk.STOCK_CONVERT, gtk.ICON_SIZE_BUTTON)
|
||||
def clicked(self, button):
|
||||
from libsaria import backup
|
||||
backup.backup()
|
||||
|
||||
class RandomButton(gtk.ToggleButton):
|
||||
def __init__(self):
|
||||
gtk.ToggleButton.__init__(self)
|
||||
|
|
Loading…
Reference in New Issue