GtkBuilder will not connect properly the activate-link signal to a GtkLinkButton
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
pygobject (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
If you execute the sample python script attached, you'll notice that even though the 'activate-link' signal is connected to a callback in the XML passed to the builder, the default gtk_show_uri is executed the same.
Please note that the on_activate_link handler is returning True as the documentation requires if you don't want that the default gtk_show_uri is called.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgtk-3-0 3.3.10-0ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-10-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Thu Feb 2 16:39:16 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gtk+3.0 (Ubuntu): | |
assignee: | nobody → Canonical Desktop Experience Team (canonical-dx-team) |
assignee: | Canonical Desktop Experience Team (canonical-dx-team) → Canonical Desktop Team (canonical-desktop-team) |
Changed in pygobject: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Thanks desrt for debugging it, it was a pygobject issue: git.gnome. org/browse/ pygobject/ commit/ ?id=671f9b0dd73 ac41a84caf9d1f0 4cec351bc01b47
http://