@author: zavlab1 ''' from gi.repository import Gtk import logging import os.path import thread from foobnix.util.id3_util import correct_encoding from foobnix.util.audio import get_mutagen_audio from foobnix.helpers.window import ChildTopWindow from mutagen.easyid3 import EasyID3 from foobnix.util.localization import foobnix_localization from mutagen.mp4 import MP4, MP4MetadataValueError foobnix_localization() class TagEditor(ChildTopWindow): def __init__(self, controls): ChildTopWindow.__init__(self, _("Tag Editor")) self.controls = controls self.store = {} self.set_resizable(True) self.set_default_size(430, 150) """make tooltip more quick (useful for checkbuttons)""" Gtk.Settings().set_property('gtk-tooltip-timeout', 0)
from foobnix.regui.treeview.navigation_tree import NavigationTreeControl from foobnix.eq.eq_controller import EqController from foobnix.dm.dm import DM from foobnix.regui.controls.movie_area import MovieDrawingArea from foobnix.util.single_thread import SingleThread from foobnix.regui.perspectives import PerspectiveControls from foobnix.util.localization import foobnix_localization from foobnix.regui.notetab.tab_library import TabHelperControl from foobnix.regui.service.lastfm_service import LastFmService from foobnix.regui.treeview.lastfm_integration_tree import LastFmIntegrationControls from foobnix.regui.treeview.vk_integration_tree import VKIntegrationControls from foobnix.regui.controls.record import RadioRecord from foobnix.regui.coverlyrics import CoverLyricsPanel from foobnix.util.net_wrapper import NetWrapper foobnix_localization() class FoobnixCore(BaseFoobnixControls): def __init__(self, with_dbus=False): BaseFoobnixControls.__init__(self) self.layout = None self.net_wrapper = NetWrapper(self, FC().net_ping) self.statusbar = StatusbarControls(self) self.lastfm_service = LastFmService(self) self.media_engine = GStreamerEngine(self) """elements"""