[Uml-devel] KDE/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sun Jan 8 06:33:04 UTC 2006


SVN commit 495605 by okellogg:

apply commit 495603 from branches/KDE/3.5

 M  +4 -1      uml.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/uml.cpp #495604:495605
@@ -1299,7 +1299,8 @@
 QString UMLApp::activeLanguageScopeSeparator() const {
     if (m_activeLanguage == Uml::pl_Ada ||
         m_activeLanguage == Uml::pl_Java ||
-        m_activeLanguage == Uml::pl_JavaScript)  // CHECK: more?
+        m_activeLanguage == Uml::pl_JavaScript ||
+        m_activeLanguage == Uml::pl_Python)  // CHECK: more?
         return ".";
     return "::";
 }
@@ -1370,6 +1371,8 @@
     QString preselectedExtension;
     if (m_activeLanguage == Uml::pl_IDL) {
         preselectedExtension = i18n("*.idl|IDL Files (*.idl)");
+    } else if (m_activeLanguage == Uml::pl_Python) {
+        preselectedExtension = i18n("*.py|Python Files (*.py)");
     } else if (m_activeLanguage == Uml::pl_Java) {
         preselectedExtension = i18n("*.java|Java Files (*.java)");
     } else if (m_activeLanguage == Uml::pl_Ada) {




More information about the umbrello-devel mailing list