ocarina: clean up export button
This commit is contained in:
parent
a5dfe5302c
commit
ad734ae8d3
|
@ -1,6 +1,7 @@
|
||||||
# Bryan Schumaker (2 / 20 / 2011)
|
# Bryan Schumaker (2 / 20 / 2011)
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
|
from libsaria.path import export
|
||||||
from libsaria import controls
|
from libsaria import controls
|
||||||
|
|
||||||
SIZE = gtk.ICON_SIZE_MENU
|
SIZE = gtk.ICON_SIZE_MENU
|
||||||
|
@ -83,10 +84,7 @@ def next_button(show):
|
||||||
return make_button(gtk.STOCK_MEDIA_NEXT, controls.next, "Next", show)
|
return make_button(gtk.STOCK_MEDIA_NEXT, controls.next, "Next", show)
|
||||||
|
|
||||||
def export_button(show):
|
def export_button(show):
|
||||||
def export_func():
|
return make_button(gtk.STOCK_CONVERT, export.export, "Export Library", show)
|
||||||
from libsaria.path import export
|
|
||||||
export.export()
|
|
||||||
return make_button(gtk.STOCK_CONVERT, export_func, "Export Library", show)
|
|
||||||
|
|
||||||
def up_button(show):
|
def up_button(show):
|
||||||
def up_func():
|
def up_func():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user