rename Deluge.Ui to Deluge.UI

This commit is contained in:
Damien Churchill 2009-04-02 19:40:41 +00:00
parent b07715862f
commit b1c992da61
3 changed files with 12 additions and 12 deletions

View File

@ -69,7 +69,7 @@ Deluge.ToolBar = {
Deluge.Events.fire('torrentRemoved', ids);
Deluge.Client.core.remove_torrent(ids, null, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -77,7 +77,7 @@ Deluge.ToolBar = {
case 'resume':
Deluge.Client.core[item.id + '_torrent'](ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -85,7 +85,7 @@ Deluge.ToolBar = {
case 'down':
Deluge.Client.core['queue_' + item.id](ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -466,7 +466,7 @@ Deluge.SideBar = {
panel: this.panels[record.store.id]
}
if (needsUpdate) Deluge.Ui.update();
if (needsUpdate) Deluge.UI.update();
},
updateFilter: function(filter, states) {

View File

@ -34,7 +34,7 @@ Deluge.Menus = {
case 'resume':
Deluge.Client.core[item.id + '_torrent'](ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -44,14 +44,14 @@ Deluge.Menus = {
case 'bottom':
Deluge.Client.core['queue_' + item.id](ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
case 'update':
Deluge.Client.core.force_reannounce(ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -59,14 +59,14 @@ Deluge.Menus = {
Deluge.Events.fire('torrentRemoved', ids);
Deluge.Client.core.remove_torrent(ids, null, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
case 'recheck':
Deluge.Client.core.force_recheck(ids, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
break;
@ -411,7 +411,7 @@ function onLimitChanged(item, checked) {
config[item.group] = item.id
Deluge.Client.core.set_config(config, {
onSuccess: function() {
Deluge.Ui.update();
Deluge.UI.update();
}
});
}

View File

@ -22,7 +22,7 @@ Copyright:
Boston, MA 02110-1301, USA.
*/
Deluge.Ui = {
Deluge.UI = {
initialize: function() {
this.errorCount = 0;
this.roar = new Roar({
@ -156,5 +156,5 @@ Deluge.Ui = {
}
document.addEvent('domready', function(e) {
Deluge.Ui.initialize();
Deluge.UI.initialize();
});