[Sugar-devel] [PATCH sugar] Launcher: set the standard SPLASHSCREEN hint instead of our own _SUGAR_WINDOW_TYPE hint

Manuel Quiñones manuq at laptop.org
Thu Aug 23 16:34:47 EDT 2012


2012/8/23 Simon Schampijer <simon at schampijer.de>:
> From: Simon Schampijer <simon at laptop.org>
>
> --- a/src/jarabe/view/launcher.py
> +++ b/src/jarabe/view/launcher.py
> @@ -32,7 +32,7 @@ class LaunchWindow(gtk.Window):
>      def __init__(self, activity_id, icon_path, icon_color):
>          gobject.GObject.__init__(self)
>
> -        self.props.type_hint = gtk.gdk.WINDOW_TYPE_HINT_NORMAL
> +        self.props.type_hint = gtk.gdk.WINDOW_TYPE_HINT_SPLASHSCREEN
>          self.props.decorated = False

Only one thing, self.props.decorated = False is not needed now, as
setting the hint to splashscreen does it for us.


-- 
.. manuq ..


More information about the Sugar-devel mailing list