[gtk+] about dialog: protect against gtk_widget_show_all
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] about dialog: protect against gtk_widget_show_all
- Date: Sat, 22 Feb 2014 02:17:14 +0000 (UTC)
commit 89a264de910544169ed768207ed96e9013c19ce7
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Feb 21 21:15:52 2014 -0500
about dialog: protect against gtk_widget_show_all
Normally, a GtkAboutDialog is shown using the convenience
API. But if you manually construct one and show it by calling
gtk_widget_show_all() on it, the license tab would show up
uninvited. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=724411
gtk/resources/ui/gtkaboutdialog.ui | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/ui/gtkaboutdialog.ui b/gtk/resources/ui/gtkaboutdialog.ui
index a5e7295..30050de 100644
--- a/gtk/resources/ui/gtkaboutdialog.ui
+++ b/gtk/resources/ui/gtkaboutdialog.ui
@@ -179,6 +179,7 @@
<child>
<object class="GtkBox" id="credits_page">
<property name="visible">False</property>
+ <property name="no-show-all">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
@@ -252,6 +253,7 @@
<child>
<object class="GtkBox" id="license_page">
<property name="visible">False</property>
+ <property name="no-show-all">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]