Exemplo n.º 1
0
    def title_changed(self, view, frame, title):
        windowtitle = self.app.window.get_title()
        if not title.startswith(self.app.appInfo["initial_title"]) and \
                not utils.same_title(windowtitle, title):
            self.app.notification(_("Notice"), title)
            self.app.tray.set_blinking(True)

        if title.startswith(self.app.appInfo["initial_title"]):
            self.app.tray.set_blinking(False)
        WebAppView.title_changed(self, view, frame, title)
Exemplo n.º 2
0
 def init_signals(self):
     WebAppView.init_signals(self)
     self.connect(
         "navigation-policy-decision-requested",
         self.navigation_policy_decision_requested)
     self.connect("load-finished", self.load_finished)
Exemplo n.º 3
0
 def __init__(self, app):
     WebAppView.__init__(self, app)