Changeset 6958


Ignore:
Timestamp:
Aug 26, 2013 6:22:10 AM (15 months ago)
Author:
tboeckel
Message:
  • mui/SignatureTextEdit.c: removed unused method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mui/SignatureTextEdit.c

    r6948 r6958  
    164164/// 
    165165 
    166 /* Private Functions */ 
    167  
    168166/* Public Methods */ 
    169 /// DECLARE(SetSignatureText) 
    170 DECLARE(SetSignatureText) // const char *sigText 
    171 { 
    172   GETDATA; 
    173   char *parsedSig; 
    174  
    175   ENTER(); 
    176  
    177   // refresh ourself with the new signature text 
    178   if(msg->sigText != NULL && (parsedSig = ParseEmailText(msg->sigText, FALSE, TRUE, TRUE)) != NULL) 
    179   { 
    180     BOOL modified; 
    181  
    182     if(data->sigNode != NULL && data->sigNode->signature != NULL) 
    183       modified = (strcmp(msg->sigText, data->sigNode->signature) != 0); 
    184     else 
    185       modified = TRUE; 
    186  
    187     xset(obj, MUIA_TextEditor_Contents, parsedSig, 
    188               MUIA_TextEditor_HasChanged, modified); 
    189  
    190     dstrfree(parsedSig); 
    191   } 
    192   else 
    193   { 
    194     if(msg->sigText != NULL) 
    195       W(DBF_CONFIG, "couldn't load signature '%s' in texteditor", SafeStr(msg->sigText)); 
    196  
    197     xset(obj, MUIA_TextEditor_Contents, "", 
    198               MUIA_TextEditor_HasChanged, FALSE); 
    199   } 
    200  
    201   RETURN(0); 
    202   return 0; 
    203 } 
    204  
    205 /// 
    206167/// DECLARE(EditExternally) 
    207168DECLARE(EditExternally) 
Note: See TracChangeset for help on using the changeset viewer.