construct the statusbar in the ui initialisation
This commit is contained in:
parent
158feaa8e0
commit
cd10555a8a
|
@ -302,4 +302,3 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
||||||
this.items.get('statusbar-freespace').setText(fsize(stats.free_space));
|
this.items.get('statusbar-freespace').setText(fsize(stats.free_space));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
deluge.statusbar = new Deluge.Statusbar();
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ deluge.ui = {
|
||||||
deluge.login = new Deluge.LoginWindow();
|
deluge.login = new Deluge.LoginWindow();
|
||||||
deluge.preferences = new Deluge.preferences.PreferencesWindow();
|
deluge.preferences = new Deluge.preferences.PreferencesWindow();
|
||||||
deluge.sidebar = new Deluge.Sidebar();
|
deluge.sidebar = new Deluge.Sidebar();
|
||||||
|
deluge.statusbar = new Deluge.Statusbar();
|
||||||
|
|
||||||
this.MainPanel = new Ext.Panel({
|
this.MainPanel = new Ext.Panel({
|
||||||
id: 'mainPanel',
|
id: 'mainPanel',
|
||||||
|
|
Loading…
Reference in New Issue