Mercurial > pidgin
comparison src/buddy.c @ 3137:b7fce1bf6b87
[gaim-migrate @ 3152]
if i were to close my eyes
and drift away to sleep
never to awaken; my heart is growing weak
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 12 Apr 2002 02:22:28 +0000 |
parents | 1bd472b7f7a2 |
children | 0697a3ad9f3b |
comparison
equal
deleted
inserted
replaced
3136:1bd472b7f7a2 | 3137:b7fce1bf6b87 |
---|---|
1839 gtk_misc_set_alignment(GTK_MISC(g->label), 0.0, 0.5); | 1839 gtk_misc_set_alignment(GTK_MISC(g->label), 0.0, 0.5); |
1840 gtk_widget_show(g->label); | 1840 gtk_widget_show(g->label); |
1841 | 1841 |
1842 gtk_container_add(GTK_CONTAINER(g->item), g->label); | 1842 gtk_container_add(GTK_CONTAINER(g->item), g->label); |
1843 | 1843 |
1844 style = gtk_style_new(); | |
1845 style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); | 1844 style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); |
1846 | 1845 |
1847 // style->font = gdk_font_load("-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"); | 1846 // style->font = gdk_font_load("-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"); |
1848 | 1847 |
1849 style->fg[0].red = 104 * 255; | 1848 style->fg[0].red = 104 * 255; |
1850 style->fg[0].green = 20 * 255; | 1849 style->fg[0].green = 20 * 255; |
1851 style->fg[0].blue = 20* 255; | 1850 style->fg[0].blue = 20* 255; |
1852 | 1851 |
1853 gtk_widget_set_style(GTK_WIDGET(g->label), style); | 1852 gtk_widget_set_style(GTK_WIDGET(g->label), style); |
1853 gtk_style_unref(style); | |
1854 | 1854 |
1855 | 1855 |
1856 shows = g_slist_insert(shows, g, pos); | 1856 shows = g_slist_insert(shows, g, pos); |
1857 | 1857 |
1858 /* Rob does drugs - this is still evil, damn you becausse I SAID SO! */ | 1858 /* Rob does drugs - this is still evil, damn you becausse I SAID SO! */ |
1874 | 1874 |
1875 gdk_pixmap_unref(pm); | 1875 gdk_pixmap_unref(pm); |
1876 gdk_bitmap_unref(bm); | 1876 gdk_bitmap_unref(bm); |
1877 | 1877 |
1878 // style = gtk_widget_get_style(GTK_TREE_ITEM(g->item)->pixmaps_box); | 1878 // style = gtk_widget_get_style(GTK_TREE_ITEM(g->item)->pixmaps_box); |
1879 style2 = gtk_style_new(); | |
1880 style2 = gtk_style_copy(gtk_widget_get_style(g->item)); | 1879 style2 = gtk_style_copy(gtk_widget_get_style(g->item)); |
1881 style = gtk_style_new(); | |
1882 style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); | 1880 style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); |
1881 | |
1883 style->bg[0] = style2->base[0]; | 1882 style->bg[0] = style2->base[0]; |
1884 gtk_widget_set_style(GTK_TREE_ITEM(g->item)->pixmaps_box, style); | 1883 gtk_widget_set_style(GTK_TREE_ITEM(g->item)->pixmaps_box, style); |
1884 | |
1885 gtk_style_unref(style); | |
1886 gtk_style_unref(style2); | |
1885 | 1887 |
1886 /* bad drugs */ | 1888 /* bad drugs */ |
1887 | 1889 |
1888 update_num_group(g); | 1890 update_num_group(g); |
1889 | 1891 |