Changeset 65


Ignore:
Timestamp:
10/30/2008 11:08:08 PM (14 years ago)
Author:
marcus
Message:

r50 | svn | 2008-10-16 15:31:16 +0200 (Do, 16 Okt 2008) | 1 line

fix problem with but-bp autofilter; ReadAgain? didnt remember filter

Location:
SH_SHM/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/inputs/filter_lookup.txt

    r51 r65  
    353353NKC-BH-N GRSN 
    354354NKC-BH-E GRSN 
     355NKC-HH-Z GRSN 
     356NKC-HH-N GRSN 
     357NKC-HH-E GRSN 
    355358OKC-BH-Z GRSN 
    356359OKC-BH-N GRSN 
  • SH_SHM/trunk/inputs/sensitivities.txt

    r56 r65  
    22!      ================= 
    33! 
    4 ! $Revision: 41 $, $Date: 2008-10-13 10:41:39 +0200 (Mo, 13 Okt 2008) $ 
     4! $Revision: 50 $, $Date: 2008-10-16 15:31:16 +0200 (Do, 16 Okt 2008) $ 
    55! 
    66! Sensitivity file for data streams 
     
    541541nkc-bh-?    16-may-1997         9-sep-2003         0.749 
    542542nkc-bh-?    10-sep-2003        ...                 1.67 
     543nkc-hh-?    16-may-1997         9-sep-2003         0.749 
     544nkc-hh-?    10-sep-2003        ...                 1.67 
    543545 
    544546ojc-bh-?     1-jan-1991        ...                 0.198 
  • SH_SHM/trunk/source/motif/mfexec.c

    r64 r65  
    33 *      ======== 
    44 * 
    5  * $Revision: 49 $, $Date: 2008-10-14 22:36:40 +0200 (Di, 14 Okt 2008) $ 
     5 * $Revision: 50 $, $Date: 2008-10-16 15:31:16 +0200 (Do, 16 Okt 2008) $ 
    66 * 
    77 * execution of SH commands 
     
    11901190        XtSetValues( w[k_widget_filter_autocut_option], al, 1 ); 
    11911191 
    1192         for  (i=k_widget_filter_none; i<=k_widget_filter_sro_lp; i++) 
     1192        for  (i=k_widget_filter_none; i<=k_widget_filter_displace; i++) 
    11931193                if  (i != k_widget_filter_lrsm_lp) 
    11941194                        XmToggleButtonSetState( w[i], FALSE, FALSE ); 
     
    12091209        else if  (strcmp(fil->name,"SRO_LP") == 0) 
    12101210                XmToggleButtonSetState( w[k_widget_filter_sro_lp], TRUE, FALSE ); 
     1211        else if  (strcmp(fil->name,"BUT_BP") == 0) 
     1212                XmToggleButtonSetState( w[k_widget_filter_but_bp], TRUE, FALSE ); 
     1213        else if  (strcmp(fil->name,"BUT_HP") == 0) 
     1214                XmToggleButtonSetState( w[k_widget_filter_but_hp], TRUE, FALSE ); 
     1215        else if  (strcmp(fil->name,"BUT_LP") == 0) 
     1216                XmToggleButtonSetState( w[k_widget_filter_but_lp], TRUE, FALSE ); 
     1217        else if  (strcmp(fil->name,"DISPLACEMENT") == 0) 
     1218                XmToggleButtonSetState( w[k_widget_filter_displace], TRUE, FALSE ); 
    12111219 
    12121220        cu_set_string( w[k_widget_filter_edit_text], fil->name ); 
  • SH_SHM/trunk/source/motif/shm.c

    r64 r65  
    33 *      ===== 
    44 * 
    5  * $Revision: 49 $, $Date: 2008-10-14 22:36:40 +0200 (Di, 14 Okt 2008) $ 
     5 * $Revision: 50 $, $Date: 2008-10-16 15:31:16 +0200 (Do, 16 Okt 2008) $ 
    66 * 
    77 * main module of shm 
     
    15011501                } /*endif*/ 
    15021502                if  (strcmp(GpGetString(cGpS_default_filter),"BUT_BP") == 0)  { 
     1503                        strcpy( xmv_cmd_filter.name, cu_get_string( 
     1504                                xmv_w[k_widget_filter_edit_text]) ); 
    15031505                        cl_create_filter( xmv_w, CLC_CREFIL_BUT_BP, &status ); 
     1506                        cu_set_string( xmv_w[k_widget_filter_edit_text], xmv_cmd_filter.name ); 
    15041507                        if  (Severe(&status))  { 
    15051508                                cl2_display_busy( xmv_w, FALSE ); 
    15061509                                break; 
    15071510                        } /*endif*/ 
    1508                         strcpy( xmv_cmd_filter.name, cu_get_string( 
    1509                                 xmv_w[k_widget_filter_edit_text]) ); 
    15101511                } /*endif*/ 
    15111512                if  (xmv_cmd_filter.name[0] != '\0')  { 
Note: See TracChangeset for help on using the changeset viewer.