Subversion Repositories basico

Rev

Rev 153 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 153 Rev 233
Line 12... Line 12...
12
from gi.repository import Gtk
12
from gi.repository import Gtk
13
from gi.repository import Gio
13
from gi.repository import Gio
14
from gi.repository import Pango
14
from gi.repository import Pango
15
from gi.repository.GdkPixbuf import Pixbuf
15
from gi.repository.GdkPixbuf import Pixbuf
16
16
17
from .service import Service
-
 
-
 
17
from basico.core.service import Service
18
18
19
19
20
class IconManager(Service):
20
class IconManager(Service):
21
    def initialize(self):
21
    def initialize(self):
22
        APP_DIR_ICONS = self.app.get_var('ICONS')
22
        APP_DIR_ICONS = self.app.get_var('ICONS')
-
 
23
        self.debug("Attached Icons DIR: %s" % APP_DIR_ICONS)
23
        self.icondict = {}
24
        self.icondict = {}
24
        self.imgdict = {}
25
        self.imgdict = {}
25
        self.theme = Gtk.IconTheme.get_default()
26
        self.theme = Gtk.IconTheme.get_default()
26
        self.theme.prepend_search_path (APP_DIR_ICONS)
27
        self.theme.prepend_search_path (APP_DIR_ICONS)
27
28