[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
Fri Aug 24 09:10:49 EDT 2012


2012/8/24 Simon Schampijer <simon at schampijer.de>:
> On 08/23/2012 10:34 PM, Manuel Quiñones wrote:
>>
>> 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.
>
>
> Good catch! Adjusted the patch (attached) accordingly. I think it all works
> really well with using the splashscreen.

Yes, very well :) please go ahead.

> Cheers,
>    Simon
>
>
>



-- 
.. manuq ..


More information about the Sugar-devel mailing list