event-editor-dialog: Stop using response type
Using dialog responses to communicate intent to GcalWindow was always
a hack, and as the code is cleaned, it's getting increasingly annoying.
Replace this with a proper 'remove-event' signal ('delete-event' would
conflict with the equally named GTK signal), remove the custom response
types, and cleanup the code.
This commit is contained in:
@@ -299,7 +299,7 @@
|
||||
<object class="GcalEventEditorDialog" id="event_editor">
|
||||
<property name="visible">False</property>
|
||||
<property name="transient_for">GcalWindow</property>
|
||||
<signal name="response" handler="edit_dialog_closed" object="GcalWindow" swapped="no"/>
|
||||
<signal name="remove-event" handler="on_event_editor_dialog_remove_event_cb" object="GcalWindow" swapped="no"/>
|
||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete" object="GcalWindow" swapped="no"/>
|
||||
</object>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user