quickly add dialog does not work properly with multi-word dialog names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
High
|
Unassigned |
Bug Description
The output of "quickly help add" says
Usage:
$ quickly add [dialog dialog_name]
add something to your project_bin
Here, dialog_name is one or more words seperated with underscore
For instance $ quickly add dialog DialogName will create:
From the 3rd line, I understand that "dialog_name" must be "one or more words seperated with underscore"
So I try to execute for instance
$ quickly add dialog a_b
ERROR: unpermitted character in name.
Letters, spaces, dashes (-) and digits only.
So I went back reading the help message and I saw that the example uses CamelCase: "$ quickly add dialog DialogName".
It seems to me that the message about underscores is pretty unclear. Either remove it, or make it more explicit what this is about.
quickly --version
Quickly 0.4.3
Work-around contributed by ~emilien-klein:
Steps:
$ quickly add dialog NautilusImageMa
$ bzr status
unknown:
data/
data/
nautilus_
Rename the files like this:
$ bzr status
unknown:
data/
data/
nautilus_
Then open all 3 files, and do search/replace all like this:
- nautilusimagema
- Nautilusimagema
(basically, add underscores to what's in lower case, and add upper case to the Camel Case)
description: | updated |
summary: |
- Help message for "quickly add" is unclear + quickly add dialog does not work properly with multi-word dialog names |
Changed in quickly: | |
milestone: | none → 11.03.0 |
Changed in quickly: | |
status: | Fix Committed → Fix Released |
Thinking that I had understood this underscore business, I executed
$ quickly add dialog NautilusImageMa nipulatorDialog
According to the docs, I should have had 3 new files:
1. A subclass of gtk.Dialog called NautilusImageMa nipulatorDialog Dialog in the module eManipulatorDia logDialog. py nipulatorDialog Dialog. ui in the ui directory image_manipulat or_dialog_ dialog. xml also in the ui directory
NautilusImag
2. A glade file called NautilusImageMa
3. A catalog file called nautilus_
But this is what I got:
$ bzr status ui/Nautilusimag emanipulatordia logDialog. ui ui/nautilusimag emanipulatordia log_dialog. xml image_manipulat or/Nautilusimag emanipulatordia logDialog. py
unknown:
data/
data/
nautilus_
Now I'm pretty confused on the way $ quickly add works/should work...
P.S.: I'm using Quickly 0.4.3 because that's the version that comes with 10.04 (LTS). If this is fixed in a future version, I'd nonetheless be interested to know how I should use this command...