# Path: kano_profile_gui/paths.py



import os
import sys
from gi.repository import Gtk, GdkPixbuf
from kano_profile_gui.paths import media_dir
#!/usr/bin/env python

# ValidationEntry.py
#
# Copyright (C) 2015 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
#



if __name__ == '__main__' and __package__ is None:
    dir_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
    if dir_path != '/usr':
        sys.path.insert(1, dir_path)
        print sys.path



class ValidationEntry(Gtk.Entry):

    def __init__(self):
        Gtk.Entry.__init__(self)

    def set_image(self, name=""):
        if name == 'success':

# Path: kano_profile_gui/paths.py



# Path: kano_registration_gui/ValidationEntry.py
import os
import sys
from gi.repository import Gtk, GdkPixbuf
from kano_profile_gui.paths import media_dir

#!/usr/bin/env python

# ValidationEntry.py
#
# Copyright (C) 2015 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
#



if __name__ == '__main__' and __package__ is None:
    dir_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
    if dir_path != '/usr':
        sys.path.insert(1, dir_path)
        print sys.path



class ValidationEntry(Gtk.Entry):

    def __init__(self):
        Gtk.Entry.__init__(self)

    def set_image(self, name=""):
        if name == 'success':

            filename = os.path.join(media_dir, "images/icons/success.png")