/[packages]/updates/5/libreoffice/current/SOURCES/0002-disable-tearability-of-color-window.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0002-disable-tearability-of-color-window.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142835 - (show annotations) (download)
Mon Aug 21 23:46:24 2017 UTC (6 years, 7 months ago) by neoclust
File size: 1784 byte(s)
New version 5.1.5
1 From 011f42c0c6104228f5c15daae58e432ccf2be69d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3 Date: Thu, 17 Dec 2015 17:04:52 +0000
4 Subject: [PATCH 2/2] disable tearability of color window
5
6 the new popup controllers take care to destroy the popup
7 and recreate a non-popup and move the contents into it
8
9 so we should re-implement the color popup as one of those
10 in the meantime, turn it into a non-tearable thing
11
12 Change-Id: I6ba26bf19badcbf910b7200b7e1b8b2a64ce4eec
13 ---
14 svx/source/tbxctrls/tbcontrl.cxx | 3 +--
15 svx/uiconfig/ui/colorwindow.ui | 1 -
16 2 files changed, 1 insertion(+), 3 deletions(-)
17
18 diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
19 index ae696ae..28691dc 100644
20 --- a/svx/source/tbxctrls/tbcontrl.cxx
21 +++ b/svx/source/tbxctrls/tbcontrl.cxx
22 @@ -2659,8 +2659,7 @@ VclPtr<SfxPopupWindow> SvxColorToolBoxControl::CreatePopupWindow()
23 break;
24 }
25
26 - pColorWin->StartPopupMode( &GetToolBox(),
27 - FloatWinPopupFlags::AllowTearOff|FloatWinPopupFlags::NoAppFocusClose );
28 + pColorWin->StartPopupMode( &GetToolBox(), FloatWinPopupFlags::NoAppFocusClose );
29 pColorWin->StartSelection();
30 SetPopupWindow( pColorWin );
31 if ( !bSidebarType )
32 diff --git a/svx/uiconfig/ui/colorwindow.ui b/svx/uiconfig/ui/colorwindow.ui
33 index 9482562..702bee3 100644
34 --- a/svx/uiconfig/ui/colorwindow.ui
35 +++ b/svx/uiconfig/ui/colorwindow.ui
36 @@ -25,7 +25,6 @@
37 <property name="destroy_with_parent">True</property>
38 <property name="type_hint">popup-menu</property>
39 <property name="skip_pager_hint">True</property>
40 - <property name="decorated">False</property>
41 <property name="deletable">False</property>
42 <child>
43 <object class="GtkBox" id="box1">
44 --
45 2.5.0
46

  ViewVC Help
Powered by ViewVC 1.1.30