construct the statusbar in the ui initialisation

This commit is contained in:
Damien Churchill 2010-04-28 12:40:54 +01:00
parent 158feaa8e0
commit cd10555a8a
2 changed files with 1 additions and 1 deletions

View File

@ -302,4 +302,3 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
this.items.get('statusbar-freespace').setText(fsize(stats.free_space));
}
});
deluge.statusbar = new Deluge.Statusbar();

View File

@ -54,6 +54,7 @@ deluge.ui = {
deluge.login = new Deluge.LoginWindow();
deluge.preferences = new Deluge.preferences.PreferencesWindow();
deluge.sidebar = new Deluge.Sidebar();
deluge.statusbar = new Deluge.Statusbar();
this.MainPanel = new Ext.Panel({
id: 'mainPanel',