[Pkg-privacy-commits] [nautilus-wipe] 76/224: Display absolute paths in sfill confirmation dialog
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository nautilus-wipe.
commit 2914f885e735316d9305467e3c3b3a251ba2d9e1
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Tue Mar 30 17:19:52 2010 +0200
Display absolute paths in sfill confirmation dialog
---
TODO | 4 ----
nautilus-srm/nautilus-srm.c | 4 ++--
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/TODO b/TODO
index dcd9a64..80a30ce 100644
--- a/TODO
+++ b/TODO
@@ -8,8 +8,4 @@
* Add an icon for sfill
-* Sfill: display the mountpoints in the confirmation dialog. Requires
- to calculate them before displaying the message.
- * Add a "/" to show that pathes are absolute
-
* Use a thrash icon in the confirmation dialog
diff --git a/nautilus-srm/nautilus-srm.c b/nautilus-srm/nautilus-srm.c
index a788c96..098035e 100644
--- a/nautilus-srm/nautilus-srm.c
+++ b/nautilus-srm/nautilus-srm.c
@@ -536,7 +536,7 @@ run_fill_operation (GtkWindow *parent,
for (tmp = mountpoints; tmp; tmp = g_list_next (tmp)) {
gchar *name;
- name = g_filename_display_basename (tmp->data);
+ name = g_filename_display_name (tmp->data);
if (devices->len > 0) {
if (! tmp->next) {
/* TRANSLATORS: this is the last device names separator */
@@ -562,7 +562,7 @@ run_fill_operation (GtkWindow *parent,
} else if (n_items > 0) {
gchar *name;
- name = g_filename_display_basename (mountpoints->data);
+ name = g_filename_display_name (mountpoints->data);
confirm_primary_text = g_strdup_printf (_("Are you sure you want to wipe "
"the available diskspace on the "
"\"%s\" partition or device?"),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list