<?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>bits4life &#187; gtk</title>
	<atom:link href="http://blog.export.be/tag/gtk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.export.be</link>
	<description>Bits and bytes for your daily life.</description>
	<lastBuildDate>Thu, 12 Nov 2009 10:55:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing Eclipse for Ubuntu Karmic Koala 9.10</title>
		<link>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/</link>
		<comments>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:44:15 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=328</guid>
		<description><![CDATA[Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 &#8211; Galileo) to continue my Java development tasks. But [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-236" title="Eclipse Galileo" src="http://blog.export.be/wp-content/uploads/2009/04/eclipse48.png" alt="eclipse48" width="48" height="48" />Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 &#8211; Galileo) to continue my Java development tasks. But very soon I noticed the upgrade introduced <strong>severe issues</strong> with my favorite IDE, most notably, the buttons on most <strong>dialog boxes</strong> could not be pushed anymore. Here&#8217;s how I managed to fix it &#8230;.<span id="more-328"></span></p>
<p>The new Ubuntu release 9.10 brings version 2.18 of GTK+ to the desktop. GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable for projects ranging from small one-off tools to complete application suites.  In version 2.18, <a href="http://library.gnome.org/devel/gtk/2.18/gtk-migrating-ClientSideWindows.html" target="_blank">client side windows</a> are introduced which brings <strong>nicer redrawing and resizing</strong>, as demonstrated in the video :</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="432" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="432" src="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Some applications &#8211; <strong>Eclipse</strong>, but also <strong>Acroread</strong> &#8211; assume that they can just operate on the X windows     corresponding to their GDK windows without ever telling GDK, which causes some widgets to exhibit weird behaviour. <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307" target="_blank">Bug 287307</a> was filed with the Eclipse foundation and this is<strong> fixed for the upcoming 3.6 release</strong>.</p>
<p>Fortunately, the GTK+ people provide a switch to turn off the client side windows. So to work around the bug with Eclipse pre-3.6, just make sure you set <strong>environment variable GDK_NATIVE_WINDOWS=1</strong><tt></tt></p>
<blockquote><p>#!/bin/sh<br />
export GDK_NATIVE_WINDOWS=1<br />
/home/koen/eclipse-galileo/eclipse</p></blockquote>
<p>Start coding <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
	</channel>
</rss>
