[gnome-builder] command-bar: set alignment of completion item



commit 754bdf6c257bbe5dc951501973d29abb19f27744
Author: Christian Hergert <christian hergert me>
Date:   Sat Apr 25 22:17:23 2015 -0700

    command-bar: set alignment of completion item

 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 7f03ed2..d07ae28 100644
--- a/src/commands/gb-command-bar.c
+++ b/src/commands/gb-command-bar.c
@@ -400,6 +400,7 @@ gb_command_bar_complete (GbCommandBar *bar)
               label = gtk_label_new ("");
               s = g_strdup_printf ("<b>%s</b>%s", current_prefix, completions[i] + strlen (current_prefix));
               gtk_label_set_markup (GTK_LABEL (label), s);
+              gtk_label_set_xalign (GTK_LABEL (label), 0.0f);
               g_free (s);
 
               gtk_container_add (GTK_CONTAINER (bar->priv->flow_box), label);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]