Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | when not in X and needs su, use consolehelper now | Guillaume Cottenceau | 2002-02-21 | 1 | -0/+4 | |
| | ||||||
* | use consolehelper when no "kdeinit: kwin" process | Guillaume Cottenceau | 2002-02-21 | 1 | -1/+5 | |
| | | | | | is running | |||||
* | - fix non X + testing + su | Pascal Rigaux | 2002-02-16 | 1 | -5/+7 | |
| | | | | | | | - since "interactive" takes care of "format" for type "combo", remove "format" (so that interactive_newt which switch to type "list" don't apply "format" once again) | |||||
* | favour "combo" over "list" in any case | Pascal Rigaux | 2002-02-15 | 1 | -1/+1 | |
| | ||||||
* | if testing, don't use kdesu | Pascal Rigaux | 2002-02-14 | 1 | -1/+1 | |
| | ||||||
* | fix (causing XFdrake to use a combo instead of a list) | Pascal Rigaux | 2002-02-07 | 1 | -5/+5 | |
| | ||||||
* | since "format" is now handled for combo boxes, combo boxes are used in much ↵ | Pascal Rigaux | 2002-02-03 | 1 | -1/+2 | |
| | | | | too many places. Fix this by forcing type "list" for some cases, and using type "list" when a ask_from has only one entry | |||||
* | handle "format" for combo's | Pascal Rigaux | 2002-01-29 | 1 | -6/+22 | |
| | ||||||
* | fix pixel's minimal example using interactive. | Thierry Vignaud | 2002-01-29 | 1 | -0/+2 | |
| | ||||||
* | add a minimal example | Pascal Rigaux | 2002-01-27 | 1 | -0/+6 | |
| | ||||||
* | add "quit_if_double_click" and "tree_expanded" flags (request from till) | Pascal Rigaux | 2002-01-22 | 1 | -0/+2 | |
| | ||||||
* | add feature "allow_empty_list" for "list" entries (disables the special ↵ | Pascal Rigaux | 2002-01-22 | 1 | -2/+3 | |
| | | | | cases for 0 and 1 element lists) | |||||
* | toggle Advanced/Basic button | Pascal Rigaux | 2002-01-03 | 1 | -0/+1 | |
| |