1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-10 04:58:16 +03:00

Merge branch 'v0.9' into merger

This commit is contained in:
Michail Vourlakos 2019-08-31 09:59:26 +03:00
commit 3faf5f6114
8 changed files with 20 additions and 2 deletions

View File

@ -204,6 +204,7 @@ Name[pl]=Nie udało się usunąć
Name[pt]=Não foi possível remover
Name[pt_BR]=Ocorreu um erro ao remover
Name[ru]=Ошибка удаления
Name[sk]=Zlyhalo odstránenie
Name[sv]=Misslyckades ta bort
Name[uk]=Не вдалося вилучити
Name[x-test]=xxFailed to removexx

View File

@ -20,6 +20,7 @@ Name[pl]=Latte
Name[pt]=Latte
Name[pt_BR]=Latte
Name[ru]=Latte
Name[sk]=Latte
Name[sv]=Latte
Name[uk]=Латте
Name[x-test]=xxLattexx
@ -46,6 +47,7 @@ Comment[pl]=Dok dla mas
Comment[pt]=Área acoplável para as massas
Comment[pt_BR]=Área acoplável para todos
Comment[ru]=Док для всех
Comment[sk]=Dok pre masy
Comment[sv]=Dockningsfönster för alla
Comment[uk]=Панель для усіх
Comment[x-test]=xxDock for the massesxx

View File

@ -16,6 +16,7 @@ Name[pl]=Wskaźnik
Name[pt]=Indicador
Name[pt_BR]=Indicador
Name[ru]=Индикатор
Name[sk]=indikátor
Name[sv]=Indikator
Name[uk]=Індикатор
Name[x-test]=xxIndicatorxx

View File

@ -21,6 +21,7 @@ Name[pl]=Latte
Name[pt]=Latte
Name[pt_BR]=Latte
Name[ru]=Latte
Name[sk]=Latte
Name[sv]=Latte
Name[uk]=Латте
Name[x-test]=xxLattexx

View File

@ -21,6 +21,7 @@ Name[pl]=Latte
Name[pt]=Latte
Name[pt_BR]=Latte
Name[ru]=Latte
Name[sk]=Latte
Name[sv]=Latte
Name[uk]=Латте
Name[x-test]=xxLattexx

View File

@ -20,6 +20,7 @@ Name[pl]=Latte
Name[pt]=Latte
Name[pt_BR]=Latte
Name[ru]=Latte
Name[sk]=Latte
Name[sv]=Latte
Name[uk]=Латте
Name[x-test]=xxLattexx

View File

@ -19,6 +19,7 @@ Name[pl]=Plazma
Name[pt]=Plasma
Name[pt_BR]=Plasma
Name[ru]=Plasma
Name[sk]=Plasma
Name[sv]=Plasma
Name[uk]=Плазма
Name[x-test]=xxPlasmaxx

View File

@ -35,15 +35,25 @@ MouseArea {
(!Latte.WindowSystem.isPlatformWayland && winId != 0)
onClicked: {
//!used mainly to not close the previews window when the user closes many windows simultaneously
var keepVisibility = false;
if (mouse.button == Qt.LeftButton) {
tasksModel.requestActivate(modelIndex);
} else if (mouse.button == Qt.MiddleButton) {
if (isGroup) {
keepVisibility = true;
}
tasksModel.requestClose(modelIndex);
} else {
root.createContextMenu(rootTask, modelIndex).show();
}
icList.hoveredIndex = -1;
windowsPreviewDlg.hide("7.1");
if (!keepVisibility) {
icList.hoveredIndex = -1;
windowsPreviewDlg.hide("7.1");
}
}
onContainsMouseChanged: {