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

List:       kde-commits
Subject:    koffice/kspread
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2006-05-06 12:47:22
Message-ID: 1146919642.330948.8780.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 537992 by nikolaus:

"Beep, beep, beep, ich hab' Dich lieb."

- remove superfluous calls of KNotifyClient::beep()
  If the user wants a notification sounds on messages, he should make use
  of the settings in 'Control Center : System Notifications'.


 M  +0 -7      kspread_view.cc  


--- trunk/koffice/kspread/kspread_view.cc #537991:537992
@@ -6331,14 +6331,12 @@
 
     if ( styleName.length() < 1 )
     {
-      KNotifyClient::beep();
       KMessageBox::sorry( this, i18n( "The style name cannot be empty." ) );
       continue;
     }
 
     if ( doc()->styleManager()->style( styleName ) != 0 )
     {
-      KNotifyClient::beep();
       KMessageBox::sorry( this, i18n( "A style with this name already exists." ) );
       continue;
     }
@@ -6493,11 +6491,9 @@
 {
   if ( doc()->map()->count() <= 1 || ( doc()->map()->visibleSheets().count() <= 1 ) \
)  {
-    KNotifyClient::beep();
     KMessageBox::sorry( this, i18n("You cannot delete the only sheet."), \
i18n("Remove Sheet") ); // FIXME bad english? no english!  return;
   }
-  KNotifyClient::beep();
   int ret = KMessageBox::warningContinueCancel( this, i18n( "You are about to remove \
                the active sheet.\nDo you want to continue?" ),
                                        i18n( "Remove Sheet" \
),KGuiItem(i18n("&Delete"),"editdelete") );  
@@ -6545,7 +6541,6 @@
 
   while (!util_validateSheetName(newName))
   {
-    KNotifyClient::beep();
     KMessageBox::information( this, i18n("Sheet name contains illegal characters. \
Only numbers and letters are allowed."),  i18n("Change Sheet Name") );
 
@@ -6564,7 +6559,6 @@
 
   if ( (newName.trimmed()).isEmpty() ) // Sheet name is empty.
   {
-    KNotifyClient::beep();
     KMessageBox::information( this, i18n("Sheet name cannot be empty."), \
i18n("Change Sheet Name") );  // Recursion
     slotRename();
@@ -6574,7 +6568,6 @@
     // Is the name already used
     if ( doc()->map()->findSheet( newName ) )
     {
-      KNotifyClient::beep();
       KMessageBox::information( this, i18n("This name is already used."), \
i18n("Change Sheet Name") );  // Recursion
       slotRename();


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

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