<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Little Earthquakes</title>
	<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/</link>
	<description>Random babblings of a geek.</description>
	<pubDate>Sun, 12 Oct 2008 17:03:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: ebassi</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11923</link>
		<pubDate>Wed, 08 Nov 2006 13:10:14 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11923</guid>
					<description>&lt;strong&gt;dave&lt;/strong&gt;: I don't have a dual-head setup, so I cannot really test it.  in gtkunique HEAD I added a "screen" parameter to the message that gets passed between the running instance and the launched instances, which should be used to place application windows on the "right" screen.  you should try and download the latest gtkunique code from cvs.gnome.org (the module is gtkunique) and test it. I'd really like feedback from multi-head setup owners. :-)</description>
		<content:encoded><![CDATA[<p><strong>dave</strong>: I don&#8217;t have a dual-head setup, so I cannot really test it.  in gtkunique HEAD I added a &#8220;screen&#8221; parameter to the message that gets passed between the running instance and the launched instances, which should be used to place application windows on the &#8220;right&#8221; screen.  you should try and download the latest gtkunique code from cvs.gnome.org (the module is gtkunique) and test it. I&#8217;d really like feedback from multi-head setup owners. <img src='http://log.emmanuelebassi.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ebassi</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11687</link>
		<pubDate>Sun, 05 Nov 2006 12:16:22 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11687</guid>
					<description>&lt;b&gt;mikkel&lt;/b&gt;: you can implement a singleton pattern, overriding the constructor vfunc like it's explained in the &lt;a href="http://developer.gnome.org/doc/API/2.0/gobject/chapter-gobject.html" rel="nofollow"&gt;GObject tutorial&lt;/a&gt;; in the constructor you can use D-Bus to check whether there's an object registered on the bus and get a proxy for it.

in any case, what I'm doing has more to do with application instances, that is decide whether or not a GTK application is already running, and if it is, then send a message to it with a command the user might have decided to execute (open a new document, open a document with a give uri or just raise the window).</description>
		<content:encoded><![CDATA[<p><b>mikkel</b>: you can implement a singleton pattern, overriding the constructor vfunc like it&#8217;s explained in the <a href="http://developer.gnome.org/doc/API/2.0/gobject/chapter-gobject.html" rel="nofollow">GObject tutorial</a>; in the constructor you can use D-Bus to check whether there&#8217;s an object registered on the bus and get a proxy for it.</p>
<p>in any case, what I&#8217;m doing has more to do with application instances, that is decide whether or not a GTK application is already running, and if it is, then send a message to it with a command the user might have decided to execute (open a new document, open a document with a give uri or just raise the window).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mikkel Kamstrup Erlandsen</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11680</link>
		<pubDate>Sun, 05 Nov 2006 09:42:38 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11680</guid>
					<description>&lt;i&gt;Correcting my self&lt;/i&gt;: Well my previous comment makes more sense with s/my_object_new/myObject.getInstance/g</description>
		<content:encoded><![CDATA[<p><i>Correcting my self</i>: Well my previous comment makes more sense with s/my_object_new/myObject.getInstance/g
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mikkel Kamstrup Erlandsen</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11679</link>
		<pubDate>Sun, 05 Nov 2006 09:40:48 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11679</guid>
					<description>&lt;b&gt;Emmanuele:&lt;/b&gt; Yeah, that's a point. Well I guess what I really want is serializable gobject where my_object_new() returns the unique session wide object... But that's probably not really related to what you are doing, now that I come to think of it... Or?</description>
		<content:encoded><![CDATA[<p><b>Emmanuele:</b> Yeah, that&#8217;s a point. Well I guess what I really want is serializable gobject where my_object_new() returns the unique session wide object&#8230; But that&#8217;s probably not really related to what you are doing, now that I come to think of it&#8230; Or?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dave Foster</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11508</link>
		<pubDate>Fri, 03 Nov 2006 15:51:43 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11508</guid>
					<description>Hi, I have a bit of concern with this GtkUnique thing.  I run a dual-head, non-xinerama setup, because I feel it makes me the most productive to be able to split my virtual desktops in such a manner.  This means that each monitor has its own display id of :0.0 and :0.1.  

Certain applications which display this Unique style behavior, most notably Firefox, do not let me run another instance on my second monitor, it just errors out and says one is already running.  This is BEYOND annoying, and I just wanted to see how GtkUnique interacts with this problem.

thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I have a bit of concern with this GtkUnique thing.  I run a dual-head, non-xinerama setup, because I feel it makes me the most productive to be able to split my virtual desktops in such a manner.  This means that each monitor has its own display id of :0.0 and :0.1.  </p>
<p>Certain applications which display this Unique style behavior, most notably Firefox, do not let me run another instance on my second monitor, it just errors out and says one is already running.  This is BEYOND annoying, and I just wanted to see how GtkUnique interacts with this problem.</p>
<p>thanks.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ebassi</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11494</link>
		<pubDate>Fri, 03 Nov 2006 10:16:54 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11494</guid>
					<description>&lt;b&gt;richard&lt;/b&gt;: not yet - I'm not really good with building debian packages too. :-)  I still have to check whether subclassing is possible - then I'll ask for a CVS module on cvs.gnome.org.  if you want to depend on gtkunique I'll ask for a "blessed dependency" to the release-team.

&lt;b&gt;mikkel&lt;/b&gt;: what you want is D-Bus, if I understand what you're asking. :-)</description>
		<content:encoded><![CDATA[<p><b>richard</b>: not yet - I&#8217;m not really good with building debian packages too. <img src='http://log.emmanuelebassi.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   I still have to check whether subclassing is possible - then I&#8217;ll ask for a CVS module on cvs.gnome.org.  if you want to depend on gtkunique I&#8217;ll ask for a &#8220;blessed dependency&#8221; to the release-team.</p>
<p><b>mikkel</b>: what you want is D-Bus, if I understand what you&#8217;re asking. <img src='http://log.emmanuelebassi.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mikkel Kamstrup Erlandsen</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11489</link>
		<pubDate>Fri, 03 Nov 2006 07:48:32 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11489</guid>
					<description>Admittedly I haven't looked at the code yet, but I have a question nonetheless...

Would it be possible to generalize to unique gobjects instead of applications?</description>
		<content:encoded><![CDATA[<p>Admittedly I haven&#8217;t looked at the code yet, but I have a question nonetheless&#8230;</p>
<p>Would it be possible to generalize to unique gobjects instead of applications?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Richard Hughes</title>
		<link>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11476</link>
		<pubDate>Fri, 03 Nov 2006 00:03:46 +0000</pubDate>
		<guid>http://log.emmanuelebassi.net/archives/2006/11/little-earthquakes/#comment-11476</guid>
					<description>Nice one. Have you got a .deb of the library up somewhere? My packaging skills are not good enough for debian just yet. :-)

I intend on converting gnome-power-manager from guniqueapp to GtkUnique for the 2.17.x cycle. Keep rocking!</description>
		<content:encoded><![CDATA[<p>Nice one. Have you got a .deb of the library up somewhere? My packaging skills are not good enough for debian just yet. <img src='http://log.emmanuelebassi.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I intend on converting gnome-power-manager from guniqueapp to GtkUnique for the 2.17.x cycle. Keep rocking!
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
