Mercurial > pidgin.yaz
comparison src/away.c @ 621:991bf4e3c9fe
[gaim-migrate @ 631]
is dialogs.c about to hit v2.0 or 1.100? ;)
committer: Tailor Script <tailor@pidgin.im>
author | Todd Kulesza <fflewddur> |
---|---|
date | Sat, 05 Aug 2000 21:54:36 +0000 |
parents | f03f041c1aa9 |
children | 4d3285caa191 |
comparison
equal
deleted
inserted
replaced
620:43c67e5583eb | 621:991bf4e3c9fe |
---|---|
32 #include <stdlib.h> | 32 #include <stdlib.h> |
33 #include <time.h> | 33 #include <time.h> |
34 | 34 |
35 #include <gtk/gtk.h> | 35 #include <gtk/gtk.h> |
36 #include "gaim.h" | 36 #include "gaim.h" |
37 #include "pixmaps/join.xpm" | |
37 | 38 |
38 GtkWidget *imaway=NULL; | 39 GtkWidget *imaway=NULL; |
39 #ifdef USE_APPLET | 40 #ifdef USE_APPLET |
40 extern enum gaim_user_states MRI_user_status; | 41 extern enum gaim_user_states MRI_user_status; |
41 #endif | 42 #endif |
106 | 107 |
107 if (!imaway) { | 108 if (!imaway) { |
108 imaway = gtk_window_new(GTK_WINDOW_DIALOG); | 109 imaway = gtk_window_new(GTK_WINDOW_DIALOG); |
109 gtk_widget_realize(imaway); | 110 gtk_widget_realize(imaway); |
110 aol_icon(imaway->window); | 111 aol_icon(imaway->window); |
111 back = gtk_button_new_with_label(_("I'm Back!")); | 112 back = picture_button(imaway, _("I'm Back!"), join_xpm); |
112 bbox = gtk_hbox_new(TRUE, 10); | 113 bbox = gtk_hbox_new(TRUE, 10); |
113 topbox = gtk_hbox_new(FALSE, 5); | 114 topbox = gtk_hbox_new(FALSE, 5); |
114 vbox = gtk_vbox_new(FALSE, 5); | 115 vbox = gtk_vbox_new(FALSE, 5); |
115 | 116 |
116 awaytext = gtk_text_new(NULL, NULL); | 117 awaytext = gtk_text_new(NULL, NULL); |