Mercurial > pidgin
comparison src/prefs.c @ 588:e2cdcbfdc0b2
[gaim-migrate @ 598]
I some how mananged to miss the link dialog.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Wed, 02 Aug 2000 17:30:47 +0000 |
| parents | 56f7cb624e9e |
| children | 3fd5311a3894 |
comparison
equal
deleted
inserted
replaced
| 587:7f6f16b98083 | 588:e2cdcbfdc0b2 |
|---|---|
| 33 #include <stdlib.h> | 33 #include <stdlib.h> |
| 34 #include <gtk/gtk.h> | 34 #include <gtk/gtk.h> |
| 35 #include "gaim.h" | 35 #include "gaim.h" |
| 36 #include "proxy.h" | 36 #include "proxy.h" |
| 37 #include "gnome_applet_mgr.h" | 37 #include "gnome_applet_mgr.h" |
| 38 #include "pixmaps/close.xpm" | 38 #include "pixmaps/cancel.xpm" |
| 39 | 39 |
| 40 struct prefs_data *pd = NULL; | 40 struct prefs_data *pd = NULL; |
| 41 struct debug_window *dw = NULL; | 41 struct debug_window *dw = NULL; |
| 42 | 42 |
| 43 GtkWidget *debugbutton; | 43 GtkWidget *debugbutton; |
| 821 /* Build close button */ | 821 /* Build close button */ |
| 822 | 822 |
| 823 close = gtk_button_new(); | 823 close = gtk_button_new(); |
| 824 | 824 |
| 825 button_box = gtk_hbox_new(FALSE, 5); | 825 button_box = gtk_hbox_new(FALSE, 5); |
| 826 icon = gdk_pixmap_create_from_xpm_d ( pd->window->window, &mask, NULL, close_xpm); | 826 icon = gdk_pixmap_create_from_xpm_d ( pd->window->window, &mask, NULL, cancel_xpm); |
| 827 | 827 |
| 828 icon_i = gtk_pixmap_new(icon, mask); | 828 icon_i = gtk_pixmap_new(icon, mask); |
| 829 | 829 |
| 830 close_label = gtk_label_new(_("Close")); | 830 close_label = gtk_label_new(_("Close")); |
| 831 | 831 |
| 836 gtk_widget_show(icon_i); | 836 gtk_widget_show(icon_i); |
| 837 | 837 |
| 838 gtk_widget_show(button_box); | 838 gtk_widget_show(button_box); |
| 839 | 839 |
| 840 gtk_container_add(GTK_CONTAINER(close), button_box); | 840 gtk_container_add(GTK_CONTAINER(close), button_box); |
| 841 gtk_widget_set_usize(close, 75, 30); | |
| 841 | 842 |
| 842 /* End of close button */ | 843 /* End of close button */ |
| 843 | 844 |
| 844 | 845 |
| 845 if (display_options & OPT_DISP_COOL_LOOK) | 846 if (display_options & OPT_DISP_COOL_LOOK) |
