Cream-Browser is now using GtkApplication

0 views
Skip to first unread message

David Delassus

unread,
Sep 27, 2011, 5:39:03 PM9/27/11
to cream-bro...@googlegroups.com
Now, Cream-Browser is totally under GTK+-3.0

It's the opportunity to use some features available only with this version of the toolkit. It's why I added the CSS theme with GtkCssProvider.

And now, to get a more oriented object design in the code, I added the support of GtkApplication.

But the parent object, GApplication implements D-Bus, in order to perform every actions of every program's instance in only one primary instance.
With Cream-Browser, it's, for the moment, not compatible and bring a lot of bugs.

There is a way to make the application not unique (without D-Bus implementation) : passing the flag G_APPLICATION_NON_UNIQUE to the GApplication object. But this feature is available only since the 2.30 version of the glib (not yet stable).

So, to disable the D-Bus implementation, I use a unique domain name for the application : "org.gtk.CreamBrowser.pid<pid>", each Cream-Browser instances own it's domain, which solve the problem.
Reply all
Reply to author
Forward
0 new messages