summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-11-08 19:14:23 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-11-08 19:14:23 +0000
commit9b86c72c96c97c0904615c0822c0ea6a47a9be7d (patch)
treee3b19acb740fbe1b54784dcbbc67bbb5ab3d6a85 /gtk/gtkaboutdialog.c
parenta7f30bb3338524ebb6041a03d0134276ea429e3d (diff)
downloadgtk+-9b86c72c96c97c0904615c0822c0ea6a47a9be7d.tar.gz
Hide the website button if the url is unset. (#157630, John Finlay)
2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the website button if the url is unset. (#157630, John Finlay)
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 769f190b62..2cdcdf29a3 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -1029,6 +1029,7 @@ gtk_about_dialog_set_website (GtkAboutDialog *about,
{
priv->website = NULL;
g_object_set_data (G_OBJECT (priv->website_button), "url", NULL);
+ gtk_widget_hide (priv->website_button);
}
g_free (tmp);