Commit 75454c33 authored by Brian Cameron's avatar Brian Cameron

*** empty log message ***

parent 9a95d44e
2006-10-30 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter_item_ulist.c: Minor fix to last patch.
* gui/greeter/themes/circles/circles.xml
* gui/greeter/themes/happygnome/happygnome.xml: Add userlist
now that it will disappear if there are no users to display.
2006-10-30 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter.c, gui/greeter/greeter_item_ulist.[ch],
......
This diff is collapsed.
This diff is collapsed.
......@@ -68,6 +68,9 @@ enum
void
greeter_item_ulist_check_show_userlist (void)
{
if (DOING_GDM_DEVELOPMENT)
return;
/*
* If there are no users, then hide the rectangle used to contain the
* userlist. This id allows a rectangle to be defined with alpha
......@@ -178,7 +181,6 @@ static void
greeter_populate_user_list (GtkTreeModel *tm)
{
GList *li;
int i=0;
for (li = users; li != NULL; li = li->next) {
GdmUser *usr = li->data;
......@@ -217,7 +219,7 @@ greeter_populate_user_list (GtkTreeModel *tm)
GREETER_ULIST_ACTIVE_COLUMN, active,
-1);
g_free (label);
i++;
num_users++;
}
}
......
......@@ -27,6 +27,18 @@
</item>
</fixed>
</item>
<item type="rect" id="userlist-rect">
<normal color="#FFFFFF" alpha="0.5" font="Sans 14"/>
<pos anchor="nw" x="0" y="0" width="box" height="box"/>
<box orientation="vertical" min-width="440" max-width="440" min-height="100"
xpadding="4" ypadding="4" spacing="0">
<item type="list" id="userlist">
<pos anchor="nw" x="0" y="0" height="550" width="440"/>
<color iconcolor="#ACBFDD" labelcolor="#ACBFDD"/>
</item>
</box>
</item>
<item type="pixmap">
<normal file="flower.png"/>
<pos x="100%" y="100%" anchor="se"/>
......
......@@ -27,6 +27,17 @@
</item>
</fixed>
</item>
<item type="rect" id="userlist-rect">
<normal color="#FFFFFF" alpha="0.5" font="Sans 14"/>
<pos anchor="nw" x="0" y="0" width="box" height="box"/>
<box orientation="vertical" min-width="440" max-width="440" min-height="100"
xpadding="4" ypadding="4" spacing="0">
<item type="list" id="userlist">
<pos anchor="nw" x="0" y="0" height="550" width="440"/>
<color iconcolor="#ACBFDD" labelcolor="#ACBFDD"/>
</item>
</box>
</item>
<item type="svg">
<normal file="gnome-logo.svg"/>
<pos x="-12" y="-12" width="30" height="47" anchor="se" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment