Assign icon to window regardless of environment.

Makes Sugar Activities more standard.
This commit is contained in:
Sebastian Silva 2016-07-27 01:52:05 -05:00
parent 61bc42f2c2
commit 4f3f32fd5a

View File

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