[gnome-builder] rename-popover: allow renaming files into other directories
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rename-popover: allow renaming files into other directories
- Date: Tue, 26 Apr 2016 04:31:38 +0000 (UTC)
commit ead97ad98e45ca77c730bfced6436ab0e41892e3
Author: Christian Hergert <christian hergert me>
Date: Mon Apr 25 21:31:19 2016 -0700
rename-popover: allow renaming files into other directories
Tested with child and parent directories.
plugins/project-tree/gb-rename-file-popover.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/plugins/project-tree/gb-rename-file-popover.c b/plugins/project-tree/gb-rename-file-popover.c
index e7bdc6d..4356276 100644
--- a/plugins/project-tree/gb-rename-file-popover.c
+++ b/plugins/project-tree/gb-rename-file-popover.c
@@ -166,13 +166,6 @@ gb_rename_file_popover__entry_changed (GbRenameFilePopover *self,
if (ide_str_empty0 (text))
return;
- if (strchr (text, G_DIR_SEPARATOR) != NULL)
- {
- gtk_label_set_label (self->message,
- _("File name must not contain subdirectories."));
- return;
- }
-
if (self->cancellable)
{
g_cancellable_cancel (self->cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]