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 658741 - gedit.desktop uses GenericName instead of Name. Causes GNOME to display gedit instead of Text Editor
gedit.desktop uses GenericName instead of Name. Causes GNOME to display gedit...
Status: RESOLVED DUPLICATE of bug 590180
Product: gnome-shell
Classification: Core
Component: general
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-09-11 12:35 UTC by Alex Hultman
Modified: 2011-09-13 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixed gedit.desktop (Text Editor instead of gedit), multilingual (11.39 KB, application/x-desktop)
2011-09-11 14:48 UTC, Alex Hultman
Details

Description Alex Hultman 2011-09-11 12:35:47 UTC
I reported a rename enhancement to the gedit team: https://bugzilla.gnome.org/show_bug.cgi?id=658734 and got the answer that gedit should be called Text Editor: http://git.gnome.org/browse/gedit/tree/data/gedit.desktop.in.in#n3

It currently shows up as gedit in my GNOME Shell Applications mesh. I looked inside of Document Viewer and found that you are using the Name entry:


[Desktop Entry]
Name=Document Viewer
Name[af]=Dokumentbekyker
Name[an]=Visualizador de documentos
Name[ar]=عارض المستندات
Name[as]=ডকুমেন্ট প্ৰদৰ্শন ব্যৱস্থা
Name[ast]=Visor de Documentos
Name[be]=Праглядальнік дакумэнтаў
Name[be@latin]=Ahladalnik dakumentaŭ
Name[bg]=Преглед на документи
Name[bn]=নথি প্রদর্শক

But the GenericName for gedit:

GenericName=Text Editor
GenericName[af]=Teksredigeerder
GenericName[am]=የጽሑፍ ማቀናጃ
GenericName[ar]=محرّر نصوص
GenericName[as]=টেক্সট সম্পাদক
GenericName[ast]=Editor de Testu
GenericName[az]=Mətn Editoru
GenericName[be]=Рэдактар тэкстаў
GenericName[be@latin]=Tekstavy redaktar
GenericName[bg]=Текстов редактор

while having Name set to gedit:


[Desktop Entry]
Name=gedit
Name[af]=gedit
Name[am]=gedit
Name[ar]=محرر جنوم
Name[as]=gedit
Name[ast]=gedit
Name[az]=gedit
Name[be]=gedit
Name[bg]=gedit
Name[bn]=জিএডিট


All that gedit stuff should be replaced with the values of GenericName. I can make a patch or something if thats needed. This seems to be a communication problem with the involved teams.
Comment 1 Alex Hultman 2011-09-11 13:21:48 UTC
I kind of lost my original gedit.desktop but I did test to delete all Name rows and then replace all "GenericName" with "Name" and then it showed up as Text Editor and worked correctly with different languages. That should be the fix for this. Evince doesn't use any GenericName entries (as a reference).
Comment 2 Alex Hultman 2011-09-11 14:48:15 UTC
Created attachment 196213 [details]
Fixed gedit.desktop (Text Editor instead of gedit), multilingual

I believe this should fix it. It's the gedit.desktop found in GNOME 3.1.90 with all the Name=gedit lines removed and all GenericName changed to Name. Says Text Editor instead of gedit.
Comment 3 Alex Hultman 2011-09-11 15:10:31 UTC
Tested. Works.
Comment 4 Florian Müllner 2011-09-13 22:02:54 UTC
Quoting Jon Mccann:
"Personally, I think the program should be considered a core component and be
called Text Editor - as with Terminal.  However, the gedit maintainers do not
agree.  It is up to them.  Whatever name is chosen it must be consistently
used."

We will neither use GenericName instead of Name in gnome-shell, nor introduce hacks like 'if app == "gedit" app = "Text editor"'.

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