Commit da984766 by Ruben Rodriguez

Added extra/ldm-trisquel-theme, updated…

Added extra/ldm-trisquel-theme, updated trisquel-base-data-4.5,trisquel-desktop-common-data-4.5,extra/flashvideoreplacer
parent aa1822ac
trisquel-base-data (4.5-4) slaine; urgency=low
* removed preinst script
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 14 Apr 2011 20:29:33 +0200
trisquel-base-data (4.5-3) slaine; urgency=low
* Changed priority and section
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 14 Apr 2011 18:32:43 +0200
trisquel-base-data (4.5-2) slaine; urgency=low
* Added a hack to fix https://trisquel.info/en/forum/update-issues-clean-install
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 14 Apr 2011 14:16:54 +0200
trisquel-base-data (4.5-1) slaine; urgency=low
* Updated apt list generator
......
#!/bin/bash
if [ -f /etc/bash_completion ]
then
grep -q desinstala /etc/bash_completion && rm /etc/bash_completion
fi
exit 0
......@@ -8,6 +8,14 @@
</dir>
</dir>
<dir name="apps">
<!-- Default icon -->
<dir name="gdm">
<dir name="simple-greeter">
<entry name="logo_icon_name" mtime="1268856091" type="string">
<stringvalue>distributor-logo</stringvalue>
</entry>
</dir>
</dir>
<!-- Show unread number on tray icon -->
<dir name="liferea">
<entry name="trayicon-new-count" mtime="1284653624" type="bool" value="true"/>
......
trisquel-desktop-common-data (4.5-2) slaine; urgency=low
* Added /apps/gdm/simple-greeter/logo_icon_name gcond entry
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 14 Apr 2011 21:39:04 +0200
trisquel-desktop-common-data (4.5-1) slaine; urgency=low
* Changed defaults back to gthumb
......
......@@ -33,6 +33,8 @@
type="bool" />
<preference id="pref_alertserror" name="extensions.flvideoreplacer.alertserror"
type="bool" />
<preference id="pref_alertstips" name="extensions.flvideoreplacer.alertstips"
type="bool" />
<preference id="pref_method" name="extensions.flvideoreplacer.method"
type="string" />
<preference id="pref_delay" name="extensions.flvideoreplacer.delay"
......@@ -63,6 +65,8 @@
type="bool" />
<preference id="pref_fallback" name="extensions.flvideoreplacer.fallback"
type="string" />
<preference id="pref_downdta" name="extensions.flvideoreplacer.downdta"
type="bool" />
</preferences>
<vbox style="width:390px;height:300px;overflow:auto;" flex="1">
......@@ -305,6 +309,8 @@
<hbox>
<checkbox label="&SilentDownload;" preference="pref_silentdownload" id="silentdownload" size="30" />
<spacer width="10" flex="0" />
<checkbox label="&DownWithDTA;" preference="pref_downdta" id="downdta" size="30" />
<spacer width="10" flex="0" />
</hbox>
<spacer height="15" flex="0" />
</vbox>
......@@ -357,7 +363,7 @@
</vbox>
<vbox>
<spacer height="15" flex="0" />
<caption label="&Alerts;" />
<caption label="&EnableAlerts;" />
<spacer height="5" flex="0" />
<hbox>
<checkbox label="&EnableErrorAlerts;" preference="pref_alertserror"
......@@ -365,6 +371,9 @@
<spacer width="5" flex="0" />
<checkbox label="&EnableInfoAlerts;" preference="pref_alertsinfo"
id="alertsinfo" size="30" />
<spacer width="5" flex="0" />
<checkbox label="&EnableTipAlerts;" preference="pref_alertstips"
id="alertstips" size="30" />
<spacer width="10" flex="1" />
</hbox>
<spacer height="15" flex="0" />
......
......@@ -25,7 +25,7 @@
label="&FlashVideoReplacerTitle;" tooltiptext="&FlashVideoReplacerTitle;"
popup="flvideoreplacer-contextmenu"
onclick="flvideoreplacerListener.menuClickDetect(event);"
class="toolbarbutton-1 chromeclass-toolbar-additional toolbaractive"/>
class="toolbarbutton-1 chromeclass-toolbar-additional toolbarnosupport"/>
</toolbarpalette>
<popupset>
......
......@@ -43,6 +43,12 @@ var flvideoreplacerFirstrun = {
.getService(Components.interfaces.nsIPrefService)
.getBranch("extensions.flvideoreplacer.");
//get localization
var strbundle = document.getElementById("flvideoreplacerstrings");
var enabledstring = strbundle.getString("enabled");
var notsupportedstring = strbundle.getString("notsupported");
var disabledstring = strbundle.getString("disabled");
// firstrun, update and current declarations
var ver = -1, firstrun = true, current = aVersion, dir;
......@@ -82,7 +88,7 @@ var flvideoreplacerFirstrun = {
// extension updates
if (!ver.match(/2\..*/)) {
// add toolbar button
var navbar = document.getElementById("nav-bar");
var newset = navbar.currentSet + ",flvideoreplacer-toolbar-button";
......@@ -112,9 +118,25 @@ var flvideoreplacerFirstrun = {
var enabled = this.prefs.getBoolPref("enabled");
// toggle toolbar button style
if (enabled === true) {
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('class', "toolbarbutton-1 chromeclass-toolbar-additional toolbaractive");
var url = gBrowser.currentURI.spec;
if(url.match(/youtube\.com/)
|| url.match(/vimeo\.com/)
|| url.match(/metacafe\.com/)
|| url.match(/blip\.tv/)
|| url.match(/ustream\.tv/)
|| url.match(/youporn\.com/)
|| url.match(/pornhub\.com/)
|| url.match(/redtube\.com/)
){
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('class',"toolbarbutton-1 chromeclass-toolbar-additional toolbaractive");
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('tooltiptext',enabledstring);
}else{
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('class',"toolbarbutton-1 chromeclass-toolbar-additional toolbarnosupport");
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('tooltiptext',notsupportedstring);
}
} else {
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('class', "toolbarbutton-1 chromeclass-toolbar-additional toolbarinactive");
document.getElementById("flvideoreplacer-toolbar-button").setAttribute('tooltiptext',disabledstring);
}
}
},
......@@ -163,7 +185,7 @@ var flvideoreplacerFirstrun = {
do {
hasmore = istream.readLine(line);
lines.push(line.value);
// check plugins by mime-type
var pluginflash = /Shockwave Flash/.test(line.value);
if (pluginflash === true) {
......@@ -432,9 +454,51 @@ var flvideoreplacerFirstrun = {
} else {
this.prefs.setBoolPref("playercustom", true);
}
},
checkTPE: function() {
//access preferences interface
this.prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService)
.getBranch("extensions.");
var enableditems;
//check enabled extensions
try{
enableditems = this.prefs.getCharPref("enabledAddons");
}catch(e){
enableditems = this.prefs.getCharPref("enabledItems");
}finally{
//access preferences interface
this.prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService)
.getBranch("extensions.flvideoreplacer.");
if (enableditems.match(/\{DDC359D1-844A-42a7-9AA1-88A850A938A8\}/)) {//dta
this.prefs.setBoolPref("dta",true);
}else{
this.prefs.setBoolPref("dta",false);
}
if (enableditems.match(/\{84b24861-62f6-364b-eba5-2e5e2061d7e6\}/)) {//mediaplayerconnectivity
this.prefs.setBoolPref("mpc",true);
}else{
this.prefs.setBoolPref("mpc",false);
}
if (enableditems.match(/\{3d7eb24f-2740-49df-8937-200b1cc08f8a\}/)) {//flashblock
this.prefs.setBoolPref("flashblock",true);
}else{
this.prefs.setBoolPref("flashblock",false);
}
}
}
};
//event listeners to call the functions when Firefox starts and closes
window.addEventListener("load",function(){ flvideoreplacerFirstrun.init(); },true);
window.addEventListener("load", function(e) { setTimeout(function () { flvideoreplacerFirstrun.checkTPE(); }, 100); }, false);
window.addEventListener("load", function(e) { setTimeout(function () { flvideoreplacerFirstrun.pluginCheck(); }, 150); }, false);
window.addEventListener("load", function(e) { setTimeout(function () { flvideoreplacerFirstrun.playerCheck(); }, 300); }, false);
var flvideoreplacerOptions = {
toggleTPE: function() {
//access preferences interface
this.prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService)
.getBranch("extensions.flvideoreplacer.");
//get plugin info
var dta = this.prefs.getBoolPref("dta");
if(dta === true){
document.getElementById("downdta").hidden = false;
}else{
document.getElementById("downdta").hidden = true;
}
},
toggleMime: function() {
//get osString
......@@ -580,5 +597,6 @@ var flvideoreplacerOptions = {
}
}
};
window.addEventListener("load",function(){ flvideoreplacerOptions.toggleTPE(); },true);
window.addEventListener("load",function(){ flvideoreplacerOptions.toggleMime(); },true);
window.addEventListener("load",function(){ flvideoreplacerOptions.togglePlayer(); },true);
\ No newline at end of file
......@@ -11,21 +11,24 @@
<!ENTITY Download "Herunterladen">
<!ENTITY Downloads "Downloads">
<!ENTITY DownloadDir "Speicherort">
<!ENTITY DownWithDTA "Download with DownThemAll">
<!ENTITY Embedded "Eingebettet">
<!ENTITY EmbeddedVideoDetection "Eingebettete Video Erkennung">
<!ENTITY EnableErrorAlerts "Fehlermeldungen aktivieren">
<!ENTITY EnableInfoAlerts "Infomeldungen aktivieren">
<!ENTITY Fallback "Fallback Player">
<!ENTITY EnableAlerts "Warnungen Aktivieren">
<!ENTITY EnableErrorAlerts "Fehlermeldungen">
<!ENTITY EnableInfoAlerts "Video Infomeldungenn">
<!ENTITY EnableTipAlerts "Tipps">
<!ENTITY Fallback "Ersatz Player">
<!ENTITY FlashVideoReplacerPreferences "FlashVideoReplacer Einstellungen">
<!ENTITY FlashVideoReplacerTitle "FlashVideoReplacer">
<!ENTITY ForcePluginMimeType "Plugin/MimeType">
<!ENTITY HIGH "HOCH">
<!ENTITY LOW "NIEDRIG">
<!ENTITY MEDIUM "MITTEL">
<!ENTITY Method "Preferred Method">
<!ENTITY Method "Bevorzugte Methode">
<!ENTITY NewTab "Neuer Tab">
<!ENTITY NewWin "Neues Fenster">
<!ENTITY NoThirdPartyPlugin "Do not use">
<!ENTITY NoThirdPartyPlugin "Verwenden Sie keine">
<!ENTITY OpenEmbedded "Öffne eingebundene videos">
<!ENTITY Other "Andere Video-Webseiten">
<!ENTITY PluginForce "Forciere Plugin-Kompatibilität">
......@@ -39,7 +42,7 @@
<!ENTITY SelectFile "Datei auswählen">
<!ENTITY SelectDir "Verzeichnis auswählen">
<!ENTITY SilentDownload "Im Hintergrund runterladen">
<!ENTITY Sites "Sites">
<!ENTITY Sites "Webseiten">
<!ENTITY Standalone "Extern">
<!ENTITY StandalonePlayer "Externer Player">
<!ENTITY SUPER "SUPER">
......
flvideoreplaceralert=FlashVideoReplacer Warnung!
flvideoreplacermessage=FlashVideoReplacer Mitteilung
flashblockbl=FVR now works with Flashblock!\nBlacklist this site to improve performance.
flashblockno=FVR now works with Flashblock!\nInstall it to improve performance.
flashblockbl=FVR funktioniert jetzt mit Flashblock!\nSetzen sie diese Seite auf die Blacklist um die Leistung zu verbessern.
flashblockno=FVR funktioniert jetzt mit Flashblock!\nInstallieren sie es um die Leistung zu verbessern.
videores=%1$S
original=Original HD [mp4]
standard=Standard Auflösung
......@@ -11,7 +11,9 @@ nobestplayer=***Fehler*** FlashVideoReplacer konnte keinen kompatiblen Videoplay
nostandalone=FlashVideoReplacer konnte das Video mit dem externen Player nicht laden. Bitte überprüfen Sie die Pfadangaben in den Einstellungen von FVR.
detectionadd=Erkannte Videos auf %1$S.
detectionremove=Videoerkennung auf %1$S ausschalten.
supported=FlashVideoReplacer funktioniert auf dieser Seite!
enabled=FlashVideoReplacer: aktiviert!
notsupported=FlashVideoReplacer funktioniert nicht auf dieser Seite!
disabled=FlashVideoReplacer: behindert!
embedded=Eingebunden
newtab=Neuer Tab
newwindow=Neues Fenster
......
......@@ -11,10 +11,13 @@
<!ENTITY Download "Download">
<!ENTITY Downloads "Downloads">
<!ENTITY DownloadDir "Download Destination">
<!ENTITY DownWithDTA "Download with DownThemAll">
<!ENTITY Embedded "Embedded">
<!ENTITY EmbeddedVideoDetection "Embedded video detection">
<!ENTITY EnableErrorAlerts "Enable error alerts">
<!ENTITY EnableInfoAlerts "Enable info alerts">
<!ENTITY EnableAlerts "Enable Alerts">
<!ENTITY EnableErrorAlerts "Errors">
<!ENTITY EnableInfoAlerts "Video Info">
<!ENTITY EnableTipAlerts "Tips">
<!ENTITY Fallback "Fallback Player">
<!ENTITY FlashVideoReplacerPreferences "FlashVideoReplacer Preferences">
<!ENTITY FlashVideoReplacerTitle "FlashVideoReplacer">
......
......@@ -11,7 +11,9 @@ nobestplayer=***Error*** FlashVideoReplacer could not detect any compatible stan
nostandalone=FlashVideoReplacer was not able load the video using a standalone player. Check if you have set the proper path to the player in the extension preferences.
detectionadd=Detect videos on %1$S
detectionremove=Do not detect videos on %1$S
supported=FlashVideoReplacer works on this site!
enabled=FlashVideoReplacer: enabled!
notsupported=FlashVideoReplacer does not work on this site!
disabled=FlashVideoReplacer: disabled!
embedded=Embedded
newtab=New Tab
newwindow=New Window
......
......@@ -11,10 +11,13 @@
<!ENTITY Download "Download">
<!ENTITY Downloads "Downloads">
<!ENTITY DownloadDir "Destino do Download">
<!ENTITY DownWithDTA "Baixar com DownThemAll">
<!ENTITY Embedded "Inserido">
<!ENTITY EmbeddedVideoDetection "Detecção de vídeos inseridos">
<!ENTITY EnableErrorAlerts "Habilitar alertas de erros">
<!ENTITY EnableInfoAlerts "Habilitar alertas informativos">
<!ENTITY EnableAlerts "Habilitar Alertas">
<!ENTITY EnableErrorAlerts "Erros">
<!ENTITY EnableInfoAlerts "Video Info">
<!ENTITY EnableTipAlerts "Dicas">
<!ENTITY Fallback "Player Reserva">
<!ENTITY FlashVideoReplacerPreferences "Preferências FlashVideoReplacer">
<!ENTITY FlashVideoReplacerTitle "FlashVideoReplacer">
......
......@@ -11,7 +11,9 @@ nobestplayer=***Erro*** FlashVideoReplacer não pôde detectar um player externo
nostandalone=FlashVideoReplacer não foi capaz de carregar o vídeo usando o player externo. Verifique se configurou apropriadamente o caminho para o player, nas preferências da extensão.
detectionadd=Detectar vídeos em %1$S
detectionremove=Não detectar vídeos em %1$S
supported=FlashVideoReplacer funciona neste site!
enabled=FlashVideoReplacer: habilitado!
notsupported=FlashVideoReplacer não funciona neste site!
disabled=FlashVideoReplacer: desabilitado!
embedded=Inserido
newtab=Nova Aba
newwindow=Nova Janela
......
......@@ -14,4 +14,8 @@
[iconsize="small"] .toolbarinactive
{-moz-image-region: rect( 0px 80px 16px 64px);}
.toolbarnosupport
{-moz-image-region: rect( 0px 104px 24px 80px);}
[iconsize="small"] .toolbarnosupport
{-moz-image-region: rect( 0px 120px 16px 104px);}
\ No newline at end of file
......@@ -6,8 +6,9 @@ pref("extensions.flvideoreplacer.metacafe", true);
pref("extensions.flvideoreplacer.bliptv", true);
pref("extensions.flvideoreplacer.ustream", true);
pref("extensions.flvideoreplacer.other", true);
pref("extensions.flvideoreplacer.alertsinfo", true);
pref("extensions.flvideoreplacer.alertsinfo", false);
pref("extensions.flvideoreplacer.alertserror", true);
pref("extensions.flvideoreplacer.alertstips", false);
pref("extensions.flvideoreplacer.method", "embedded");
pref("extensions.flvideoreplacer.promptmethod", "embedded");
......@@ -16,12 +17,13 @@ pref("extensions.flvideoreplacer.autolaunchplayer", false);
pref("extensions.flvideoreplacer.autolaunchwindow", false);
pref("extensions.flvideoreplacer.autolaunchtab", false);
pref("extensions.flvideoreplacer.delay", 0);
pref("extensions.flvideoreplacer.mimetype", "autodetect");
pref("extensions.flvideoreplacer.filemime", "video/mp4");
pref("extensions.flvideoreplacer.mimetype", "application/x-mplayer2");
pref("extensions.flvideoreplacer.filemime", "application/x-mplayer2");
pref("extensions.flvideoreplacer.videoquality", "MEDIUM");
pref("extensions.flvideoreplacer.preferwebm", false);
pref("extensions.flvideoreplacer.prefermp4", true);
pref("extensions.flvideoreplacer.downdir", "");
pref("extensions.flvideoreplacer.downdta", false);
pref("extensions.flvideoreplacer.silentdownload", false);
pref("extensions.flvideoreplacer.videourl", "");
pref("extensions.flvideoreplacer.fallback", "noplugin");
......@@ -46,3 +48,7 @@ pref("extensions.flvideoreplacer.playerqt", false);
pref("extensions.flvideoreplacer.playerbsp", false);
pref("extensions.flvideoreplacer.playerwmp", false);
pref("extensions.flvideoreplacer.playervlc", false);
pref("extensions.flvideoreplacer.dta", false);
pref("extensions.flvideoreplacer.mpc", false);
pref("extensions.flvideoreplacer.flashblock", false);
......@@ -4,7 +4,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>flvideoreplacer@lovinglinux.megabyet.net</em:id>
<em:version>2.1.5</em:version>
<em:version>2.1.9pre3</em:version>
<em:type>2</em:type>
<em:optionsURL>chrome://flvideoreplacer/content/options.xul</em:optionsURL>
<em:name>FlashVideoReplacer</em:name>
......@@ -16,7 +16,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.5</em:minVersion>
<em:maxVersion>4.0.*</em:maxVersion>
<em:maxVersion>6.0a1</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
......
flashvideoreplacer (2.1.9pretrisquel1-1) slaine; urgency=low
* Updated settings
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Thu, 14 Apr 2011 20:47:06 +0200
flashvideoreplacer (2.1.9pretrisquel1) slaine; urgency=low
* New upstream version
-- Trisquel GNU/Linux developers <trisquel-devel@listas.trisquel.info> Sun, 10 Apr 2011 17:14:43 +0200
flashvideoreplacer (2.1.5trisquel1) slaine; urgency=low
* New version upstream
......
......@@ -13,5 +13,10 @@ rm -rf $TMP
sed -i s/HIGH/MEDIUM/ data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
sed -i 's/autolaunchembed", false/autolaunchembed", true/' data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
sed -i 's:video/mp4:application/x-mplayer2:' data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
sed -i 's:autodetect:application/x-mplayer2:' data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
sed -i 's/alertsinfo", true/alertsinfo", false/' data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
sed -i 's/alertstips", true/alertstips", false/' data/usr/share/xul-ext/flvideoreplacer/defaults/preferences/defaults.js
echo -n "Updated correctly, version tag is:"
grep em:version data/usr/share/xul-ext/flvideoreplacer/install.rdf
gtk-color-scheme = "bg_color: #f6f6f6\nfg_color: #000\nbase_color: #fff\ntext_color: #000\nselected_bg_color: #6484a4\nselected_fg_color: #fff\ntooltip_bg_color: #e5e5e5\ntooltip_fg_color: #000000"
style "industrial-default"
{
xthickness = 1
ythickness = 1
GtkWidget::interior_focus = 1
GtkButton::default_border = { 3, 3, 3, 3 }
GtkButton::default_outside_border = { 3, 3, 3, 3 }
GtkRange::trough_border = 0
GtkWidget::focus_padding = 1
GtkPaned::handle_size = 7
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkScrollbar::min_slider_length = 30
GtkCheckButton::indicator_size = 13
GtkRadioButton::indicator_size = 13
GtkMenuBar::internal-padding = 0
WnckTasklist::fade-opacity = 1
WnckTasklist::fade-overlay-rect = 0
WnckTasklist::fade-loop-time = 2
GtkButton::child_displacement_x = 0
GtkButton::child_displacement_y = 1
GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
GtkRange::activate-slider = 1
# color definitions
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.1, @bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
bg[SELECTED] = mix (0.65, @selected_bg_color, @bg_color)
bg[INSENSITIVE] = shade (0.85, @bg_color)
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[ACTIVE] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
base[NORMAL] = @base_color
base[PRELIGHT] = @base_color #XXX
base[ACTIVE] = mix (0.45, @selected_bg_color, @base_color) #b6c9cf
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = mix (0.95, @base_color, @text_color)
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color #XXX
text[ACTIVE] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = mix (0.5, @text_color, @base_color)
# bg[NORMAL] = "#f6f6f6"
# bg[PRELIGHT] = "#ffffff"
# fg[PRELIGHT] = "#202020"
# bg[ACTIVE] = "#d9d9d9"
# bg[INSENSITIVE] = "#d9d9d9"
# bg[SELECTED] = "#99a6bf"
#
# base[SELECTED] = "#6484a4"
# text[SELECTED] = "#ffffff"
# #this is selected item without focus:
# base[ACTIVE] = "#b6c9cf"
# text[INSENSITIVE] = "#757575"
#
# #defaults
# #base[NORMAL] = "#b6c9cf"
# #text[NORMAL] = "#000000"
#
engine "industrial"
{
# Set a hint to disable backward compatibility fallbacks.
hint = "use-hints"
}
}
# Style to apply an exterior forcus to GtkEntry
style "industrial-exterior-focus"
{
GtkWidget::interior-focus = 0
GtkWidget::focus-line-width = 0
}
# Add trough side details to GtkScale
style "industrial-scale"
{
GtkRange::trough-side-details = 1
}
# generic squared buttons style, used for the tasklist (treeview is in the extra treeview style)
style "industrial-squared"
{
engine "industrial"
{
rounded_buttons = FALSE
}
}
style "industrial-wide"
{
xthickness = 2
ythickness = 2
}
# style to remove the border around the progress bar
style "industrial-progress"
{
xthickness = 0
ythickness = 0
}
# make scrollbar arrows lighter
style "industrial-arrows"
{
fg[NORMAL] = mix (0.8, @fg_color, @bg_color)
}
# menuitems
style "industrial-menuitem"
{
xthickness = 3
ythickness = 3
bg[PRELIGHT] = @selected_bg_color
bg[SELECTED] = @selected_bg_color
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
}
style "industrial-menubar"
{
xthickness = 3
ythickness = 3
}
style "industrial-tree-header"
{
engine "industrial"
{
hint = "treeview-header"
}
xthickness = 2
ythickness = 2
}
style "industrial-tooltips"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
}
style "industrial-druid"
{
bg[SELECTED] = @selected_bg_color
}
style "metacity-frame"
{
# Normal base color
bg[NORMAL] = @bg_color
# Unfocused title background color
bg[INSENSITIVE] = @bg_color
# Unfocused title text color
fg[INSENSITIVE] = mix (0.2, @fg_color, @bg_color) # "#808080"
# Focused icon color
fg[NORMAL] = mix (0.8, @fg_color, @bg_color) # same as scrollbar arrow color
# Focused title background color
bg[SELECTED] = @selected_bg_color
# Focused title text color
fg[SELECTED] = @selected_fg_color
}
style "industrial-spinbutton"
{
engine "industrial"
{
hint = "spinbutton"
}
}
style "industrial-comboboxentry"
{
engine "industrial"
{
hint = "comboboxentry"
}
}
# default style