** Branch linked: lp:~dpm/quickly/bug-890318

** Description changed:

  While writing a small test app using the ubuntu-application template, I
- was trying to get the signal autoconnect feature to work t on avail.
+ was trying to get the signal autoconnect feature to work, to no avail.
  
  I then noticed that my "on_filechooserbutton1_file_set" handler in the
  code was ignored because the signal name is "file-set" (from
  GtkFileChooserButton), and the code quickly generates was trying to
  connect "on_filechooserbutton1_file-set" instead, which is not a valid
  Python identifier.
  
  So when doing the autoconnects, the hyphens in signal names should be
  replaced by underscores while building the on_{widget}_{signal} handler
  names.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: quickly 11.10-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Nov 14 18:05:37 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=ca_ES:en
-  PATH=(custom, no user)
-  LANG=ca_ES.UTF-8
-  LC_MESSAGES=ca_ES.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=ca_ES:en
+  PATH=(custom, no user)
+  LANG=ca_ES.UTF-8
+  LC_MESSAGES=ca_ES.UTF-8
+  SHELL=/bin/bash
  QuicklyDataPath: /usr/share/quickly
  QuicklyTemplates:
-  /usr/share/quickly/templates/ubuntu-pygame
-  /usr/share/quickly/templates/ubuntu-cli
-  /usr/share/quickly/templates/ubuntu-application
-  /usr/share/quickly/templates/ubuntu-flash-game
+  /usr/share/quickly/templates/ubuntu-pygame
+  /usr/share/quickly/templates/ubuntu-cli
+  /usr/share/quickly/templates/ubuntu-application
+  /usr/share/quickly/templates/ubuntu-flash-game
  QuicklyTemplatesDirectories: /usr/share/quickly/templates/
  SourcePackage: quickly
  UpgradeStatus: Upgraded to oneiric on 2011-09-06 (69 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890318

Title:
  Signal autoconnect does not work with signal names which contain
  hypens

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/890318/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to