[Users] [Bug 3231] segfault on unload python

Pierre Fortin pf at pfortin.com
Thu Jul 24 00:44:48 CEST 2014


On Wed, 23 Jul 2014 22:52:01 +0200 Holger Berndt wrote:

>The example startup script also adds an interface to Claws-Mail on the
>session bus. So, any external program can trigger Claws Mail's menu
>items by calling this interface.

I've been trying to test this; but everything just black-holes...

Starting with your example call:
dbus-send --session --type=method_call
--dest=org.ClawsMail.PythonPlugin /org/ClawsMail/PythonPlugin
org.ClawsMail.PythonPlugin.MainWindow.TriggerGtkAction
string:'View/UpdateSummary'

changed to something with simple menu names:
  string:'Message/Reply'
does nothing either...  Trying this because I don't yet see the
transmogrification from say "View->Update summary" to "View/UpdateSummary"

Are all menu items accessed by stripping spaces and uppercasing the first
letter(s)?  Ah-ha...  grep "<Actions>" *.c  answers that...  :)

Sadly, my "man dbus-send" doesn't mention "method_call"; but it's
"accepted"=no error (tested by changing it to "method_caller" which
errors)...

Am I misunderstanding?  Given the current state of CM (on one of your
messages), should my dbus-send open a reply window? Or...?

Thanks,
Pierre



More information about the Users mailing list