Mercurial > pidgin
comparison src/conversation.c @ 2767:e5e78d42e49e
[gaim-migrate @ 2780]
hi.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Mon, 19 Nov 2001 15:25:36 +0000 |
| parents | 477a035d81e5 |
| children | a0fd8f91e294 |
comparison
equal
deleted
inserted
replaced
| 2766:0e082a9e4c32 | 2767:e5e78d42e49e |
|---|---|
| 2773 if (c->icon_timer) { | 2773 if (c->icon_timer) { |
| 2774 button = gtk_menu_item_new_with_label(_("Disable Animation")); | 2774 button = gtk_menu_item_new_with_label(_("Disable Animation")); |
| 2775 gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(stop_anim), c); | 2775 gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(stop_anim), c); |
| 2776 gtk_menu_append(GTK_MENU(menu), button); | 2776 gtk_menu_append(GTK_MENU(menu), button); |
| 2777 gtk_widget_show(button); | 2777 gtk_widget_show(button); |
| 2778 } else if (c->anim) { | 2778 } else if (c->anim && (gdk_pixbuf_animation_get_num_frames(c->anim) > 1)) { |
| 2779 button = gtk_menu_item_new_with_label(_("Enable Animation")); | 2779 button = gtk_menu_item_new_with_label(_("Enable Animation")); |
| 2780 gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(start_anim), c); | 2780 gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(start_anim), c); |
| 2781 gtk_menu_append(GTK_MENU(menu), button); | 2781 gtk_menu_append(GTK_MENU(menu), button); |
| 2782 gtk_widget_show(button); | 2782 gtk_widget_show(button); |
| 2783 } | 2783 } |
