[cheese] ui: properly handle "delete-event" signal at Preferences dialog, fixes bug 669384
- From: Thiago Sousa Santos <thiagoss src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] ui: properly handle "delete-event" signal at Preferences dialog, fixes bug 669384
- Date: Mon, 6 Feb 2012 23:50:33 +0000 (UTC)
commit 6539bf4dc43b0bfc721420335d8d17f4490b6a7a
Author: Rodrigo Duarte Sousa <rodrigodsousa gmail com>
Date: Sun Feb 5 02:02:36 2012 -0300
ui: properly handle "delete-event" signal at Preferences dialog, fixes bug 669384
this bug was resolved once before, here is a short solution description:
the "close" event triggered by the escape key was destroyng the dialog, so
when an user tries to open the Preferences dialog again what appears is
an empty/tiny window. Handle the "delete-event" connecting it with hide_on_delete()
successfully solved the problem.
data/cheese-prefs.ui | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/cheese-prefs.ui b/data/cheese-prefs.ui
index d5df3cd..6ce13a7 100644
--- a/data/cheese-prefs.ui
+++ b/data/cheese-prefs.ui
@@ -27,6 +27,7 @@
<property name="title" translatable="yes">Preferences</property>
<property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property>
+ <signal name="delete-event" handler="cheese_preferences_dialog_on_delete" swapped="no"/>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]