aboutsummaryrefslogtreecommitdiffstats
path: root/src/firecfg/desktop_files.c
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-04-02 09:41:17 +0000
committerLibravatar GitHub <noreply@github.com>2019-04-02 09:41:17 +0000
commitbd976150825d98f2cd1f2a96cd0f6677cac4b671 (patch)
treec4038cb2e46555d5efc247d5725a30792f8ac7a5 /src/firecfg/desktop_files.c
parentFixup #2631 (diff)
downloadfirejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.tar.gz
firejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.tar.zst
firejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.zip
Temp fix firecfg (#2634)
* Temp fixes for firecfg.config * Create Builder.profile * Create clocks.profile * Create Logs.profile * Create Maps.profile * Add TODO to firecfg.config
Diffstat (limited to 'src/firecfg/desktop_files.c')
-rw-r--r--src/firecfg/desktop_files.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firecfg/desktop_files.c b/src/firecfg/desktop_files.c
index a40b5a824..c8f684abc 100644
--- a/src/firecfg/desktop_files.c
+++ b/src/firecfg/desktop_files.c
@@ -56,8 +56,10 @@ static int have_profile(const char *filename, const char *homedir) {
56 if (arg_debug) 56 if (arg_debug)
57 printf("checking profile for %s\n", filename); 57 printf("checking profile for %s\n", filename);
58 58
59 // we get strange names here, such as .org.gnom.gedit.desktop, com.uploadedlobster.peek.desktop, 59 // we get strange names here, such as .org.gnome.gedit.desktop, com.uploadedlobster.peek.desktop,
60 // or io.github.Pithos.desktop; extract the word before .desktop 60 // or io.github.Pithos.desktop; extract the word before .desktop
61 // TODO: implement proper fix for #2624 (names like org.gnome.Logs.desktop fall thru
62 // the 'last word' logic and don't get installed to ~/.local/share/applications
61 63
62 char *tmpfname = strdup(filename); 64 char *tmpfname = strdup(filename);
63 if (!tmpfname) 65 if (!tmpfname)