Ticket #7327: namingfix.patch

File namingfix.patch, 1.4 KB (added by xray7224, 14 years ago)

Correct patch (Last submit was wrong)

  • ScreenSaverWindow.cpp

     
    634634    // Create the controls inside the tabs
    635635    rect = fTabView->ContainerView()->Bounds();
    636636    _SetupFadeTab(rect);
    637     fModulesView = new ModulesView(rect, B_TRANSLATE("Modules"), fSettings);
     637    fModulesView = new ModulesView(rect, B_TRANSLATE("Run Screensaver"), fSettings);
    638638
    639639    fTabView->AddTab(fFadeView);
    640640    fTabView->AddTab(fModulesView);
     
    677677}
    678678
    679679
    680 //! Create the controls for the fade tab
     680//! Create the controls for the settings tab
    681681void
    682682ScreenSaverWindow::_SetupFadeTab(BRect rect)
    683683{
    684     fFadeView = new FadeView(rect, B_TRANSLATE("Fade"), fSettings);
     684    fFadeView = new FadeView(rect, B_TRANSLATE("Settings"), fSettings);
    685685
    686686    float labelWidth = be_plain_font->StringWidth(B_TRANSLATE("Turn off "
    687687        "screen")) + 20.0f;
     
    913913void
    914914ScreenSaverWindow::MessageReceived(BMessage *msg)
    915915{
    916     // "Fade" tab, slider updates
     916    // "Settings" tab, slider updates
    917917
    918918    switch (msg->what) {
    919919        case kMsgRunSliderChanged:
     
    939939    }
    940940
    941941    switch (msg->what) {
    942         // "Fade" tab
     942        // "Settings" tab
    943943
    944944        case kMsgTurnOffCheckBox:
    945945            fTurnOffSlider->SetEnabled(
     
    961961            fPasswordWindow->Show();
    962962            break;
    963963
    964         // "Modules" tab
     964        // "Run Screensaver" tab
    965965
    966966        case kMsgUpdateList:
    967967            fModulesView->PopulateScreenSaverList();