36 """ |
36 """ |
37 super(GreaseMonkeyAddScriptDialog, self).__init__(parent) |
37 super(GreaseMonkeyAddScriptDialog, self).__init__(parent) |
38 self.setupUi(self) |
38 self.setupUi(self) |
39 |
39 |
40 self.iconLabel.setPixmap( |
40 self.iconLabel.setPixmap( |
41 UI.PixmapCache.getPixmap("greaseMonkey48.png")) |
41 UI.PixmapCache.getPixmap("greaseMonkey48")) |
42 |
42 |
43 self.__manager = manager |
43 self.__manager = manager |
44 self.__script = script |
44 self.__script = script |
45 |
45 |
46 runsAt = "" |
46 runsAt = "" |
93 success = False |
93 success = False |
94 |
94 |
95 from WebBrowser.WebBrowserWindow import WebBrowserWindow |
95 from WebBrowser.WebBrowserWindow import WebBrowserWindow |
96 if success and WebBrowserWindow.notificationsEnabled(): |
96 if success and WebBrowserWindow.notificationsEnabled(): |
97 WebBrowserWindow.showNotification( |
97 WebBrowserWindow.showNotification( |
98 UI.PixmapCache.getPixmap("greaseMonkey48.png"), |
98 UI.PixmapCache.getPixmap("greaseMonkey48"), |
99 self.tr("GreaseMonkey Script Installation"), |
99 self.tr("GreaseMonkey Script Installation"), |
100 msg) |
100 msg) |
101 else: |
101 else: |
102 E5MessageBox.information( |
102 E5MessageBox.information( |
103 self, |
103 self, |