GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Aug 01, 2014 5:44 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Glade dont shows icons on buttons
PostPosted: Sun Dec 18, 2011 4:27 pm 
Offline

Joined: Sun Dec 18, 2011 4:04 pm
Posts: 2
Hello,

im a beginner with Linux and Glade. I have installed Ubuntu 11.10 64Bit and Glade 3.10.0

I have created new project, added a window and a grid, i have put a button to the grid and have tried 3 different ways to add a picture to this button:

1) i have choosen a builtin-button with the name "gtk-goto-top", on the button properties window i can see an orange arrow, which is showing to the top. Normally i should see this icon on my programm, too, like here:
http://i626.photobucket.com/albums/tt34 ... 105439.png
But on my program this arrow is not visible, i just see the name of the button "Top".

2) i have added a picture widget to this button, and have choosen a picture from a file, but i still doesnt see any pictire on my program, just the button name.

3) i have deleted the button name / text, after this is have seen the icon of this button, but how can i add icon AND text to the button?


Top
 Profile  
 
 Post subject: Re: Glade dont shows icons on buttons
PostPosted: Mon Dec 19, 2011 5:49 pm 
Offline
GTK+ Guru

Joined: Fri Mar 25, 2011 5:16 pm
Posts: 177
Location: USA
I'm running Ubuntu 11.04 (natty 64 bit AMD) with Glade 3.10.0, I had this same problem and fixed it.

1) Go to the desktop, press alt+F2, The "Run Application" box will appear.

2) Type "gconf-editor" and press the "Run" button, (this will open the GConfEditor)

3) Expand the folder called: desktop

4) Expand the folder called: gnome

5) Click on the folder called: interface

6) In the right pane, click on the checkbox next to the category that says: buttons_have_icons

References:
http://lists.ximian.com/pipermail/glade-users/2011-November/005427.html
https://help.ubuntu.com/community/GConfEditor


Last edited by zerohour on Thu Dec 29, 2011 2:30 am, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Glade dont shows icons on buttons
PostPosted: Mon Dec 19, 2011 11:01 pm 
Offline

Joined: Sun Dec 18, 2011 4:04 pm
Posts: 2
Thank you for this, i have seen this solution on internet already. I have tried it already, but this doesnt work for me.
I have added a screenshot of the Glade user interface, there is no icon on the button, and i have added the preview of Glade and the gconfig settings to attachment the of this thread.

Do i need to change any theme?


Attachments:
gconfig.png
gconfig.png [ 106.82 KiB | Viewed 417 times ]
preview.png
preview.png [ 2.87 KiB | Viewed 417 times ]
glade_iu.png
glade_iu.png [ 95.85 KiB | Viewed 417 times ]
Top
 Profile  
 
 Post subject: Re: Glade dont shows icons on buttons
PostPosted: Mon Dec 19, 2011 11:54 pm 
Offline
GTK+ Guru

Joined: Fri Mar 25, 2011 5:16 pm
Posts: 177
Location: USA
Sorry it didn't work for you. I would try a GNOME Classic (No Effects) session. It might be Unity causing the problem.

http://www.webupd8.org/2011/08/installing-using-classic-gnome-desktop.html

http://www.omgubuntu.co.uk/2011/12/how-to-make-ubuntu-11-10-look-and-feel-like-gnome-2/

http://linux-software-news-tutorials.blogspot.com/2011/10/ubuntu-1110-oneiric-remove-unity-and.html

Other than that, I'm not sure. You could try posting on the glade mailing list or searching bugzilla (select glade in the product dropdown menu)
http://lists.ximian.com/mailman/listinfo/glade-users
https://bugzilla.gnome.org/query.cgi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group