summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
Commit message (Collapse)AuthorAgeFilesLines
* move loopback.pm to fs/loopback.pmPascal Rigaux2005-06-101-1/+0
| | | | | (since it's tightly tight to many fs* things)
* fix the various transient on {rwindow} (or even {window} ?) not working ↵Pascal Rigaux2005-01-221-1/+1
| | | | | | | anymore on the MagicWindow (maybe the code could be simplified since it should now work even when embedded (?))
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-181-1/+1
|
* create isEmpty() and use it instead of simply testing {pt_type}, since ↵Pascal Rigaux2004-11-161-6/+6
| | | | {pt_type} can be undef whereas {fs_type} is set
* use ToggleButton instead of Button so that selected partition is visually ↵Pascal Rigaux2004-10-271-5/+18
| | | | toggled
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-081-1/+1
| | | | | | | | | - create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-10/+10
| | | | | | | | | | | | | | | | | | | | {pt_type} is always a number, {fs_type} is always a string - introduce set_isFormatted() (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated) - don't use 0x483 for ext3 anymore (same for reiserfs...), the type_name gives both a pt_type and a fs_type - many accessors from partition_table removed (type2fs(), fs2pt_type()) - remove isThisFs() (not useful anymore since we can use directly {fs_type}) - remove isFat() (inline the function) - other isXXX() from partition_table are moved to fs::type - part2name() is now fs::type::part2type_name - name2pt_type() is now fs::type::type_name2subpart() - partition_table::important_types() is now fs::type::type_names() - fsedit::typeOfPart() is now fs::type::fs_type_from_magic() - no need to truncate type_name since they are shorter
* replace pt_type2name($part->{pt_type}) with part2name($part)Pascal Rigaux2004-07-231-1/+1
| | | | | (hoisting the dereferencing {pt_type})
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-12/+12
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* rename is_same_part to are_same_partitions (not that much clear, but at ↵Pascal Rigaux2004-06-151-1/+1
| | | | least a little)
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-1/+1
|
* typo fixes (Reinout van Schouwen)Thierry Vignaud2004-02-231-1/+1
|
* spell checkingPablo Saratxaga2004-01-171-1/+1
|
* require resize_fat::main when needed (fix bug #5204)Pascal Rigaux2003-09-031-1/+0
|
* use Gtk2::Button->new_with_label instead of Gtk2::Button->new for some ↵Pascal Rigaux2003-08-101-1/+1
| | | | widgets otherwise underscores become underlines (bug #4678)
* remove stock icons (per IHM team request)Pascal Rigaux2003-08-051-1/+1
|
* switch from gtk2-perl to gtk2-perl-xsThierry Vignaud2003-07-091-5/+5
|
* increase gui coherency of drakxtools vs other gtk+ apps: use stock iconsThierry Vignaud2003-07-061-1/+1
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-4/+4
|
* new perl_checker compliancePascal Rigaux2003-04-171-2/+2
|
* - let diskdrake fit when embedded in mccThierry Vignaud2003-03-121-1/+1
| | | | | | - let action box be larger so that there's no horizontal scrollbar in standalone mode
* - in focus_in_event for partition buttons, grab_focus is needed because gtk2 ↵Pascal Rigaux2003-03-041-2/+2
| | | | | | | | is buggy. Forcing an expose event would be enough - in button_press_event for partition buttons, grab_focus is needed because gtk2 is buggy. The creation of widgets causes the lost of the focus (fixes part of #2621)
* - clean up embedding; since socket get automatically destroyed on child exitThierry Vignaud2003-02-241-3/+1
| | | | | | | | | | and since they emit plug-removed at that moment, it's just cleaner to centralize/consolidate the child exit in mcc this of course, need a newer up-to-date mcc what's more, it allows to remove the somewhat mythical "$::isEmbedded and kill 'USR1', $::CCPID;" - drakautoinst, drakxservices, keyboardrake: fix fscking embedding managment
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-1/+1
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* fix help popping all the timePascal Rigaux2003-02-171-1/+1
|
* - factorize "Help"-button handlingPascal Rigaux2003-02-161-1/+1
| | | | | - fix interactive_help_get_id (happily, it was no pb :)
* - set_help is deprecatedPascal Rigaux2003-02-131-4/+4
| | | | | | | - it is replaced by interactive_help_id on each ask_* - many set_help do not have any correspondance in help.pm (drakxid-*), those are commented for now
* add "Help" buttonPascal Rigaux2003-02-061-0/+3
|
* (filesystems_button_box): in the caption write "Windows" instead of "FAT"Pascal Rigaux2003-02-061-2/+2
| | | | | (since NTFS uses the same color)
* handle pop_it more nicely: no need to precise pop_it when the wizard window ↵Pascal Rigaux2003-01-311-1/+0
| | | | | | | already has a window, that way, two dialog boxes won't merge in the same window (which is dumb!)
* add isFat_or_NTFS() and use it where possible instead of isFat() since WindowsPascal Rigaux2003-01-301-3/+2
| | | | | is now using ntfs, not only Windows NT
* don't set $::main_window during installPascal Rigaux2003-01-291-1/+1
|
* diskdrake: when non embedded, ensure sub window are modalThierry Vignaud2003-01-271-0/+1
| | | | | all other drakx tool can be fixed the same way
* fix ugly global setting of $ugtk2::pop_itPascal Rigaux2003-01-071-1/+1
|
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-1/+1
| | | | "every", "partition"
* when clicking on one of the legend buttons together with an existing partitionPascal Rigaux2002-12-121-4/+1
| | | | | | selected, it doesn't change the partition type, it tells to use "Type" (it used to be ignored in non-expert, and do a change type in expert)
* - handle more locally "Reload partition table" (esp. without using setstep)Pascal Rigaux2002-12-091-4/+6
| | | | | => no exception is called through gtk
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-3/+2
|
* gtk2Guillaume Cottenceau2002-12-031-30/+30
|
* make perldoc workingThierry Vignaud2002-11-191-0/+3
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-1/+1
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-17/+17
| | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
* nicer error message when no devices are available (esp. for standalone)Pascal Rigaux2002-08-271-1/+1
|
* rename LVMname to VG_namePascal Rigaux2002-08-111-1/+1
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-3/+3
|
* g Move 2: partition table: hierarchyThierry Vignaud2002-07-231-1/+1
|
* do not display "Clear all" (and the other per kind buttons) for the raid tabPascal Rigaux2002-07-081-0/+3
|
* s/check_type/diskdrake::interactive::check_type/Pascal Rigaux2002-07-061-1/+1
|
* - move diskdrake.rc from /etc/gtk to /usr/share/libDrakXPascal Rigaux2002-07-061-1/+1
| | | | | - remove unused wizard.rc