Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-03-2008, 04:55 PM   #1 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Gtkrc Help Needed.


I have a theme called Samui,
http://www.opendesktop.org/content/s...?content=41263

Everything is fine with the theme, except the part that , it shows large icons on popup menus.
Could someone tell me how to change the size of the images displayed on popup menus?

Thanx,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-03-2008, 07:21 PM   #2 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Gtkrc Help Needed.

Add this line to gtkrc file:

gtk-icon-sizes = "panel-menu=20,20anel=16,16:gtk-button=24,24:gtk-large-toolbar=30,30"

Customize the size according to your preferences.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is online now  
Old 14-03-2008, 08:54 AM   #3 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^Thanx, but i kinda fiddled with the theme yesterday night and got it working.

P.S : How abt writing a "How to make gtk+ themes?"
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 14-03-2008, 10:45 AM   #4 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Gtkrc Help Needed.

Actually it'd be a real tuff job. It would vary for engine to engine. And gtk theming part is the worst component of gtk when it comes to documentation. No practically useful documentation exists!
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is online now  
Old 14-03-2008, 10:46 AM   #5 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^Yeah , that was the reason why i asked you for a how-to.
I tried to get a decent how-to on the net, but even after half-an-hour of searching, i coudnt find a single one.

Wonder how all these themer's started their theming days?
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 14-03-2008, 11:01 AM   #6 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Gtkrc Help Needed.

Quote:
Originally Posted by rayraven View Post
^Yeah , that was the reason why i asked you for a how-to.
I tried to get a decent how-to on the net, but even after half-an-hour of searching, i coudnt find a single one.
Thats coz, as I said, none exists!!

Quote:
Originally Posted by rayraven View Post
Wonder how all these themer's started their theming days?
Ask me
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is online now  
Old 14-03-2008, 11:08 AM   #7 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^ I was asking you
Though in a wierd and cryptic way
Should've written ,"Points finger up" with the prev post
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 15-03-2008, 12:29 PM   #8 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: Gtkrc Help Needed.

offtopic : @ray, i have made the samui icon theme to work with new gnome version.
you may want to have a look.

http://www.mediafire.com/download.php?12mnytdpkip
__________________
http://abhinandh.com
abhinandh is offline  
Old 17-03-2008, 09:02 AM   #9 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^Thanx , but i use Xfce , and the set from gnome-look works fine with no modifications.
__________________
Do what you will; but not because you must. -- Zen Quote

Last edited by ray|raven; 18-03-2008 at 11:04 AM.
ray|raven is offline  
Old 18-03-2008, 11:05 AM   #10 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

Guys, I need a no frills color chooser app, having to run gimp to just to know the hex of a color is crappy.
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 18-03-2008, 11:44 AM   #11 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: Gtkrc Help Needed.

for gnome gcolor2 is great.
can't recollect anything for Xfce.
__________________
http://abhinandh.com
abhinandh is offline  
Old 18-03-2008, 11:47 AM   #12 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^Just what i was looking for.
Thanx, its a gtk+ app and needs no gnome deps.
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 24-07-2008, 09:05 AM   #13 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

Ok , First up, Apologies for bumping an old thread.
But i figured a new thread is pretty much useles for the small query i had.

As for the question,
What widget class do i have to set style to , to theme the handles on the panel?
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 24-07-2008, 01:32 PM   #14 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Gtkrc Help Needed.

Handles on the panel?? Cudn't get you...
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is online now  
Old 24-07-2008, 01:38 PM   #15 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

By Handles i mean the grip like thingies that appear as the seperators and also before and after the system tray and others.

Sorry, dont know how else to explain.
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 24-07-2008, 02:11 PM   #16 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Gtkrc Help Needed.

Oh yes.. thats called handle alrite I'll show a sample here using the pixmap engine. The widget class is GtkHandleBox :

style "myhandlebox" = "default"

{
engine "pixmap"

{
image
{
function = SHADOW
}

image
{
function = HANDLE
recolorable = TRUE
overlay_file = "handle-vertical.png"
overlay_stretch = FALSE
orientation = VERTICAL
}

image
{
function = HANDLE
overlay_file = "handle-horizontal.png"
overlay_stretch = FALSE
orientation = HORIZONTAL

}

}
}

class "GtkHandleBox" style "myhandlebox"

You can use the relevant pixmap. If you wanna use default one then use something like clearlooks/aurora/murrina engine. Hope this helps
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is online now  
Old 24-07-2008, 02:24 PM   #17 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Gtkrc Help Needed.

^Ah Thanx .
Ill try it and let you know if it works.
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed. Things needed to connect SATA HDD to... prashantmaxsteel Hardware Q&A 3 21-11-2007 12:26 PM
help needed from all easwaran Software Q&A 6 24-07-2006 06:53 AM
needed 2 buy a good camera????? help needed.. The Day Walker! Cameras and camcorders 5 02-07-2005 04:43 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:03 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2