After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742962 - [GMenuModel] icons does not unify their size
[GMenuModel] icons does not unify their size
Status: RESOLVED DUPLICATE of bug 741259
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-01-15 10:14 UTC by ria.freelander
Modified: 2015-01-15 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screen of bug. (85.73 KB, image/png)
2015-01-15 10:14 UTC, ria.freelander
Details

Description ria.freelander 2015-01-15 10:14:13 UTC
Created attachment 294586 [details]
Screen of bug.

When using GMenuModel, icons does not always resize to GtkIconSizeMenu.

Example model (from screenshot):

     <item label="Development">
        <attribute name="icon">applications-development</attribute>

        <link name="submenu">
          <item target="CMake.desktop" action="app.launch-id" label="CMake">
            <attribute name="icon">CMakeSetup32</attribute>
          </item>
          <item target="geany.desktop" action="app.launch-id" label="Geany">
            <attribute name="icon">geany</attribute>
          </item>
          <item target="anjuta.desktop" action="app.launch-id" label="Интегрированная среда разработки Anjuta">
            <attribute name="icon">anjuta</attribute>
          </item>
          <item target="qdbusviewer-qt4.desktop" action="app.launch-id" label="Qt4 QDbusViewer ">
            <attribute name="icon">qdbusviewer-qt4</attribute>
          </item>
          <item target="policytool.desktop" action="app.launch-id" label="OpenJDK Policy Tool">
            <attribute name="icon">java</attribute>
          </item>
          <item target="linguist-qt4.desktop" action="app.launch-id" label="Qt4 Linguist ">
            <attribute name="icon">linguist-qt4</attribute>
          </item>
          <item target="jconsole.desktop" action="app.launch-id" label="OpenJDK Monitoring &amp; Management Console">
            <attribute name="icon">java</attribute>
          </item>
          <item target="qtcreator.desktop" action="app.launch-id" label="Qt Creator">
            <attribute name="icon">QtProject-qtcreator</attribute>
          </item>
          <item target="qdbusviewer.desktop" action="app.launch-id" label="Qt QDbusViewer ">
            <attribute name="icon">qdbusviewer</attribute>
          </item>
          <item target="assistant.desktop" action="app.launch-id" label="Qt Assistant">
            <attribute name="icon">assistant</attribute>
          </item>
          <item target="devhelp.desktop" action="app.launch-id" label="Devhelp">
            <attribute name="icon">devhelp</attribute>
          </item>
          <item target="designer.desktop" action="app.launch-id" label="Qt Designer">
            <attribute name="icon">designer</attribute>
          </item>
          <item target="designer-qt4.desktop" action="app.launch-id" label="Qt4 Designer">
            <attribute name="icon">designer-qt4</attribute>
          </item>
          <item target="poedit.desktop" action="app.launch-id" label="Poedit">
            <attribute name="icon">poedit</attribute>
          </item>
          <item target="assistant-qt4.desktop" action="app.launch-id" label="Qt4 Assistant ">
            <attribute name="icon">assistant-qt4</attribute>
          </item>
          <item target="linguist.desktop" action="app.launch-id" label="Qt Linguist">
            <attribute name="icon">linguist</attribute>
          </item>
          <item target="glade.desktop" action="app.launch-id" label="Glade">
            <attribute name="icon">glade</attribute>
          </item>
          <item target="gda-browser-5.0.desktop" action="app.launch-id" label="Браузер базы данных">
            <attribute name="icon">gda-browser-5.0</attribute>
          </item>
        </link>
      </item>
Comment 1 Lars Karlitski 2015-01-15 10:54:37 UTC
This is fixed in master.

*** This bug has been marked as a duplicate of bug 741259 ***