summaryrefslogtreecommitdiffstats
path: root/gui.py
Commit message (Collapse)AuthorAgeFilesLines
* Structure the repo layout so it matches final structure better and make isys ↵Martin Sivak2010-05-311-1510/+0
| | | | | | a real Python package. Also updates the build and autotools stuff to work with the new structure
* nm-c-e integration: fix some leftovers from patch porting.Radek Vykydal2010-05-261-3/+2
| | | | We don't have InstallData on master (patch was ported from rhel).
* cleanup: gui.py never uses runres for anything, off it goes.Ales Kozumplik2010-05-261-7/+2
|
* Move init questions to InstallInterfaceBaseHans de Goede2010-05-251-110/+0
| | | | | The code is identical for text mode and gui mode (except for one copy paste error fixed by the previous commit GRRRR).
* fix: syntax error in gui.py from 9e69c5f36f79410d9df1502fe69f02f4d06173ab.Ales Kozumplik2010-05-201-1/+1
|
* livecd: window icon (#583333).Ales Kozumplik2010-05-191-0/+3
| | | | makes the livecd installer look much better.
* Don't ask if we have ESSID specified by kickstart or stage 1 (#473803)Radek Vykydal2010-05-131-0/+2
|
* Add support for wireless configuration using nm-c-e in stage 2 (#473803)Radek Vykydal2010-05-131-1/+17
|
* Write out ifcfg files only when necessary (#520146)Radek Vykydal2010-05-131-0/+1
| | | | | | | | Writing the files so often is not necessary, and can cause timing issues (NM itself updates the files after we write them out) which can result in duplicated connections nm-c-e list. Write the file only if some value in NetworkDevice object has been actually changed.
* Wait for specific activated network devices (#520146).Radek Vykydal2010-05-131-12/+27
| | | | | | | | | | | | | | We used to activate just one device when enabling network, so it was ok to use waitForConnection (wait just for any connection). Now that more devices can be set to be activated in nm-c-e (by checking [] Connect automatically), we should (1) Wait for all devices activated by nm-c-e this way, otherwise we can fail with traceback in next steps reading device configuration. (2) When enabling network make sure the device selected by user in combobox was activated, not just any device.
* Don't ask when configuring net if we have only one network device (#520146)Radek Vykydal2010-05-131-5/+10
| | | | | | This is only for [Configure Network] button, otoh when enabling network, still offer pre-nmce dialog to inform user that he needs to configure network.
* Log change of ifcfg files by nm-c-e (#520146)Radek Vykydal2010-05-131-0/+2
| | | | Log file is /tmp/ifcfg.log.
* Enable networking in stage 2 using nm-c-e (#520146)Radek Vykydal2010-05-131-7/+59
| | | | | | | | | | | | | | | | | | | | Key patch of series. enableNetwork method is the root of all other changes in the patchset. The method is used both for network enabling in stage 2 triggered by need of network (repos, network storage, etc..) and [Configure Network] button What we select in stage 2 network UI is: - device to be activated (only in case of network enabling), this is controlled by ONBOOT ifcfg setting, note that devices actually activated depend on editing in nm-c-e - devices to be controlled by NM (and thus visible in nm-c-e), this is set by NM_CONTROLLED ifcfg setting A dialog for that is part of the patch, it needs some polishing. bringUp method had to be split into write and waitForConnection because in case of just config, without actually activating any device in nm-c-e, we don't want to wait for activation.
* Expand the details pane when showing unformatted DASDs (#580463)David Cantrell2010-05-061-3/+5
| | | | | | | We are using DetailMessageWindow. Make sure the details are expanded by default when showing unformatted DASDs. Other uses of this dialog (e.g., traceback) do not want to have the details expanded by default, so keep it False unless the use passes the expanded=True parameter.
* Disable button icons on stock GTK buttons (#579701).Ales Kozumplik2010-04-281-0/+5
|
* Careful with that WINDOW_TYPE_HINT_DESKTOP, Eugene. (#582998)Ales Kozumplik2010-04-191-0/+3
| | | | | | | | | We shouldn't set WINDOW_TYPE_HINT_DESKTOP for the toplevel window when X11 display is forwarded, otherwise graphical Anaconda will appear below all other windows on the desktop and without any decorations. There's a similar patch for rhel6: 524f4b6950d66470a48207cc39532de21173538b.
* Fix various syntax errorsHans de Goede2010-04-151-0/+1
| | | | | Courtesey of pylint, this patch also fixes some things which are not syntax errors but still make pylint unhappy.
* fix: mnemonics don't work in the welcome screen until user clicks.Ales Kozumplik2010-04-071-0/+3
|
* refactoring gui.py: setup_window() and setLanguage() are way too similar.Ales Kozumplik2010-04-071-18/+6
| | | | Merge the methods into one.
* gui.py: removed unused parameter in setup_window()Ales Kozumplik2010-04-071-2/+2
|
* Fix focus, repaint, and stack issues for nm-c-e (#520146)Radek Vykydal2010-03-191-1/+1
| | | | | | * nm-c-e is called non-blocking * fullscreen of icw doesn't allow to stack nm-c-e properly * prevent focus change by making icw insensitive
* 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
|