public
Fork of ebassi/tweet
Description: A Clutter-based Twitter client
Clone URL: git://github.com/patoh/tweet.git
Added reply-to-status-set icon and hooked it up
patoh (author)
Sat May 24 02:09:32 -0700 2008
commit  96ce11a4106279573d6a0bc49f27915a4c0fbdf1
tree    f21f6624745754740428818c1ad1df5241432907
parent  4126a5b0b8fa244edd60a0a56c5426d1e3855bae
...
1
2
 
3
4
...
1
 
2
3
4
0
@@ -1,4 +1,4 @@
0
 icondir = $(datadir)/tweet/icons/hicolor/scalable/status
0
-icon_DATA = status-favorite-set.svg
0
+icon_DATA = status-favorite-set.svg reply-to-status-set.svg
0
 
0
 EXTRA_DIST = $(icon_DATA)
...
192
193
194
 
 
 
 
 
195
196
197
...
223
224
225
 
 
 
 
 
226
227
228
...
192
193
194
195
196
197
198
199
200
201
202
...
228
229
230
231
232
233
234
235
236
237
238
0
@@ -192,6 +192,11 @@ on_button_enter (ClutterActor *actor,
0
                                       "status-favorite-set",
0
                                       -1);
0
 
0
+ if (actor == info->reply_button)
0
+ tweet_texture_set_from_icon_name (CLUTTER_TEXTURE (actor), NULL,
0
+ "reply-to-status-set",
0
+ -1);
0
+
0
   clutter_label_set_text (CLUTTER_LABEL (info->button_tip),
0
                           g_object_get_data (G_OBJECT (actor), "button-tip"));
0
 
0
@@ -223,6 +228,11 @@ on_button_leave (ClutterActor *actor,
0
                                       "favorite-status",
0
                                       -1);
0
 
0
+ if (actor == info->reply_button)
0
+ tweet_texture_set_from_icon_name (CLUTTER_TEXTURE (actor), NULL,
0
+ "reply-to-status",
0
+ -1);
0
+
0
   tweet_actor_animate (info->button_tip, TWEET_LINEAR, 150,
0
                        "opacity", tweet_interval_new (G_TYPE_UCHAR, 255, 0),
0
                        NULL);

Comments

    No one has commented yet.