summaryrefslogtreecommitdiffstats
path: root/gui.py
Commit message (Collapse)AuthorAgeFilesLines
* metacity, fix a displaying problem with WaitWindow and ProgressWindow (#520146)Ales Kozumplik2010-03-051-4/+9
|
* Nuke addFrame()'s showtitle parameter (#520146).Ales Kozumplik2010-03-051-3/+3
|
* Remove gui code we no longer need when mini-wm is gone (#520146)Ales Kozumplik2010-03-051-69/+13
|
* Adapt to using report's UI API (#562656).Chris Lumens2010-03-041-4/+3
|
* Warn when ignoring BIOS RAID members (#560932)Hans de Goede2010-02-161-1/+3
| | | | | | | | | | | | | This patch adds a warning when ignoring BIOS RAID members because no complete set using them could be found. This patch also introduces a much needed InstallInterfaceBase class, as I didn't feel like adding the exact same code to all of cmdline.py, gui.py and text.py . Note that the ignoring of BIOS RAID members is checked in 2 places, as the filter UI can be skipped under certain circumstances (kickstart). The interface code checks for disks it has already warned about.
* Move network to the Anaconda object.Chris Lumens2010-02-041-2/+2
|
* Move keyboard to the Anaconda object.Chris Lumens2010-02-041-2/+2
|
* Move instProgress to be an attribute on the InstallInterface.Chris Lumens2010-02-041-0/+4
|
* Finally remove the x_already_set hack.Chris Lumens2010-02-041-2/+1
| | | | | | I believe this was primarily needed for test mode (which we no longer have), and more recently live installs (which we have a flag to test for). Therefore, there's no reason to maintain this hack too.
* Move instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-6/+6
|
* Allow getScreen methods to indicate the screen should be skipped.Chris Lumens2010-01-291-2/+12
| | | | | This is sometimes useful, like when we won't know until the screen is being populated whether or not we actually want to display it.
* Support ignore all/reinit all on the disk reinitialization question (#512011).Chris Lumens2010-01-191-10/+38
| | | | | | | | | | It's possible for the user to have a huge number of disks, which could result in this dialog popping up a huge number of times. Therefore, it'd be a good idea to allow the user to apply their same choice to all following times when the dialog would pop up. Note that it would be nicer to add some sort of checkbox to MessageWindow to make this more clear, but that is not exactly trivial to do.
* pylint error fixes round 2Hans de Goede2010-01-141-1/+0
| | | | | | | | | | | - Remove unnecessary semi colons in various places - textw/upgrade_text.py: add a few missing imports - Fix various missplaced doc strings - Fix several double imports - Fix AnacondaKSScript.run: Module 'os' has no 'exists' member - users.py: Remove double definition of Users.setRootPassword - yuminstall.py: correct typo reop -> repo - yuminstall.py: _run: anaconda -> self.anaconda
* Ask about LVM inconsistencies only in storageinit step.Radek Vykydal2010-01-071-0/+45
| | | | | | | | | | | The patch does essentially the same thing as commit 31d5b8f4fec513e4f8e246e47e9fee75c701d07b for disk initialization question. The difference is that when user chooses LVM reinitialization, it is done immediately (not as planned action as with disk initialization) so the user wouldn't be asked again anyway without the patch (he would be asked if he chose to ignore). I also made one function more readable in the patch.
* Ask about disk initialization only in storageinit step.Radek Vykydal2010-01-071-0/+37
| | | | | | | | Don't ask again and again e.g. when going back and forth in custom partitioning UI. Related to bug #527711 which is itself fixed by another patch. (*) Answers are cached in InstallInterface classes. (*) Dialog callback is moved from storage code to InstallInterface classes.
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-0/+1
| | | | | | Most Fedora users don't need to see the advanced filtering UI with all its multipath tabs and advanced storage buttons and search interfaces. So, provide an introductory screen that allows skipping all that stuff.
* Add a step to prompt for the cleardisks UI.Chris Lumens2009-12-111-0/+1
| | | | | | This UI is the screen that allows the user to select which devices will be wiped during installation and which should just be mounted. It also allows selecting which device the bootloader should be installed to.
* Add an early user interface for filtering storage devices.Chris Lumens2009-12-111-0/+1
| | | | | | | | | | This UI allows the user to select which devices they would like to include in the rest of the installation process, sorted out by their types. All devices not checked will never again be referenced by anaconda, though we may see their udev information in the logs from time to time. This UI supports two different ways of looking at things: the simple UI for regular Fedora users with basic devices, and the complex UI with many tabs and filtering options.
* Allow InstallInterfaces to modify the installation steps.Chris Lumens2009-12-111-0/+3
| | | | | This will be handy for the filtering interface that does not at all exist in text mode.
* Remove rootPath mode.Chris Lumens2009-12-031-12/+6
| | | | | | | This mode is decaying as anaconda moves forward with things like udev, dbus etc. No one is really working on making sure they continue to work. Let's stop pretending and also get rid of some additional complicated ways to run anaconda.
* Fix methodstr editing dialog.Radek Vykydal2009-10-131-2/+2
| | | | We need to pass dummy repo object. Also pass methodstr as argument.
* Adapt to python-meh passing a bug description around.Chris Lumens2009-09-251-2/+2
|
* Remove the installation number screen.Chris Lumens2009-09-221-10/+0
| | | | | | | | Whatever form the new entitlement system takes, it is unlikely it will look like what we've currently got. It's probably better to start over fresh than attempt to adapt what we've got into supporting the new system. This will also allow testing of the RHEL6 tree with the right product name without requiring testers to enter a key.
* Handle Esc keypress in dialogs as Cancel (#520110).Radek Vykydal2009-09-151-2/+6
|
* Fix focus grabbing on both the password and hostname screens.Chris Lumens2009-08-201-0/+2
| | | | | | | | Since we have the Next button grab focus immediately before drawing then screens, we'd been relying on a complicated system of GTK signals to do the job but that only ever worked part of the time. Instead, add a focus() method to InstallWindow that screens can override and will set the focus to the correct widget.
* Get glade files and pixmaps from an environment variable.Chris Lumens2009-07-291-7/+4
|
* Most windows no longer need an anaconda argument, since the intf has that.Chris Lumens2009-07-291-11/+11
|
* Also add an exitWindow, since meh expects that from an interface.Chris Lumens2009-07-291-0/+11
|
* Adapt mainExceptionWindow and saveExceptionWindow to call meh.Chris Lumens2009-07-291-2/+6
|
* Remove SaveExceptionWindow and MainExceptionWindow. meh has those now.Chris Lumens2009-07-291-160/+0
|
* Work around problems with live installs and dpi other than 96 (#506512)Jeremy Katz2009-07-231-0/+6
| | | | | | | | | | | On the live install, we don't force the DPI to 96. Some of our text takes a bit of space, especially the autopart screen. So if we're on a live install (eg, without mini-wm running), let's just always get rid of the little header image. It doesn't really buy us much and then we get more real estate to work with. Longer term, we probably need to move away from the fixed window size stuff, even though it'll be painful
* Don't show formatting progress bar after mkfs has exited.Eric Kerin2009-07-161-1/+4
| | | | | | | | mke2fs will finish it's work quickly, and anaconda will spend quite sometime reading in the output, and updating the progress dialog in certain cases - the attached patch adds a check to the read/progress loop to check to see if the process has finished, and jumps out early if that's the case.
* Lots of small grammar and wording changes.Peter Jones2009-07-131-9/+9
| | | | Just auditing the world for clarity, don't mind me.
* Edit user-visible dialogs for style.Peter Jones2009-07-131-2/+2
| | | | | We have lots of strings that we display to users which are unclear or contain poor usage and grammar. That's bad.
* Skip exceptionDisks if exception originated in devtree.populate. (#497240)David Lehman2009-07-011-5/+9
| | | | | | | Set a flag in the DeviceTree to indicate when we are in the process of populating the tree. In the UI exception handlers we only collect save-to-disk targets if the exception did not originate in DeviceTree.populate.
* Add a type hint on popup windows (rstrode).Chris Lumens2009-06-021-1/+4
| | | | | | metacity doesn't know what to do with transient dialogs without this hint, which means wait windows and progress bars will display underneath the main anaconda window on livecd installs.
* Make progress bars modal (#493263, #498553, rstrode).Chris Lumens2009-05-291-2/+2
| | | | | Without this patch, you were able to click Next earlier than you should be allowed to which led to skipping steps and some very bizarre behavior.
* Remove 'lowres' option.Adam Jackson2009-05-081-1/+0
| | | | Seriously use VNC already.
* Rate limit pulse() calls to ProgressWindow.Peter Jones2009-04-291-4/+13
| | | | | | | Make the pulsed progress windows only pulse but so quickly. The net effect is that the filesystem creation progress window now slides back and forth (albeit with a little much punctuation) rather than blindingly oscillating at breakneck speed.
* Show normal cursor during passphrase entry (#496534)Martin Sivak2009-04-211-0/+7
|
* Revert "Show the header in certain non-lowres cases" (#493153)Jeremy Katz2009-04-081-2/+2
| | | | | | | This reverts commit 2734cf8a8077f7108bb65b3724af075825d6eb44. Doing this means that we can't see all of the UI on some netbooks with higher DPI screens
* If there's a problem finding removable disks, disable save-to-disk.Chris Lumens2009-03-311-1/+5
| | | | | | Catching all exception is really drastic, but this is the exception reporting code and we need it to be resiliant to extra errors so we stand a chance of getting things reported.
* Refresh windows immediately to make sure they appear.Chris Lumens2009-03-301-0/+2
| | | | | | For some reason, WaitWindows have stopped appearing sometimes. This causes anaconda to look like it's hung. If we refresh immediately after creating the window, it will appear.
* Merge branch 'master' into storageDavid Lehman2009-03-041-1/+0
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * Remove unnecessary import lines.David Cantrell2009-02-231-1/+0
| | | | | | | | pychecker fix.
* | Lots of little updates to make things use the new storage module.David Lehman2009-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* | Update UI code to use new storage module.David Lehman2009-02-231-5/+1
|/
* Don't provide a special partedExceptionWindow anymore.Chris Lumens2009-02-121-35/+0
| | | | | | Since pyparted has a lot more execption classes now, it makes sense to just let anaconda's regular exception handling framework deal with them. This means a lot of changes throughout are on the way.
* Remove unused partmethod step.Chris Lumens2009-02-091-1/+0
|
* Various packaging fixed from review (#225246)Hans de Goede2009-01-051-0/+0
| | | | Various packaging fixed from review (#225246)