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
This commit is contained in:
Matthias Clasen 2014-02-21 21:15:52 -05:00
parent 5437de8424
commit 89a264de91

View File

@ -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>