<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bruce van der Kooij &#187; hacking</title>
	<atom:link href="http://blog.parsed.nl/tag/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.parsed.nl</link>
	<description>Unfinished business.</description>
	<lastBuildDate>Fri, 16 Dec 2011 07:50:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Fixing the IndustrialTango theme</title>
		<link>http://blog.parsed.nl/2009/06/09/fixing-the-industrialtango-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-the-industrialtango-theme</link>
		<comments>http://blog.parsed.nl/2009/06/09/fixing-the-industrialtango-theme/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 13:57:02 +0000</pubDate>
		<dc:creator>Bruce van der Kooij</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[window management]]></category>

		<guid isPermaLink="false">http://parsed.nl/?p=116</guid>
		<description><![CDATA[I&#8217;ve been using IndustrialTango for years now and am stuck in my ways. Now that I&#8217;ve switched from Metacity to Compiz an ugly issue with Industrial Tango&#8217;s window border theme reared its head, for every window the window icon on the top left would not display. Instead of switching to a different window border theme [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using IndustrialTango for years now and am stuck in my ways. Now that I&#8217;ve switched from Metacity to Compiz an ugly issue with Industrial Tango&#8217;s window border theme reared its head, for every window the window icon on the top left would not display. Instead of switching to a different window border theme (IndustrialTango seems to be the only one with this issue) I decided to hunt down what was causing the issue.</p>
<p>After a lot of work figuring out how to test a theme and comparing the theme with Human I finally figured it out:</p>

<div class="wp_syntax"><div class="code"><pre class="diff" style="font-family:monospace;"><span style="color: #888822;">--- /home/bruce/Desktop/metacity-theme-1.xml.backup	2009-06-09 13:59:07.000000000 +0200</span>
<span style="color: #888822;">+++ /usr/share/themes/IndustrialTango/metacity-1/metacity-theme-1.xml	2009-06-09 15:16:41.000000000 +0200</span>
<span style="color: #440088;">@@ -478,15 +478,15 @@</span>
 &lt;/draw_ops&gt;
&nbsp;
 &lt;draw_ops name=&quot;menu_button_icon&quot;&gt; 
<span style="color: #991111;">-  &lt;icon  x=&quot;0&quot;</span>
<span style="color: #991111;">-         y=&quot;0&quot;</span>
<span style="color: #991111;">-         width=&quot;width&quot; height=&quot;height&quot;/&gt;</span>
<span style="color: #00b000;">+  &lt;icon  x=&quot;3&quot;</span>
<span style="color: #00b000;">+         y=&quot;2&quot;</span>
<span style="color: #00b000;">+         width=&quot;mini_icon_width&quot; height=&quot;mini_icon_height&quot;/&gt;</span>
 &lt;/draw_ops&gt;
&nbsp;
 &lt;draw_ops name=&quot;menu_button_icon_unfocused&quot;&gt; 
<span style="color: #991111;">-  &lt;icon  x=&quot;0&quot;</span>
<span style="color: #991111;">-         y=&quot;0&quot;</span>
<span style="color: #991111;">-         width=&quot;width&quot; height=&quot;height&quot; alpha=&quot;0.5&quot;/&gt;</span>
<span style="color: #00b000;">+  &lt;icon  x=&quot;3&quot;</span>
<span style="color: #00b000;">+         y=&quot;2&quot;</span>
<span style="color: #00b000;">+         width=&quot;mini_icon_width&quot; height=&quot;mini_icon_height&quot; alpha=&quot;0.5&quot;/&gt;</span>
 &lt;/draw_ops&gt;
&nbsp;
 &lt;draw_ops name=&quot;menu_button_normal&quot;&gt;</pre></div></div>

<p>If you ever have to work on a window border theme, here&#8217;s some information that might help you. The tutorial <a href="http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html">Designing Metacity Themes</a> had a very helpful suggestion to use metacity-theme-viewer to test a theme and the window border dialog in System -> Preferences -> Appearance makes it quite easy to switch between themes. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.parsed.nl/2009/06/09/fixing-the-industrialtango-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

