David, is there any chance that the gconf (or dbus) changes will be
introduced into the git? because i would really like to get my
configurator released, and i can't do it until the option type is
available.<br><br>I have separated all the gconf code in the program
into separate wrapper functions so when the dbus changes get into the
head then I should be easily be able to switch the backend to use dbus
instead. I think tho there is one option missing with dbus, is there
anyway to get a list of plugins available?
<br><br>Thanks,<br>Ben<span class="e" id="q_10ee9656d50a6c17_1"><br></span><br><br><div><span class="gmail_quote">On 11/15/06, <b class="gmail_sendername">Ben Reeves</b> <<a href="mailto:zootreeves@gmail.com">zootreeves@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David, is there any chance that the gconf (or dbus) changes will be introduced into the git? because i would really like to get my configurator released, and i can't do it until the option type is available.
<br><br>I have separated all the gconf code in the program into separate wrapper functions so when the dbus changes get into the head then I should be easily be able to switch the backend to use dbus instead. I think tho there is one option missing with dbus, is there anyway to get a list of plugins available?
<br><br>Thanks,<br>Ben<div><span class="e" id="q_10ee9656d50a6c17_1"><br><br><br><div><span class="gmail_quote">On 11/14/06, <b class="gmail_sendername">David Reveman</b> <<a href="mailto:davidr@novell.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
davidr@novell.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2006-11-13 at 05:57 +0000, Mike Dransfield wrote:<br>> Ben Reeves wrote:<br>> > I am writing a configuration front end for the compiz gconf plugin at<br>> > the moment, but it's proving harder than it should be because gconf
<br>> > does not record what type of compiz option the key is. For example,<br>> > say i want a color picker for each color option the only way I can<br>> > tell with gconf if it is color is if it has a # at the beginning, but
<br>> > there could be string option which also have a # at the beginning so<br>> > is not reliable.<br>> ><br>> > My proposal is that the short_description of each gconf key should<br>> > contain the option type
<br>><br>> I think the solution for this is to wait until the dbus bindings<br>> support getting information about settings. I have been working<br>> on this and have a rough solution which I have attached.<br>
><br>> Putting the type into the option description, or a seperate file seems<br>> like it would cause a lot of problems. The short description is translated<br>> so that would cause bugs, it is also not straight forward for developers.
<br>><br>> The dbus patches are roughly my idea for how information about<br>> options can be got via dbus. I wrote them so there is one getMetadata<br>> function which returns all the information about the option. Your
<br>> application should cache this information as often as possible.<br>><br>> I think that the method should return a dictionary rather multiple<br>> return values. I couldn't find how to create a dictionary so I stopped.
<br>> If anyone knows how to do this (or even if I can just return multiple<br>> return values) I would like to know.<br><br>Great, I've been hoping that someone would implement functionality for<br>retrieving all the option meta data through the dbus plugin. Let me know
<br>when this is ready to go into head and I'll have a look at it.<br><br>-David<br><br></blockquote></div><br><br clear="all"><br></span></div>-- <br>Thank you<br><span class="sg">Ben Reeves
</span></blockquote></div><br><br clear="all"><br>-- <br>Thank you<br>Ben Reeves