comparison src/multi.c @ 1106:5bc8fdacd2cb

[gaim-migrate @ 1116] lots of changes. buddy.c: just in general tried to get things to work better. moving things in the edit list window and signing off should be handled better in the main buddy list window (watch out for flashes). gaim.h: removed toc-specific things and moved them to toc.c and rvous.c as needed. gtkhtml.c: possible fix for AOL 6.0 problems (I wasn't able to reproduce the problem before or after the fix, but i fixed what i think might have been causing the problem). multi.c: moved LOGIN_STEPS from gaim.h here and actually use it now oscar.c: moved an oscar-specific struct definition from gaim.h here and also handle problems better perl.c: fix for stupid problem rvous.c: first pass at attempt to be able to remove toc.c and rvous.c (though this will never happen; gaim will support toc as long as aol does) without cruft. gaim is now only dependent on toc.c and rvous.c for toc_build_config and parse_toc_buddy_list, which gaim needs to save and read its buddy list. toc.c: rewrote the signin process so that the read()'s won't block. it's not actually a non-blocking read; it's just that it won't ever get to the read until there's data to be read (thanks to the gdk_input watcher). this means the cancel button should work after it's connected, but it's still not a non-blocking connect. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 20 Nov 2000 07:24:18 +0000
parents f0f5c10cce63
children c73736fa0b7c
comparison
equal deleted inserted replaced
1105:c964df5b2a84 1106:5bc8fdacd2cb
30 #include "pixmaps/join.xpm" 30 #include "pixmaps/join.xpm"
31 #include "pixmaps/gnome_remove.xpm" 31 #include "pixmaps/gnome_remove.xpm"
32 #include "pixmaps/gnome_close.xpm" 32 #include "pixmaps/gnome_close.xpm"
33 #include "pixmaps/cancel.xpm" 33 #include "pixmaps/cancel.xpm"
34 #include "pixmaps/ok.xpm" 34 #include "pixmaps/ok.xpm"
35
36 #define LOGIN_STEPS 5
35 37
36 GSList *connections; 38 GSList *connections;
37 39
38 static GtkWidget *acctedit = NULL; 40 static GtkWidget *acctedit = NULL;
39 static GtkWidget *list = NULL; /* the clist of names in the accteditor */ 41 static GtkWidget *list = NULL; /* the clist of names in the accteditor */
832 gtk_widget_show(button); 834 gtk_widget_show(button);
833 835
834 gtk_widget_show(gc->meter); 836 gtk_widget_show(gc->meter);
835 } 837 }
836 838
837 gtk_progress_bar_update(GTK_PROGRESS_BAR(gc->progress), howfar / 5); 839 gtk_progress_bar_update(GTK_PROGRESS_BAR(gc->progress), howfar / LOGIN_STEPS);
838 gtk_statusbar_pop(GTK_STATUSBAR(gc->status), 1); 840 gtk_statusbar_pop(GTK_STATUSBAR(gc->status), 1);
839 gtk_statusbar_push(GTK_STATUSBAR(gc->status), 1, message); 841 gtk_statusbar_push(GTK_STATUSBAR(gc->status), 1, message);
840 } 842 }
841 843
842 void hide_login_progress(struct gaim_connection *gc, char *why) 844 void hide_login_progress(struct gaim_connection *gc, char *why)