# # # patch "guitone/res/forms/main_window.ui" # from [654b91584067e615bb181161a408fe795025758b] # to [afaa9b341aa26361f28b3c8d857fa07473987959] # # patch "guitone/res/i18n/guitone_de.ts" # from [5861fddfc07e8d18c75fb918b7ace3021a971bfa] # to [2f4b9e55dd9664deafd756e7b42966c6dab8a1fd] # # patch "guitone/src/view/MainWindow.cpp" # from [9684e845cb9ea5792722475b2ea3f78c4192640c] # to [7c815e194238287d2253ae81d76627724e6fa733] # ============================================================ --- guitone/res/forms/main_window.ui 654b91584067e615bb181161a408fe795025758b +++ guitone/res/forms/main_window.ui afaa9b341aa26361f28b3c8d857fa07473987959 @@ -117,35 +117,9 @@ You can switch back to the workspace mod 0 0 926 - 28 + 24 - - - View - - - - Show - - - true - - - - - - - - - - - - - - - - File @@ -172,11 +146,12 @@ You can switch back to the workspace mod - + - Workspace + Help - + + @@ -185,13 +160,38 @@ You can switch back to the workspace mod - + - Help + Workspace - - + + + + View + + + + Show + + + true + + + + + + + + + + + + + + + + @@ -249,6 +249,12 @@ You can switch back to the workspace mod + + true + + + true + All files @@ -257,6 +263,9 @@ You can switch back to the workspace mod + + true + All changed files @@ -265,6 +274,9 @@ You can switch back to the workspace mod + + true + Patched files @@ -273,6 +285,9 @@ You can switch back to the workspace mod + + true + Added files @@ -281,6 +296,9 @@ You can switch back to the workspace mod + + true + Removed files @@ -289,6 +307,9 @@ You can switch back to the workspace mod + + true + Renamed files @@ -297,6 +318,9 @@ You can switch back to the workspace mod + + true + Missing files @@ -305,6 +329,9 @@ You can switch back to the workspace mod + + true + Unknown files @@ -353,6 +380,9 @@ You can switch back to the workspace mod + + true + Ignored files ============================================================ --- guitone/res/i18n/guitone_de.ts 5861fddfc07e8d18c75fb918b7ace3021a971bfa +++ guitone/res/i18n/guitone_de.ts 2f4b9e55dd9664deafd756e7b42966c6dab8a1fd @@ -567,27 +567,27 @@ MainWindow - + View Ansicht - + Help Hilfe - + Workspace Arbeitsbereich - + File Datei - + Recent Workspaces Vorherige Arbeitsbereiche @@ -602,7 +602,7 @@ Strg+O - + No previous workspaces available. Keine vorherigen Arbeitsbereiche verfügbar. @@ -637,137 +637,137 @@ Strg+H - + All files Alle Dateien - + A A - + All changed files Alle geänderten Dateien - + C G - + Patched files Inhaltlich geänderte Dateien - + P P - + Added files Hinzugefügte Dateien - + N H - + Removed files Entfernte Dateien - + D E - + Renamed files Umbenannte Dateien - + R U - + Missing files Fehlende Dateien - + M F - + Unknown files Unbekannte Dateien - + U K - + Ignored files Ignorierte Dateien - + I I - + Expand tree Baum aufklappen - + Ctrl+T Strg+T - + Switch revision Revision wechseln - + Ctrl+R Strg+R - + Key management Schlüsselverwaltung - + Ctrl+K Strg+K - + About Qt Über Qt - + About guitone Über guitone - + Show Zeige @@ -827,12 +827,12 @@ Zeige ignorierte Dateien - + Collapse tree Baum zuklappen - + &%1 %2 &%1 %2 @@ -842,27 +842,27 @@ Der Pfad zur ausführbaren Datei von monotone ist entweder ungültig oder zeigt auf eine ältere Version von monotone. Guitone benötigt monotone Version %1 oder ein monotone mit einer Interface-Version %2 oder neuer. - + Recent Databases Vorherige Datenbanken - + Open Database Datenbank öffnen - + No previous databases available. Keine vorherigen geöffneten Datenbanken verfügbar. - + Database Datenbank - + Ctrl+Shift+O Strg+Shift+O @@ -887,12 +887,12 @@ Keine Datenbank geladen - + Ctrl+B Strg+B - + Changeset browser Änderungen-Browser ============================================================ --- guitone/src/view/MainWindow.cpp 9684e845cb9ea5792722475b2ea3f78c4192640c +++ guitone/src/view/MainWindow.cpp 7c815e194238287d2253ae81d76627724e6fa733 @@ -350,6 +350,18 @@ void MainWindow::on_menuShow_triggered(Q (InventoryProxyModel::ViewOption) act->data().toInt(); proxyModelFolderTree->setViewOption(opt); proxyModelFileList->setViewOption(opt); + + // disable any previous action and check the new action entry + QList assocWidgets = act->associatedWidgets(); + Q_ASSERT(assocWidgets.size() > 0); + // we assume that this action is only assigned to one widget and that + // is the QMenu widget we need to find out all the other actions + QList list = assocWidgets[0]->actions(); + for (int i=0, j=list.size(); isetChecked(false); + } + act->setChecked(true); } void MainWindow::on_actionExpand_tree_triggered()