summaryrefslogtreecommitdiffstats
path: root/widgets/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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 a new MountpointSelector widget.Chris Lumens2012-05-213-1/+307
| | | | | 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.
* You're not always going back to the summary, so make the text more generic.Chris Lumens2012-03-301-1/+1
|
* Add TimezoneMap widget to AnacondaWidgetsVratislav Podzimek2012-03-285-4/+1217
|
* Don't show a resize grip on a lightbox window.Chris Lumens2012-01-241-0/+1
|
* Allow selecting DiskOverviews via the keyboard.Chris Lumens2012-01-243-44/+57
| | | | | | | | | | Note the "selected" -> "chosen" change. "selected" means something specific to GTK, and it doesn't mean what I thought. Thus, I am now using "chosen" to mean you have hit enter/space on the DiskOverview and made it part of the install. This also gets rid of the rounded corner piece, since I was unable to make that work with the keyboard focus (for now).
* Add support to some widgets for retranslating the UI on language change.Chris Lumens2012-01-134-8/+89
| | | | | | | | | GTK doesn't really make this easy on us. The only thing we can do is tear everything down and rebuild, which is not at all an optimal solution. Alternatively, we can maintain lists of original strings and the widgets that contain them, and do it on demand by hand. Not everything is supported yet. I'll add support as needed.
* Allow hubs to expand more vertically so they don't need a scroll bar.Chris Lumens2012-01-131-1/+1
|
* Add style info to DiskOverview so rounded corners on selection work.Chris Lumens2012-01-091-0/+14
| | | | | | | This could go into an external CSS file instead, but then I have to worry about loading it, and packaging it, and what the proper location should be, and all that kind of stuff. I could just shove it into a variable and be done with it.
* Make DiskOverviews take up less vertical space and give them a border.Chris Lumens2012-01-091-0/+2
|
* Make the DiskOverview icon quite a bit smaller.Chris Lumens2012-01-091-3/+5
| | | | | 200px makes it take up entirely too much of the screen. 125px is a better compromise between the look we're going for and screen space usage.
* Mark more strings for translation.Chris Lumens2012-01-094-8/+9
|
* Show user-specified disk size.David Lehman2012-01-061-1/+1
|
* Break GTK_STATE_FLAG_SELECTED setting out into its own function.Chris Lumens2011-12-211-6/+8
| | | | | | With the current setup, what happens is you have to pass the opposite value from what you want into set_selected because a_d_o_clicked negates whatever a_d_o_set_selected. Whoops.
* More work on making things larger and clearer.Chris Lumens2011-12-212-9/+20
| | | | | | | | | (1) Increase font sizes in the nav area. (2) Make the betanag warning bold so it stands out better. (3) Increase the size of everything in the spoke selector to help us use the screen real estate a little more wisely.
* Remove some unused code I never should have pushed in the first place.Chris Lumens2011-12-201-16/+0
|
* Allow keyboard navigation of the SpokeSelectors on a hub.Chris Lumens2011-12-201-0/+39
| | | | | | It's a little ugly (the default Gtk focus notification appears to be just changing the background to blue), but that's the default and it makes it clear what is currently selected.
* Tweak spacing and margins on UI screens.Chris Lumens2011-12-192-3/+7
| | | | | | First, remove the border width specified in each .ui file. This allows the info bar to extend all the way to the edges of the screen. Then, add back in some padding around the nav_area and various button areas.
* Set different values for the alignment on hubs and spokes.Chris Lumens2011-12-193-5/+18
| | | | | If I use the same values, the selectors in the hubs look way too cramped. Or, the spokes look like they're floating in space.
* Add a general purpose info bar to the bottom of the BaseWindow.Chris Lumens2011-12-192-6/+70
| | | | | This means I can get rid of the current warning on hubs, since I can just make the info bar pop up instead.
* Rework the base window class to include a top-level vbox and alignment.Chris Lumens2011-12-196-35/+92
| | | | | | | This requires exposing a lot more internal children because glade will not let you get to internal children unless you also expose everything up the chain. This patch should eliminate the need for any window to include its own alignment and its own vbox. I hope it's also largely transparent.
* Set a default action_area spacing so each screen doesn't have to set it.Chris Lumens2011-12-141-0/+1
|
* Add a warning icon if a spoke is incomplete.Chris Lumens2011-12-131-3/+8
| | | | | | This is not the fancy icon overlay as shown in the mockups, since that takes a litle more work than I have time to do right now. Feel free to work on this yourself.
* Add an alignment into the HubWindow so we can control its screen size.Chris Lumens2011-12-131-1/+5
|
* No longer use the deprecated Gtk{H,V}Box and GtkHButtonBox constructors.Chris Lumens2011-12-083-3/+3
| | | | | | Instead I'm using the slightly less deprecated GtkBox and GtkButtonBox, though those will have to be converted to GtkGrid eventually. However that is a much bigger change.
* Add the lightbox code (akozumpl).Chris Lumens2011-11-303-2/+170
| | | | Also, make the betanag screen call it.
* Add our custom GTK+ widgets in as a subdirectory and subpackage.Chris Lumens2011-11-1015-0/+1989