Fixes for last commit
This commit is contained in:
parent
a4d591a3df
commit
603a564b2d
|
@ -1,6 +1,6 @@
|
|||
import clutter
|
||||
from themeMgr import ThemeMgr
|
||||
from Spinner import Spinner
|
||||
from ui_elements.Spinner import Spinner
|
||||
import pygtk
|
||||
import gtk
|
||||
import pango
|
||||
|
@ -49,13 +49,9 @@ class GlossMgr:
|
|||
if self.currentMenu == None:
|
||||
self.currentMenu = newMenu
|
||||
self.menuHistory.append(newMenu)
|
||||
#self.currentMenu.getItemGroup().show_all()
|
||||
self.currentMenu.show_all()
|
||||
self.currentMenu.show()
|
||||
|
||||
#self.stage.add(self.currentMenu)
|
||||
#self.stage.add(self.currentMenu.getItemGroup())
|
||||
|
||||
#This is a bit hacky, but we set the selector bar size based on the font size
|
||||
tmpLabel = clutter.Label()
|
||||
tmpLabel.set_text("AAA")
|
||||
|
@ -269,8 +265,6 @@ class MenuSelector(clutter.Texture):
|
|||
else:
|
||||
self.behaviour = clutter.BehaviourOpacity(opacity_start=255, opacity_end=0, alpha=self.alpha)
|
||||
self.timeline.connect('completed', self.spinner_end_event)
|
||||
#self.menuMgr.get_stage().remove(self.spinner)
|
||||
#self.spinner = None
|
||||
|
||||
self.behaviour.apply(self.spinner)
|
||||
self.timeline.start()
|
||||
|
|
|
@ -5,7 +5,7 @@ import gst
|
|||
import gobject
|
||||
import pango
|
||||
import clutter
|
||||
from Spinner import Spinner
|
||||
from ui_elements.Spinner import Spinner
|
||||
|
||||
class SplashScr(clutter.Group):
|
||||
font = "Lucida Grande "
|
||||
|
|
|
@ -4,10 +4,9 @@ import gtk
|
|||
import pango
|
||||
import time
|
||||
import math
|
||||
from ReflectionTexture import Texture_Reflection
|
||||
from ui_elements.ReflectionTexture import Texture_Reflection
|
||||
from interfaces.MenuItem import MenuItem
|
||||
from InputQueue import InputQueue
|
||||
#from interfaces.ListMenu import themeLoad
|
||||
|
||||
class Interface(clutter.Group):
|
||||
usePreviewEffects = True # Tells the modules to use any image preview effects where available
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import clutter
|
||||
from clutter import cluttergst
|
||||
#__import__("../../Menu", "Menu")
|
||||
#from Menu import Menu
|
||||
from image_preview import image_previewer
|
||||
from ui_elements.image_preview import image_previewer
|
||||
import time
|
||||
import os.path
|
||||
import pygtk
|
||||
|
|
Loading…
Reference in New Issue