Mercurial > pidgin
comparison src/dialogs.c @ 6244:519028f52516
[gaim-migrate @ 6738]
Bjoern Voigt writes:
"I prepared a new i18n patch (i18n14.patch). Parts of this patch I
already send to you, but I couldn't see it in gaim-commits. I recently
subscribed gaim-commits, so it's easier for me to see, whether or not
and when my patch is commited.
i18n14.patch contains:
- updated German translation
- updated file po/POTFILES.in
- a fix for gaim's history dialog (the timestamps were temporarily not
visible)"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 20 Jul 2003 14:11:43 +0000 |
parents | a22c151463e1 |
children | dd2be7cd66df |
comparison
equal
deleted
inserted
replaced
6243:34d553c43e8b | 6244:519028f52516 |
---|---|
3987 /* | 3987 /* |
3988 while (gtk_events_pending()) | 3988 while (gtk_events_pending()) |
3989 gtk_main_iteration(); | 3989 gtk_main_iteration(); |
3990 */ | 3990 */ |
3991 | 3991 |
3992 while (fgets(buf, BUF_LONG, fp) && !strstr(buf, "---- New C")) { | 3992 while (fgets(buf, BUF_LONG, fp) && strncmp(buf, "---- ", 5)!=0) { |
3993 i++; | 3993 i++; |
3994 if (strlen(buf) >= 5 && (!strncmp(buf + strlen(buf) - 5, "<BR>\n", 5))) | 3994 if (strlen(buf) >= 5 && (!strncmp(buf + strlen(buf) - 5, "<BR>\n", 5))) |
3995 /* take off the \n */ | 3995 /* take off the \n */ |
3996 buf[strlen(buf) - 1] = '\0'; | 3996 buf[strlen(buf) - 1] = '\0'; |
3997 | 3997 |
4164 gtk_widget_set_size_request(sw, 220, 220); | 4164 gtk_widget_set_size_request(sw, 220, 220); |
4165 gtk_container_add(GTK_CONTAINER(frame), sw); | 4165 gtk_container_add(GTK_CONTAINER(frame), sw); |
4166 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); | 4166 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); |
4167 | 4167 |
4168 while (fgets(buf, BUF_LONG, fp)) { | 4168 while (fgets(buf, BUF_LONG, fp)) { |
4169 if (strstr(buf, "---- New C")) { | 4169 if (strncmp(buf, "---- ", 5)==0) { |
4170 int length; | 4170 int length; |
4171 char *temp = strchr(buf, '@'); | 4171 char *temp = strchr(buf, '@'); |
4172 GtkTreeIter iter; | 4172 GtkTreeIter iter; |
4173 | 4173 |
4174 if (temp == NULL || strlen(temp) < 2) | 4174 if (temp == NULL || strlen(temp) < 2) |