Export button

Clicking this button will convert the library from the in-memory Tree
based form to xml.
This commit is contained in:
Bryan Schumaker 2010-11-12 20:48:20 -05:00
parent 65ccdb1780
commit e0cfc08ba3
1 changed files with 7 additions and 0 deletions

View File

@ -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)