Greeter layout issue with LDM 2.0.10
"Leo Eraly" <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
While testing the latest LDM 2.0.10 we discovered an issue with our
OpenSUSE theme/layout.
The Username/password box is now displayed on the right of the page,
not in the center anymore. This used to work in 2.0.7
While digging a little bit in the greeter.c code I discovered that the
location of this Username/Password box is defined in the following
code
UserPrompt = gtk_label_new("");
spacer = gtk_label_new("");
if (lw < 180)
lw = 180;
gtk_misc_set_alignment((GtkMisc *) UserPrompt, 1, 0.5);
gtk_widget_set_size_request(UserPrompt, (lw / 2), 0);
Where lw is the width of the logo.png. The logo we our using in our
theme is quite big (1280x250).
If I comment the gtk_widget_set_size_request line the layout is normal
again (everything is centered again). Why was this line added?
This specific code was not changed between 2.0.7 and 2.0.10 but some
other stuff was added it seems.
Could someone give any pointers about possible changes that might be
related to this behavior or can we just drop the
gtk_widget_set_size_request() line?
Kind regards,
Leo
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net