~twpol/chatzilla/tests

« back to all changes in this revision

Viewing changes to xul/content/prefs.js

  • Committer: James Ross
  • Date: 2008-12-21 21:49:00 UTC
  • mfrom: (1123.1.24)
  • Revision ID: silver@warwickcompsoc.co.uk-20081221214900-9l6cxp2cbn0f7a78
Merged to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
678
678
 
679
679
function onPrefChanged(prefName, newValue, oldValue)
680
680
{
 
681
    if (newValue == oldValue)
 
682
        return;
 
683
 
681
684
    switch (prefName)
682
685
    {
683
686
        case "awayIdleTime":
840
843
        return;
841
844
    }
842
845
 
 
846
    if (newValue == oldValue)
 
847
        return;
 
848
 
843
849
    network.updateHeader();
844
850
 
845
851
    switch (prefName)
920
926
        return;
921
927
    }
922
928
 
 
929
    if (newValue == oldValue)
 
930
        return;
 
931
 
923
932
    channel.updateHeader();
924
933
 
925
934
    switch (prefName)
982
991
        return;
983
992
    }
984
993
 
 
994
    if (newValue == oldValue)
 
995
        return;
 
996
 
985
997
    user.updateHeader();
986
998
 
987
999
    switch (prefName)
1025
1037
        return;
1026
1038
    }
1027
1039
 
 
1040
    if (newValue == oldValue)
 
1041
        return;
 
1042
 
1028
1043
    // DCC Users are a pain, they can have multiple views!
1029
1044
    function updateDCCView(view)
1030
1045
    {