-0.5.3 - ?/7/2008 - bugfix release
+0.5.3 - 23/7/2008 - bugfix release
* many fixes concerning the CProp hiearchy
* coercion database simplified
* coercion hiding now works properly for coercions to funclass
* \infrule layout added, allows to display readable fractions
* better window for terms grammar and TeX/Unicode
* fixed a bug in the positivity check not considering some subterms
+ * fixed some GUI glitches thanks to glade-3
0.5.2 - 2/7/2008 - better-usability-for-the-working-constructivist release
* refinement of match fixed to prevent useless unfolding,
<!--*- mode: xml -*-->
<glade-interface>
<widget class="GtkWindow" id="BrowserWin">
- <property name="width_request">640</property>
+ <property name="width_request">500</property>
<property name="height_request">480</property>
<property name="visible">True</property>
<property name="title" translatable="yes">Cic browser</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
- <property name="default_width">640</property>
+ <property name="default_width">500</property>
<property name="default_height">480</property>
<property name="destroy_with_parent">True</property>
<property name="transient_for">MainWin</property>
</widget>
</child>
<child>
- <widget class="GtkImageMenuItem" id="showTermGrammarMenuItem">
+ <widget class="GtkMenuItem" id="showTermGrammarMenuItem">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes">Displays the term grammar</property>
- <property name="label" translatable="yes">Show term's grammar</property>
+ <property name="tooltip" translatable="yes">Displays the terms grammar as extended by the user</property>
+ <property name="label" translatable="yes">Terms grammar</property>
<property name="use_underline">True</property>
</widget>
</child>
+ <child>
+ <widget class="GtkImageMenuItem" id="showUnicodeTable">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Show the conversion table from TeX to UTF8</property>
+ <property name="label" translatable="yes">Tex/UTF8 table</property>
+ <property name="use_underline">True</property>
+ <child internal-child="image">
+ <widget class="GtkImage" id="menu-item-image20">
+ <property name="visible">True</property>
+ <property name="stock">gtk-select-font</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
- <child>
- <widget class="GtkImageMenuItem" id="showUnicodeTable">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Displays the Tex/Unicode table</property>
- <property name="label" translatable="yes">Show Tex/Unicode table</property>
- <property name="use_underline">True</property>
- </widget>
- </child>
<child>
<widget class="GtkImageMenuItem" id="aboutMenuItem">
<property name="visible">True</property>
match self#currentCicUri with
| Some uri -> self#load (`Metadata (`Deps (`Back, uri)))
| None -> ());
+ connect_menu_item win#browserCloseMenuItem (fun () ->
+ let my_id = Oo.id self in
+ cicBrowsers := List.filter (fun b -> Oo.id b <> my_id) !cicBrowsers;
+ win#toplevel#misc#hide(); win#toplevel#destroy ());
(* remove hbugs *)
(*
connect_menu_item win#hBugsTutorsMenuItem (fun () ->
method private tex () =
let text = String.concat "\n"
- (List.map (fun (k,vs) -> k ^ "\t" ^ String.concat ", " vs)
+ (List.map (fun (k,vs) ->
+ let vs =
+ List.sort (fun a b -> String.length a - String.length b) vs
+ in
+ let vs =
+ if List.length vs < 4 then vs else
+ let vs, _ = HExtlib.split_nth 4 vs in vs
+ in
+ k ^ "\t" ^ String.concat ", " vs)
(Utf8Macro.pp_table ()))
in
self#_loadText text