Fixed a few bugs
This commit is contained in:
parent
e29b478de3
commit
7f01f53f66
@ -439,6 +439,7 @@ static gboolean mini_window_delete_event(TimerMiniWindow *win, GdkEvent *evt, Ti
|
||||
if (resp != GTK_RESPONSE_NO) {
|
||||
main->miniWindowMode = FALSE;
|
||||
gtk_widget_destroy(GTK_WIDGET(main));
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
main->miniWindowMode = FALSE;
|
||||
|
@ -60,5 +60,4 @@ void timer_mini_window_class_init(TimerMiniWindowClass *class) {
|
||||
|
||||
void timer_mini_window_init(TimerMiniWindow *self) {
|
||||
gtk_widget_init_template(GTK_WIDGET(self));
|
||||
gtk_widget_set_sensitive(self->resetButton, FALSE);
|
||||
}
|
||||
|
@ -70,6 +70,7 @@
|
||||
<object class="GtkButton" id="saveButton">
|
||||
<property name="label" translatable="yes">Save</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="receives-default">True</property>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user