comparison src/away.c @ 338:9d258a0aa560

[gaim-migrate @ 348] Whoa, all kinds of things happened here. The applet looks better. The preferences dialog changes based on your compile-time options (oscar, gnome). Whispering works again. libfaim got updated; it can almost do RVOUS stuff, and hopefully soon can make requests too. The applet doesn't need to have its sounds go through GNOME, although it still can. There is code to facilitate SOCKS5 support (all that needs to be done is to actually write the code to communicate with the proxy server). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Jun 2000 09:55:30 +0000
parents 83dd297aa363
children b402a23f35df
comparison
equal deleted inserted replaced
337:f5b199e20d12 338:9d258a0aa560
48 } 48 }
49 49
50 void do_im_back(GtkWidget *w, GtkWidget *x) 50 void do_im_back(GtkWidget *w, GtkWidget *x)
51 { 51 {
52 #ifdef USE_APPLET 52 #ifdef USE_APPLET
53 if(!blist) applet_widget_unregister_callback(APPLET_WIDGET(applet),"buddy");
54 applet_widget_unregister_callback(APPLET_WIDGET(applet),"away"); 53 applet_widget_unregister_callback(APPLET_WIDGET(applet),"away");
55 if(!blist) {
56 applet_widget_register_callback(APPLET_WIDGET(applet),
57 "buddy",
58 _("Buddy List"),
59 (AppletCallbackFunc)createOnlinePopup,
60 NULL);
61 }
62 MRI_user_status = online; 54 MRI_user_status = online;
63 insert_applet_away(); 55 insert_applet_away();
64 #endif /* USE_APPLET */ 56 #endif /* USE_APPLET */
65 if (imaway) { 57 if (imaway) {
66 gtk_widget_destroy(imaway); 58 gtk_widget_destroy(imaway);
98 char buf[BUF_LONG]; 90 char buf[BUF_LONG];
99 GList *cnv = conversations; 91 GList *cnv = conversations;
100 struct conversation *c; 92 struct conversation *c;
101 93
102 #ifdef USE_APPLET 94 #ifdef USE_APPLET
103 if(!blist) applet_widget_unregister_callback(APPLET_WIDGET(applet),"buddy");
104 remove_applet_away(); 95 remove_applet_away();
105 if(!blist) applet_widget_register_callback(APPLET_WIDGET(applet),
106 "buddy",
107 _("Buddy List"),
108 (AppletCallbackFunc)createOnlinePopup,
109 NULL);
110 applet_widget_register_callback(APPLET_WIDGET(applet), 96 applet_widget_register_callback(APPLET_WIDGET(applet),
111 "away", 97 "away",
112 _("Back"), 98 _("Back"),
113 (AppletCallbackFunc) do_im_back, 99 (AppletCallbackFunc) do_im_back,
114 NULL); 100 NULL);