Mercurial > pidgin
comparison src/about.c @ 3630:9682c0e022c6
[gaim-migrate @ 3753]
Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 11 Oct 2002 03:14:01 +0000 |
parents | cfbdfe334975 |
children | 03e58c078917 |
comparison
equal
deleted
inserted
replaced
3629:afc5bb164c5a | 3630:9682c0e022c6 |
---|---|
79 GtkStyle *style; | 79 GtkStyle *style; |
80 GdkPixmap *pm; | 80 GdkPixmap *pm; |
81 GdkBitmap *bm; | 81 GdkBitmap *bm; |
82 GtkWidget *hbox; | 82 GtkWidget *hbox; |
83 GtkWidget *button; | 83 GtkWidget *button; |
84 GtkWidget *text; | 84 GtkWidget *view; |
85 GtkTextBuffer *buffer; | |
85 GtkWidget *sw; | 86 GtkWidget *sw; |
86 | 87 |
87 char abouttitle[45]; | 88 char abouttitle[45]; |
88 | 89 |
89 if (!about) { | 90 if (!about) { |
129 | 130 |
130 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); | 131 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); |
131 gtk_box_pack_start(GTK_BOX(fbox), label, TRUE, TRUE, 0); | 132 gtk_box_pack_start(GTK_BOX(fbox), label, TRUE, TRUE, 0); |
132 gtk_widget_show(label); | 133 gtk_widget_show(label); |
133 | 134 |
134 text = gtk_text_new(NULL, NULL); | 135 view = gtk_text_view_new (); |
135 | 136 |
136 gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, | 137 buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); |
137 _("Active Developers\n====================\nRob Flynn (maintainer) [ rob@marko.net ]\nSean Egan (coder) [ bj91704@binghamton.edu ]\n\nCrazy Patch Writers\n===================\nBenjamin Miller\nDecklin Foster\nNathan Walp\nMark Doliner\n\nRetired Developers\n===================\nJim Duchek\nEric Warmenhoven [ warmenhoven@yahoo.com ]\nMark Spencer (original author) [ markster@marko.net ]"), 394); | 138 |
139 gtk_text_buffer_set_text (buffer, | |
140 "Active Developers\n" | |
141 "=================\n" | |
142 "Rob Flynn (maintainer) [ rob@marko.net ]\n" | |
143 "Sean Egan (coder) [ bj91704@binghamton.edu ]\n" | |
144 "\n" | |
145 "Crazy Patch Writers\n" | |
146 "===================\n" | |
147 "Benjamin Miller\n" | |
148 "Decklin Foster\n" | |
149 "Nathan Walp\n" | |
150 "Mark Doliner\n" | |
151 "\n" | |
152 "WIN32 Port\n" | |
153 "==========\n" | |
154 "Herman Bloggs [ hermanator12002@yahoo.com ]\n" | |
155 "\n" | |
156 "Retired Developers\n" | |
157 "==================\n" | |
158 "Jim Duchek\n" | |
159 "Eric Warmenhoven [ warmenhoven@yahoo.com ]\n" | |
160 "Mark Spencer (original author) [ markster@marko.net ]\n" | |
161 "\n", | |
162 -1); | |
138 | 163 |
139 sw = gtk_scrolled_window_new(NULL, NULL); | 164 sw = gtk_scrolled_window_new(NULL, NULL); |
140 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); | 165 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); |
141 | 166 |
142 gtk_container_add(GTK_CONTAINER(sw), text); | 167 gtk_container_add(GTK_CONTAINER(sw), view); |
143 gtk_widget_set_usize(GTK_WIDGET(sw), -1, 150); | 168 gtk_widget_set_usize(GTK_WIDGET(sw), -1, 150); |
144 gtk_widget_show(sw); | 169 gtk_widget_show(sw); |
145 | 170 |
146 gtk_box_pack_start(GTK_BOX(fbox), sw, TRUE, TRUE, 0); | 171 gtk_box_pack_start(GTK_BOX(fbox), sw, TRUE, TRUE, 0); |
147 gtk_widget_show(text); | 172 gtk_widget_show(view); |
148 | 173 |
149 /* Close Button */ | 174 /* Close Button */ |
150 | 175 |
151 hbox = gtk_hbox_new(FALSE, 5); | 176 hbox = gtk_hbox_new(FALSE, 5); |
152 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); | 177 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); |