Changeset 12743
- Timestamp:
- 27.10.2009 17:02:41 (4 weeks ago)
- Location:
- trunk/GUI
- Files:
-
- 2 modified
-
Glade/ConsistencyChecker.glade (modified) (7 diffs)
-
GtkConsistencyChecker.hs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/GUI/Glade/ConsistencyChecker.glade
r12670 r12743 7 7 <widget class="GtkVBox" id="vbox3"> 8 8 <property name="visible">True</property> 9 <property name="orientation">vertical</property>10 9 <child> 11 10 <widget class="GtkHBox" id="hbox1"> … … 14 13 <widget class="GtkVBox" id="vbox4"> 15 14 <property name="visible">True</property> 16 <property name="orientation">vertical</property>17 15 <child> 18 16 <widget class="GtkFrame" id="frame2"> … … 152 150 <widget class="GtkVBox" id="vbox1"> 153 151 <property name="visible">True</property> 154 <property name="orientation">vertical</property>155 152 <child> 156 153 <widget class="GtkFrame" id="frame3"> … … 167 164 <widget class="GtkVBox" id="vbox2"> 168 165 <property name="visible">True</property> 169 <property name="orientation">vertical</property>170 166 <child> 171 167 <widget class="GtkHBox" id="hbox4"> … … 279 275 <property name="xalign">0</property> 280 276 <property name="yalign">0</property> 281 <property name="label" translatable="yes">No sublogic given</property>277 <property name="label" translatable="yes">No sublogic</property> 282 278 <property name="use_markup">True</property> 283 279 </widget> … … 288 284 <widget class="GtkLabel" id="label5"> 289 285 <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> 291 287 <property name="use_markup">True</property> 292 288 </widget> … … 466 462 <widget class="GtkVBox" id="vbox5"> 467 463 <property name="visible">True</property> 468 <property name="orientation">vertical</property>469 464 <child> 470 465 <widget class="GtkHBox" id="hbox2"> -
trunk/GUI/GtkConsistencyChecker.hs
r12670 r12743 148 148 Just (_,f) -> do 149 149 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 152 155 widgetSetSensitive btnCheck True 153 156 Nothing -> do … … 161 164 labelSetLabel lblSublogic $ show s 162 165 updateFinder trvFinder listFinder s) 163 (do labelSetLabel lblSublogic 164 "No sublogic given" 166 (do labelSetLabel lblSublogic "No sublogic" 165 167 listStoreClear listFinder 166 168 activate widgets False … … 201 203 activate checkWidgets False 202 204 timeout <- spinButtonGetValueAsInt sbTimeout 203 (updat e, exit) <- progressBar "Checking consistency" "please wait..."205 (updat, exit) <- progressBar "Checking consistency" "please wait..." 204 206 nodes' <- getSelectedMultiple trvNodes listNodes 205 207 mf <- getSelectedSingle trvFinder listFinder … … 209 211 switch False 210 212 forkIOWithPostProcessing 211 (check ln le dg f timeout updat enodes' stop)213 (check ln le dg f timeout updat nodes' stop) 212 214 $ \ res -> do 213 215 widgetSetSensitive btnStop False