Fix place reference editor for drag support

This commit is contained in:
Nick Hall 2014-12-01 15:23:37 +00:00
parent 2d590abebd
commit 3818d7e5e3
2 changed files with 20 additions and 12 deletions

View File

@ -63,6 +63,7 @@ class EditPlaceRef(EditSecondary):
self.place_field = PlaceEntry(self.dbstate, self.uistate, self.track, self.place_field = PlaceEntry(self.dbstate, self.uistate, self.track,
self.top.get_object("place"), self.top.get_object("place"),
self.top.get_object("place_event_box"),
self.obj.set_reference_handle, self.obj.set_reference_handle,
self.obj.get_reference_handle, self.obj.get_reference_handle,
self.add_del_btn, self.share_btn, self.add_del_btn, self.share_btn,

View File

@ -164,18 +164,6 @@
<property name="y_options"/> <property name="y_options"/>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="place">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="y_options"/>
</packing>
</child>
<child> <child>
<object class="ValidatableMaskedEntry" id="date_entry"> <object class="ValidatableMaskedEntry" id="date_entry">
<property name="height_request">27</property> <property name="height_request">27</property>
@ -206,6 +194,25 @@
<property name="y_options"/> <property name="y_options"/>
</packing> </packing>
</child> </child>
<child>
<object class="GtkEventBox" id="place_event_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="place">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"/>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>