[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/office/skrooge
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2009-11-23 15:59:38
Message-ID: 1258991978.344822.1336.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1053197 by smankowski:

Disable some functions on sub-operations

 M  +1 -0      CHANGELOG  
 M  +1 -1      skrooge_importexport/skgimportexportplugin.cpp  
 M  +1 -1      skrooge_operation/skgoperationplugin.cpp  
 M  +1 -1      skrooge_scheduled/skgscheduledplugin.cpp  


--- trunk/extragear/office/skrooge/CHANGELOG #1053196:1053197
@@ -1,4 +1,5 @@
 skrooge (0.6.0)
+  *Disable some functions on sub-operations
   
  -- maintainer Stephane MANKOWSKI <stephane@mankowski.fr>  xxx
  
--- trunk/extragear/office/skrooge/skrooge_importexport/skgimportexportplugin.cpp \
#1053196:1053197 @@ -262,7 +262,7 @@
 
                 SKGObjectBase::SKGListSKGObjectBase \
selection=SKGMainPanel::getMainPanel()->getSelectedObjects();  if ( selection.count() \
                >0 && test) {
-                        bool onOperation= ( selection.at ( 0 ).getRealTable() \
=="operation" ); +                        bool onOperation= ( selection.at ( 0 \
).getRealTable() =="operation" &&  selection.at ( 0 \
                ).getTable()!="v_operation_consolidated");
                         if ( validateImportedOperationsAction ) \
                validateImportedOperationsAction->setEnabled ( onOperation );
                         if ( mergeImportedOperationAction ) \
mergeImportedOperationAction->setEnabled ( onOperation );  } else {
--- trunk/extragear/office/skrooge/skrooge_operation/skgoperationplugin.cpp \
#1053196:1053197 @@ -161,7 +161,7 @@
 
                 SKGObjectBase::SKGListSKGObjectBase \
selection=SKGMainPanel::getMainPanel()->getSelectedObjects();  if ( selection.count() \
                >0 ) {
-                        bool onOperation= ( selection.at ( 0 ).getRealTable() \
=="operation" ); +                        bool onOperation= ( selection.at ( 0 \
).getRealTable() =="operation" &&  selection.at ( 0 \
                ).getTable()!="v_operation_consolidated");
                         if ( duplicateAction ) duplicateAction->setEnabled ( \
                onOperation );
                         if ( createTemplateAction ) createTemplateAction->setEnabled \
                ( onOperation );
                         if ( switchHighLight ) switchHighLight->setEnabled ( \
                onOperation );
--- trunk/extragear/office/skrooge/skrooge_scheduled/skgscheduledplugin.cpp \
#1053196:1053197 @@ -81,7 +81,7 @@
                 SKGObjectBase::SKGListSKGObjectBase \
selection=SKGMainPanel::getMainPanel()->getSelectedObjects();  
                 if ( selection.count() >0 ) {
-                        bool onOperation= ( selection.at ( 0 ).getRealTable() \
=="operation" ); +                        bool onOperation= ( selection.at ( 0 \
).getRealTable() =="operation" &&  selection.at ( 0 \
                ).getTable()!="v_operation_consolidated");
                         if ( scheduleOperationAction ) \
scheduleOperationAction->setEnabled ( onOperation );  } else {
                         if ( scheduleOperationAction ) \
scheduleOperationAction->setEnabled ( false );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic