Changeset 2140 for trunk/jons-gtk-gui

Show
Ignore:
Timestamp:
07/13/00 13:21:26 (8 years ago)
Author:
emojon
Message:

Fixed new problem with exiting the plugin not really exiting.

Location:
trunk/jons-gtk-gui/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk-gui/src/contact_list.cpp

    r2139 r2140  
    232232 
    233233        // See if they are not offline and want to be auto secured 
    234         if(pUser->AutoSecure()) 
     234        if(pUser->Status() != ICQ_STATUS_OFFLINE && pUser->AutoSecure()) 
    235235        { 
    236236            // Ok, now *can* they be auto secured? 
    237237            if((pUser->SecureChannelSupport() == SECURE_CHANNEL_SUPPORTED) && !pUser->Secure()) 
    238238                AutoSecureList.push_back(pUser->Uin()); 
    239                 //icq_daemon->icqOpenSecureChannel(_uin); 
    240239        } 
    241240 
  • trunk/jons-gtk-gui/src/main_window.cpp

    r2128 r2140  
    2929void main_window_delete_event(GtkWidget *mainwindow, gpointer data) 
    3030{ 
    31     gtk_main_quit(); 
     31    icq_daemon->Shutdown(); 
    3232} 
    3333 
  • trunk/jons-gtk-gui/src/menu.cpp

    r2120 r2140  
    150150void menu_system_quit(GtkWidget *blah, gpointer data) 
    151151{ 
    152     gtk_main_quit(); 
     152    icq_daemon->Shutdown(); 
    153153}  
    154154