Coder Social home page Coder Social logo

Comments (6)

bernharl avatar bernharl commented on August 19, 2024 1

Yeah, I built it into a local directory using DESTDIR anyway :)

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Thank you!

how do I add those?

During installation, definitions should be copied to /usr/share/nwg-drawer/desktop-directories. Icon names are defined in the same way as in .desktop files. See this folder. Button images are being set with:

button, _ = gtk.ButtonNewFromIconName(cat.Icon, gtk.ICON_SIZE_MENU)

so you should always see an icon, or "image-missing" if name not found.

Don't you see icons at all? I've just realized, that I didn't set AlwaysShowImage in this place, so you may see no icons if your Gtk theme forces this. Check your ~/.config/gtk-3.0/settings.ini for the gtk-button-images value. Let me know if you find the culprit.

from nwg-drawer.

bernharl avatar bernharl commented on August 19, 2024

Don't you see icons at all?

No, just text. I've attached a screenshot.
screenshot_2021-07-20_19-41-16_944823315

Check your ~/.config/gtk-3.0/settings.ini for the gtk-button-images value.

I do not have this file at all. I set my gtk theme to breeze-gtk.
I do have the file /usr/share/themes/Breeze/settings.ini, though.
It contains:

gtk-cursor-theme-name=breeze_cursors
gtk-modules=colorreload-gtk-module
gtk-error-bell=0

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Will you be able to clone and build from GitHub directly, to check if adding the missing line of code helps?

from nwg-drawer.

bernharl avatar bernharl commented on August 19, 2024

Will you be able to clone and build from GitHub directly, to check if adding the missing line of code helps?

Cloning and building from Master works. The icons now show, thank you!
When will you do a new release?

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Well, what I'm working on at the moment, won't be finished soon, if at all. I'll release the current Master tonight. You'll need to uninstall what you built, and install the package, of course.

from nwg-drawer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.