@@ -1002,7 +1002,7 @@ Item {
1002 Component {
1002 Component {
1003 id: buttonSectionMenu;
1003 id: buttonSectionMenu;
1005− Menus.StandardMenu {
1005+ Menus.ButtonMenu {
1006 objectName: "buttonSectionMenu"
1006 objectName: "buttonSectionMenu"
1007 property QtObject menuData: null
1007 property QtObject menuData: null
1008 property var menuModel: menuFactory.menuModel
1008 property var menuModel: menuFactory.menuModel
@@ -1014,6 +1014,7 @@ Item {
1014 highlightWhenPressed: false
1014 highlightWhenPressed: false
1015 text: menuData && menuData.label || ""
1015 text: menuData && menuData.label || ""
1016 foregroundColor: theme.palette.normal.backgroundText
1016 foregroundColor: theme.palette.normal.backgroundText
1017+ buttonText: getExtendedProperty(extendedData, "xCanonicalExtraLabel", "")
1018 onMenuModelChanged: {
1019 onMenuModelChanged: {
1019 loadAttributes();
1020 loadAttributes();
@@ -1026,14 +1027,7 @@ Item {
1026 menuModel.loadExtendedAttributes(menuIndex, {'x-canonical-extra-label': 'string'});
1027 menuModel.loadExtendedAttributes(menuIndex, {'x-canonical-extra-label': 'string'});
1030− objectName: "buttonSectionMenuControl"
1031− text: getExtendedProperty(extendedData, "xCanonicalExtraLabel", "")
1034− menuModel.activate(menuIndex);
1030+ onButtonClicked: menuModel.activate(menuIndex);