diff --git a/IPython/frontend/html/notebook/static/js/maintoolbar.js b/IPython/frontend/html/notebook/static/js/maintoolbar.js
index 1f44efb..0c6a23f 100644
--- a/IPython/frontend/html/notebook/static/js/maintoolbar.js
+++ b/IPython/frontend/html/notebook/static/js/maintoolbar.js
@@ -17,14 +17,14 @@ var IPython = (function (IPython) {
IPython.ToolBar.apply(this, arguments);
// move the rest ouside
this.construct();
- this.addDropDownList();
+ this.add_drop_down_list();
this.bind_events();
}
};
MainToolBar.prototype = new IPython.ToolBar();
- MainToolBar.prototype.addDropDownList = function() {
+ MainToolBar.prototype.add_drop_down_list = function() {
var select = $(this.selector)
.append($('')
.attr('id','cell_type')
@@ -44,7 +44,7 @@ var IPython = (function (IPython) {
}
MainToolBar.prototype.construct = function() {
- this.addButtonsGroup([
+ this.add_buttons_group([
{
id:'save_b',
label:'Save',
@@ -54,7 +54,7 @@ var IPython = (function (IPython) {
},
},
]);
- this.addButtonsGroup([
+ this.add_buttons_group([
{
id:'cut_b',
label:'Cut Cell',
@@ -81,7 +81,7 @@ var IPython = (function (IPython) {
},
],'cut_copy_paste');
- this.addButtonsGroup([
+ this.add_buttons_group([
{
id:'move_up_b',
label:'Move Cell Up',
@@ -100,7 +100,7 @@ var IPython = (function (IPython) {
},
],'move_up_down');
- this.addButtonsGroup([
+ this.add_buttons_group([
{
id:'insert_above_b',
label:'Insert Cell Above',
@@ -119,7 +119,7 @@ var IPython = (function (IPython) {
},
],'insert_above_below');
- this.addButtonsGroup([
+ this.add_buttons_group([
{
id:'run_b',
label:'Run Cell',
diff --git a/IPython/frontend/html/notebook/static/js/toolbar.js b/IPython/frontend/html/notebook/static/js/toolbar.js
index d59fe2c..f8f6222 100644
--- a/IPython/frontend/html/notebook/static/js/toolbar.js
+++ b/IPython/frontend/html/notebook/static/js/toolbar.js
@@ -35,7 +35,7 @@ var IPython = (function (IPython) {
//
// Example
//
- // IPython.toolbar.addButtonsGroup([
+ // IPython.toolbar.add_button_group([
// {label:'my button',
// icon:'ui-icon-disk',
// callback:function(){alert('hoho'),
@@ -50,7 +50,7 @@ var IPython = (function (IPython) {
// "my_button_group_id"
// )
//
- ToolBar.prototype.addButtonsGroup = function(list, group_id){
+ ToolBar.prototype.add_button_group = function(list, group_id){
var span_group = $('');
if( group_id != undefined )
span_group.attr('id',group_id)