Mercurial > pidgin
comparison src/about.c @ 349:b402a23f35df
[gaim-migrate @ 359]
Let's see if *this* doesn't break everything
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 07 Jun 2000 17:14:32 +0000 |
| parents | 9d258a0aa560 |
| children | 3a08866712a8 |
comparison
equal
deleted
inserted
replaced
| 348:29f95b2b3e38 | 349:b402a23f35df |
|---|---|
| 17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
| 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifdef HAVE_CONFIG_H | |
| 23 #include "../config.h" | |
| 24 #endif | |
| 22 #include <string.h> | 25 #include <string.h> |
| 23 #include <stdio.h> | 26 #include <stdio.h> |
| 24 #include <stdlib.h> | 27 #include <stdlib.h> |
| 25 #include <time.h> | 28 #include <time.h> |
| 26 | 29 |
| 51 char abouttitle[45]; | 54 char abouttitle[45]; |
| 52 | 55 |
| 53 if (!about) { | 56 if (!about) { |
| 54 about = gtk_window_new(GTK_WINDOW_DIALOG); | 57 about = gtk_window_new(GTK_WINDOW_DIALOG); |
| 55 | 58 |
| 56 g_snprintf(abouttitle, sizeof(abouttitle), "About GAIM v%s", VERSION); | 59 g_snprintf(abouttitle, sizeof(abouttitle), _("About GAIM v%s"), VERSION); |
| 57 gtk_window_set_title(GTK_WINDOW(about), abouttitle); | 60 gtk_window_set_title(GTK_WINDOW(about), abouttitle); |
| 58 gtk_container_border_width(GTK_CONTAINER(about), 2); | 61 gtk_container_border_width(GTK_CONTAINER(about), 2); |
| 59 gtk_widget_set_usize(about, 510, 370); | 62 gtk_widget_set_usize(about, 510, 370); |
| 60 | 63 |
| 61 gtk_widget_show(about); | 64 gtk_widget_show(about); |
