#3 move qApp.trUtf8 from plugins to MainWin

2.4-pre2
closed-out-of-date
nobody
Plugins (9)
5
2012-10-01
2007-06-29
morgajel
No

The following is a small patch to move the placement of qApp.trUtf8() from plugin __init__.py files to PluginLoader.

Not only is it more DRY (http://en.wikipedia.org/wiki/DRY_code), it fixes an issue with epydoc being able to read plugins.

Discussion

  • morgajel

    morgajel - 2007-06-29

    Logged In: YES
    user_id=1030686
    Originator: YES

    whoops- didn't test that well enough- needed to move it out of PluginLoader and into MainWin where a Qt object actually exists to run trUtf8(). it's in there in 2 places instead of one, but it's still a simple fix.
    File Added: luma_trutf8.patch

     
  • morgajel

    morgajel - 2007-06-29

    Logged In: YES
    user_id=1030686
    Originator: YES

    changing the summary as well- whoops

     
  • morgajel

    morgajel - 2007-06-29
    • summary: move qApp.trUtf8 from plugins to PluginLoader --> move qApp.trUtf8 from plugins to MainWin
     
  • morgajel

    morgajel - 2007-07-03

    V. 3 of the patch

     
  • morgajel

    morgajel - 2007-07-03

    Logged In: YES
    user_id=1030686
    Originator: YES

    wrong format- using -Naur now.
    File Added: luma_trutf8.patch

     
  • morgajel

    morgajel - 2007-08-02
    • status: open --> closed-accepted
     
  • phobie

    phobie - 2012-10-01
    • status: closed-accepted --> closed-out-of-date
     

Log in to post a comment.