Remove unneeded code after Adrien's improvements.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43193 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2011-11-05 23:44:17 +00:00
parent a94afff898
commit 20cc8cc800
6 changed files with 0 additions and 29 deletions

View File

@ -73,8 +73,6 @@ DateTimeView::AttachedToWindow()
fCalendarView->SetTarget(this);
}
_NotifyClockSettingChanged();
}
@ -235,11 +233,3 @@ DateTimeView::_UpdateDateTime(BMessage* message)
}
}
void
DateTimeView::_NotifyClockSettingChanged()
{
BMessage msg(kMsgClockSettingChanged);
Window()->PostMessage(&msg);
}

View File

@ -36,12 +36,10 @@ public:
virtual void MessageReceived(BMessage* message);
bool CheckCanRevert();
bool GetUseGmtTime();
private:
void _InitView();
void _UpdateDateTime(BMessage* message);
void _NotifyClockSettingChanged();
void _Revert();
time_t _PrefletUptime() const;

View File

@ -49,8 +49,5 @@ const uint32 kMsgChange = 'chng';
// change time finished
const uint32 kChangeTimeFinished = 'tcfi';
// GMT or localtime setting was changed
const uint32 kMsgClockSettingChanged = 'tsch';
#endif // _TIME_MESSAGES_H

View File

@ -92,9 +92,6 @@ TTimeWindow::MessageReceived(BMessage* message)
_SetRevertStatus();
break;
case kMsgClockSettingChanged:
break;
default:
BWindow::MessageReceived(message);
break;

View File

@ -167,7 +167,6 @@ TimeZoneView::MessageReceived(BMessage* message)
case H_SET_TIME_ZONE:
{
_SetSystemTimeZone();
_NotifyClockSettingChanged();
break;
}
@ -634,7 +633,6 @@ TimeZoneView::_UpdateGmtSettings()
_WriteRTCSettings();
_ShowOrHidePreview();
_NotifyClockSettingChanged();
_kern_set_real_time_clock_is_gmt(fUseGmtTime);
}
@ -656,11 +654,3 @@ TimeZoneView::_ShowOrHidePreview()
}
}
void
TimeZoneView::_NotifyClockSettingChanged()
{
BMessage msg(kMsgClockSettingChanged);
Window()->PostMessage(&msg);
}

View File

@ -46,7 +46,6 @@ private:
void _UpdatePreview();
void _UpdateCurrent();
void _NotifyClockSettingChanged();
BString _FormatTime(const BTimeZone& timeZone);
void _ReadRTCSettings();