[gimp/tito: 13/15] app: remove leading/trailing spaces to keyword before action searching.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/tito: 13/15] app: remove leading/trailing spaces to keyword before action searching.
- Date: Sun, 1 Dec 2013 22:40:34 +0000 (UTC)
commit 6581324d3f1a854bc62306945e329e8eef291934
Author: Jehan <jehan girinstud io>
Date: Sat Nov 30 19:01:06 2013 +1300
app: remove leading/trailing spaces to keyword before action searching.
app/dialogs/action-search-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/dialogs/action-search-dialog.c b/app/dialogs/action-search-dialog.c
index ca5e6bd..a314e65 100644
--- a/app/dialogs/action-search-dialog.c
+++ b/app/dialogs/action-search-dialog.c
@@ -170,7 +170,7 @@ key_released (GtkWidget *widget,
gint width;
gtk_window_get_size (GTK_WINDOW (private->dialog), &width, NULL);
- entry_text = gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1);
+ entry_text = g_strstrip (gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1));
switch (event->keyval)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]