Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 4965:6e7082cf0892
[gaim-migrate @ 5299]
April fools.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 03 Apr 2003 02:32:17 +0000 |
parents | 7f5e7f2ef317 |
children | 3ee1b1409660 |
comparison
equal
deleted
inserted
replaced
4964:b9b2d7665721 | 4965:6e7082cf0892 |
---|---|
1746 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkwin->menu.sounds), | 1746 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkwin->menu.sounds), |
1747 gtkconv->make_sound); | 1747 gtkconv->make_sound); |
1748 | 1748 |
1749 gtk_widget_grab_focus(gtkconv->entry); | 1749 gtk_widget_grab_focus(gtkconv->entry); |
1750 | 1750 |
1751 { | 1751 gtk_window_set_title(GTK_WINDOW(gtkwin->window), |
1752 char *sn = gtk_label_get_text(GTK_LABEL(gtkconv->tab_label)); | 1752 gtk_label_get_text(GTK_LABEL(gtkconv->tab_label))); |
1753 char *joke = g_strdup_printf("%s is a %s", sn, | |
1754 strcmp("SeanEgn", sn) ? "stupidhead" : "genius"); | |
1755 | |
1756 gtk_window_set_title(GTK_WINDOW(gtkwin->window), | |
1757 joke); | |
1758 g_free(joke); | |
1759 } | |
1760 } | 1753 } |
1761 | 1754 |
1762 /************************************************************************** | 1755 /************************************************************************** |
1763 * Utility functions | 1756 * Utility functions |
1764 **************************************************************************/ | 1757 **************************************************************************/ |