diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-21 21:15:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-21 21:15:52 -0500 |
commit | 89a264de910544169ed768207ed96e9013c19ce7 (patch) | |
tree | 28d6ad72c56fe24d7032883536a285530a0a34b3 | |
parent | 5437de8424af4fde61dc78a3b73be1bde21cd0b9 (diff) | |
download | gtk+-89a264de910544169ed768207ed96e9013c19ce7.tar.gz |
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
-rw-r--r-- | 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 a5e7295986..30050de208 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> |