2010/1/22 Matthias Schröder <[email protected]>:
> Am Thu, 21 Jan 2010 23:14:26 +0100
> schrieb Gregor Best <[email protected]>:
>
>>Use "Claws%-mail" as the class. The strings are regular expressions
>>which are matched against the actual client properties, thus the - is
>>interpreted as a "from ... to ..." range indicator.
>
> i think thats not the point - if the pattern does not match, rules.lua
> checks for string-equal in match and that should be fine:
>
>   if not c[field]:match(value) and c[field] ~= value then
>      return false
>   end
>   ..
> return true
>
> Instead try something like floating=true or something like that just
> to be sure the rule matches. And check if the window comes up like
> fullscreen, magnified or some other default in ~/.claws-mail/clawsrc
>
> in my config i found
>
> mainwin_maximised=0
> mainwin_fullscreen=0
>
> That should fix it ...

After a lot of tries, i found a way, here is the rule that is working fine:

    { rule = { name = "Claws.*Mail" },
      properties = { tag = tags[1][3] } },

Thank you all for the answers
-- 
Renato Botelho

--
To unsubscribe, send mail to [email protected].

Reply via email to