How to use Dia python plugin on a Mac?
Hello folks, As stated in the title, I am wondering how to use a Dia python plugin. Here is the story. I installed Dia from Macports on my Mac running Snow Leopard. The Dia port from Macports doesn't have any variants concerning python, so I presume that python support is included in the Dia port. I didn't find instructions about using python plugins on Mac, but I did find some instructions on how to use python plugins on Windows in this web page: http://dia-installer.de/howto/python_win32/ Since the solution there looks like a universal one, I made a subdirectory python under ~/.dia, and copied the hello.py from the web page mentioned above into the subdirectory. So now I have: ~/.dia/python >$ ls hello.py Then I started the Dia program. The menu item corresponding to hello.py is supposed to show up under the menu Tools. However, I didn't find one under Tools or anywhere else. So, could anybody give me some help about this, please? Thank you very much. Cheers, Jianbao___ dia-list mailing list dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
Re: How to use Dia python plugin on a Mac?
Hello Jianbao, On 08/07/2011 03:47 PM, Jianbao Tao wrote: Here is the story. I installed Dia from Macports on my Mac running Snow Leopard. The Dia port from Macports doesn't have any variants concerning python, so I presume that python support is included in the Dia port. I didn't find instructions about using python plugins on Mac, but I did find some instructions on how to use python plugins on Windows in this web page: The windows instructions will not help you in this case. There's a patch for Maports Dia that enables Python support: http://trac.macports.org/ticket/29790 Regards, Steffen ___ dia-list mailing list dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
Re: DIA gets language settings wrong on Windows
Hello Jasper, On 07/29/2011 04:22 PM, Jasper Horn wrote: Now, I do not know about Dia and unicodeness, but I think it would make a lot more sense to define the language to be used based on a setting about languages rather than on one that defines how the user has chosen to display numbers! This selection is not made by Dia, but by the underlying libraries. Dia is fully unicode aware, so taking over the setting for "non-unicode" programs would be really strange. If you're unhappy with the automatic locale selection, you can simply override using the LANG environment variable. There's a sample batch file to illustrate the usage: http://dia-installer.de/src/dia_de.bat Regards, Steffen ___ dia-list mailing list dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia