Author: stippi Date: 2011-04-06 10:47:48 +0200 (Wed, 06 Apr 2011) New Revision: 41187 Changeset: https://dev.haiku-os.org/changeset/41187 Modified: haiku/trunk/src/apps/stylededit/StyledEditWindow.cpp haiku/trunk/src/apps/stylededit/StyledEditWindow.h Log: Follow up commit on r41184, which removed the Edit->Clear menu item. I suppose it was discussed on the i18n list as mentioned in that commit. However two things, Humdinger: 1) You did not test your commit, and 2) You did incomplete cleanup. If you had removed the member variable from the StyledEditWindow header, you would have gotten at least a compile error. Those things being said, I did not test my changes either... :-) Modified: haiku/trunk/src/apps/stylededit/StyledEditWindow.cpp =================================================================== --- haiku/trunk/src/apps/stylededit/StyledEditWindow.cpp 2011-04-05 22:11:57 UTC (rev 41186) +++ haiku/trunk/src/apps/stylededit/StyledEditWindow.cpp 2011-04-06 08:47:48 UTC (rev 41187) @@ -440,12 +440,10 @@ case ENABLE_ITEMS: fCutItem->SetEnabled(true); fCopyItem->SetEnabled(true); - fClearItem->SetEnabled(true); break; case DISABLE_ITEMS: fCutItem->SetEnabled(false); fCopyItem->SetEnabled(false); - fClearItem->SetEnabled(false); break; case TEXT_CHANGED: if (fUndoFlag) { Modified: haiku/trunk/src/apps/stylededit/StyledEditWindow.h =================================================================== --- haiku/trunk/src/apps/stylededit/StyledEditWindow.h 2011-04-05 22:11:57 UTC (rev 41186) +++ haiku/trunk/src/apps/stylededit/StyledEditWindow.h 2011-04-06 08:47:48 UTC (rev 41187) @@ -93,7 +93,6 @@ BMenuItem* fUndoItem; BMenuItem* fCutItem; BMenuItem* fCopyItem; - BMenuItem* fClearItem; BMenuItem* fFindAgainItem; BMenuItem* fReplaceSameItem;