summaryrefslogtreecommitdiffstats
path: root/iw
Commit message (Collapse)AuthorAgeFilesLines
...
* Incorporate all the Graph types in the custom screen.Joel Granados Moreno2009-10-011-28/+59
| | | | | | | | * iw/partition_gui.py (treeSelectCB): Make sure that the graph is being painted by the right StripeGraph class. We decide which graph to use based on the device we receive. (resetCB, refresh, viewButtonCB, getScreen, populate): Change the custom screen graph name from diskStripeGraph to stripeGraph.
* Add the Volume Group and md RAID array Graph classesJoel Granados Moreno2009-10-011-0/+88
| | | | | | * iw/partition_gui.py (LVMStripeGraph) : New class to handle the LVM graphs. (MDRaidArrayStripeGraph) : New class to handle the md RAID graphs.
* Make the Bar View Code generic.Joel Granados Moreno2009-10-011-215/+275
| | | | | | | | | | | | | | | | | | | | | | | | | The reason behind this change is to make the code ready for LVM and RAID. * iw/partition_gui.py (Slice, Stripe, StripeGraph): New classes that replace the old ones. These new clases do not depend on partition objects. The only accept offsets and lengths. (Slice.eventHandler): Introduce a oneClick and doubleClick call back funcitons. The one click call back will be used for selecting the tree device when the bar device is clicked. (DiskStripeGraph): Make the new DiskStripeGraph use the generic bar view clases. (Stripe.putOnCanvas, Slice.putOnCanvas): New function. It separates the creation of the class from the drawing of whatever the class represents. When this function is called, the drawing occurs. (Slice.select, Slice.deselect): Change color on the bar view when (de)selecting slices. (addSlice): New function that handle the addition of slices to stripes. (DiskStripeGraph.setDisplayed, DiskStripeGraph.getDisplayed): New functions to handle the shown "device". (DiskStripeGraph.display): Expects a storage.DiskDevice. Creates Stripe and draws immediately. Will remove whatever was previously on bar view. (shutDown): Mark the currentDisplayed as None.
* Pass the device instead of the name to the add funciton.Joel Granados Moreno2009-10-011-3/+3
| | | | | | * iw/partition_gui.py (display): Pass the device instead of just the name. (add): Use the device to display the path, instead of "/dev/" + name.
* Display the device path with a smaller font and different color.Joel Granados Moreno2009-10-011-10/+20
| | | | | | | * iw/partition_gui.py (__init__): For the "Device" cell renderer, use 'markup' instead of just text. (populate): Use pango markup to chaqnge the size and color of the device paths for 'normal' devices and raid devices.
* Display bar view for the selected device only.Joel Granados Moreno2009-10-011-31/+44
| | | | | | | | | | | | * iw/partition_gui.py (__init__): Add variable to track the displayed storage element. (getDisplayed, setDisplayed): New functions that manage the varialbe holding the current displayed storage element. (display): New function that handles the display of a disk. (populate): Show only one disk in the bar view. (treeSelectCB): When the user clicks on one of the disks or the partitions, modify the bar view if needed. (getScreen): A vertical Pane is not needed anymore.
* Fix indentation in editCBJoel Granados Moreno2009-10-011-2/+2
| | | | | * iw/partition_gui.py (editCB): Fix indentation on the "Unable to edit" message.
* Organize the creation of the custom screen into sections.Joel Granados Moreno2009-10-011-43/+49
| | | | | | | | Increase readability in getScreen. * iw/partition_gui.py (getScreen): Remove the unneeded spaces. Replace the \t where needed. Put the "Hide" checkbox in the same level as the buttons.
* Use a checkmark from a PNG image instead of a string.Joel Granados Moreno2009-10-011-29/+2
| | | | | | * iw/partition_gui.py (getScreen): Point the checkmark loading line to the new checkMark.png image. * pixmaps/checkMark.png : New check mark image.
* Put the size after the device name in the storage tree.Joel Granados Moreno2009-10-011-4/+2
| | | | * iw/partition_gui.py (DiskTreeModel): Modified the "titles" variable.
* Add the warning message for an invalid create.Joel Granados Moreno2009-10-011-2/+7
|
* Reorganize the Customization screen a little.Joel Granados Moreno2009-10-011-3/+5
| | | | | | | | Put the action buttons at the bottom of the screen (on top of the "Ok" and "Cancel") buttons so they similar to what gnome standard uses. * iw/partition_gui.py (getScreen): Change the order of the main customization screen.
* Remove unneeded functions & add the about messages for LVM and RAID.Joel Granados Moreno2009-10-011-157/+49
| | | | | | | * iw/partition_gui.py (makeLvmCB, makepartCB, makeraidCB): Remove functions. (createCB): Add the messages. * ui/create-storage.glade: Make the buttons visible and sensitive.
* Have an intermediary screen for the "Create" action.Joel Granados Moreno2009-10-011-9/+183
| | | | | | | * iw/partition_gui.py (createCB): New function. All the create requests will pass through this function. It pops up a dialog that presents the different creat options to the user. Use the new storage/partitioning.py function (hasFreeDiskSpace).
* Edit LVM LV when user has a LV selected.Joel Granados Moreno2009-10-012-2/+36
| | | | | | | | | | | | * iw/lvm_dialog_gui.py (run, convertToActions): New function. Need to have a separate function so we can run it from the editLVMLogicalVolume function in iw/partition_gui.py. We call new function from run. * iw/partition_gui.py (editCB): Call the new editLVMLogicalVolume function. (editLVMLogicalVolume): New function. Serves the same purpose as editLVMVolumeGroup but for Logical Volumes. (deleteCB): All actions are created when we delete a selected LV. We do need to make sure that we delete the deleted LV from the VG that
* Use temporary repo id for edited object to prevent Duplicate Repo error ↵Radek Vykydal2009-09-291-1/+4
| | | | (#524599).
* Do not delete repo twice or when it had not been added actually (#524599).Radek Vykydal2009-09-291-2/+0
|
* Disable repo before deleting it (#524599).Radek Vykydal2009-09-291-0/+3
| | | | Otherwise yum will want to use it later.
* Log more, repo editing UI.Radek Vykydal2009-09-291-1/+3
|
* Make _enableRepo a little more readable.Radek Vykydal2009-09-291-3/+3
|
* Make sure user-selected mountpoint is not already in use. (#524584)David Lehman2009-09-223-4/+42
|
* Take into account snapshots and mirrored volumes in lvm dialogs.David Lehman2009-09-211-20/+27
|
* Handle Esc keypress in (some more) dialogs as Cancel - (#520110).Radek Vykydal2009-09-216-8/+8
| | | | Addition to patch 4fff93ac8e3b3187af5f50d17a065fafc610a5df.
* Do not show Unknown as filesystem type for free space.David Cantrell2009-09-171-0/+1
| | | | | | When doing a custom disk layout, free space was showing 'Unknown' for the filesystem type. This patch blanks out the Type field for free space.
* Use new icons in anaconda so we don't look so dated (#515601).Chris Lumens2009-09-151-1/+1
| | | | | See also: https://fedorahosted.org/design-team/ticket/63
* Rename doDeleteDependentDevices to doClearPartitionedDevice for clarity.David Lehman2009-09-152-2/+2
|
* Handle Esc keypress in dialogs as Cancel (#520110).Radek Vykydal2009-09-154-9/+9
|
* Don't use baseurl containing space in yum repo object (#516042).Radek Vykydal2009-09-151-1/+1
|
* Fix setting of "Add repository" dialog title.Radek Vykydal2009-09-141-4/+2
|
* Update state and name of repository in list after editing.Radek Vykydal2009-09-141-0/+2
|
* The zonetab module has moved (#521986).Chris Lumens2009-09-091-1/+1
|
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-033-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace().
* Fix traceback when editing a pre-existing logical volumeHans de Goede2009-09-021-3/+4
| | | | | Fix the traceback when editing a pre-existing logical volume, caused by: http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=2798195d3f33335f6bdad32cbda9700b85acfb5d
* Simplify language.py to two basic settings, and a lot of support (#517569).Chris Lumens2009-09-021-5/+5
| | | | | | | | | There's now just two important settings in the Language module: instLang, which is the language used while anaconda is running; and systemLang, which is the language the installed system itself will use. These two can be different mainly due to anaconda's text mode interface. The rest of anaconda should only set and get these two. All the other support functions still exist for grabbing timezone, font, etc.
* Remove a bunch of unnecessary semicolonsHans de Goede2009-09-011-2/+2
|
* Fix handling of locked preexisting LUKS devices. (#502310)David Lehman2009-08-283-4/+12
| | | | | Fix lookup of LUKS device for partitions to not traceback on failure and allow reformat w/ encryption for all device types.
* Fix up handling of preexisting partitions.David Lehman2009-08-282-11/+0
| | | | | | Don't set exists or migrate flags in a widget callback -- they will be set when the user clicks "OK". Likewise, don't try to preserve exists or size attributes when user has chosen to reformat the device.
* Pick up mountpoint set for protected partitions. (#498591)David Lehman2009-08-281-0/+3
|
* Prevent resizes that would go past the end of the disk (#495520)David Cantrell2009-08-261-5/+9
| | | | | | Prevent users from creating resize actions that would go past the end of the disk. Take in to account the disk geometry as well as the maximum size of the resizable filesystem.
* When bringing up network in UI, update only ifcfg file of selected device ↵Radek Vykydal2009-08-261-2/+2
| | | | | | | | | | (#507084). The value of NM_CONTROLLED has to change from no to yes to trigger device activation by updating of ifcfg file, so we need to update just the files of devices selected by user (instead of all devices). Otherwise, selection of another device after previously failed selection doesn't work. Also make writing out of ONBOOT in text mode consistent with gui.
* Update Optional packages button via popup menu too (#515912).Radek Vykydal2009-08-261-2/+2
|
* Fix focus grabbing on both the password and hostname screens.Chris Lumens2009-08-203-9/+8
| | | | | | | | 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.
* Use disk.description instead of trying to access parted attrs. (#518212)David Lehman2009-08-191-1/+1
|
* Fix a stupid typo in the logging.Chris Lumens2009-08-191-1/+1
|
* If modifying a repo fails, do not delete it (#516053).Chris Lumens2009-08-191-15/+17
| | | | | | | This happens when the user goes to edit a repo, clicks OK, there's some error, and then they cancel the editing. Under the old code, the repo prior to editing would have been removed, and nothing left with its name according to yum. Subsequent attempts to edit that repo would traceback.
* If repo setup fails, also make sure to delete it from yum.Chris Lumens2009-08-191-7/+4
|
* Allow configuring additional NFS repositories, not just the base.Chris Lumens2009-08-191-1/+18
|
* Consolidate "base repo" setup into an extra function.Chris Lumens2009-08-191-19/+18
|
* Don't traceback if Delete button is hit when no device is selected.David Lehman2009-08-171-0/+2
|
* Change all disklabel manipulations to use the DiskLabel format class.David Lehman2009-08-171-5/+3
| | | | | | | | The DiskDevice class no longer has any implicit requirement that the device contain a disklabel. The disklabel is now represented as a device format. This provides the basis for future support for device types that can optionally be partitioned, as well as whole-disk formats such as filesystems.