~ken-vandine/gwibber/qml

« back to all changes in this revision

Viewing changes to qml/StatusUpdateTile.qml

  • Committer: Ken VanDine
  • Date: 2013-03-07 19:18:12 UTC
  • Revision ID: ken.vandine@canonical.com-20130307191812-am38jomwd833ydse
Removed some debugging output

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        onLikeComplete: {
49
49
             if (success) {
50
50
                 liked = true;
51
 
                 //likes = likes + 1;
52
 
                 //likes++;
53
51
                 favoriteIcon.opacity = 1.0;
54
 
                 console.log ("Like completed successfully");
55
 
                 console.log ("LIKES: " + likes);
56
52
             } else {
57
53
                 console.log ("Like failed: " + errorMessage);
58
54
             }
60
56
        onUnlikeComplete: {
61
57
             if (success) {
62
58
                 liked = false;
63
 
                 //likes--;
64
 
                 //likes = likes - 1;
65
59
                 favoriteIcon.opacity = 0.3;
66
 
                 console.log ("UnLike completed successfully");
67
 
                 console.log ("LIKES: " + likes);
68
60
             } else {
69
61
                 console.log ("UnLike failed: " + errorMessage);
70
62
             }
115
107
        }
116
108
 
117
109
        Column {
118
 
            //height: childrenRect.height
119
110
            spacing: units.gu(1)
120
111
            anchors {
121
112
                left: parent.left;
209
200
        }
210
201
    }
211
202
 
212
 
 
213
203
    states: [State {
214
204
                name: "Details"
215
205
                PropertyChanges { target: tile; detailsOpacity: 1; x: 0 }