[gnome-control-center/wip/feborges/new-users-panel: 35/36] user-accounts: Reorder items in "Account Activity" entries



commit 199747bf554ed42af24da1e87b9bf0cbe3745a5d
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Jun 21 16:19:07 2016 +0200

    user-accounts: Reorder items in "Account Activity" entries
    
    According to the mockups at
    https://wiki.gnome.org/Design/SystemSettings/UserAccounts
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767065

 panels/user-accounts/um-history-dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/user-accounts/um-history-dialog.c b/panels/user-accounts/um-history-dialog.c
index 9638736..763bfd8 100644
--- a/panels/user-accounts/um-history-dialog.c
+++ b/panels/user-accounts/um-history-dialog.c
@@ -170,6 +170,10 @@ add_record (GtkWidget *box, GDateTime *datetime, gchar *record_string, gint line
         gtk_box_set_homogeneous (GTK_BOX (row), TRUE);
         gtk_container_set_border_width (GTK_CONTAINER (row), 6);
 
+        label = gtk_label_new (record_string);
+        gtk_widget_set_halign (label, GTK_ALIGN_START);
+        gtk_box_pack_start (GTK_BOX (row), label, TRUE, TRUE, 0);
+
         label = gtk_label_new (str);
         gtk_widget_set_halign (label, GTK_ALIGN_START);
         gtk_box_pack_start (GTK_BOX (row), label, TRUE, TRUE, 0);
@@ -177,10 +181,6 @@ add_record (GtkWidget *box, GDateTime *datetime, gchar *record_string, gint line
         g_free (time);
         g_date_time_unref (datetime);
 
-        label = gtk_label_new (record_string);
-        gtk_widget_set_halign (label, GTK_ALIGN_START);
-        gtk_box_pack_start (GTK_BOX (row), label, TRUE, TRUE, 0);
-
         gtk_list_box_insert (GTK_LIST_BOX (box), row, line);
 }
 


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