Changeset 12743

Show
Ignore:
Timestamp:
27.10.2009 17:02:41 (4 weeks ago)
Author:
maeder
Message:

shortened comorphism name

Location:
trunk/GUI
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/GUI/Glade/ConsistencyChecker.glade

    r12670 r12743  
    77      <widget class="GtkVBox" id="vbox3"> 
    88        <property name="visible">True</property> 
    9         <property name="orientation">vertical</property> 
    109        <child> 
    1110          <widget class="GtkHBox" id="hbox1"> 
     
    1413              <widget class="GtkVBox" id="vbox4"> 
    1514                <property name="visible">True</property> 
    16                 <property name="orientation">vertical</property> 
    1715                <child> 
    1816                  <widget class="GtkFrame" id="frame2"> 
     
    152150              <widget class="GtkVBox" id="vbox1"> 
    153151                <property name="visible">True</property> 
    154                 <property name="orientation">vertical</property> 
    155152                <child> 
    156153                  <widget class="GtkFrame" id="frame3"> 
     
    167164                          <widget class="GtkVBox" id="vbox2"> 
    168165                            <property name="visible">True</property> 
    169                             <property name="orientation">vertical</property> 
    170166                            <child> 
    171167                              <widget class="GtkHBox" id="hbox4"> 
     
    279275                            <property name="xalign">0</property> 
    280276                            <property name="yalign">0</property> 
    281                             <property name="label" translatable="yes">No sublogic given</property> 
     277                            <property name="label" translatable="yes">No sublogic</property> 
    282278                            <property name="use_markup">True</property> 
    283279                          </widget> 
     
    288284                      <widget class="GtkLabel" id="label5"> 
    289285                        <property name="visible">True</property> 
    290                         <property name="label" translatable="yes">Sublogic of currently selected theory:</property> 
     286                        <property name="label" translatable="yes">Sublogic of selected theories:</property> 
    291287                        <property name="use_markup">True</property> 
    292288                      </widget> 
     
    466462      <widget class="GtkVBox" id="vbox5"> 
    467463        <property name="visible">True</property> 
    468         <property name="orientation">vertical</property> 
    469464        <child> 
    470465          <widget class="GtkHBox" id="hbox2"> 
  • trunk/GUI/GtkConsistencyChecker.hs

    r12670 r12743  
    148148                    Just (_,f) -> do 
    149149                      case comorphs f !! selected f of 
    150                         (Comorphism cid) -> 
    151                           labelSetLabel lblComorphism $ language_name cid 
     150                        Comorphism cid -> 
     151                          let cName = language_name cid 
     152                              dName = drop 1 $ dropWhile (/= ';') cName 
     153                          in labelSetLabel lblComorphism 
     154                            $ if null dName then "identity" else dName 
    152155                      widgetSetSensitive btnCheck True 
    153156                    Nothing -> do 
     
    161164                                       labelSetLabel lblSublogic $ show s 
    162165                                       updateFinder trvFinder listFinder s) 
    163                                     (do labelSetLabel lblSublogic 
    164                                                       "No sublogic given" 
     166                                    (do labelSetLabel lblSublogic "No sublogic" 
    165167                                        listStoreClear listFinder 
    166168                                        activate widgets False 
     
    201203    activate checkWidgets False 
    202204    timeout <- spinButtonGetValueAsInt sbTimeout 
    203     (update, exit) <- progressBar "Checking consistency" "please wait..." 
     205    (updat, exit) <- progressBar "Checking consistency" "please wait..." 
    204206    nodes' <- getSelectedMultiple trvNodes listNodes 
    205207    mf <- getSelectedSingle trvFinder listFinder 
     
    209211    switch False 
    210212    forkIOWithPostProcessing 
    211       (check ln le dg f timeout update nodes' stop) 
     213      (check ln le dg f timeout updat nodes' stop) 
    212214      $ \ res -> do 
    213215        widgetSetSensitive btnStop False