[libdazzle] menus: align shortcuts to the right



commit 5335d012a363287eab469487e5f676ec3d8dd760
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 25 22:33:29 2018 -0700

    menus: align shortcuts to the right

 src/shortcuts/dzl-shortcut-simple-label.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-simple-label.c b/src/shortcuts/dzl-shortcut-simple-label.c
index 5fae8ff..94dcfbb 100644
--- a/src/shortcuts/dzl-shortcut-simple-label.c
+++ b/src/shortcuts/dzl-shortcut-simple-label.c
@@ -180,10 +180,10 @@ dzl_shortcut_simple_label_init (DzlShortcutSimpleLabel *self)
 
   self->accel_label = g_object_new (GTK_TYPE_LABEL,
                                     "hexpand", TRUE,
-                                    "halign", GTK_ALIGN_START,
+                                    "halign", GTK_ALIGN_END,
                                     "margin-start", 12,
                                     "visible", TRUE,
-                                    "xalign", 0.0f,
+                                    "xalign", 1.0f,
                                     NULL);
   dzl_gtk_widget_add_style_class (GTK_WIDGET (self->accel_label), "dim-label");
   gtk_container_add_with_properties (GTK_CONTAINER (self), GTK_WIDGET (self->accel_label),


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