emelFM2: Ticket #100: Discard button icon missing – 0.7.2 https://emelfm2.net/ticket/100 <p> Discard button icon is missing in in the configuration menu. </p> <p> All the other icons are in place. </p> <p> I have gtk-discard_20.png in /usr/share/pixmaps/emelfm2. </p> <p> Compiled from source on <a class=”missing wiki” href=”https://emelfm2.net/wiki/VectorLinux” rel=”nofollow”>VectorLinux?</a> 6.0 Light with prefix=/usr/share/emelfm2 </p> en-us emelFM2 /images/icon_emelfm2_048.png https://emelfm2.net/ticket/100 Trac 0.11.1 TomPh Tue, 18 May 2010 02:31:21 GMT comment added; status changed https://emelfm2.net/ticket/100#comment:1 https://emelfm2.net/ticket/100#comment:1 <ul> <li><strong>status</strong> changed from <em>new</em> to <em>accepted</em> </li> </ul> <p> Do you mean the button in the configuration dialog? Or some other menu ? If so, which one ? </p> Ticket budulay Tue, 18 May 2010 23:58:22 GMT comment added; attachment set https://emelfm2.net/ticket/100 https://emelfm2.net/ticket/100 <ul> <li><strong>attachment</strong> set to <em>discard_button.jpg</em> </li> </ul> Ticket budulay Tue, 18 May 2010 23:59:21 GMT comment added https://emelfm2.net/ticket/100#comment:2 https://emelfm2.net/ticket/100#comment:2 <p> It’s the discard button in the configuration dialog. I’ve attached a screenshot. </p> Ticket budulay Wed, 19 May 2010 03:21:01 GMT comment added https://emelfm2.net/ticket/100#comment:3 https://emelfm2.net/ticket/100#comment:3 <p> just noticed that the icon is also missing in the confirm dialog(when I edit a file with F4 and then quit the editing without saving it, the dialog pops up asking me to save, discard changes or cancel the quit). </p> Ticket TomPh Wed, 19 May 2010 10:58:40 GMT comment added https://emelfm2.net/ticket/100#comment:4 https://emelfm2.net/ticket/100#comment:4 <p> OK, it’s only in buttons, not in something you’ve configured yourself. </p> <p> The discard icon is actually a stock gtk icon, supposed to be available since gtk 2.14. In practice, gtk has never (to now) actually included such an icon, and I suspect that icon-themers don’t bother either. During an emelfm2 session, the discard icon provided with emelfm2 is registered as a gtk stock icon, <strong>if</strong> a discard icon is not then available from gtk. This process was intended to be a temporary workaround until gtk got its act together, but maybe that’ll never happen. I submitted the icon to gtk bugzilla, but the devs seem to have no interest in this. </p> <p> Anyway, two possibilities occur to me: 1. your system reports that it can already access a GTK_STOCK_DISCARD, even when it’s blank or something, and therefore the emelfm2 icon is not registered. If this is the case, then I can’t think of anything we can do about it. 2. the registration process is not working properly. You mentioned that you have /usr/share/pixmaps/emelfm2/gtk-discard_20.png. What is your #define for ICON_DIR in file … src/build/build.h ? It would need to be consistent i.e. /usr/local/share/pixmaps/emelfm2 </p> Ticket budulay Wed, 19 May 2010 21:11:23 GMT comment added; resolution set; status changed https://emelfm2.net/ticket/100#comment:5 https://emelfm2.net/ticket/100#comment:5 <ul> <li><strong>status</strong> changed from <em>accepted</em> to <em>closed</em> </li> <li><strong>resolution</strong> set to <em>fixed</em> </li> </ul> <p> The #define path was wrong. I recompiled with PREFIX=/usr/ and it found all the icons right away. </p> <p> The strange thing is, I set the icon directory to /usr/share/pixmaps/emelfm2 under the interface tab, and it found all of them except for the discard one. </p> <p> Thank you for your help and sorry for bothering you with such a silly problem. And thanks a lot for bringing us this awesome file manager. </p> <p> Will reupload the package to the repository now. </p> Ticket TomPh Thu, 20 May 2010 09:41:30 GMT comment added https://emelfm2.net/ticket/100#comment:6 https://emelfm2.net/ticket/100#comment:6 <p> The strange thing is… FYI, presumably you had compiled it for some ‘preface’ other than /usr, and installed, and defaulted to looking for, all custom icons accordingly. But in your config you over-rode the default with /usr…, probably associated with some older installation, where there was no discard icon until your latest build and install. HTH </p> Ticket budulay Thu, 20 May 2010 18:04:17 GMT comment added https://emelfm2.net/ticket/100#comment:7 https://emelfm2.net/ticket/100#comment:7 <p> Well, actually I did make install with a different prefix than make(not even sure how I came up with that). So I had all the icons in /usr/share/pixmaps/emelfm2 , including the discard one. But then I had to use custom icon directory to get all the icons working, and on top of that enable all the plugins manually. In the end everything worked but the discard icon. </p> Ticket