Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Gtk2::Label::set is deprecated | Guillaume Cottenceau | 2003-02-20 | 1 | -2/+2 |
| | |||||
* | have less warnings when debugging | Pascal Rigaux | 2003-02-20 | 1 | -2/+2 |
| | |||||
* | - factorize "Help"-button handling | Pascal Rigaux | 2003-02-16 | 1 | -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 Rigaux | 2003-02-14 | 1 | -1/+2 |
| | | | | when isWizard | ||||
* | fix ask_warn(), really dont make it pop | Pascal Rigaux | 2003-02-13 | 1 | -2/+2 |
| | |||||
* | don't force pop_it on ask_warn's | Pascal Rigaux | 2003-02-13 | 1 | -1/+0 |
| | |||||
* | - set_help is deprecated | Pascal Rigaux | 2003-02-13 | 1 | -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 Rigaux | 2003-02-13 | 1 | -27/+41 |
| | |||||
* | allow {interactive_help} per dialog boxes instead of global | Pascal Rigaux | 2003-02-12 | 1 | -1/+2 |
| | |||||
* | perl_checker compliance ("ref" now need parentheses in many case) | Pascal Rigaux | 2003-02-12 | 1 | -2/+2 |
| | |||||
* | add option advanced_state: if set to 1, force the "Advanced" part of the ↵ | Guillaume Cottenceau | 2003-02-08 | 1 | -0/+1 |
| | | | | dialog to be opened initially | ||||
* | add possibility to display images in tree-lists and bool-lists | Guillaume Cottenceau | 2003-02-08 | 1 | -2/+3 |
| | |||||
* | (helper_separator_tree_to_tree): this new function helps transforming a | Pascal Rigaux | 2003-01-30 | 1 | -0/+26 |
| | | | | | flag {list} to a tree, using {separator} | ||||
* | cleaning the utf8 support stuff: | Thierry Vignaud | 2003-01-28 | 1 | -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.pm | Thierry Vignaud | 2003-01-27 | 1 | -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 added | Pascal Rigaux | 2003-01-24 | 1 | -11/+15 |
| | | | | | (ask_yesorno): no "Cancel" or "Previous" button | ||||
* | fix non latin1 post-install perl-gtk2 apps, seems like perl upgrading ↵ | Guillaume Cottenceau | 2003-01-24 | 1 | -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 fields | Pascal Rigaux | 2003-01-22 | 1 | -1/+13 |
| | |||||
* | when the return value of ask_from_ and ask_from is not used, do not have a | Pascal Rigaux | 2003-01-21 | 1 | -0/+2 |
| | | | | | "Previous ->" or "Cancel" button (beware, black magic here :) | ||||
* | fix ask_okcancel in wizard mode | Pascal Rigaux | 2003-01-07 | 1 | -1/+1 |
| | |||||
* | use "if any" instead of "if grep", and various other occurences of "any", ↵ | Pascal Rigaux | 2003-01-07 | 1 | -3/+3 |
| | | | | "every", "partition" | ||||
* | nicer debug message | Pascal Rigaux | 2003-01-07 | 1 | -0/+1 |
| | |||||
* | - callbacks "Add", "Modify" and "Remove" return undef when they fail | Pascal Rigaux | 2003-01-05 | 1 | -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_removeW | Pascal Rigaux | 2003-01-03 | 1 | -1/+1 |
| | |||||
* | (ask_from__add_modify_remove): check all callbacks are given | Pascal Rigaux | 2003-01-02 | 1 | -0/+2 |
| | |||||
* | (ask_from__add_modify_remove): fix | Pascal Rigaux | 2003-01-02 | 1 | -7/+4 |
| | |||||
* | add ask_from__add_modify_remove, and use it for bootloader entries | Pascal Rigaux | 2003-01-02 | 1 | -0/+26 |
| | |||||
* | remove unused variables or rename them with an underscore (eg: $o becomes $_o) | Pascal Rigaux | 2002-12-04 | 1 | -6/+6 |
| | |||||
* | "require log" causes some pb, perl thinking that "log" is the log() ↵ | Pascal Rigaux | 2002-12-04 | 1 | -2/+2 |
| | | | | function. So replace it with require 'log.pm' (perl_checker will handle this) | ||||
* | perl_checker adaptations | Pascal Rigaux | 2002-11-27 | 1 | -3/+3 |
| | |||||
* | no need to call common::backtrace(), use directly backtrace() (was it ↵ | Pascal Rigaux | 2002-11-26 | 1 | -2/+2 |
| | | | | written that way to workaround a bug in old perl_checker?) | ||||
* | s/wantarray/wantarray()/ | Pascal Rigaux | 2002-11-15 | 1 | -1/+1 |
| | |||||
* | add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-13 | 1 | -1/+1 |
| | |||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -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 combos | Pascal Rigaux | 2002-11-05 | 1 | -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' instead | Guillaume Cottenceau | 2002-09-19 | 1 | -1/+1 |
| | |||||
* | add {callbacks}{advanced}, called when "Advance" button is pressed | Pascal Rigaux | 2002-08-28 | 1 | -1/+1 |
| | |||||
* | when standalone, use the name of the program for the window title | Pascal Rigaux | 2002-08-23 | 1 | -0/+3 |
| | |||||
* | remove completly setting 'ok' & 'cancel' since it's better done per | Pascal Rigaux | 2002-08-13 | 1 | -2/+0 |
| | | | | | interactive::* to handle correctly the Wizard mode | ||||
* | button "Previous" and "Next" are not only there in interactive::gtk | Pascal Rigaux | 2002-08-13 | 1 | -1/+2 |
| | |||||
* | don't switch to 2 buttons dialog box if the labels are too long in ask_from_list | Pascal Rigaux | 2002-08-12 | 1 | -10/+12 |
| | | | | | | (otherwise it's ugly (reported for XFdrake multi-head choice with 67 & 58 chars strings) (fix bug #62) | ||||
* | allow cancel button even for wizard. | Francois Pons | 2002-08-09 | 1 | -1/+1 |
| | |||||
* | s/__END__/1; | Thierry Vignaud | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | kill "wonderful perl" | Thierry Vignaud | 2002-08-05 | 1 | -4/+1 |
| | |||||
* | make new perl_checker happy (and that's not easy!) | Pascal Rigaux | 2002-07-31 | 1 | -3/+3 |
| | |||||
* | fix "nicer error message when {val} is not set for ask_from & list" in case ↵ | Pascal Rigaux | 2002-07-28 | 1 | -1/+1 |
| | | | | of a reference to a reference (ref is REF instead of SCALAR) | ||||
* | use fuzzy_pidofs (to detect if kwin is running) | Pascal Rigaux | 2002-07-23 | 1 | -1/+1 |
| | |||||
* | - Big Move 1: interactive::* hierarchy | Thierry Vignaud | 2002-07-23 | 1 | -6/+6 |
| | |||||
* | nicer error message when {val} is not set for ask_from & list | Pascal Rigaux | 2002-07-19 | 1 | -0/+1 |
| | |||||
* | ease testing of standalone's when non-superuser via setting TESTING=1 | Pascal Rigaux | 2002-07-15 | 1 | -1/+1 |
| |