You are not logged in.

#1 2013-04-10 16:31:44

sollidsnake
Member
Registered: 2012-01-30
Posts: 107

[SOLVED] GVim: Non-integrated scroll bar

Hello!
My GVim shows a xterm like scrollbar instead of the gtk default one. Here's a screenshot:
http://imm.io/12uVp

I want it to use the default system scrollbar, like in gedit for example:
http://imm.io/12uWH

Does anybody know the why of this behavior?

Last edited by sollidsnake (2013-04-10 19:40:58)


Non serviam

Offline

#2 2013-04-10 18:47:48

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] GVim: Non-integrated scroll bar

Probably gtk2 vs. gtk3.

Offline

#3 2013-04-10 19:40:14

sollidsnake
Member
Registered: 2012-01-30
Posts: 107

Re: [SOLVED] GVim: Non-integrated scroll bar

Raynman wrote:

Probably gtk2 vs. gtk3.

I spent hours trying to figure this out. I even tried recompiling vim from source. And in the end it turns out I had this on my gtkrc:

style "vim-scrollbar" = "scrollbar" {
	GtkScrollbar	::slider_width		= 16
	GtkScrollbar	::stepper_size		= 16

	engine "pixmap" {
		image {
			function	= BOX
			orientation	= VERTICAL
			file		= "assets/scroll-background.png"
		}
	}
}
widget "vim-main-window.*Scrollbar*"	style "vim-scrollbar"

Shame on me. Removing those lines from the gtkrc did the trick

Thanks for the help. I'll mark it as solved

Last edited by sollidsnake (2013-04-10 19:41:45)


Non serviam

Offline

Board footer

Powered by FluxBB