[nautilus] batch-rename-dialog: use GIO constants
- From: Alexandru-Ionut Pandelea <alexpandelea src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] batch-rename-dialog: use GIO constants
- Date: Mon, 29 Aug 2016 10:11:49 +0000 (UTC)
commit c5e163567774d8291e3c906a46de126df1c093a1
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Aug 29 11:06:02 2016 +0200
batch-rename-dialog: use GIO constants
https://bugzilla.gnome.org/show_bug.cgi?id=768311
src/nautilus-batch-rename-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index eb76a73..d1a4c28 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -2600,7 +2600,7 @@ on_key_press_event (GtkWidget *widget,
if ((keyval == GDK_KEY_Delete || keyval == GDK_KEY_BackSpace) &&
tag_removed)
- return TRUE;
+ return GDK_EVENT_STOP;
return GDK_EVENT_PROPAGATE;
}
@@ -2717,7 +2717,7 @@ on_key_press_event (GtkWidget *widget,
if (tag_removed) {
if (keyval == GDK_KEY_Delete || keyval == GDK_KEY_BackSpace)
- return TRUE;
+ return GDK_EVENT_STOP;
return GDK_EVENT_PROPAGATE;
}
@@ -3024,4 +3024,4 @@ nautilus_batch_rename_dialog_init (NautilusBatchRenameDialog *self)
"leave-notify-event",
G_CALLBACK (on_leave_event),
self);
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]