summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
Commit message (Collapse)AuthorAgeFilesLines
* let interactive uses stock items on x11 and old drak translated items inThierry Vignaud2003-07-141-2/+2
| | | | | other backends
* - methods with no argument are not functions with no argument!Pascal Rigaux2003-05-261-5/+5
| | | | | - perl_checker fixes
* have the "Ok" in ask_from__add_modify_remove return true in default mode ↵Pascal Rigaux2003-05-121-1/+1
| | | | (eg: newt)
* perl_checker compliancePascal Rigaux2003-04-301-1/+1
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-7/+7
|
* perl_checker compliance for optional method argumentsPascal Rigaux2003-04-221-26/+28
|
* adapt to new help.pmPascal Rigaux2003-04-221-3/+3
|
* new perl_checker compliancePascal Rigaux2003-04-171-10/+10
|
* oops i didn't understand the internals of wait_message hence breaking it. ↵Guillaume Cottenceau2003-02-201-2/+2
| | | | hopes that will fix.
* Gtk2::Label::set is deprecatedGuillaume Cottenceau2003-02-201-2/+2
|
* have less warnings when debuggingPascal Rigaux2003-02-201-2/+2
|
* - factorize "Help"-button handlingPascal Rigaux2003-02-161-4/+20
| | | | | - fix interactive_help_get_id (happily, it was no pb :)
* in ask_browse_tree_info, have Next instead of Ok, Previous instead of Cancel ↵Pascal Rigaux2003-02-141-1/+2
| | | | when isWizard
* fix ask_warn(), really dont make it popPascal Rigaux2003-02-131-2/+2
|
* don't force pop_it on ask_warn'sPascal Rigaux2003-02-131-1/+0
|
* - set_help is deprecatedPascal Rigaux2003-02-131-0/+9
| | | | | | | - 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 ask_yesorno_, ask_okcancel_, ask_warn_, ask_from_listf_raw (to allow help)Pascal Rigaux2003-02-131-27/+41
|
* allow {interactive_help} per dialog boxes instead of globalPascal Rigaux2003-02-121-1/+2
|
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-2/+2
|
* add option advanced_state: if set to 1, force the "Advanced" part of the ↵Guillaume Cottenceau2003-02-081-0/+1
| | | | dialog to be opened initially
* add possibility to display images in tree-lists and bool-listsGuillaume Cottenceau2003-02-081-2/+3
|
* (helper_separator_tree_to_tree): this new function helps transforming aPascal Rigaux2003-01-301-0/+26
| | | | | flag {list} to a tree, using {separator}
* cleaning the utf8 support stuff:Thierry Vignaud2003-01-281-3/+1
| | | | | | | | | | - consolidate check_for_xserver() to check for x11 access - introduce prepare_gtk2() to do what gtk+2 needs, so that tools that're not part of drakxtools (aka: rpmdrake, mcc, ...) can just do : unshift @::textdomains, 'drakconf'; prepare_gtk2();
* strip authentification out of interactive->vnew into common.pmThierry Vignaud2003-01-271-14/+1
| | | | | | | | | | | | | | | | | | | | | | This enable apps that still use gtk+-1.2 via my_gtk to still work when they only need interactive->vnew('su') just to get root capabilities. Indeed, interactive load ugtk if it has access to the X server, which make my_gtk and ugtk fight for the cpu forever... which is bad imho... drakfloppy and net_monitor were converted to use it and are now usuable again ("i leave ... again" commit). it would also enable to complete spec 64 by enabling rpmdrake to use kdesu under kde and consolehelper under gnome. rpmdrake is indeed the last program to not behave like the running desktop to get root capability. unless someone is against this, i'll convert the mcc and all other gtk+ pure tools to do not use anymore interactive just to get root capability. btw, i fixed the infamous SECTOR_SIZE warning...
* (ask_from_list, ask_from_list_, ...): option nocancel addedPascal Rigaux2003-01-241-11/+15
| | | | | (ask_yesorno): no "Cancel" or "Previous" button
* fix non latin1 post-install perl-gtk2 apps, seems like perl upgrading ↵Guillaume Cottenceau2003-01-241-0/+2
| | | | strings to utf8 is somewhat broken (dunno why), so now we bind the codeset or our textdomains to utf8 and tag the translated strings to utf8, when using gtk
* add some documentation about the various possible fieldsPascal Rigaux2003-01-221-1/+13
|
* when the return value of ask_from_ and ask_from is not used, do not have aPascal Rigaux2003-01-211-0/+2
| | | | | "Previous ->" or "Cancel" button (beware, black magic here :)
* fix ask_okcancel in wizard modePascal Rigaux2003-01-071-1/+1
|
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-3/+3
| | | | "every", "partition"
* nicer debug messagePascal Rigaux2003-01-071-0/+1
|
* - callbacks "Add", "Modify" and "Remove" return undef when they failPascal Rigaux2003-01-051-3/+7
| | | | | - callback "Add" return the new added element (not handled by interactive emulation, but correctly handled by interactive::gtk native ask_from__add_modify_removeW)
* fix call to method ask_from__add_modify_removeWPascal Rigaux2003-01-031-1/+1
|
* (ask_from__add_modify_remove): check all callbacks are givenPascal Rigaux2003-01-021-0/+2
|
* (ask_from__add_modify_remove): fixPascal Rigaux2003-01-021-7/+4
|
* add ask_from__add_modify_remove, and use it for bootloader entriesPascal Rigaux2003-01-021-0/+26
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-6/+6
|
* "require log" causes some pb, perl thinking that "log" is the log() ↵Pascal Rigaux2002-12-041-2/+2
| | | | function. So replace it with require 'log.pm' (perl_checker will handle this)
* perl_checker adaptationsPascal Rigaux2002-11-271-3/+3
|
* no need to call common::backtrace(), use directly backtrace() (was it ↵Pascal Rigaux2002-11-261-2/+2
| | | | written that way to workaround a bug in old perl_checker?)
* s/wantarray/wantarray()/Pascal Rigaux2002-11-151-1/+1
|
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-1/+1
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-11/+11
| | | | | | | | | | | | | | | | | | | 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!
* - do not handle "format"ing in interactive for combosPascal Rigaux2002-11-051-15/+6
| | | | | | - do it in interactive::gtk instead (that way, "val" is back"format"ed in callbacks as wanted) - die when editable combos are used with non-strings (like arrays or hashes)
* require log will reliably fail, use require 'log.pm' insteadGuillaume Cottenceau2002-09-191-1/+1
|
* add {callbacks}{advanced}, called when "Advance" button is pressedPascal Rigaux2002-08-281-1/+1
|
* when standalone, use the name of the program for the window titlePascal Rigaux2002-08-231-0/+3
|
* remove completly setting 'ok' & 'cancel' since it's better done perPascal Rigaux2002-08-131-2/+0
| | | | | interactive::* to handle correctly the Wizard mode
* button "Previous" and "Next" are not only there in interactive::gtkPascal Rigaux2002-08-131-1/+2
|
* don't switch to 2 buttons dialog box if the labels are too long in ask_from_listPascal Rigaux2002-08-121-10/+12
| | | | | | (otherwise it's ugly (reported for XFdrake multi-head choice with 67 & 58 chars strings) (fix bug #62)