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 655487 - shell: Do not add a trailing dash in search target when comment is empty
shell: Do not add a trailing dash in search target when comment is empty
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-28 10:42 UTC by Vincent Untz
Modified: 2011-08-02 08:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell: Do not add a trailing dash in search target when comment is empty (1.06 KB, patch)
2011-07-28 10:42 UTC, Vincent Untz
committed Details | Review

Description Vincent Untz 2011-07-28 10:42:48 UTC
It's a simple change, see patch.
Comment 1 Vincent Untz 2011-07-28 10:42:50 UTC
Created attachment 192807 [details] [review]
shell: Do not add a trailing dash in search target when comment is empty

When the comment is empty, we do not want to add a dash to the search
target, as it will be a trailing one.
Comment 2 Bastien Nocera 2011-08-01 16:49:26 UTC
And which desktop file would that be with the empty comment?
Comment 3 Vincent Untz 2011-08-01 17:14:02 UTC
Oh, it's not a g-c-c panel. I'm just re-using the code somewhere else, and I'm pushing the patch here to ease future synchronization :-)
Comment 4 Bastien Nocera 2011-08-01 17:29:31 UTC
As long as it's not for a search view in fallback mode, it's fine by me.
Comment 5 Vincent Untz 2011-08-02 08:17:35 UTC
No, it's not code for fallback, but openSUSE stuff.