mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
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:
parent
a7f30bb333
commit
9b86c72c96
@ -1,5 +1,8 @@
|
|||||||
2004-11-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkaboutdialog.[hc]: Change the return types of the
|
||||||
gchar ** getters to be more const correct. (#157566, Mariano
|
gchar ** getters to be more const correct. (#157566, Mariano
|
||||||
Suárez-Alvarez)
|
Suárez-Alvarez)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-11-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkaboutdialog.[hc]: Change the return types of the
|
||||||
gchar ** getters to be more const correct. (#157566, Mariano
|
gchar ** getters to be more const correct. (#157566, Mariano
|
||||||
Suárez-Alvarez)
|
Suárez-Alvarez)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-11-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkaboutdialog.[hc]: Change the return types of the
|
||||||
gchar ** getters to be more const correct. (#157566, Mariano
|
gchar ** getters to be more const correct. (#157566, Mariano
|
||||||
Suárez-Alvarez)
|
Suárez-Alvarez)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-11-08 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkaboutdialog.[hc]: Change the return types of the
|
||||||
gchar ** getters to be more const correct. (#157566, Mariano
|
gchar ** getters to be more const correct. (#157566, Mariano
|
||||||
Suárez-Alvarez)
|
Suárez-Alvarez)
|
||||||
|
@ -1029,6 +1029,7 @@ gtk_about_dialog_set_website (GtkAboutDialog *about,
|
|||||||
{
|
{
|
||||||
priv->website = NULL;
|
priv->website = NULL;
|
||||||
g_object_set_data (G_OBJECT (priv->website_button), "url", NULL);
|
g_object_set_data (G_OBJECT (priv->website_button), "url", NULL);
|
||||||
|
gtk_widget_hide (priv->website_button);
|
||||||
}
|
}
|
||||||
g_free (tmp);
|
g_free (tmp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user