[116268] trunk/dports/kde/umbrello

nicos at macports.org nicos at macports.org
Thu Jan 23 08:28:31 PST 2014


Revision: 116268
          https://trac.macports.org/changeset/116268
Author:   nicos at macports.org
Date:     2014-01-23 08:28:31 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
umbrello: add hack to solve invisible window (ticket #42094)

Modified Paths:
--------------
    trunk/dports/kde/umbrello/Portfile

Added Paths:
-----------
    trunk/dports/kde/umbrello/files/patch-uml.diff

Modified: trunk/dports/kde/umbrello/Portfile
===================================================================
--- trunk/dports/kde/umbrello/Portfile	2014-01-23 16:11:03 UTC (rev 116267)
+++ trunk/dports/kde/umbrello/Portfile	2014-01-23 16:28:31 UTC (rev 116268)
@@ -6,6 +6,7 @@
 
 name                umbrello
 version             4.11.5
+revision            1
 categories          kde kde4
 license             GPL-2+ LGPL-2+
 maintainers         nicos openmaintainer
@@ -29,8 +30,10 @@
 
 depends_run-append  port:oxygen-icons
 
+patchfiles          patch-uml.diff
+
 if {![variant_isset docs]} {
-    patchfiles      patch-CMakeLists.diff
+    patchfiles-append   patch-CMakeLists.diff
 }
 
 pre-activate {

Added: trunk/dports/kde/umbrello/files/patch-uml.diff
===================================================================
--- trunk/dports/kde/umbrello/files/patch-uml.diff	                        (rev 0)
+++ trunk/dports/kde/umbrello/files/patch-uml.diff	2014-01-23 16:28:31 UTC (rev 116268)
@@ -0,0 +1,19 @@
+--- umbrello/uml.cpp.orig	2014-01-03 04:37:28.000000000 +0900
++++ umbrello/uml.cpp	2014-01-24 01:03:47.000000000 +0900
+@@ -1018,7 +1018,15 @@
+     m_toolsbar->applySettings(m_config->group( "workbar") );
+     fileOpenRecent->loadEntries(m_config->group( "Recent Files") );
+     setImageMimeType( UmbrelloSettings::imageMimeType() );
+-    resize( UmbrelloSettings::geometry());
++    QSize size = UmbrelloSettings::geometry();
++    if (size.isEmpty()) {
++        //Forcing window to fixed size
++        size.setWidth(800);
++        size.setHeight(600);
++        resize(size);
++    }
++    else
++        resize( UmbrelloSettings::geometry());
+ }
+ 
+ /**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/5cf667ca/attachment.html>


More information about the macports-changes mailing list