27 from UI.BrowserModel import ( |
27 from UI.BrowserModel import ( |
28 BrowserFileItem, BrowserClassItem, BrowserMethodItem, |
28 BrowserFileItem, BrowserClassItem, BrowserMethodItem, |
29 BrowserClassAttributeItem |
29 BrowserClassAttributeItem |
30 ) |
30 ) |
31 import UI.PixmapCache |
31 import UI.PixmapCache |
|
32 from UI.NotificationWidget import NotificationTypes |
32 |
33 |
33 import Preferences |
34 import Preferences |
34 import Utilities |
35 import Utilities |
35 |
36 |
36 |
37 |
534 ui.showNotification( |
535 ui.showNotification( |
535 UI.PixmapCache.getPixmap("corba48"), |
536 UI.PixmapCache.getPixmap("corba48"), |
536 self.tr("Interface Compilation"), |
537 self.tr("Interface Compilation"), |
537 self.tr( |
538 self.tr( |
538 "The compilation of the interface file failed."), |
539 "The compilation of the interface file failed."), |
|
540 kind=NotificationTypes.Critical, |
539 timeout=0) |
541 timeout=0) |
540 self.compileProc = None |
542 self.compileProc = None |
541 |
543 |
542 def __compileIDL(self, fn, noDialog=False, progress=None): |
544 def __compileIDL(self, fn, noDialog=False, progress=None): |
543 """ |
545 """ |