Kaydet (Commit) 526f8040 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: fdo#30763 fill in default user realname under GNOME3

i.e. recognize that gnome-shell is a gnome session
so we use gconfbackend for default settings
so that we get a default name filled in for FirstName, LastName
so that the author/editor properties of new documents gets filled in by default
   out of the box
so that the last-used position in odf files gets restored for that user

Change-Id: I6630866e64414e886c80abad1ca6200ffc25b378
üst 2567a8c8
......@@ -111,8 +111,13 @@ static bool is_gnome_desktop( Display* pDisplay )
if( pProp && nType == nUTFAtom )
{
OString aWMName( (sal_Char*)pProp );
if( aWMName.equalsIgnoreAsciiCase( "gnome-panel" ) )
if (
(aWMName.equalsIgnoreAsciiCase("gnome-shell")) ||
(aWMName.equalsIgnoreAsciiCase("gnome-panel"))
)
{
ret = true;
}
}
if( pProp )
XFree( pProp );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment