Assign icon to window regardless of environment.

Makes Sugar Activities more standard.
master
Sebastian Silva 8 years ago
parent 61bc42f2c2
commit 4f3f32fd5a

@ -440,9 +440,8 @@ class Activity(Window, Gtk.Container):
self.__jobject_updated_cb)
self.set_title(self._jobject.metadata['title'])
if 'SUGAR_VERSION' not in os.environ:
bundle = get_bundle_instance(get_bundle_path())
self.set_icon_from_file(bundle.get_icon())
bundle = get_bundle_instance(get_bundle_path())
self.set_icon_from_file(bundle.get_icon())
def run_main_loop(self):

Loading…
Cancel
Save