[libreoffice/f20] Resolves: rhbz#1204244 group sdb windows together as 'base'

Caolán McNamara caolanm at fedoraproject.org
Mon Mar 23 10:44:35 UTC 2015


commit b87b0dca3d4e58f7550ed87320d1ab14ce7d04c2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 23 10:44:31 2015 +0000

    Resolves: rhbz#1204244 group sdb windows together as 'base'

 ...bz-1204244-group-sdb-windows-together-as-.patch | 49 ++++++++++++++++++++++
 libreoffice.spec                                   |  5 ++-
 2 files changed, 53 insertions(+), 1 deletion(-)
---
diff --git a/0001-Resolves-rhbz-1204244-group-sdb-windows-together-as-.patch b/0001-Resolves-rhbz-1204244-group-sdb-windows-together-as-.patch
new file mode 100644
index 0000000..ea2244a
--- /dev/null
+++ b/0001-Resolves-rhbz-1204244-group-sdb-windows-together-as-.patch
@@ -0,0 +1,49 @@
+From 71c00b3e96fb639e0ff0815608827936219adac5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at redhat.com>
+Date: Mon, 23 Mar 2015 10:41:21 +0000
+Subject: [PATCH] Resolves: rhbz#1204244 group sdb windows together as 'base'
+
+Change-Id: Ie0d17e562b24a8108d79d13592fff3bf2b9a6713
+---
+ framework/source/helper/titlebarupdate.cxx | 20 ++++++--------------
+ 1 file changed, 6 insertions(+), 14 deletions(-)
+
+diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx
+index 7626309..b79b5b2 100644
+--- a/framework/source/helper/titlebarupdate.cxx
++++ b/framework/source/helper/titlebarupdate.cxx
+@@ -139,25 +139,17 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
+ 
+         OUString sDesktopName;
+         OUString aModuleId = xModuleManager->identify(xFrame);
+-        if ( aModuleId == "com.sun.star.text.TextDocument" ||
+-             aModuleId == "com.sun.star.text.GlobalDocument" ||
+-             aModuleId == "com.sun.star.text.WebDocument" ||
+-             aModuleId == "com.sun.star.xforms.XMLFormDocument" )
++        if ( aModuleId.startsWith("com.sun.star.text.") || aModuleId.startsWith("com.sun.star.xforms.") )
+             sDesktopName = "Writer";
+-        else if ( aModuleId == "com.sun.star.sheet.SpreadsheetDocument" )
++        else if ( aModuleId.startsWith("com.sun.star.sheet.") )
+             sDesktopName = "Calc";
+-        else if ( aModuleId == "com.sun.star.presentation.PresentationDocument" )
++        else if ( aModuleId.startsWith("com.sun.star.presentation.") )
+             sDesktopName = "Impress";
+-        else if ( aModuleId == "com.sun.star.drawing.DrawingDocument" )
++        else if ( aModuleId.startsWith("com.sun.star.drawing." ) )
+             sDesktopName = "Draw";
+-        else if ( aModuleId == "com.sun.star.formula.FormulaProperties" )
++        else if ( aModuleId.startsWith("com.sun.star.formula." ) )
+             sDesktopName = "Math";
+-        else if ( aModuleId == "com.sun.star.sdb.DatabaseDocument" ||
+-                  aModuleId == "com.sun.star.sdb.OfficeDatabaseDocument" ||
+-                  aModuleId == "com.sun.star.sdb.RelationDesign" ||
+-                  aModuleId == "com.sun.star.sdb.QueryDesign" ||
+-                  aModuleId == "com.sun.star.sdb.TableDesign" ||
+-                  aModuleId == "com.sun.star.sdb.DataSourceBrowser" )
++        else if ( aModuleId.startsWith("com.sun.star.sdb.") )
+             sDesktopName = "Base";
+         else
+             sDesktopName = "Startcenter";
+-- 
+1.9.3
+
diff --git a/libreoffice.spec b/libreoffice.spec
index c853678..4f4dd91 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -36,7 +36,7 @@ Summary:        Free Software Productivity Suite
 Name:           libreoffice
 Epoch:          1
 Version:        %{libo_version}.2
-Release:        7%{?libo_prerelease}%{?dist}
+Release:        8%{?libo_prerelease}%{?dist}
 License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
 Group:          Applications/Productivity
 URL:            http://www.libreoffice.org/
@@ -2304,6 +2304,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
 %endif
 
 %changelog
+* Mon Mar 23 2015 Caolán McNamara <caolanm at redhat.com> - 1:4.2.8.2-8-UNBUILT
+- Resolves: rhbz#1204244 group sdb windows together as 'base'
+
 * Fri Mar 20 2015 Eike Rathke <erack at redhat.com> - 1:4.2.8.2-7
 - Resolves: tdf#89679 fix incorrect mapping of font-family-complex and CharFontNameAsian
 - Resolves: tdf#89958 filter ends with / does not end with correction


More information about the scm-commits mailing list