@@ -343,7 +343,7 @@ FocusScope {
343 updateRanges();
343 updateRanges();
344 clickScopeSizingHacks();
344 clickScopeSizingHacks();
345 if (scope && (scope.id === "clickscope" || scope.id === "libertine-scope.ubuntu_libertine-scope")) {
345 if (scope && (scope.id === "clickscope" || scope.id === "libertine-scope.ubuntu_libertine-scope")) {
346− if (scope.id === "libertine-scope.ubuntu_libertine-scope" || categoryId === "predefined" || categoryId === "local") {
346+ if (isLibertineContainerCategory() || categoryId === "predefined" || categoryId === "local") {
347 cardTool.artShapeSize = Qt.binding(function() { return Qt.size(units.gu(8), units.gu(7.5)) });
347 cardTool.artShapeSize = Qt.binding(function() { return Qt.size(units.gu(8), units.gu(7.5)) });
348 cardTool.artShapeStyle = "icon";
348 cardTool.artShapeStyle = "icon";
@@ -366,10 +366,15 @@ FocusScope {
366 property int pxpgu: units.gu(1);
366 property int pxpgu: units.gu(1);
367 onPxpguChanged: clickScopeSizingHacks();
367 onPxpguChanged: clickScopeSizingHacks();
369+ // Returns true if the current category pertains to a Libertine container
370+ function isLibertineContainerCategory() {
371+ return scope && scope.id === "libertine-scope.ubuntu_libertine-scope" && categoryId !== "hint";
369 function clickScopeSizingHacks() {
374 function clickScopeSizingHacks() {
370 if (scope &&
375 if (scope &&
371 ((scope.id === "clickscope" && (categoryId === "predefined" || categoryId === "local")) ||
376 ((scope.id === "clickscope" && (categoryId === "predefined" || categoryId === "local")) ||
372− scope.id === "libertine-scope.ubuntu_libertine-scope")) {
377+ isLibertineContainerCategory())) {
373 // Yeah, hackish :/
378 // Yeah, hackish :/
374 if (scopeView.width > units.gu(45)) {
379 if (scopeView.width > units.gu(45)) {
375 if (scopeView.width >= units.gu(70)) {
380 if (scopeView.width >= units.gu(70)) {