[Uml-devel] kdesdk/umbrello/umbrello

Klas Kalass klas.kalass at gmx.de
Tue Mar 18 04:03:10 UTC 2003


CVS commit by kalass: 

show name of current diagram in the status bar, fix ifndef


  M +2 -1      uml.cpp   1.26


--- kdesdk/umbrello/umbrello/uml.cpp  #1.25:1.26
@@ -160,5 +160,5 @@ void UMLApp::initActions() {
         editCopy->setStatusText(i18n("Copies the selected section to the clipboard"));
         editPaste->setStatusText(i18n("Pastes the clipboard contents to actual position"));
-#ifndef KDE_VERSION_MAJOR >= 3 && KDE_VERSION_MINOR > 1
+#if KDE_VERSION < 0x030190
         viewToolBar->setStatusText(i18n("Enables/disables the toolbar"));
         viewStatusBar->setStatusText(i18n("Enables/disables the statusbar"));
@@ -1371,4 +1371,5 @@ void UMLApp::setCurrentView(UMLView* vie
         if (view) {
                 viewStack->raiseWidget(view);
+                slotStatusMsg(view->getData()->getName());
         } else {
                 viewStack->raiseWidget(blankWidget);






More information about the umbrello-devel mailing list