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 672574 - webapps: use 'Internet' category rather than 'Other'
webapps: use 'Internet' category rather than 'Other'
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Web Applications
3.3.x
Other Linux
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 676035 708425 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-21 17:30 UTC by Jakub Steiner
Modified: 2015-10-07 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
e-web-app-utils: use Categories in desktop file (954 bytes, patch)
2012-03-28 09:29 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review
e-web-app-utils: move to lib/ (1.95 KB, patch)
2012-03-28 09:58 UTC, Diego Escalante Urrelo (not reading bugmail)
rejected Details | Review
e-web-app-utils: add ephy_web_application_get_desktop_file (2.20 KB, patch)
2012-03-28 09:58 UTC, Diego Escalante Urrelo (not reading bugmail)
rejected Details | Review
e-profile-migrator: update web-apps .desktop files Category (2.58 KB, patch)
2012-03-28 09:58 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
e-profile-migrator: update web-apps .desktop files Category (2.41 KB, patch)
2014-01-08 15:40 UTC, William Jon McCann
committed Details | Review

Description Jakub Steiner 2012-03-21 17:30:14 UTC
It feels more appropriate to use the existing 'Internet' category for web app launchers, rather than the current 'Other'.

(putting my general dislike for system given categorization aside).
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2012-03-26 18:25:24 UTC
Makes sense to me. I suppose 'Other' was chosen because this is not bundled with the system.

Although it would make sense for the user to look for his/her *web* application in Internet category, or close to those applications.
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2012-03-28 09:29:17 UTC
Created attachment 210765 [details] [review]
e-web-app-utils: use Categories in desktop file
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2012-03-28 09:58:02 UTC
Created attachment 210767 [details] [review]
e-web-app-utils: move to lib/
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2012-03-28 09:58:05 UTC
Created attachment 210768 [details] [review]
e-web-app-utils: add ephy_web_application_get_desktop_file

Returns the absolute path to the application .desktop file.
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2012-03-28 09:58:08 UTC
Created attachment 210769 [details] [review]
e-profile-migrator: update web-apps .desktop files Category
Comment 6 Xan Lopez 2012-05-21 05:46:26 UTC
Review of attachment 210767 [details] [review]:

So, this already happened in git master.
Comment 7 Xan Lopez 2012-05-21 05:47:26 UTC
Review of attachment 210768 [details] [review]:

I added the destkop file name to EphyWebApplication, seems simpler than this (and the API is private anyway so I think it's OK).
Comment 8 Xan Lopez 2012-05-21 05:49:37 UTC
(In reply to comment #2)
> Created an attachment (id=210765) [details] [review]
> e-web-app-utils: use Categories in desktop file

Someone is now proposing we use a special category for Web Applications, see bug #676035. Not sure what makes more sense, to be honest.
Comment 9 William Jon McCann 2013-12-14 13:47:37 UTC
*** Bug 708425 has been marked as a duplicate of this bug. ***
Comment 10 William Jon McCann 2014-01-08 15:40:18 UTC
Created attachment 265713 [details] [review]
e-profile-migrator: update web-apps .desktop files Category
Comment 11 Michael Catanzaro 2015-03-29 21:17:59 UTC
*** Bug 676035 has been marked as a duplicate of this bug. ***
Comment 12 Michael Catanzaro 2015-09-10 00:45:40 UTC
(In reply to Xan Lopez from comment #8) 
> Someone is now proposing we use a special category for Web Applications, see
> bug #676035. Not sure what makes more sense, to be honest.

At the time the special category was a requirement in order to get the web apps to show up separately in GNOME Shell. That didn't happen and nowadays we don't show categories anymore, so there is no value in using a special category, as categories only matter for third-party desktops, which will not look at the special category. So the Internet category makes more sense now.
Comment 13 Michael Catanzaro 2015-09-10 00:49:49 UTC
Review of attachment 210765 [details] [review]:

We'll need to rebase this :(
Comment 14 Michael Catanzaro 2015-09-10 00:52:41 UTC
Review of attachment 210765 [details] [review]:

Ah, it's just the file moved to lib, that's all.
Comment 15 Michael Catanzaro 2015-09-10 00:54:14 UTC
Review of attachment 265713 [details] [review]:

::: lib/ephy-profile-migrator.c
@@ +1004,3 @@
   migrate_new_urls_table,
   migrate_form_passwords_to_libsecret,
+  migrate_app_desktop_files,

Here it would be good to use a more specific function name, migrate_app_desktop_file_categories, since we may well need other migrations here in the future.
Comment 16 Michael Catanzaro 2015-10-07 13:35:47 UTC
Tested, still works, pushed with the one function renamed as suggested.

Attachment 210765 [details] pushed as b1b30a3 - e-web-app-utils: use Categories in desktop file
Attachment 265713 [details] pushed as 9fddd07 - e-profile-migrator: update web-apps .desktop files Category