Tag: cws_src680_toolbars4 User: cd Date: 05/02/16 06:37:22 Modified: /dba/dbaccess/source/ui/control/ toolboxcontroller.cxx
Log: #i39612# Changed toolbox item style to TIB_DROPDOWNONLY File Changes: Directory: /dba/dbaccess/source/ui/control/ =========================================== File [changed]: toolboxcontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/toolboxcontroller.cxx?r1=1.3&r2=1.3.60.1 Delta lines: +10 -5 -------------------- --- toolboxcontroller.cxx 22 Oct 2004 12:04:40 -0000 1.3 +++ toolboxcontroller.cxx 16 Feb 2005 14:37:19 -0000 1.3.60.1 @@ -2,9 +2,9 @@ * * $RCSfile: toolboxcontroller.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.60.1 $ * - * last change: $Author: pjunck $ $Date: 2004/10/22 12:04:40 $ + * last change: $Author: cd $ $Date: 2005/02/16 14:37:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -209,8 +209,13 @@ break; } } + // check if paste special is allowed, when not don't add DROPDOWN pToolBox->SetItemBits(m_nToolBoxId,pToolBox->GetItemBits(m_nToolBoxId) | TIB_DROPDOWN); + + // refresh needs a different toolbox item style! + if ( m_aCommandURL.equalsAscii( ".uno:Refresh" )) + pToolBox->SetItemBits( m_nToolBoxId, pToolBox->GetItemBits( m_nToolBoxId ) | TIB_DROPDOWNONLY ); } } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
