Recent

Author Topic: Menu Icons on GTK2?  (Read 6934 times)

snorkel

  • Hero Member
  • *****
  • Posts: 817
Menu Icons on GTK2?
« on: September 22, 2012, 12:15:40 am »
Hi,
I installed Lazarus on Kubuntu and when I compiled my project which I had been working on in the
win32 widget set all the menu icons in the app(main and popups) don't show the icons.

Any ideas?

Thanks,

Snorkel
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Menu Icons on GTK2?
« Reply #1 on: September 22, 2012, 11:19:47 am »
Just a friendly request: regardless of anything else, could you please start mentioning your Lazarus+FPC+OS version?

Sorry, no idea about your question; you could check the bugtracker. A quick glance at the Restriction Browser in Lazarus did not seem to give sensible results; you may have more luck (or perform a better search than me).

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Menu Icons on GTK2?
« Reply #2 on: September 22, 2012, 11:32:08 am »
I also have no idea. I can only guess: missing libpng.so or similar. Are the icons part of TImageList ? Do you run Qt (you have libQpas.so.x.x.x) or GTK2 ?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Re: Menu Icons on GTK2?
« Reply #3 on: September 22, 2012, 11:38:55 am »
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Menu Icons on GTK2?
« Reply #4 on: September 22, 2012, 06:30:59 pm »
Sorry about the version info guys, was in a rush at work :-)

OS Kubuntu 12.04
Lazarus 1.0 installed from the debs here: http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%201.0/

The ide does not have menu items either will attach a screen shot.

I also rebuilt it with QT to see if it had icons with that widget set and it does, rebuilt with GTk2 and no menu icons in IDE or apps

It looks like it is the Oxygen theme messing up the icons as indicated in the link in the last post.  Will probably use the QT widget set for now.

Thanks for the help.
« Last Edit: September 22, 2012, 06:33:59 pm by snorkel »
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Re: Menu Icons on GTK2?
« Reply #5 on: September 22, 2012, 07:35:44 pm »
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Menu Icons on GTK2?
« Reply #6 on: September 24, 2012, 05:28:30 pm »
Looks like that would be a good work around for the IDE, but what about when I want to deploy my app and a user is on
kbunutu?   Might be better to just make two builds of the app, one for GTK2 and one for QT.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

 

TinyPortal © 2005-2018