~cairo-dock-team/ubuntu/quantal/cairo-dock-plug-ins/3.0.2

« back to all changes in this revision

Viewing changes to wifi/src/applet-draw.c

Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "applet-draw.h"
28
28
 
29
29
 
30
 
static gchar *s_cIconName[WIFI_NB_QUALITY] = {"link-0.svg", "link-1.svg", "link-2.svg", "link-3.svg", "link-4.svg", "link-5.svg"};
31
 
static gchar *s_cLevelQualityName[WIFI_NB_QUALITY] = {N_("None"), N_("Very Low"), N_("Low"), N_("Middle"), N_("Good"), N_("Excellent")};
 
30
static const gchar *s_cIconName[WIFI_NB_QUALITY] = {"link-0.svg", "link-1.svg", "link-2.svg", "link-3.svg", "link-4.svg", "link-5.svg"};
 
31
static const gchar *s_cLevelQualityName[WIFI_NB_QUALITY] = {N_("None"), N_("Very Low"), N_("Low"), N_("Middle"), N_("Good"), N_("Excellent")};
32
32
 
33
33
 
34
34
void cd_wifi_draw_no_wireless_extension (void) {
144
144
                return ;
145
145
        }
146
146
        GString *sInfo = g_string_new ("");
147
 
        gchar *cIconPath;
 
147
        const gchar *cIconPath;
148
148
        if (! myData.bWirelessExt)
149
149
        {
150
150
                cIconPath = MY_APPLET_SHARE_DATA_DIR"/link-0.svg";
151
 
                g_string_assign (sInfo, D_("Wifi disabled."));
 
151
                g_string_assign (sInfo, D_("WiFi disabled."));
152
152
        }
153
153
        else
154
154
        {