Amit Parik (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-client/trunk-bug-903553-amp into 
lp:openobject-client.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #903553 in OpenERP GTK Client: "icon path wrong with submenu"
  https://bugs.launchpad.net/openobject-client/+bug/903553

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-903553-amp/+merge/105550

Hello,

Wrong patch for submenu, This fixes will solved this issue.

Thanks!
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-bug-903553-amp/+merge/105550
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/trunk-bug-903553-amp.
=== modified file 'bin/widget/view/form.py'
--- bin/widget/view/form.py	2011-10-20 06:00:32 +0000
+++ bin/widget/view/form.py	2012-05-12 11:13:19 +0000
@@ -112,7 +112,7 @@
             for sub in eval(submenu):
                 sbutton = gtk.Button()
                 icon = gtk.Image()
-                file_path = os.path.realpath("icons")
+                file_path = os.path.realpath("bin/icons")
                 iname = sub.get('icon', 'terp-marketing').split('-')[1]
                 pixbuf = gtk.gdk.pixbuf_new_from_file(file_path + '/' + iname + '.png')
                 icon_set = gtk.IconSet(pixbuf)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to