Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 13f5dcef5358e9d5a2a5a1ae6baf28fc > files > 126

gtkdialog-0.8.3-1.mga5.x86_64.rpm

#!/bin/sh

## Includes.
. functmpSet

## Create a custom style for specific widgets.

funcgtkrcCreate() {
	if [ -z "$BASH" ]; then local FUNCNAME=funcgtkrcCreate; fi
	if [ $DEBUG_TRANSITS -ne 0 ]; then echo "$FUNCNAME(): IN"; fi

	functmpSet gtkrc '
style "styleTabsImages" {
	bg[NORMAL] = "#000000"
}
widget "*TabsImages" style "styleTabsImages"

style "styleTabReadme" {
	text[NORMAL] = "'$ReadmeForeground'"
	base[NORMAL] = "'$ReadmeBackground'"
	font_name = "'"$ReadmeFontName"'"
}
widget "*TabReadme" style "styleTabReadme"

style "styleTabOutput" {
	text[NORMAL] = "'$OutputForeground'"
	base[NORMAL] = "'$OutputBackground'"
	font_name = "'"$OutputFontName"'"
}
widget "*TabOutput" style "styleTabOutput"

style "styleAboutHeader" {
	bg[NORMAL] = "#608080"
}
widget "*AboutHeader" style "styleAboutHeader"

style "styleHelpText" {
	font_name = "Monospace"
}
widget "*HelpText" style "styleHelpText"
'
	GTK2_RC_FILES=$TEMP_DIR/gtkrc:~/.gtkrc-2.0

	if [ $DEBUG_TRANSITS -ne 0 ]; then echo "$FUNCNAME(): OUT"; fi
}