* missing installation stuff for undo/redo
* create a first undo gtk entry field: family name in person editor svn: r15837
This commit is contained in:
		| @@ -3,6 +3,9 @@ import gtk | ||||
| class ValidatableMaskedEntry(gtk.Entry): | ||||
|     __gtype_name__ = 'ValidatableMaskedEntry' | ||||
|  | ||||
| class UndoableEntry(gtk.Entry): | ||||
|     __gtype_name__ = 'UndoableEntry' | ||||
|      | ||||
| class StyledTextEditor(gtk.TextView): | ||||
|     __gtype_name__ = 'StyledTextEditor' | ||||
|  | ||||
|   | ||||
| @@ -6,6 +6,10 @@ | ||||
|         name="ValidatableMaskedEntry"  | ||||
|         title="Validatable Masked Entry" | ||||
|         generic-name="valid_mask"/> | ||||
|     <glade-widget-class  | ||||
|         name="UndoableEntry"  | ||||
|         title="Undoable Entry" | ||||
|         generic-name="undo_entry"/> | ||||
|     <glade-widget-class  | ||||
|         name="StyledTextEditor"  | ||||
|         title="Styled Text Editor" | ||||
| @@ -13,6 +17,7 @@ | ||||
|   </glade-widget-classes> | ||||
|   <glade-widget-group name="GrampsWidgets" title="Gramps Widgets"> | ||||
|     <glade-widget-class-ref name="ValidatableMaskedEntry"/> | ||||
|     <glade-widget-class-ref name="UndoableEntry"/> | ||||
|     <glade-widget-class-ref name="StyledTextEditor"/> | ||||
|   </glade-widget-group> | ||||
| </glade-catalog> | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0"?> | ||||
| <interface> | ||||
|   <!-- interface-requires gtk+ 2.12 --> | ||||
|   <!-- interface-requires grampswidgets 0.0 --> | ||||
|   <!-- interface-naming-policy toplevel-contextual --> | ||||
|   <object class="GtkDialog" id="editperson"> | ||||
|     <property name="has_focus">True</property> | ||||
| @@ -149,7 +150,7 @@ | ||||
|                   </packing> | ||||
|                 </child> | ||||
|                 <child> | ||||
|                   <object class="GtkEntry" id="surname"> | ||||
|                   <object class="UndoableEntry" id="surname"> | ||||
|                     <property name="visible">True</property> | ||||
|                     <property name="can_focus">True</property> | ||||
|                     <property name="tooltip_text" translatable="yes">part of a person's name indicating the family to which the person belongs</property> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user