Skip to content

Commit

Permalink
Revert "Rename initial desktop file to match final name, clean up some"
Browse files Browse the repository at this point in the history
This reverts commit ae1a575.
  • Loading branch information
clefebvre committed Apr 12, 2024
1 parent 9ad05aa commit efa4025
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ desktopFiles = [
),

configure_file(
input : 'org.Nemo.desktop.in',
input : 'nemo.desktop.in',
output: 'org.Nemo.desktop',
configuration: dataConf,
)
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions generate_additional_file
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ MimeType=inode/directory;application/x-gnome-saved-search;
Actions=open-home;open-computer;open-trash;
"""

additionalfiles.generate(DOMAIN, PATH, "data/org.Nemo.desktop.in", prefix, _("Files"), _("Access and organize files"), suffix)
additionalfiles.generate(DOMAIN, PATH, "data/nemo.desktop.in", prefix, _("Files"), _("Access and organize files"), suffix)


prefix = """
[Desktop Action open-home]
"""
suffix = """Exec=nemo %U
"""
additionalfiles.generate(DOMAIN, PATH, "data/org.Nemo.desktop.in", prefix, _("Home"), None, suffix, append=True)
additionalfiles.generate(DOMAIN, PATH, "data/nemo.desktop.in", prefix, _("Home"), None, suffix, append=True)

prefix = """
[Desktop Action open-computer]
"""
suffix = """Exec=nemo computer:///
"""
additionalfiles.generate(DOMAIN, PATH, "data/org.Nemo.desktop.in", prefix, _("Computer"), None, suffix, append=True)
additionalfiles.generate(DOMAIN, PATH, "data/nemo.desktop.in", prefix, _("Computer"), None, suffix, append=True)

prefix = """
[Desktop Action open-trash]
"""
suffix = """Exec=nemo trash:///
"""
additionalfiles.generate(DOMAIN, PATH, "data/org.Nemo.desktop.in", prefix, _("Trash"), None, suffix, append=True)
additionalfiles.generate(DOMAIN, PATH, "data/nemo.desktop.in", prefix, _("Trash"), None, suffix, append=True)
2 changes: 2 additions & 0 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[encoding: UTF-8]
data/action_i18n_strings.py
data/nemo.xml.in
data/nemo-autorun-software.desktop.in.in
data/nemo.desktop.in.in
eel/eel-canvas.c
eel/eel-editable-label.c
eel/eel-glib-extensions.c
Expand Down
7 changes: 6 additions & 1 deletion po/POTFILES.skip
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
# Please keep this file sorted alphabetically.
libbackground/applier.c
data/nemo-autorun-software.desktop.in
data/org.Nemo.desktop.in
data/nemo-computer.desktop.in
data/nemo-file-management-properties.desktop.in
data/nemo-folder-handler.desktop.in
data/nemo-home.desktop.in
data/nemo.desktop.in
data/nemo-browser.desktop.in
debian
2 changes: 1 addition & 1 deletion src/nemo-mime-actions.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ filter_nemo_handler (GList *apps)
id = g_app_info_get_id (application);
if (id != NULL &&
strcmp (id,
"org.Nemo.desktop") == 0) {
"nemo.desktop") == 0) {
g_object_unref (application);
apps = g_list_delete_link (apps, l);
}
Expand Down

0 comments on commit efa4025

Please sign in to comment.