primitivus, wix: added forgotten profile
primitivus: fixed screen redraw when showing popup
This commit is contained in:
parent
2257e43d57
commit
76a9038c3d
3 changed files with 3 additions and 3 deletions
|
|
@ -214,7 +214,7 @@ class PrimitivusApp(QuickApp):
|
|||
add_menus = self.bridge.getMenus()
|
||||
def add_menu_cb(menu):
|
||||
category, item = menu
|
||||
id = self.bridge.callMenu(category, item, "NORMAL")
|
||||
id = self.bridge.callMenu(category, item, "NORMAL", self.profile)
|
||||
self.current_action_ids.add(id)
|
||||
for new_menu in add_menus:
|
||||
category,item,type = new_menu
|
||||
|
|
@ -278,6 +278,7 @@ class PrimitivusApp(QuickApp):
|
|||
if not isinstance(self.loop.widget,urwid.Overlay):
|
||||
display_widget = urwid.Overlay(pop_up_widget, self.main_widget, 'center', ('relative', perc_width), 'middle', ('relative', perc_height))
|
||||
self.loop.widget = display_widget
|
||||
self.redraw()
|
||||
else:
|
||||
self.notBar.addPopUp(pop_up_widget)
|
||||
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
current_menu.Append(item_id, item, help = help_string)
|
||||
#now we register the event
|
||||
def event_answer(e):
|
||||
id = self.bridge.callMenu(category, item, type)
|
||||
id = self.bridge.callMenu(category, item, type, self.profile)
|
||||
self.current_action_ids.add(id)
|
||||
wx.EVT_MENU(self, item_id, event_answer)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ from twisted.words.protocols.jabber.xmlstream import IQ
|
|||
from twisted.web.client import getPage
|
||||
import os.path
|
||||
import pdb
|
||||
import random
|
||||
|
||||
from zope.interface import implements
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue