* Re-enabled tool tips as those are now supported in Haiku.
* Make sure settings are saved rightaway whenever they change. (Solves a ticket which I cannot seem to find right now.) * Some improvements to the NamePanel layout/size (when setting descriptions). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33167 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -209,7 +209,6 @@ MainWindow::MessageReceived(BMessage* message)
|
||||
if (ref) {
|
||||
BString helper("Description for '");
|
||||
helper << ref->name << "'";
|
||||
// BRect* frame = fNamePanelFrame.IsValid() ? &fNamePanelFrame : NULL;
|
||||
new NamePanel(helper.String(), button->Description(),
|
||||
this, this, new BMessage(*message),
|
||||
fNamePanelFrame);
|
||||
@@ -286,16 +285,20 @@ MainWindow::WorkspaceActivated(int32 workspace, bool active)
|
||||
void
|
||||
MainWindow::FrameMoved(BPoint origin)
|
||||
{
|
||||
if (IsActive())
|
||||
if (IsActive()) {
|
||||
_GetLocation();
|
||||
_NotifySettingsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MainWindow::FrameResized(float width, float height)
|
||||
{
|
||||
if (IsActive())
|
||||
if (IsActive()) {
|
||||
_GetLocation();
|
||||
_NotifySettingsChanged();
|
||||
}
|
||||
BWindow::FrameResized(width, height);
|
||||
}
|
||||
|
||||
@@ -308,6 +311,8 @@ MainWindow::ToggleAutoRaise()
|
||||
fPadView->SetEventMask(B_POINTER_EVENTS, B_NO_POINTER_HISTORY);
|
||||
else
|
||||
fPadView->SetEventMask(0);
|
||||
|
||||
_NotifySettingsChanged();
|
||||
}
|
||||
|
||||
|
||||
@@ -600,3 +605,9 @@ MainWindow::_AddEmptyButtons()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MainWindow::_NotifySettingsChanged()
|
||||
{
|
||||
be_app->PostMessage(MSG_SETTINGS_CHANGED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user