# Path: epymc/modules.py
# class EmcModule(object):
#     name = ''
#     label = ''
#     icon = ''
#     info = ''
# 
#     def __init__(self):
#         pass
# 
#     def __shutdown__(self):
#         pass
# 
#     def __restart__(self):
#         self.__shutdown__()
#         self.__init__()
# 
# Path: epymc/gui.py
# EXPAND_BOTH = evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND
# 
# EXPAND_HORIZ = evas.EVAS_HINT_EXPAND, 0.0
# 
# FILL_BOTH = evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL
# 
# FILL_HORIZ = evas.EVAS_HINT_FILL, 0.5


import os
import threading
import queue
import epymc.mainmenu as mainmenu
import epymc.input_events as input_events
import epymc.storage as storage
import epymc.utils as utils
import epymc.gui as gui
import epymc.ini as ini
from efl import ecore
from efl.elementary.list import List
from epymc.modules import EmcModule
from epymc.gui import EXPAND_BOTH, EXPAND_HORIZ, FILL_BOTH, FILL_HORIZ
        self.build_ui()
        gui.signal_emit('fileman,show')
        gui.signal_emit('topbar,show')
        gui.text_set('topbar.title', _('File Manager'))
        gui.swallow_set('topbar.icon', gui.EmcImage(self.icon))
        input_events.listener_add('fileman', self.input_event_cb)
        for w in self.widgets:
            w.focus_allow = True
        self.list1.focus = True
        self.list1.first_item.selected = True

    def hide(self):
        for w in self.widgets:
            w.focus = False
            w.focus_allow = False
        input_events.listener_del('fileman')
        gui.signal_emit('fileman,hide')
        gui.signal_emit('topbar,hide')
        mainmenu.show()

    def cb_mainmenu(self, url=None):
        mainmenu.hide()
        self.show()

    def build_ui(self):
        if self.ui_built:
            return

        def btn_add(label, cb):
            b = gui.EmcButton(gui.layout, label, cb=cb,

# Path: epymc/modules.py
# class EmcModule(object):
#     name = ''
#     label = ''
#     icon = ''
#     info = ''
# 
#     def __init__(self):
#         pass
# 
#     def __shutdown__(self):
#         pass
# 
#     def __restart__(self):
#         self.__shutdown__()
#         self.__init__()
# 
# Path: epymc/gui.py
# EXPAND_BOTH = evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND
# 
# EXPAND_HORIZ = evas.EVAS_HINT_EXPAND, 0.0
# 
# FILL_BOTH = evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL
# 
# FILL_HORIZ = evas.EVAS_HINT_FILL, 0.5


# Path: epymc/plugins/filemanager/filemanager.py
import os
import threading
import queue
import epymc.mainmenu as mainmenu
import epymc.input_events as input_events
import epymc.storage as storage
import epymc.utils as utils
import epymc.gui as gui
import epymc.ini as ini
from efl import ecore
from efl.elementary.list import List
from epymc.modules import EmcModule
from epymc.gui import EXPAND_BOTH, EXPAND_HORIZ, FILL_BOTH, FILL_HORIZ

        self.build_ui()
        gui.signal_emit('fileman,show')
        gui.signal_emit('topbar,show')
        gui.text_set('topbar.title', _('File Manager'))
        gui.swallow_set('topbar.icon', gui.EmcImage(self.icon))
        input_events.listener_add('fileman', self.input_event_cb)
        for w in self.widgets:
            w.focus_allow = True
        self.list1.focus = True
        self.list1.first_item.selected = True

    def hide(self):
        for w in self.widgets:
            w.focus = False
            w.focus_allow = False
        input_events.listener_del('fileman')
        gui.signal_emit('fileman,hide')
        gui.signal_emit('topbar,hide')
        mainmenu.show()

    def cb_mainmenu(self, url=None):
        mainmenu.hide()
        self.show()

    def build_ui(self):
        if self.ui_built:
            return

        def btn_add(label, cb):
            b = gui.EmcButton(gui.layout, label, cb=cb,

                              name=label, size_hint_fill=FILL_HORIZ)