2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

many small fixes: multi windows users running, touchscreen fix, esc for photo hide, etc + send to menu integration on windows + hide text in notifies

This commit is contained in:
John Preston
2014-07-18 14:37:34 +04:00
parent dd4b0f033c
commit 070ea58a53
52 changed files with 561 additions and 209 deletions

View File

@@ -301,6 +301,10 @@ void MainWidget::onShareContact(const PeerId &peer, UserData *contact) {
history.onShareContact(peer, contact);
}
void MainWidget::onSendPaths(const PeerId &peer) {
history.onSendPaths(peer);
}
void MainWidget::noHider(HistoryHider *destroyed) {
if (hider == destroyed) {
hider = 0;
@@ -1380,10 +1384,17 @@ void MainWidget::activate() {
} else {
dialogs.activate();
}
} else if (history.peer()) {
history.activate();
} else {
dialogs.activate();
if (!cSendPaths().isEmpty()) {
hider = new HistoryHider(this);
hider->show();
resizeEvent(0);
dialogs.activate();
} else if (history.peer()) {
history.activate();
} else {
dialogs.activate();
}
}
}
App::wnd()->fixOrder();