[Sugar-devel] [PATCH sugar] Launcher: set the standard SPLASHSCREEN hint instead of our own _SUGAR_WINDOW_TYPE hint
Simon Schampijer
simon at schampijer.de
Fri Aug 24 04:38:47 EDT 2012
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.
Cheers,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Launcher-set-the-standard-SPLASHSCREEN-hint-instead-.patch
Type: text/x-patch
Size: 3861 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120824/542a2d7f/attachment.bin>
More information about the Sugar-devel
mailing list