summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
Commit message (Collapse)AuthorAgeFilesLines
* cleaning the utf8 support stuff:Thierry Vignaud2003-01-281-0/+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();
* cleanup use of flagsPascal Rigaux2003-01-281-3/+3
|
* simplify API (always -1,-1 for left,top when creating widget, it means ↵Pascal Rigaux2003-01-281-6/+6
| | | | auto-placement)
* don't blindly truncate strings to size 40 in simplify_stringPascal Rigaux2003-01-271-8/+10
|
* since return values of callbacks are now non-ignored, we need toGuillaume Cottenceau2003-01-271-1/+1
| | | | | | return 0 to the expose_event when displaying wait message so that gdk really does the exposure :)
* diskdrake: when non embedded, ensure sub window are modalThierry Vignaud2003-01-271-2/+2
| | | | | all other drakx tool can be fixed the same way
* remove unused variableGuillaume Cottenceau2003-01-241-1/+1
|
* fix Return key on a radio button grabbing focus on next functional group of ↵Guillaume Cottenceau2003-01-241-2/+1
| | | | widgets AND doing an action on it (toggling checkbuttons etc) (needs perl-GTK2 >= 0.0.cvs.2003.01.24.1)
* fix special case "for license agreement": only use it for long messages, and ↵Pascal Rigaux2003-01-231-2/+2
| | | | fix {format} use
* add a button to "summary"-like dialog boxesPascal Rigaux2003-01-231-1/+2
|
* - handle {ok_disabled}Pascal Rigaux2003-01-231-21/+36
| | | | | | | | - correctly wrap messages - fix Textbox size - fix Listbox size - special code to handle the license dialog
* focus first widget when there is no okPascal Rigaux2003-01-231-1/+1
|
* workaround bug introduced by new pixel focus managmentThierry Vignaud2003-01-231-1/+1
|
* add {callbacks}{ok_disabled}Pascal Rigaux2003-01-221-0/+1
|
* perl-GTK2 0.0.cvs.2003.01.21.1 should fix set_active(undef) misbehaviourGuillaume Cottenceau2003-01-211-1/+1
|
* remove unused variablePascal Rigaux2003-01-211-1/+1
|
* (ask_fromW): very smart code to know which widget to focus (dilemna is: ↵Pascal Rigaux2003-01-211-28/+27
| | | | | | | | | | | "Next" vs first widget). One can also force focusing of first widget using $common->{focus_first} (ask_fromW): have "advanced" widgets above buttons, not below (create_list): fix old bug (nb: this code must be unused) (create_boxradio): need to set {focus_w} to the selected widget (nb: this is ugly) (create_boxradio, $may_go_to_next): no special case for "tab", gtk2 handles things better than gtk1 ($set_all): pass the full_struct to the setters (this allows modifying {focus_w}) (nb: this is ugly)
* set_active on Gtk2::CheckButton is pretty dumb, it thinks undef is true ;pPascal Rigaux2003-01-141-1/+1
|
* - remove help (which was at the bottom)Pascal Rigaux2003-01-071-3/+3
| | | | | | | - wizard style - focus "Next" button by default (this is rough, some dialog boxes *need* changes before being able to complete (think root password dialog))
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-2/+2
| | | | "every", "partition"
* add ask_from__add_modify_removeW gtk handlingPascal Rigaux2003-01-051-24/+74
|
* (create_treeview_list): fix setterPascal Rigaux2003-01-031-3/+4
|
* - factorize the creation of the {formatted_list} from {list} forPascal Rigaux2003-01-031-7/+8
| | | | | | | | create_boxradio, create_treeview_list, create_treeview_tree - an added advantage for create_treeview_list is the ability to easily change {list}, {formatted_list} and Gtk2::ListStore without breaking keyboard acceleration (see next commit for a usage of this feature)
* be more efficient in precomputing, previous situation could lead to several ↵Guillaume Cottenceau2002-12-231-19/+10
| | | | tens of seconds of wait in XFdrake-monitor
* expand_row no longer bugs, great :)Guillaume Cottenceau2002-12-131-2/+1
|
* remove code handling setstepPascal Rigaux2002-12-091-8/+2
|
* 2.1.3 doesn't have trouble with expand_to_pathGuillaume Cottenceau2002-12-061-2/+0
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-044-22/+21
|
* fix typoPascal Rigaux2002-12-041-1/+1
|
* gtk2Guillaume Cottenceau2002-12-031-144/+174
|
* perl_checker adaptationsPascal Rigaux2002-11-273-16/+16
|
* s/$x ne (0|'')/$x/Thierry Vignaud2002-11-201-2/+2
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-143-4/+4
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-132-3/+3
|
* - replace ... =~ 'foo' with ... =~ /foo/Pascal Rigaux2002-11-112-3/+3
| | | | | - remove unneeded parentheses for things like ... if (...)
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-2/+2
|
* various small syntax enhancements to please perl_checkerPascal Rigaux2002-11-111-1/+1
|
* don't return a typeglob ref, return the typeglob (reference to typeglobs arePascal Rigaux2002-11-101-1/+1
| | | | | soft references which doesn't increment the ref count)
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-063-24/+24
| | | | | | | | | | | | | | | | | | | 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-4/+17
| | | | | | - 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)
* - fix dialog boxes using a scrollbarPascal Rigaux2002-11-051-4/+3
| | | | | - cleanup
* use each_index instead of map_index when the return value is not usedPascal Rigaux2002-11-054-9/+9
|
* make new perl_checker happy: replacing PKG::f by PKG::f()Pascal Rigaux2002-10-172-14/+14
|
* special case to handle many buttons in newt: replacing with something alike ↵Pascal Rigaux2002-09-051-0/+21
| | | | ask_from_list (useful for XFdrake)
* add {callbacks}{advanced}, called when "Advance" button is pressedPascal Rigaux2002-08-281-1/+2
|
* use my_gtk {isWizard} and {isEmbedded} which are more accurate thanPascal Rigaux2002-08-191-6/+4
| | | | | | $::isWizard && !$my_gtk::pop_it and $::isEmbedded && !$my_gtk::pop_it, since when the Plug is full, the window is not embedded.
* fix dialog box with empty buttons (thanks to Hamster <hamster@hamsternet.org>)Pascal Rigaux2002-08-161-1/+4
|
* handle the setting of 'ok' and 'cancel'Pascal Rigaux2002-08-131-1/+1
|
* - handle setting 'ok' && 'cancel'Pascal Rigaux2002-08-133-3/+10
| | | | | - handle isWizard in newt (basic handling)
* move interactive::gtk::exit to my_gtk::exit so that my_gtkGuillaume Cottenceau2002-08-021-6/+1
| | | | | apps can call it (and fix busy mouse cursor problem that way)