[master] The LayoutIndicator widget and minor fixes

Vratislav Podzimek vpodzime at redhat.com
Mon Feb 11 14:05:16 UTC 2013


PATCH [3/3] is the most important one the other two are just fixes for
the issues I've noticed during the development and testing of the widget.

The preview of the widget and its functionality can be seen at:
http://vpodzime.fedorapeople.org/layout_indicator.webm
(it doesn't show that it has a tooltip with full layout name and description
of what clicking it does)

There are some questions related to the widget:
1) How it should look like? Should it have a border or some background?
2) How wide it should be? For now it is 8 chars wide and uses ELLIPSIZE_CENTER,
   but it could be wider. I don't want it to be expanding because that would
   result in many widgets changing their place and size when the layout is
   switched. It could also be 2 chars wide and show just 'us', 'cz' etc., but
   I believe some users are using e.g. 'cz' and 'cz (qwerty)' at the same time.
3) Where it should be placed? Should it go to the header of our BaseWindow
   and to the dialogs that include password creation? Or should it be just
   on the dialogs with password creation?

Suggestions?

Vratislav Podzimek (3):
  Remove debugging print (DatetimeSpoke)
  Fixes for the XklWrapper (#895766)
  LayoutIndicator widget

 pyanaconda/keyboard.py                     |  13 +-
 pyanaconda/ui/gui/spokes/datetime_spoke.py |   1 -
 widgets/configure.ac                       |   1 +
 widgets/glade/AnacondaWidgets.xml          |   7 +
 widgets/src/LayoutIndicator.c              | 339 +++++++++++++++++++++++++++++
 widgets/src/LayoutIndicator.h              |  69 ++++++
 widgets/src/Makefile.am                    |   8 +-
 7 files changed, 433 insertions(+), 5 deletions(-)
 create mode 100644 widgets/src/LayoutIndicator.c
 create mode 100644 widgets/src/LayoutIndicator.h

-- 
1.7.11.7



More information about the anaconda-patches mailing list