~ubuntu-branches/ubuntu/vivid/cairo-dock-plug-ins/vivid

« back to all changes in this revision

Viewing changes to Clipper/src/applet-init.c

Tags: upstream-2.0.9
ImportĀ upstreamĀ versionĀ 2.0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
*/
19
19
 
20
 
/******************************************************************************
21
 
 
22
 
This file is a part of the cairo-dock program, 
23
 
released under the terms of the GNU General Public License.
24
 
 
25
 
Written by Fabrice Rey (for any bug report, please mail me to fabounet@users.berlios.de)
26
 
 
27
 
******************************************************************************/
28
 
 
29
20
#include "stdlib.h"
30
21
 
31
22
#include "applet-config.h"
53
44
                CD_APPLET_SET_DESKLET_RENDERER ("Simple");
54
45
        }
55
46
        
56
 
        if (myIcon->acFileName == NULL)
 
47
        if (myIcon->cFileName == NULL)
57
48
        {
58
49
                CD_APPLET_SET_LOCAL_IMAGE_ON_MY_ICON (MY_APPLET_ICON_FILE);
59
50
        }
106
97
        if (myDesklet)
107
98
        {
108
99
                CD_APPLET_SET_DESKLET_RENDERER ("Simple");
109
 
                gtk_widget_queue_draw (myDesklet->pWidget);
 
100
                gtk_widget_queue_draw (myDesklet->container.pWidget);
110
101
        }
111
102
        
112
103
        //\_______________ On recharge les donnees qui ont pu changer.
113
104
        if (CD_APPLET_MY_CONFIG_CHANGED)
114
105
        {
115
 
                if (myIcon->acFileName == NULL)
 
106
                if (myIcon->cFileName == NULL)
116
107
                {
117
108
                        CD_APPLET_SET_LOCAL_IMAGE_ON_MY_ICON (MY_APPLET_ICON_FILE);
118
109
                }