diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-08 19:14:23 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-08 19:14:23 +0000 |
commit | 9b86c72c96c97c0904615c0822c0ea6a47a9be7d (patch) | |
tree | e3b19acb740fbe1b54784dcbbc67bbb5ab3d6a85 | |
parent | a7f30bb3338524ebb6041a03d0134276ea429e3d (diff) | |
download | gtk+-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)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 3 | ||||
-rw-r--r-- | gtk/gtkaboutdialog.c | 1 |
5 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,8 @@ 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) + * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3d97f9cc12..b2115050ec 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 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) + * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 3d97f9cc12..b2115050ec 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 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) + * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 3d97f9cc12..b2115050ec 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 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) + * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez) 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); |