Esempio n. 1
0
 def __realize_cb(self, window):
     wm.set_bundle_id(window.window, self.get_bundle_id())
     wm.set_activity_id(window.window, str(self._activity_id))
Esempio n. 2
0
 def __realize_cb(self, window):
     wm.set_bundle_id(window.window, self.get_bundle_id())
     wm.set_activity_id(window.window, str(self._activity_id))
Esempio n. 3
0
 def __realize_cb(self, window):
     wm.set_bundle_id(window.window, _BUNDLE_ID)
     activity_id = activityfactory.create_activity_id()
     wm.set_activity_id(window.window, str(activity_id))
     self.disconnect(self._realized_sid)
     self._realized_sid = None
Esempio n. 4
0
 def __realize_cb(self, widget):
     wm.set_activity_id(widget.window, str(self._activity_id))
     widget.window.property_change('_SUGAR_WINDOW_TYPE', 'STRING', 8,
                                   gtk.gdk.PROP_MODE_REPLACE, 'launcher')
Esempio n. 5
0
 def __realize_cb(self, window, bundle_id, activity_id):
     if bundle_id:
         wm.set_bundle_id(window.window, bundle_id)
     if activity_id:
         wm.set_activity_id(window.window, activity_id)
Esempio n. 6
0
 def realize_cb(self, window):
     self.help_id = util.unique_id()
     wm.set_activity_id(window.window, self.help_id)
     self.help_window = window
     self._web_view.load_uri(HOME)
Esempio n. 7
0
 def __realize_cb(self, window):
     wm.set_bundle_id(window.window, _BUNDLE_ID)
     activity_id = activityfactory.create_activity_id()
     wm.set_activity_id(window.window, str(activity_id))
     self.disconnect(self._realized_sid)
     self._realized_sid = None
Esempio n. 8
0
 def realize_cb(self, window):
     self.help_id = util.unique_id()
     wm.set_activity_id(window.window, self.help_id)
     self.help_window = window
Esempio n. 9
0
 def __realize_cb(self, widget):
     wm.set_activity_id(widget.window, str(self._activity_id))
     widget.window.property_change('_SUGAR_WINDOW_TYPE', 'STRING', 8,
                                   gtk.gdk.PROP_MODE_REPLACE, 'launcher')