Mercurial > pidgin.yaz
changeset 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 | 43c67e5583eb |
children | 7f8b85e2e894 |
files | pixmaps/plugins.xpm pixmaps/register.xpm src/aim.c src/away.c |
diffstat | 4 files changed, 215 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pixmaps/plugins.xpm Sat Aug 05 21:54:36 2000 +0000 @@ -0,0 +1,101 @@ +/* XPM */ +static char * plugins_xpm[] = { +"24 24 74 1", +" c None", +". c #000000", +"+ c #B2A97E", +"@ c #B6AD81", +"# c #7A7356", +"$ c #B0A77C", +"% c #B5AC80", +"& c #BAB184", +"* c #BBB284", +"= c #B6AD80", +"- c #ADA57B", +"; c #B7AE81", +"> c #BDB486", +", c #837C5C", +"' c #B4AC80", +") c #7C7557", +"! c #C0B687", +"~ c #BEB586", +"{ c #B1A87D", +"] c #B9B082", +"^ c #C0B788", +"/ c #AFA77C", +"( c #BAB183", +"_ c #BBB285", +": c #BCB385", +"< c #C4BB8B", +"[ c #C6BC8C", +"} c #C7BD8D", +"| c #C7BE8D", +"1 c #C8BF8E", +"2 c #C8BE8D", +"3 c #C5BC8B", +"4 c #C1B788", +"5 c #CDC391", +"6 c #D0C693", +"7 c #D1C794", +"8 c #D3C995", +"9 c #CDC491", +"0 c #C2B889", +"a c #CAC18F", +"b c #D5CB97", +"c c #D6CC97", +"d c #D6CC98", +"e c #D7CD98", +"f c #CEC491", +"g c #C2B98A", +"h c #CBC18F", +"i c #C1B889", +"j c #8A8261", +"k c #D4CA96", +"l c #80785A", +"m c #B9B183", +"n c #827C5B", +"o c #CFC592", +"p c #C7BD8C", +"q c #C3BA8A", +"r c #CAC08F", +"s c #D0C793", +"t c #7C7657", +"u c #D2C894", +"v c #D2C995", +"w c #CCC290", +"x c #C4BA8A", +"y c #D1C793", +"z c #CEC592", +"A c #C5BC8C", +"B c #CFC693", +"C c #C1B888", +"D c #C8BF8D", +"E c #C9C08F", +"F c #C9BF8E", +"G c #C5BB8B", +"H c #C2B989", +"I c #BFB687", +" ", +" ", +" ", +" .... ", +" .+.@#. ", +" .$%&*=-. ", +" ..;>,$.. ", +" .-')!~@. ... ", +" ..{]~^.. . / . . ", +" .#.(#. ..&_:.. . ", +" . .. <[}|12134 . ", +" .156788791. ", +" .0a7bcdec8f.. ", +" . gh7cij|ek62 . ", +" .*ga7blmnekop~. ", +" . qr6kstruvwx . ", +" ..29u8oyuz2.. ", +" .ArfB6ow2C. ", +" . q[DEF|G^* . ", +" . ..H0I.. . ", +" . . ( . . ", +" ... ", +" ", +" "};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pixmaps/register.xpm Sat Aug 05 21:54:36 2000 +0000 @@ -0,0 +1,91 @@ +/* XPM */ +static char * register_xpm[] = { +"24 24 64 1", +" c None", +". c #000000", +"+ c #BEBEBE", +"@ c #9A9A9A", +"# c #F0F0F0", +"$ c #DADADA", +"% c #D4D4D4", +"& c #ECECEC", +"* c #F2F2F2", +"= c #EFEFEF", +"- c #EDEDED", +"; c #AEAEAE", +"> c #EAEAEA", +", c #EEEEEE", +"' c #E7E7E7", +") c #B2B2B2", +"! c #E9E9E9", +"~ c #D0D0D0", +"{ c #D3D3D3", +"] c #A0A0A0", +"^ c #E4E4E4", +"/ c #A2A2A2", +"( c #E0E0E0", +"_ c #F5F5F5", +": c #F6F6F6", +"< c #D9D9D9", +"[ c #BFBFBF", +"} c #D5D5D5", +"| c #E5E5E5", +"1 c #F3F3F3", +"2 c #8A8A8A", +"3 c #636363", +"4 c #CECECE", +"5 c #CACACA", +"6 c #DCDCDC", +"7 c #DEDEDE", +"8 c #DFDFDF", +"9 c #515151", +"0 c #9E9E9E", +"a c #F1F1F1", +"b c #EBEBEB", +"c c #939393", +"d c #656565", +"e c #5B5B5B", +"f c #C6C6C6", +"g c #808080", +"h c #C3C3C3", +"i c #737373", +"j c #A6A6A6", +"k c #DBDBDB", +"l c #616161", +"m c #6A6A6A", +"n c #6C6C6C", +"o c #ACACAC", +"p c #242424", +"q c #2A2A2A", +"r c #D8D8D8", +"s c #0C0C0C", +"t c #161616", +"u c #575757", +"v c #838383", +"w c #777777", +"x c #A8A8A8", +"y c #4F4F4F", +" ", +" ", +" .+@# ", +" .++## ", +" .+$#### ", +" .+###%## ", +" .+##&##*=- ", +" .;###%>#%,' ", +" .)##%##%!#~'{ ", +" .]##-%##&,,^/(=_::::; ", +" .<###*##~![}|1::::;2 ", +" .3|##-},!456,7:8::29. ", +" .0##ab~;c<,_::::;de. ", +" .<##f+g(&_8:88:29. ", +" .3|=hijk#:::::;de. ", +" .l&im8!_88:8:2c. ", +" ..9no|a_::::;dn. ", +" ..pq+r#:::::2c. ", +" .stu++++kk[dn. ", +" ...2v++++wc. ", +" ...ix+we. ", +" ...y. ", +" .. ", +" "};
--- a/src/aim.c Sat Aug 05 19:25:01 2000 +0000 +++ b/src/aim.c Sat Aug 05 21:54:36 2000 +0000 @@ -48,6 +48,11 @@ #include "gaim.h" #ifndef USE_APPLET #include "pixmaps/logo.xpm" +#include "pixmaps/gnome_preferences.xpm" +#include "pixmaps/join.xpm" +#include "pixmaps/cancel.xpm" +#include "pixmaps/plugins.xpm" +#include "pixmaps/register.xpm" #endif /* USE_APPLET */ #if HAVE_SIGNAL_H #include <signal.h> @@ -326,6 +331,7 @@ GtkWidget *reg; GtkWidget *bbox; GtkWidget *hbox; + GtkWidget *rbox; GtkWidget *sbox; GtkWidget *label; GtkWidget *table; @@ -344,20 +350,21 @@ } mainwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); - signon = gtk_button_new_with_label(_("Signon")); - cancel = gtk_button_new_with_label(_("Cancel")); - reg = gtk_button_new_with_label(_("Register")); - options = gtk_button_new_with_label(_("Options")); + gtk_widget_realize(mainwindow); + signon = picture_button(mainwindow, _("Signon"), join_xpm); + cancel = picture_button(mainwindow, _("Cancel"), cancel_xpm); + reg = picture_button(mainwindow, _("Create Account"), register_xpm); + options = picture_button(mainwindow, _("Options"), gnome_preferences_xpm); #ifdef GAIM_PLUGINS - plugs = gtk_button_new_with_label(_("Plugins")); + plugs = picture_button(mainwindow, _("Plugins"), plugins_xpm); #endif table = gtk_table_new(8, 2, FALSE); name = gtk_combo_new(); pass = gtk_entry_new(); notice = gtk_statusbar_new(); - progress = gtk_progress_bar_new(); + progress = gtk_progress_bar_new(); - gtk_combo_set_popdown_strings(GTK_COMBO(name), combo_user_names()); + gtk_combo_set_popdown_strings(GTK_COMBO(name), combo_user_names()); if (display_options & OPT_DISP_COOL_LOOK) { @@ -403,9 +410,10 @@ /* Homogenous spacing, 10 padding */ bbox = gtk_hbox_new(TRUE, 10); hbox = gtk_hbox_new(TRUE, 10); - sbox = gtk_vbox_new(TRUE, 10); + rbox = gtk_hbox_new(TRUE, 10); + sbox = gtk_vbox_new(TRUE, 5); - gtk_box_pack_start(GTK_BOX(bbox), reg, TRUE, TRUE, 0); + gtk_box_pack_start(GTK_BOX(rbox), reg, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(bbox), cancel, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(bbox), signon, TRUE, TRUE, 0); @@ -416,6 +424,7 @@ gtk_box_pack_start(GTK_BOX(sbox), bbox, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(sbox), hbox, TRUE, TRUE, 0); + gtk_box_pack_start(GTK_BOX(sbox), rbox, TRUE, TRUE, 0); /* Labels for selectors and text boxes */ #if 0 @@ -439,8 +448,8 @@ #endif /* Adjust sizes of inputs */ - gtk_widget_set_usize(name,95,0); - gtk_widget_set_usize(pass,95,0); + gtk_widget_set_usize(name,100,0); + gtk_widget_set_usize(pass,100,0); /* Status and label */ @@ -460,6 +469,7 @@ gtk_widget_show(reg); gtk_widget_show(bbox); gtk_widget_show(hbox); + gtk_widget_show(rbox); gtk_widget_show(sbox); gtk_table_attach(GTK_TABLE(table), sbox, 0,2,7,8,0,0, 5, 5);
--- a/src/away.c Sat Aug 05 19:25:01 2000 +0000 +++ b/src/away.c Sat Aug 05 21:54:36 2000 +0000 @@ -34,6 +34,7 @@ #include <gtk/gtk.h> #include "gaim.h" +#include "pixmaps/join.xpm" GtkWidget *imaway=NULL; #ifdef USE_APPLET @@ -108,7 +109,7 @@ imaway = gtk_window_new(GTK_WINDOW_DIALOG); gtk_widget_realize(imaway); aol_icon(imaway->window); - back = gtk_button_new_with_label(_("I'm Back!")); + back = picture_button(imaway, _("I'm Back!"), join_xpm); bbox = gtk_hbox_new(TRUE, 10); topbox = gtk_hbox_new(FALSE, 5); vbox = gtk_vbox_new(FALSE, 5);