summaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Ignore double clicks on the DiskOverviews (#902467).Chris Lumens2013-01-311-1/+3
| | | | | | | The signal handler was getting called three times on double-click: once for the double-click, once for the first click, and once for the second click. This resulted in the background getting shown as if the disk were selected, even though everything else indicated it was not.
* Add device node name information to the storage spoke and disk cart (#902617).Chris Lumens2013-01-312-35/+24
|
* Add a license and overview to the g-i overrides file.Chris Lumens2013-01-291-0/+26
|
* Create/clarify some documentation in the custom widgets.Chris Lumens2013-01-294-17/+52
|
* Condense string formatting in a couple custom widgets.Chris Lumens2013-01-292-27/+39
| | | | No reason to have this kind of stuff in two different places.
* Remove the widget-specific TODO list.Chris Lumens2013-01-291-24/+0
| | | | | There's nothing important in here anymore, and we need to condense these lists into one central place.
* Display error status messages in a darker red color.Chris Lumens2013-01-291-12/+10
| | | | | | This is to draw the user's attention to them a little better. It also allows me to kill all that CSS provider crud, which it turns out isn't even needed. This probably changed when I started using the PangoAttrList.
* Display the background gradient image from a map signal handler.Chris Lumens2013-01-161-23/+30
| | | | | | | | | | Doing it from the init method means we need to call gtk_widget_realize so all the gdk and cairo stuff has something to operate on. However, that realize call screws up glade so that the window gets displayed separately and widgets cannot be clicked upon. This reorganization moves the gradient setup to after the widget has been realized.
* Add keyboard mnemonics to the spoke selectors, too.Chris Lumens2013-01-071-2/+3
|
* Set line wrap on the info bar (#888112).Chris Lumens2012-12-181-0/+2
|
* Add a gradient background to spoke headers (mizmo, clumens).Chris Lumens2012-12-124-6/+68
| | | | | | | | | | | The idea here is that by adding a gradient up top, the "Done" button looks more like it belongs with the header than with the widgets down in the spoke. It also subtly makes the spoke look like a subpart of the hub. Adding this required adding an additional internal widget, which means also changing all existing glade files to include this internal widget. Make sure to build new glade support and install locally (or use the proper makefile targets) before editing.
* Make sure product info and spoke titles are translated throughout.Chris Lumens2012-12-041-2/+2
| | | | | Except on the hub, which is special and is going to need special work done for it.
* When we retranslate the welcome window, inform glibc.Chris Lumens2012-12-045-6/+16
| | | | | | Everything in the beginning of anaconda_base_window_retranslate is critical to making sure we can change translations at runtime. Translations are still not totally working, but this gets us a lot closer.
* Add gettext checks to widgets/configure.ac.Chris Lumens2012-12-042-2/+4
| | | | | | Without this check, ENABLE_NLS will not be defined, which means gettext.h will not do anything, which means strings in C lang will not be translated no matter how hard we try.
* Add set_info, set_error, set_warning functions to the BaseWindow object.Chris Lumens2012-11-292-15/+49
| | | | | This saves us from having to type the same GTK constants again and again in python land.
* Check that everything's a GDK window before attempting to manipulate it.Chris Lumens2012-11-201-1/+5
| | | | | This gets rid of some warnings on tty1. I'm surprised no one's filed bugs about them yet.
* Escape ampersands in spoke status text.Chris Lumens2012-11-201-1/+7
|
* Correct colors for selected items in mountpoint selector widget (mizmo).Chris Lumens2012-11-141-7/+10
| | | | | | | | This patch adjusts the coloring for selected mountpoints in the mountpoint selector widget. Previously, some of the text labels appeared grey or black on the blue selected background, making it harder to read them. This patch adjusts those so they go white when selected, and black or gray (depending on the label) when not selected.
* DiskOverview widget selection color correction (mizmo).Chris Lumens2012-11-131-5/+3
| | | | | | | | | Previously, the disk overview widget (visible on the first storage screen) would display black text on a blue-colored background for selected items. Attempts to set the foreground color to white using GTK overrides proved futile, so this patch removes all color overrides and instead uses GTK state flag setting to achieve the desired affect: unselected text is black on white; selected text is white on blue.
* Adjust right margin for MountpointSelector (mizmo).Chris Lumens2012-11-121-1/+1
| | | | | | | | | | | The mountpoint selector has a problem where all mountpoints except the selected one are flush with 0 margin against the right wall of the box they're in, and the selected mountpoint gets 6 px of margin between it and the wall. This patch makes that margin more consistent, so both selected and unselected mountpoints in the mountpoint selector list on the left hand side of the custom partitioning spoke get a consistent 12 px margin.
* Fix introspection warnings for widgetsStef Walter2012-11-122-2/+2
|
* Buttons shouldn't scream at people (#868536, mizmo).Chris Lumens2012-11-091-2/+2
|
* Fix spacing and padding on SpokeSelectors (mizmo).Chris Lumens2012-11-061-3/+9
|
* TimezoneMap should handle "" timezoneVratislav Podzimek2012-11-061-9/+26
| | | | | | This is needed for displaying UTC and GMT-X timezones. Setting timezone to "" graphically sets "Europe/London", but doesn't add the pin.
* Widget properties exposed via glade need to be marked as translatable.Chris Lumens2012-11-011-0/+12
| | | | | Without this, translatable="yes" will not appear in the output glade files, which means the strings will not be in anaconda.pot.
* Lots of UI layout tweaks (mizmo).Chris Lumens2012-10-261-1/+1
|
* Toggle chosen property on focus change (MountpointSelector)Vratislav Podzimek2012-10-251-0/+2
| | | | Resolves: rhbz#869388
* Set the status text in the SpokeSelector widget differently now.Chris Lumens2012-10-231-6/+16
| | | | | | | This is required by the previous patch. We are storing pango markup in the language store now, and pango does not appear to support nested spans. So, we need to set attrs instead. Also I've condensed things a bit here to make sure the code is only in one place.
* Another attempt at fixing the squished screen bug (#849211).Chris Lumens2012-10-101-0/+1
| | | | | | | This doesn't fix the redraw-related size problem. I think that might just be an artifact of not using a compositing manager. This merely attempts to fix it so we don't display a spoke entirely smashed up in the upper left corner of the screen.
* Update widget-specific TODO list.Chris Lumens2012-09-201-4/+1
|
* Don't use grey for the status text of a SpokeSelector (#855638).Chris Lumens2012-09-201-2/+15
| | | | | | | | | | By hardcoding a color, it makes the status text almost invisible on the KDE live disc where the theme is darker to begin with. Instead, use the theme colors for everything. This isn't a perfect fix: If you focus a SpokeSelector, the text will still be black instead of white like everything else. However, I've been unable to make that work.
* Use slightly less confusing labels for the various back buttons.Chris Lumens2012-09-131-1/+1
|
* Add a property to SpokeWindow for setting the single button's label.Chris Lumens2012-09-131-5/+55
|
* Rename the SpokeWindow's back button to just button.Chris Lumens2012-09-132-27/+31
| | | | | This also changes the back-signal to button-signal. This is prep work for allowing individual spokes to relabel the button if they so choose.
* Mark/unmark some strings for translation, as appropriate.Chris Lumens2012-08-153-5/+5
|
* Save the distro label into the right variable for retranslation.Chris Lumens2012-08-151-1/+1
|
* Allow clicking on the InfoBar to emit a signal.Chris Lumens2012-07-232-2/+55
| | | | This can be handled higher up in the python portion of the UI if desired.
* Fix a typo in a SpokeWindow comment.Chris Lumens2012-07-171-1/+1
| | | | | I discovered this searching for "iw" to make sure I deleted everything related to the old interface.
* Finally, port the hand cursor to DiskOverviews as well.Chris Lumens2012-06-211-0/+20
| | | | I knew I'd forgotten something when I did this for MountpointSelectors.
* Add the hand cursor to MountpointSelectors, too.Chris Lumens2012-06-191-0/+20
| | | | | This is largely just copy & paste from what msivak did elsewhere. Thanks.
* Giving a MountpointSelector focus should cause it to be displayed.Chris Lumens2012-06-072-0/+50
| | | | | | | | | | | | This means that when you press up and down with the keyboard to navigate the accordion, whatever MS you hit will be the one displayed on the right, and whatever one you were previously on will have its changes saved. This is different from how DiskOverviews and SpokeSelectors work, but I think it makes sense. When you keyboard to a DO, you are choosing to do include it in the install. We don't want people doing that by accident. When you keyboard to a SS, it would jump you into the spoke and that wouldn't work at all. The MS, however, just changes what's displayed on part of the screen.
* Add a little right pointing arrow to the active mountpoint selector.Chris Lumens2012-06-071-6/+49
|
* Set the default mountpoint in a MountpointSelector to empty.Chris Lumens2012-06-061-2/+2
| | | | Also, don't translate it. That doesn't make any sense.
* Change cursor shape when the pointer is over SpokeSelector iconMartin Sivak2012-05-291-0/+18
|
* Fix the alignment of text in the MountpointSelector.Chris Lumens2012-05-241-2/+4
| | | | | | A side effect of this is that the whole left hand side is now wider, but I think that can be fixed by adjusting the stuff that goes in the right hand side.
* Make TimezoneMap suitable for testingVratislav Podzimek2012-05-244-13/+38
| | | | | When testing we, need to set the location of the bitmaps our TimezoneMap is using, so let it try to get the location from the environment.
* Add an override for MountpointSelector so it works like SpokeSelector.Chris Lumens2012-05-231-0/+16
|
* Add a new MountpointSelector widget.Chris Lumens2012-05-214-1/+308
| | | | | This is the thing on the left hand side of the custom partitioning interface, allowing you to select a mount point and do some configuration on it.
* Make spoke status messages always grey.Chris Lumens2012-05-151-2/+2
| | | | | | | Really, I'd like them to be grey only when the spoke is not ready and then turn black afterwards. But I can't make that work, and it has to be done in C since the labels aren't exposed outside of that. So this will have to work for now.
* Don't let any single spoke's status line get too large (msivak).Chris Lumens2012-05-111-0/+2
| | | | | | | Some keyboard layouts have pathologically long names, and we're already trimming the status for network sources so just do it for all spokes. Note that this does not change the text of the status, so it can still be used for string comparisons.