Mercurial > pidgin
comparison src/about.c @ 2372:2927c2c26fe6
[gaim-migrate @ 2385]
reformatting. nothing else.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 27 Sep 2001 19:17:11 +0000 |
parents | ba6d3f0467cb |
children | 6f83c22d9e70 |
comparison
equal
deleted
inserted
replaced
2371:db02399a9ad7 | 2372:2927c2c26fe6 |
---|---|
113 gtk_container_add(GTK_CONTAINER(frame), fbox); | 113 gtk_container_add(GTK_CONTAINER(frame), fbox); |
114 | 114 |
115 /* Left side, TOP */ | 115 /* Left side, TOP */ |
116 style = gtk_widget_get_style(about); | 116 style = gtk_widget_get_style(about); |
117 pm = gdk_pixmap_create_from_xpm_d(about->window, &bm, | 117 pm = gdk_pixmap_create_from_xpm_d(about->window, &bm, |
118 &style->bg[GTK_STATE_NORMAL], (gchar **) aol_logo); | 118 &style->bg[GTK_STATE_NORMAL], (gchar **)aol_logo); |
119 pixmap = gtk_pixmap_new(pm, bm); | 119 pixmap = gtk_pixmap_new(pm, bm); |
120 | 120 |
121 gdk_pixmap_unref(pm); | 121 gdk_pixmap_unref(pm); |
122 gdk_bitmap_unref(bm); | 122 gdk_bitmap_unref(bm); |
123 | 123 |
124 gtk_box_pack_start(GTK_BOX(fbox), pixmap, FALSE, FALSE, 0); | 124 gtk_box_pack_start(GTK_BOX(fbox), pixmap, FALSE, FALSE, 0); |
125 | 125 |
126 label = gtk_label_new(_("GAIM is a client that supports AOL's Instant Messenger protocol. It is written\n" | 126 label = |
127 "using Gtk+ and is licensed under the GPL.\n\n" | 127 gtk_label_new( |
128 "URL: " WEBSITE)); | 128 _("GAIM is a client that supports AOL's Instant Messenger protocol. It is written\n" |
129 "using Gtk+ and is licensed under the GPL.\n\n" "URL: " WEBSITE)); | |
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 | 132 |
132 gtk_box_pack_start(GTK_BOX(fbox), label, TRUE, TRUE, 0); | 133 gtk_box_pack_start(GTK_BOX(fbox), label, TRUE, TRUE, 0); |
133 | 134 |
134 text = gtk_text_new(NULL, NULL); | 135 text = gtk_text_new(NULL, NULL); |
135 | 136 |
136 gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, _("Rob Flynn (maintainer) rob@marko.net\nEric Warmenhoven (lead coder) warmenhoven@yahoo.com\n\nBenjamin Miller\nDecklin Foster\nJim Duchek\nMark Spencer (original author) markster@marko.net"), 198); | 137 gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, |
137 | 138 _("Rob Flynn (maintainer) rob@marko.net\nEric Warmenhoven (lead coder) warmenhoven@yahoo.com\n\nBenjamin Miller\nDecklin Foster\nJim Duchek\nMark Spencer (original author) markster@marko.net"), |
139 198); | |
140 | |
138 gtk_widget_show(text); | 141 gtk_widget_show(text); |
139 | 142 |
140 gtk_box_pack_start(GTK_BOX(fbox), text, TRUE, TRUE, 0); | 143 gtk_box_pack_start(GTK_BOX(fbox), text, TRUE, TRUE, 0); |
141 | 144 |
142 /* Close Button */ | 145 /* Close Button */ |
212 hbox = gtk_hbox_new(FALSE, 10); | 215 hbox = gtk_hbox_new(FALSE, 10); |
213 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 216 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
214 | 217 |
215 close = picture_button(help, _("Close"), cancel_xpm); | 218 close = picture_button(help, _("Close"), cancel_xpm); |
216 gtk_box_pack_end(GTK_BOX(hbox), close, FALSE, FALSE, 5); | 219 gtk_box_pack_end(GTK_BOX(hbox), close, FALSE, FALSE, 5); |
217 gtk_signal_connect(GTK_OBJECT(close), "clicked", | 220 gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(destroy_help), NULL); |
218 GTK_SIGNAL_FUNC(destroy_help), NULL); | |
219 | 221 |
220 pm = gdk_pixmap_create_from_xpm_d(help->window, &bm, NULL, panic_xpm); | 222 pm = gdk_pixmap_create_from_xpm_d(help->window, &bm, NULL, panic_xpm); |
221 pix = gtk_pixmap_new(pm, bm); | 223 pix = gtk_pixmap_new(pm, bm); |
222 gdk_pixmap_unref(pm); | 224 gdk_pixmap_unref(pm); |
223 gdk_bitmap_unref(bm); | 225 gdk_bitmap_unref(bm); |