KIO: try to assign an icon to action submenus

2020-03-06 Thread Chloe Kudryavtsev
Currently, action submenus (X-KDE-Submenu) have no icons. This patch makes it inherit the icon of the first action. There will always be at least one action, since empty submenus are eliminated earlier in the function. If the icon of the first action is empty, it will gracefully revert to old

Re: KIO: try to assign an icon to action submenus

2020-03-13 Thread Chloe Kudryavtsev
On 3/13/20 2:18 PM, David Faure wrote: > On mardi 3 mars 2020 18:29:47 CET Chloe Kudryavtsev wrote: >> Currently, action submenus (X-KDE-Submenu) have no icons. >> This patch makes it inherit the icon of the first action. > > I wonder if this is always wanted? The icon for t

Re: KIO: try to assign an icon to action submenus

2020-03-15 Thread Chloe Kudryavtsev
On 3/15/20 12:19 PM, David Faure wrote: > On vendredi 13 mars 2020 21:19:42 CET Chloe Kudryavtsev wrote: >> On 3/13/20 2:18 PM, David Faure wrote: >>> On mardi 3 mars 2020 18:29:47 CET Chloe Kudryavtsev wrote: >>>> Currently, action submenus (X-KDE-Submenu) have n