[Geary] Geary layout

Martin Weißhaupt mw88 at mw88.org
Sun Oct 14 17:16:27 UTC 2012


Hi Jim,

I played a bit with the settings-schema but I can't get it to work.
As soon as I modify the schema it tells me, that is is not installed.

Could you please try to put my changes in the file and see if geary 
still starts?

Thx,
Martin

Am 11.10.2012 01:26, schrieb Jim Nelson:
> Oh, I see.  I wasn't putting the pieces together.
>
> Yes, you need to add your new GSettings setting to the XML file.  When 
> Geary runs, that XML is used by GSettings itself.  GSettings is not 
> like GConf or the Windows Registry, which are free-form stores. 
>  GSettings requires a schema and enforces it on every access.
>
> So, no, I think that should do it!
>
> -- Jim
>
> On Wed, Oct 10, 2012 at 12:52 PM, Martin Weißhaupt <mw88 at mw88.org> wrote:
>> Ok, I played around with a few things and noticed that after 
>> reverting any changes of the file 
>> "desktop/org.yorba.geary.gschema.xml" and rebuilding geary it does 
>> actually start.
>>
>> But I need an extra entry in the settings for the layout so I added 
>> this to the file:
>>     <key name="classic_layout" type="b">
>>         <default>true</default>
>>         <summary>enable classic layout</summary>
>>         <description>True to display classic layout.</description>
>>     </key>
>>
>> These 5 lines seem to produce the problem. Is there anything else I 
>> must do if I want to update the settings?
>>
>> Best wishes,
>> Martin
>>
>> Am 10.10.2012 20:13, schrieb Martin Weißhaupt:
>>> Shure, here is the output:
>>> mweisshaupt at prometheus:~/Projekte/Vala/geary/build$ ./geary --debug
>>>
>>> (geary:10352): GLib-GIO-ERROR **: Settings schema 'org.yorba.geary' 
>>> is not installed
>>>
>>> Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)
>>>
>>> Best wishes,
>>> Martin
>>>
>>> Am 10.10.2012 19:51, schrieb Jim Nelson:
>>>> Could you run Geary like this from your build directory:
>>>>
>>>> $ ./geary --debug
>>>>
>>>> and tell us what you're seeing?
>>>>
>>>> -- Jim
>>>>
>>>> On Wed, Oct 10, 2012 at 1:02 AM, Martin Weißhaupt <mw88 at mw88.org> 
>>>> wrote:
>>>>>
>>>>> Hello Jim,
>>>>>
>>>>> I was a little busy the last week but yesterday evening I pulled 
>>>>> the updated sources and ran the commands you mentioned.
>>>>>
>>>>> The --disable-schemas-compile option was not used.
>>>>>
>>>>> I'm still not able to start geary. Is there a command to update 
>>>>> the schema in dconf with the new one?
>>>>>
>>>>> Best wishes,
>>>>>
>>>>> Martin
>>>>>
>>>>> *Von:*Jim Nelson [mailto:jim at yorba.org]
>>>>> *Gesendet:* Mittwoch, 3. Oktober 2012 22:45
>>>>> *An:* Martin Weißhaupt
>>>>> *Cc:* Martin Weißhaupt; geary at lists.yorba.org
>>>>> *Betreff:* Re: [Geary] Geary layout
>>>>>
>>>>> You should be able to simply update the 
>>>>> desktop/org.yorba.geary.gschema.xml file and see them available 
>>>>> when you run Geary from the build directory. We do some trickery 
>>>>> in Geary to compile the updated schema and have GSettings look in 
>>>>> the compiled directory for them.
>>>>>
>>>>> If not, re-run ./configure and rebuild.  In particular, be sure 
>>>>> you *don't* use the --disable-schemas-compile option.
>>>>>
>>>>> -- Jim
>>>>>
>>>>> On Wed, Oct 3, 2012 at 3:05 AM, Martin Weißhaupt <mw88 at mw88.org 
>>>>> <mailto:mw88 at mw88.org>> wrote:
>>>>>
>>>>> Hi Adam,
>>>>>
>>>>> I'm implementing the classic layout but I have a problem with the 
>>>>> settings.
>>>>> I changed the settings schema to include my classic-layout option 
>>>>> but I
>>>>> don't find a way to install the changed schema-file.
>>>>>
>>>>> This is the error I get while starting the compiled geary:
>>>>> (geary:8994): GLib-GIO-ERROR **: Settings schema 'org.yorba.geary' is
>>>>> not installed
>>>>>
>>>>> Can you help me with this problem?
>>>>>
>>>>> Thx in advance,
>>>>> Martin
>>>>>
>>>>> Am 28.09.2012 01:26, schrieb Adam Dingle:
>>>>> > Martin,
>>>>> >
>>>>> > thanks for your followup message with a link to a screenshot 
>>>>> (http://mw88.org/uploads/geary.jpg). So now I see: you're 
>>>>> interested in a classic 3-pane layout with the conversation list 
>>>>> above the message area. Yes, we've thought about this. Actually we 
>>>>> have an open feature request at
>>>>> >
>>>>> > http://redmine.yorba.org/issues/5629
>>>>> >
>>>>> > We'd be happy to take a patch which adds a preference to enable 
>>>>> this kind of layout. Cheers -
>>>>> >
>>>>> > adam
>>>>> >
>>>>> > On Wed, Sep 26, 2012 at 10:56 AM, Adam Dingle wrote:
>>>>> > Martin,
>>>>> >
>>>>> > thanks for your message. Our mailing list doesn't allow 
>>>>> attachments, so could you upload the screenshot somewhere and post 
>>>>> a link?
>>>>> >
>>>>> > adam
>>>>> >
>>>>> > On Tue, Sep 25, 2012 at 3:38 PM, Martin Weißhaupt wrote:
>>>>> > Hello,
>>>>> >
>>>>> > I'm a developer mostly working with Java and C# and I'm toying 
>>>>> around with Vala at the moment.
>>>>> >
>>>>> > I like geary a lot but I prefer to have my mail client's layout 
>>>>> to look like the attached screenshot.
>>>>> >
>>>>> > To achieve this I simply had to change one attribute and it 
>>>>> seems to work pretty good. Well, the conversation_list is too big 
>>>>> now but this could easily be fixed too.
>>>>> >
>>>>> > So are there any plans to implement something to change layouts 
>>>>> or is this something I could contribute to geary?
>>>>> >
>>>>> > Best wishes,
>>>>> > Martin Weißhaupt
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > Geary mailing list
>>>>> > Geary at lists.yorba.org <mailto:Geary at lists.yorba.org>
>>>>> > http://lists.yorba.org/cgi-bin/mailman/listinfo/geary
>>>>>
>>>>> _______________________________________________
>>>>> Geary mailing list
>>>>> Geary at lists.yorba.org <mailto:Geary at lists.yorba.org>
>>>>> http://lists.yorba.org/cgi-bin/mailman/listinfo/geary
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Geary mailing list
>>> Geary at lists.yorba.org
>>> http://lists.yorba.org/cgi-bin/mailman/listinfo/geary
>>
>




More information about the Geary-list mailing list