~ubuntu-branches/ubuntu/oneiric/indicator-network/oneiric

« back to all changes in this revision

Viewing changes to src/settings/enums.vala

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-02-17 09:52:27 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110217095227-51g86k2i6wrtjehc
Tags: 0.3.4-0ubuntu1
* New upstream release
  - Updated to support connman 0.69
* debian/control
  - Depend on connman >= 0.69
  - Added build depends for libreadline-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    WIRELESS,
24
24
    BLUETOOTH,
25
25
    MOBILE,
 
26
    FLIGHTMODE,
26
27
    GENERIC; // Shouldn't be used manually
27
28
    
28
29
    public string get_name() {
35
36
                return ("Bluetooth");
36
37
            case MOBILE:
37
38
                return ("Mobile Broadband");
 
39
            case FLIGHTMODE:
 
40
                return ("Flight Mode");
38
41
            case GENERIC:
39
42
                return ("Wired");
40
43
            default:
52
55
                return "bluetooth";
53
56
            case MOBILE:
54
57
                return "mobile";
 
58
            case FLIGHTMODE:
 
59
                return "flightmode";
55
60
            default:
56
61
                assert_not_reached();
57
62
        }
67
72
                return "bluetooth-active";
68
73
            case MOBILE:
69
74
                return "gsm-3g-high";
 
75
            case FLIGHTMODE:
 
76
                return "flightmode";
70
77
            case GENERIC:
71
78
                return "network-wired";
72
79
            default: