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)
This commit is contained in:
Matthias Clasen 2004-11-08 19:14:23 +00:00 committed by Matthias Clasen
parent a7f30bb333
commit 9b86c72c96
5 changed files with 13 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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