| 103 |
104 |
| 104 notification = gtk_list_item_get_item(item); |
105 notification = gtk_list_item_get_item(item); |
| 105 |
106 |
| 106 if(PURPLE_IS_NOTIFICATION_ADD_CONTACT(notification)) { |
107 if(PURPLE_IS_NOTIFICATION_ADD_CONTACT(notification)) { |
| 107 widget = pidgin_notification_add_contact_new(notification); |
108 widget = pidgin_notification_add_contact_new(notification); |
| |
109 } else if(PURPLE_IS_NOTIFICATION_LINK(notification)) { |
| |
110 widget = pidgin_notification_link_new(notification); |
| 108 } else { |
111 } else { |
| 109 widget = pidgin_notification_new(notification); |
112 widget = pidgin_notification_new(notification); |
| 110 } |
113 } |
| 111 |
114 |
| 112 gtk_list_item_set_child(item, widget); |
115 gtk_list_item_set_child(item, widget); |