details:   /erp/devel/pi/rev/f5fee3e94663
changeset: 12301:f5fee3e94663
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Mon May 23 01:53:08 2011 +0200
summary:   [KS] Added ToolBar_Print shortcut

diffstat:

 
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_PREFERENCE.xml
          |  3 ++-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
 |  3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 85209bf81395 -r f5fee3e94663 
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_PREFERENCE.xml
--- 
a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_PREFERENCE.xml
     Mon May 23 01:44:45 2011 +0200
+++ 
b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_PREFERENCE.xml
     Mon May 23 01:53:08 2011 +0200
@@ -58,7 +58,8 @@
   {"id": "ToolBar_NewDoc", "keyComb": {"ctrl": true, "alt": true, "key": "N"}},
   {"id": "ToolBar_Eliminate", "keyComb": {"ctrl": true, "alt": true, "key": 
"D"}},
   {"id": "ToolBar_Refresh", "keyComb": {"ctrl": true, "alt": true, "key": 
"R"}},
-  {"id": "ToolBar_Undo", "keyComb": {"ctrl": true, "alt": true, "key": "Z"}}
+  {"id": "ToolBar_Undo", "keyComb": {"ctrl": true, "alt": true, "key": "Z"}},
+  {"id": "ToolBar_Print", "keyComb": {"ctrl": true, "alt": true, "key": "P"}}
 ]]]></VALUE>
 <!--7EE6D055A7FE4C4DA7EB557F6C61D0EC-->  
<PROPERTY><![CDATA[UITOOLB_KeyboardShortcuts]]></PROPERTY>
 <!--7EE6D055A7FE4C4DA7EB557F6C61D0EC-->  
<ISPROPERTYLIST><![CDATA[Y]]></ISPROPERTYLIST>
diff -r 85209bf81395 -r f5fee3e94663 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
    Mon May 23 01:44:45 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
    Mon May 23 01:53:08 2011 +0200
@@ -426,6 +426,9 @@
         }
         this.setDisabled(disabled);
       }
+    },
+    'print' : {
+      keyboardShortcutId: 'ToolBar_Print'
     }
   },
   CLONE_BUTTON_PROPERTIES: {

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to