Changeset 2130 for trunk/jons-gtk-gui
- Timestamp:
- 07/12/00 12:31:56 (8 years ago)
- Location:
- trunk/jons-gtk-gui/src
- Files:
-
- 3 added
- 3 modified
-
contact_list.cpp (modified) (3 diffs)
-
extras.cpp (modified) (2 diffs)
-
licq_gtk.h (modified) (1 diff)
-
pixmaps/birthday.xpm (added)
-
pixmaps/securebday.xpm (added)
-
pixmaps/secure_on.xpm (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk-gui/src/contact_list.cpp
r2128 r2130 30 30 GdkColor *red, *blue, *online_color, *offline_color, *away_color; 31 31 struct status_icon *online, *offline, *away, *na, *dnd, *occ, *ffc, 32 *invisible, *message_icon, *file_icon, *chat_icon, *url_icon; 32 *invisible, *message_icon, *file_icon, *chat_icon, *url_icon, 33 *secure_icon, *birthday_icon, *securebday_icon; 33 34 34 35 GtkWidget *contact_list_new(gint height, gint width) … … 68 69 /* Don't update the clist window, so we can update all the users */ 69 70 gtk_clist_freeze(GTK_CLIST(contact_list)); 70 71 // do_colors(); /* Make the colors */72 // do_pixmaps(); /* Make the pixmap */73 71 74 72 blah[0] = ""; … … 230 228 } // else 231 229 232 gtk_clist_set_text(GTK_CLIST(contact_list), num_users, 230 if(pUser->Secure() && (pUser->Birthday() == 0)) 231 { 232 gtk_clist_set_pixtext(GTK_CLIST(contact_list), 233 num_users, 2, pUser->GetAlias(), 4, 234 securebday_icon->pm, securebday_icon->bm); 235 } 236 else if(pUser->Secure()) 237 { 238 gtk_clist_set_pixtext(GTK_CLIST(contact_list), 239 num_users, 2, pUser->GetAlias(), 4, 240 secure_icon->pm, secure_icon->bm); 241 } 242 else if(pUser->Birthday() == 0) 243 { 244 gtk_clist_set_pixtext(GTK_CLIST(contact_list), 245 num_users, 2, pUser->GetAlias(), 4, 246 birthday_icon->pm, birthday_icon->bm); 247 } 248 else 249 { 250 gtk_clist_set_text(GTK_CLIST(contact_list), num_users, 233 251 2, pUser->GetAlias()); 252 } 234 253 235 254 gtk_clist_set_row_data(GTK_CLIST(contact_list), -
trunk/jons-gtk-gui/src/extras.cpp
r2128 r2130 33 33 #include "pixmaps/chat.xpm" 34 34 #include "pixmaps/url.xpm" 35 #include "pixmaps/secure_on.xpm" 36 #include "pixmaps/birthday.xpm" 37 #include "pixmaps/securebday.xpm" 35 38 36 39 #include "licq_countrycodes.h" … … 73 76 file_icon = make_pixmap(file_icon, (gchar **)file_xpm); 74 77 chat_icon = make_pixmap(chat_icon, (gchar **)chat_xpm); 78 secure_icon = make_pixmap(secure_icon, (gchar **)secure_on_xpm); 79 birthday_icon = make_pixmap(birthday_icon, (gchar **)birthday_xpm); 80 securebday_icon = make_pixmap(securebday_icon, (gchar **)securebday_xpm); 75 81 } 76 82 -
trunk/jons-gtk-gui/src/licq_gtk.h
r2128 r2130 384 384 extern GdkColor *red, *blue, *online_color, *offline_color, *away_color; 385 385 extern struct status_icon *online, *away, *na, *dnd, *occ, *offline, *ffc, 386 *invisible, *message_icon, *file_icon, *chat_icon, *url_icon; 386 *invisible, *message_icon, *file_icon, *chat_icon, *url_icon, 387 *secure_icon, *birthday_icon, *securebday_icon; 387 388 388 389 /* Globals in chat_window.cpp */
