| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* iw/partition_gui.py (LVMStripeGraph) : New class to handle the LVM
graphs.
(MDRaidArrayStripeGraph) : New class to handle the md RAID graphs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* iw/partition_gui.py (editCB): Fix indentation on the "Unable to edit"
message.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* iw/partition_gui.py (getScreen): Point the checkmark loading line to
the new checkMark.png image.
* pixmaps/checkMark.png : New check mark image.
|
|
|
|
| |
* iw/partition_gui.py (DiskTreeModel): Modified the "titles" variable.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* iw/partition_gui.py (makeLvmCB, makepartCB, makeraidCB): Remove
functions.
(createCB): Add the messages.
* ui/create-storage.glade: Make the buttons visible and sensitive.
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
(#524599).
|
| |
|
|
|
|
| |
Otherwise yum will want to use it later.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Addition to patch 4fff93ac8e3b3187af5f50d17a065fafc610a5df.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
See also:
https://fedorahosted.org/design-team/ticket/63
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 the traceback when editing a pre-existing logical volume, caused by:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=2798195d3f33335f6bdad32cbda9700b85acfb5d
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Fix lookup of LUKS device for partitions to not traceback on failure
and allow reformat w/ encryption for all device types.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
(#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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|