summaryrefslogtreecommitdiff
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
parenta7f30bb3338524ebb6041a03d0134276ea429e3d (diff)
downloadgdk-pixbuf-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--ChangeLog3
-rw-r--r--ChangeLog.pre-2-103
-rw-r--r--ChangeLog.pre-2-63
-rw-r--r--ChangeLog.pre-2-83
-rw-r--r--gtk/gtkaboutdialog.c1
5 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d97f9cc1..b2115050e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 3d97f9cc1..b2115050e 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 3d97f9cc1..b2115050e 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 3d97f9cc1..b2115050e 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 769f190b6..2cdcdf29a 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);