[gnome-builder] command-bar: Make sure any old text is cleared when showing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] command-bar: Make sure any old text is cleared when showing
- Date: Mon, 24 Nov 2014 19:30:27 +0000 (UTC)
commit 0f5f1c77531224a6260c548cf3fdce550d729838
Author: Alexander Larsson <alexl redhat com>
Date: Mon Nov 24 15:30:46 2014 +0100
command-bar: Make sure any old text is cleared when showing
https://bugzilla.gnome.org/show_bug.cgi?id=740629
src/commands/gb-command-bar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/commands/gb-command-bar.c b/src/commands/gb-command-bar.c
index 07c3bec..cdf7734 100644
--- a/src/commands/gb-command-bar.c
+++ b/src/commands/gb-command-bar.c
@@ -67,6 +67,7 @@ gb_command_bar_show (GbCommandBar *bar)
g_return_if_fail (GB_IS_COMMAND_BAR (bar));
gtk_revealer_set_reveal_child (GTK_REVEALER (bar), TRUE);
+ gtk_entry_set_text (bar->priv->entry, "");
gtk_widget_grab_focus (GTK_WIDGET (bar->priv->entry));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]