Skip to content
Commits on Source (8)
commit 55e41c76375322a85ae3062a0acfd40d1a9b6aeb
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Thu Dec 19 05:10:00 2019 -0500
Bump documentation dates
commit 05f15e58b6f9a4272d171b80cec039adb65d57ce
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Thu Dec 19 05:03:05 2019 -0500
Add *.mo to .gitignore
commit a925f0b2af7249fd5119cdc27cb6a306b42e795e
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Tue Nov 26 05:47:41 2019 -0500
Revert padding patches that add too much padding in the Thunar compact view (bug 16196)
This reverts commit 6fcefce9f1e7bb34cb65290c37f889481a677130.
commit 7c5b1952c19bdd6a787718b62303ad2164c78175
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Tue Nov 19 20:31:30 2019 -0500
Back to development
commit f2106cd4636012e01b5bfbf5fee8e972dbc5e5b1
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Tue Nov 19 20:28:37 2019 -0500
Updates for release
commit 4973551076cf6b0481250105d7199a633d6d462b
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Tue Nov 19 20:21:07 2019 -0500
Revert "Hide search widget when doing a fullscreen resize" (bug #16191)"
This reverts commit eb89d98e15cd785f1f6f3dd9c58dec58cde93099.
commit eb264783c9d98e15f2f0917781467b626ab89152
Author: Toni Estévez <toni.estevez@gmail.com>
Date: Sun Nov 17 00:30:02 2019 +0100
I18n: Update translation es (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 8353267665262df4c389f183495c169347fc3284
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Fri Nov 15 12:52:10 2019 -0500
Back to development
commit 4b7694f3d6492a5a8301872f0c17e2bfb5d930e5
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Fri Nov 15 12:50:39 2019 -0500
Updates for release
commit eb89d98e15cd785f1f6f3dd9c58dec58cde93099
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Fri Nov 15 07:14:49 2019 -0500
Hide search widget when doing a fullscreen resize (bug #15106)
commit 397be869aa2b37005b0d05f6196836d0db217b40
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Fri Nov 15 06:51:31 2019 -0500
Update NEWS
commit ce67e843a39d913e1d54a30cfd7480565bae9227
Author: Jan Tojnar <jtojnar@gmail.com>
Date: Sat Aug 24 12:29:40 2019 +0200
exo-helper: Add gio-unix-2.0 dependency
On some systems, gtk-3.0 does not imply gio-unix-2.0, resulting in broken builds:
exo-helper.c:47:10: fatal error: gio/gdesktopappinfo.h: No such file or directory
#include <gio/gdesktopappinfo.h>
^~~~~~~~~~~~~~~~~~~~~~~
All direct dependencies ought to be declared!
Signed-off-by: Sean Davis <smd.seandavis@gmail.com>
commit 6fcefce9f1e7bb34cb65290c37f889481a677130
Author: Adam Purkrt <adam@purkrt.net>
Date: Sat Nov 2 16:44:00 2019 +0100
Fix for the bugs 16075 and 16107
Bug: 16075
Bug: 16107
The following patch fixes bugs 16075 and 16107, i.e.
"Icon view: excess clickable area of multiline filenames" and
"Multi-line filenames misaligned when text beside icons is on"
respectively. By relying on gtk_cell_renderer_get_aligned_area and
gtk_cell_renderer_get_padding it brings the box[..].width and
box[..].height values into correspondence with the real size of
drawn text.
Signed-off-by: Sean Davis <smd.seandavis@gmail.com>
commit 543bc29794395b81b17c1b09608a80ec6ba6827b
Author: Theo Linkspfeifer <lastonestanding@tutanota.com>
Date: Fri Nov 15 06:25:31 2019 -0500
Fix cursor missing in search popup widget (bug #16068)
commit 37e00da8247a6b60cad1cc91e734805000cba926
Author: Adam Purkrt <adam@purkrt.net>
Date: Wed Oct 30 19:22:59 2019 +0100
Fix prelight deactivation (bug #11806)
Signed-off-by: Sean Davis <smd.seandavis@gmail.com>
commit 4bfead48dade33dbad37ca2d7ce072641af3f2c1
Author: Jason Collins <JasonPCollins@protonmail.com>
Date: Sat Oct 26 00:30:03 2019 +0200
I18n: Update translation en_GB (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 46842b211cd38f283f5f8db69f05e870148d93ca
Author: Arnold Marko <arnold.marko@gmail.com>
Date: Sat Oct 19 12:30:03 2019 +0200
I18n: Update translation sl (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 3c7d1792d5ac6bd2bfc9c9e5c5c3d83899aef37c
Author: Arnold Marko <arnold.marko@gmail.com>
Date: Sat Oct 19 06:30:03 2019 +0200
I18n: Update translation sl (95%).
287 translated messages, 13 untranslated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 735d39c217e9e8615d45c54424b45133fcfa9f32
Author: Seong-ho Cho <darkcircle.0426@gmail.com>
Date: Thu Oct 17 12:30:03 2019 +0200
I18n: Update translation ko (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 8c8548d84fd0ca9454c894a2f2da7a9a0d6197c9
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Sat Oct 5 08:11:52 2019 -0400
Fix desktop item creation on symbolic link directories, make user-created launchers executable by default
commit 2fa107272265b2ee1da4e39ab3c59e58a9a98436
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Sat Oct 5 05:33:27 2019 -0400
Fix issues with displaying icon view contents (bug #14737)
commit 39ded34b363f779436a9c0c051e226cee6bdd679
Author: Ivica Kolić <ikoli@yahoo.com>
Date: Mon Sep 30 12:30:08 2019 +0200
I18n: Update translation hr (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 8a5bb44076551804a6a07d1dd78034e9bf37601d
Author: Yannick Le Guen <leguen.yannick@gmail.com>
Date: Thu Sep 19 18:30:03 2019 +0200
I18n: Update translation fr (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit b3f5a81ea0127814f4578e360e89d5711f044bd9
Author: Stefan Höök <stefan.hook@gmail.com>
Date: Sat Sep 14 00:30:03 2019 +0200
I18n: Update translation sv (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 7071c417b2dc4a7cbe9a8bd9214acaefe03dc72e
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Sat Aug 24 06:21:01 2019 -0400
Remove dependency on gio-unix-2.0 (bug #15825)
commit 16c22c733f31e7a5ba97de2df396365a529cdc0d
Author: Daniel Muñiz Fontoira <dani@damufo.com>
Date: Fri Aug 23 12:30:03 2019 +0200
I18n: Update translation gl (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 16ac3c632832b437ff61e7768c9301666aa7ead4
Author: Daniel Muñiz Fontoira <dani@damufo.com>
Date: Sat Aug 17 00:30:03 2019 +0200
I18n: Update translation gl (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit db8e61b82c396d53be4f02a1205d34b8002258a7
Author: Daniel Muñiz Fontoira <dani@damufo.com>
Date: Fri Aug 16 18:30:03 2019 +0200
I18n: Update translation gl (100%).
300 translated messages.
Transifex (https://www.transifex.com/xfce/public/).
commit 4c78fbdbdb86c1a35a84b35ff0251fd7f1bb3eb9
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Sun Aug 11 16:08:21 2019 -0400
Back to development
commit 87911b9e04a2470aef8d120f5eef282d9ae9125c
Author: Sean Davis <smd.seandavis@gmail.com>
Date: Sun Aug 11 16:06:39 2019 -0400
Updates for release
commit de811a5974e104ed84b23906ff5f980e10b42341
Author: Daniel Muñiz Fontoira <dani@damufo.com>
Date: Sat Aug 10 12:30:03 2019 +0200
......
0.12.11
======
- General:
- Bump documentation dates
- Add *.mo to .gitignore
- Bug Fixes:
- Revert padding patches that add too much padding in the Thunar
compact view (Xfce #16196)
0.12.10
=======
- Bug Fixes:
- Fix typeahead search regression (Xfce #16191)
- Translation Updates:
Spanish
0.12.9
======
- Bug Fixes:
- Explicitly depend on gio-unix-2.0 (Xfce #15825)
- Fix alignment of multi-line filenames when text beside icons (Xfce #16107)
- Fix cursor missing in search popup widget (Xfce #16068)
- Fix desktop item creation on symbolic link directories
- Fix excess clickable area of multiline filenames (Xfce #16075)
- Fix issues with displaying icon view contents (Xfce #14737)
- Fix prelight deactivation (Xfce #11806)
- Hide search widget when doing a fullscreen resize (Xfce #15106)
- Make user-created launchers executable by default
- Translation Updates:
Croatian, English (United Kingdom), French, Galician, Korean,
Slovenian, Swedish
0.12.8
======
- preferred-apps: Add button icons to Help/Close
......
#! /bin/sh
# From configure.ac de811a59.
# From configure.ac 55e41c76.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for exo 0.12.8.
# Generated by GNU Autoconf 2.69 for exo 0.12.11.
#
# Report bugs to <https://bugzilla.xfce.org/>.
#
......@@ -594,8 +594,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='exo'
PACKAGE_TARNAME='exo'
PACKAGE_VERSION='0.12.8'
PACKAGE_STRING='exo 0.12.8'
PACKAGE_VERSION='0.12.11'
PACKAGE_STRING='exo 0.12.11'
PACKAGE_BUGREPORT='https://bugzilla.xfce.org/'
PACKAGE_URL=''
 
......@@ -1492,7 +1492,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures exo 0.12.8 to adapt to many kinds of systems.
\`configure' configures exo 0.12.11 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -1568,7 +1568,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of exo 0.12.8:";;
short | recursive ) echo "Configuration of exo 0.12.11:";;
esac
cat <<\_ACEOF
 
......@@ -1717,7 +1717,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
exo configure 0.12.8
exo configure 0.12.11
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2089,7 +2089,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by exo $as_me 0.12.8, which was
It was created by exo $as_me 0.12.11, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -3069,7 +3069,7 @@ fi
 
# Define the identity of the package.
PACKAGE='exo'
VERSION='0.12.8'
VERSION='0.12.11'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -3350,7 +3350,7 @@ LIBEXO_VERSION_API=1
LIBEXO2_VERSION_API=2
LIBEXO_VERSION_MAJOR=0
LIBEXO_VERSION_MINOR=12
LIBEXO_VERSION_MICRO=8
LIBEXO_VERSION_MICRO=11
 
 
 
......@@ -18866,7 +18866,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by exo $as_me 0.12.8, which was
This file was extended by exo $as_me 0.12.11, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -18932,7 +18932,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
exo config.status 0.12.8
exo config.status 0.12.11
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......
......@@ -19,9 +19,9 @@ m4_define([libexo_version_api], [1])
m4_define([libexo2_version_api], [2])
m4_define([libexo_version_major], [0])
m4_define([libexo_version_minor], [12])
m4_define([libexo_version_micro], [8])
m4_define([libexo_version_micro], [11])
m4_define([libexo_version_nano], [])
m4_define([libexo_version_build], [de811a59])
m4_define([libexo_version_build], [55e41c76])
m4_define([libexo_version_tag], [])
m4_define([libexo_version], [libexo_version_major().libexo_version_minor().libexo_version_micro()ifelse(libexo_version_nano(), [], [], [.libexo_version_nano()])ifelse(libexo_version_tag(), [git], [libexo_version_tag()-libexo_version_build()], [libexo_version_tag()])])
......@@ -43,7 +43,7 @@ Copyright (c) 2004-2019 Xfce Development Team])
AC_INIT([exo], [libexo_version], [https://bugzilla.xfce.org/])
AC_PREREQ([2.60])
AC_CONFIG_MACRO_DIR([m4])
AC_REVISION([de811a59])
AC_REVISION([55e41c76])
AC_CANONICAL_TARGET()
dnl ***************************
......
exo (0.12.11-1) unstable; urgency=medium
[ Unit 193 ]
* d/watch: Update for upstream's move to mirrorbit.
[ Yves-Alexis Perez ]
* d/control: update standards version to 4.4.1
* New upstream version 0.12.11
* d/control: update dh compat level to 12
* d/control: bump gtk3 b-dep to 3.22
-- Yves-Alexis Perez <corsac@debian.org> Mon, 30 Dec 2019 17:13:55 +0100
exo (0.12.8-1) unstable; urgency=medium
* New upstream version 0.12.8
......
......@@ -3,11 +3,11 @@ Section: xfce
Priority: optional
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Uploaders: Yves-Alexis Perez <corsac@debian.org>
Build-Depends: debhelper-compat (= 10),
Build-Depends: debhelper-compat (= 12),
gtk-doc-tools,
intltool,
libglib2.0-dev,
libgtk-3-dev (>= 3.20.0),
libgtk-3-dev (>= 3.22.0),
libgtk2.0-dev,
libtool,
liburi-perl,
......@@ -15,7 +15,7 @@ Build-Depends: debhelper-compat (= 10),
libxfce4ui-2-dev,
libxfce4util-dev,
xfce4-dev-tools
Standards-Version: 4.4.0
Standards-Version: 4.4.1
Homepage: https://www.xfce.org
Vcs-Git: https://salsa.debian.org/xfce-team/desktop/exo.git
Vcs-Browser: https://salsa.debian.org/xfce-team/desktop/exo
......
......@@ -2,12 +2,12 @@
.\" Title: exo-csource
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 07/27/2019
.\" Date: 11/03/2019
.\" Manual: Xfce User\*(Aqs Manual
.\" Source: Xfce
.\" Language: English
.\"
.TH "EXO\-CSOURCE" "1" "07/27/2019" "Xfce" "Xfce User\*(Aqs Manual"
.TH "EXO\-CSOURCE" "1" "11/03/2019" "Xfce" "Xfce User\*(Aqs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -9,7 +9,7 @@
<bookinfo>
<title>Exo Reference Manual</title>
<releaseinfo>Version <xi:include href="version.xml" parse="text"/></releaseinfo>
<pubdate>February 2018</pubdate>
<pubdate>December 2019</pubdate>
<copyright>
<year>2004</year>
......@@ -30,6 +30,7 @@
<year>2016</year>
<year>2017</year>
<year>2018</year>
<year>2019</year>
<holder>Xfce Development Team</holder>
</copyright>
......
......@@ -2,12 +2,12 @@
.\" Title: exo-open
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 07/27/2019
.\" Date: 11/03/2019
.\" Manual: Xfce User\*(Aqs Manual
.\" Source: Xfce
.\" Language: English
.\"
.TH "EXO\-OPEN" "1" "07/27/2019" "Xfce" "Xfce User\*(Aqs Manual"
.TH "EXO\-OPEN" "1" "11/03/2019" "Xfce" "Xfce User\*(Aqs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -131,7 +131,7 @@ exo_gtk_file_chooser_add_thumbnail_preview
,
which displays thumbnails for the selected filenames using the thumbnail
database. The preview widget is also able to generate thumbnails for all
image formats supported by <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>.</p>
image formats supported by <span class="type">GdkPixbuf</span>.</p>
<p>Use this function whenever you display a <a href="/usr/share/gtk-doc/html/gtk3/GtkFileChooser.html#GtkFileChooser-struct"><span class="type">GtkFileChooser</span></a> to ask the user
to select an image file from the file system.</p>
<p>The preview widget also supports URIs other than file:-URIs to a certain
......
......@@ -38,7 +38,7 @@
</div>
<p>
This section describes extensions to existing frameworks provided by the <span class="application">exo</span>, that range from additional
methods for certain classes to specialized functions dealing with <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct">GdkPixbuf</a>s.
methods for certain classes to specialized functions dealing with GdkPixbufs.
</p>
</div>
<div class="footer">
......
......@@ -71,8 +71,8 @@
<tr>
<td><p><span class="term">GdkPixbuf</span></p></td>
<td><p>
This is a small library which allows you to create <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct">GdkPixbuf</a>
("pixel buffer") objects from image data or image files. Use a <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct">GdkPixbuf</a>
This is a small library which allows you to create GdkPixbuf
("pixel buffer") objects from image data or image files. Use a GdkPixbuf
in combination with <a href="/usr/share/gtk-doc/html/gtk3/GtkImage.html#GtkImage-struct">GtkImage</a> to display images.
</p></td>
</tr>
......
......@@ -37,10 +37,10 @@
<div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:bluesabre@xfce.org">bluesabre@xfce.org</a>&gt;</code></p></div></div>
</div>
</div></div>
<div><p class="releaseinfo">Version 0.12.8
<div><p class="releaseinfo">Version 0.12.11
</p></div>
<div><p class="copyright">Copyright © 2004, 2005, 2006, 2007 os-cillation e.K.</p></div>
<div><p class="copyright">Copyright © 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Xfce Development Team</p></div>
<div><p class="copyright">Copyright © 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Xfce Development Team</p></div>
<div><div class="legalnotice">
<a name="legalnotice"></a><p>
Permission is granted to copy, distribute and/or modify this document
......@@ -50,7 +50,7 @@
Texts. The complete license text is available from the <a class="ulink" href="http://www.gnu.org/" target="_top">Free Software Foundation</a>.
</p>
</div></div>
<div><p class="pubdate">February 2018</p></div>
<div><p class="pubdate">December 2019</p></div>
</div>
<hr>
</div>
......
This diff is collapsed.
......@@ -73,10 +73,43 @@ exo_die_g_key_file_set_locale_value (GKeyFile *key_file,
static void trust_launcher (GFile *gfile)
{
/* trust the launcher since the user created it */
guint32 mode = 0111, mask = 0111;
guint32 old_mode, new_mode;
GFileInfo *info;
info = g_file_query_info (gfile,
G_FILE_ATTRIBUTE_UNIX_MODE,
G_FILE_QUERY_INFO_NONE,
NULL,
NULL);
if (info == NULL)
return;
old_mode = g_file_info_get_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_MODE);
new_mode = (old_mode & ~mask) | mode;
if (old_mode != new_mode) {
g_file_set_attribute_uint32 (gfile,
G_FILE_ATTRIBUTE_UNIX_MODE, new_mode,
G_FILE_QUERY_INFO_NONE,
NULL,
NULL);
}
g_object_unref (G_OBJECT (info));
}
/**
* exo_die_g_key_file_save:
* @key_file : the #GKeyFile.
* @create : whether to create.
* @trust : whether to trust the launcher.
* @base : file or folder (if @create).
* @mode : file mode for .directory or .desktop suffix.
* @error : return location for errors or %NULL.
......@@ -88,6 +121,7 @@ exo_die_g_key_file_set_locale_value (GKeyFile *key_file,
gboolean
exo_die_g_key_file_save (GKeyFile *key_file,
gboolean create,
gboolean trust,
GFile *base,
ExoDieEditorMode mode,
GError **error)
......@@ -125,7 +159,7 @@ exo_die_g_key_file_save (GKeyFile *key_file,
}
else
{
file_type = g_file_query_file_type (base, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL);
file_type = g_file_query_file_type (base, G_FILE_QUERY_INFO_NONE, NULL);
if (file_type == G_FILE_TYPE_REGULAR)
{
file = G_FILE (g_object_ref (G_OBJECT (base)));
......@@ -204,6 +238,10 @@ exo_die_g_key_file_save (GKeyFile *key_file,
NULL, NULL, error);
}
if (trust) {
trust_launcher (file);
}
/* cleanup */
g_free (data);
g_object_unref (G_OBJECT (file));
......
......@@ -33,6 +33,7 @@ void exo_die_g_key_file_set_locale_value (GKeyFile *key_file,
gboolean exo_die_g_key_file_save (GKeyFile *key_file,
gboolean create,
gboolean trust,
GFile *base,
ExoDieEditorMode mode,
GError **error);
......
......@@ -452,6 +452,8 @@ main (int argc, char **argv)
response = gtk_dialog_run (GTK_DIALOG (dialog));
if (response == GTK_RESPONSE_ACCEPT)
{
gboolean trusted_launcher = opt_create_new; // User-created launchers are launchable by default
/* save common values (localized if possible) */
exo_die_g_key_file_set_locale_value (key_file, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_NAME,
......@@ -503,7 +505,7 @@ main (int argc, char **argv)
}
/* try to save the file */
if (!exo_die_g_key_file_save (key_file, opt_create_new, gfile, mode, &error))
if (!exo_die_g_key_file_save (key_file, opt_create_new, trusted_launcher, gfile, mode, &error))
{
if (opt_create_new)
{
......@@ -520,7 +522,7 @@ main (int argc, char **argv)
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), TRUE);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (chooser), TRUE);
file_type = g_file_query_file_type (gfile, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL);
file_type = g_file_query_file_type (gfile, G_FILE_QUERY_INFO_NONE, NULL);
/* if base is a folder, enter the folder */
if (file_type == G_FILE_TYPE_DIRECTORY)
......@@ -552,7 +554,7 @@ main (int argc, char **argv)
/* try again to save to the new file */
gfile = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (chooser));
exo_die_g_key_file_save (key_file, FALSE, gfile, mode, &error);
exo_die_g_key_file_save (key_file, FALSE, trusted_launcher, gfile, mode, &error);
}
/* destroy the chooser */
......@@ -598,7 +600,7 @@ main (int argc, char **argv)
/* try another save */
gfile_local = g_file_new_for_path (path);
exo_die_g_key_file_save (key_file, FALSE, gfile_local, mode, &error);
exo_die_g_key_file_save (key_file, FALSE, trusted_launcher, gfile_local, mode, &error);
g_object_unref (G_OBJECT (gfile_local));
}
......
......@@ -37,6 +37,7 @@ exo_helper_2_SOURCES = \
exo_helper_2_CFLAGS = \
$(GTK3_CFLAGS) \
$(GIO_UNIX_CFLAGS) \
$(LIBXFCE4UTIL_CFLAGS) \
$(LIBXFCE4UI2_CFLAGS)
......@@ -45,6 +46,7 @@ exo_helper_2_DEPENDENCIES = \
exo_helper_2_LDADD = \
$(GTK3_LIBS) \
$(GIO_UNIX_LIBS) \
$(LIBXFCE4UTIL_LIBS) \
$(LIBXFCE4UI2_LIBS) \
$(top_builddir)/exo/libexo-2.la
......