Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-04-10 15:21:25

grassmunk
Member
Registered: 2016-04-10
Posts: 4

Panel Whisker Button

I'm in the process of trying to make a theme using pixmaps. I'd like the button theme I'm using to  be shown on top of the whisker panel item. I'm able to get it to work for the tasklist (after turning on show button labels). Is there a secret setting for whisker to turn this on? I can't seem to get it to work, here's part of my panel.rc

style "whiskerbutton"
{
 xthickness            			= 5
 ythickness            			= 2

	GtkWidget::focus_padding = 2

	engine "pixmap" {
        image
	{
		function			= BOX
		detail				= "buttondefault"
		file				= "panel/panel-bg.png"
		stretch				= TRUE
	}

	image
	{
		function        		= BOX
		recolorable     		= TRUE
		state				= NORMAL
		file            		= "panel/panel-bg.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	}
		
	image
	{
		function        		= BOX
		shadow				= OUT
		recolorable     		= TRUE
		state				= PRELIGHT
		file            		= "panel/panel-bg.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	}		

	image
	{
		function        		= BOX
		recolorable     		= TRUE
		shadow				= IN
		state				= PRELIGHT
		file            		= "panel/panel-bg.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	}
		

	image
	{
		function        		= BOX
		recolorable     		= TRUE
		state				= ACTIVE
		file            		= "panel/go.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	}  

	image
	{
		function        		= BOX
		recolorable     		= TRUE
		state				= INSENSITIVE
		file            		= "panel/panel-bg.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	} 

	image
	{
		function        		= BOX
		recolorable     		= TRUE
		state				= SELECTED
		file            		= "panel/panel-bg.png"
		border          		= { 3, 3, 3, 3 }
		stretch         		= TRUE
	}  

}

}


widget "*Xfce*Panel*isker" style "whiskerbutton"

Offline

#2 2016-04-10 15:51:27

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Panel Whisker Button

change

widget "*Xfce*Panel*isker" style "whiskerbutton"

to

widget"*whiskermenu-button"style"whiskerbutton"

and it should work.

Offline

#3 2016-04-10 23:40:43

grassmunk
Member
Registered: 2016-04-10
Posts: 4

Re: Panel Whisker Button

Just tried that and unfortunately no change. I also tried adding spaces:

widget "*whiskermenu-button" style "whiskerbutton"

Offline

#4 2016-04-11 17:50:09

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Panel Whisker Button

it works except for the normal state(the only way to get the normal state themed is to theme all xfce-panel>GtkToggleButton's)

Offline

#5 2016-04-11 22:13:06

grassmunk
Member
Registered: 2016-04-10
Posts: 4

Re: Panel Whisker Button

How exactly would I do that?

Offline

#6 2016-04-14 21:03:41

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Panel Whisker Button

>How exactly would I do that?

It wouldn't make sense since you would theme all other buttons on the panel(eg normal buttons etc.)

Last edited by sixsixfive (2016-04-14 21:03:50)

Offline

#7 2016-04-20 13:32:22

grassmunk
Member
Registered: 2016-04-10
Posts: 4

Re: Panel Whisker Button

I'm actually fine with that.

Offline

Board footer

Powered by FluxBB