After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 499666 - GtkAboutDialog url is not clickable, website-label property ignored
GtkAboutDialog url is not clickable, website-label property ignored
Status: RESOLVED DUPLICATE of bug 425004
Product: gtk+
Classification: Platform
Component: Widget: Other
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-11-26 04:07 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2007-11-26 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diego Escalante Urrelo (not reading bugmail) 2007-11-26 04:07:27 UTC
If I understand correctly, the GtkAboutDialog url should be automagically clickable, but here I can't make it work :/. Also the website-label property is ignored. 
Checking other apps, like Epiphany or Eog, I see that they do the same I do but with the expected result. Sorry if this is just a d'oh on me, but it seems like a bug to me.

Similar problem in bug #425004.

A simple program like this will show the bug:

#include <gtk/gtk.h>

int 
main (int argc, char *argv[])
{
	gtk_init (&argc, &argv);
	
	static const char *authors[] = {
		"daniel g. siegel <dgsiegel@gmail.com>",
		"Jaap A. Haitsma <jaap@haitsma.org>",
		NULL
		};
	
	gtk_show_about_dialog (NULL,
			"program-name", "Diego about dialog",
			"logo-icon-name", "web-browser",
			"version", "0.3.3",
			"title", "Powerpuff dialog",
			"website-label", "My website",
			"website", "http://diego.aureal.com.pe/",
			NULL);
	
	gtk_main();
	
	return 0;
}
Comment 1 Christian Persch 2007-11-26 11:09:58 UTC
You need to set the URL hook, gtk_about_dialog_set_url_hook(), or use GnomeProgram which provides a hook.

The docs should probably mention that unless there's a hook set, the URL is always displayed even if the website-label property is set.
Comment 2 Emmanuele Bassi (:ebassi) 2007-11-26 11:16:24 UTC
(In reply to comment #1)

> The docs should probably mention that unless there's a hook set, the URL is
> always displayed even if the website-label property is set.

yes, this already has a bug opened at bug 425004
 

Comment 3 Emmanuele Bassi (:ebassi) 2007-11-26 11:17:30 UTC
did not see the initial comment. :-)

this is definitely a dup of bug 425004.

*** This bug has been marked as a duplicate of 425004 ***