summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
Commit message (Collapse)AuthorAgeFilesLines
* first attempt at making printerdrake to behave smoother when embedded in theThierry Vignaud2003-02-241-0/+1
| | | | | mcc
* in $::expert, use a SpinButton instead of HScale for type "range"Pascal Rigaux2003-02-221-3/+4
| | | | | (useful in diskdrake to enter the partition size directly)
* set a minimum size for Gtk2::HScale's (mainly used for resizing partitions)Pascal Rigaux2003-02-201-0/+1
|
* fix $ok_clicked when there is no ok buttonPascal Rigaux2003-02-201-1/+1
|
* have less warnings when debuggingPascal Rigaux2003-02-201-2/+4
|
* can't use $mainw->{ok}->clicked since $mainw->{ok} doesn't always exist, setPascal Rigaux2003-02-191-1/+5
| | | | | | {retval} and main_quit instead (the way it was done for double click, is this ok when pressing enter?)
* disallow double-clicking on "Refuse" (license step)Pascal Rigaux2003-02-191-3/+3
|
* internalize prepare_gtk2 in the BEGIN {} of ugtk2 already containing the ↵Guillaume Cottenceau2003-02-181-1/+0
| | | | Gtk2->init
* in {complete} or {canceled}, ensure giving a bad entry number to focus doesn'tPascal Rigaux2003-02-181-2/+6
| | | | | break (and log that something wrong happened)
* also ->hide in when a button is clicked in standalonePascal Rigaux2003-02-171-10/+2
|
* fix ask_warn(), really dont make it popPascal Rigaux2003-02-131-5/+0
|
* - set_help is deprecatedPascal Rigaux2003-02-131-1/+6
| | | | | | | - 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
* - {interactive_help} is a function returning text, it doesn't need to do the ↵Pascal Rigaux2003-02-131-1/+1
| | | | | | | help window - drop global interactive_help during install. Will be done per ->ask_*
* allow {interactive_help} per dialog boxes instead of globalPascal Rigaux2003-02-121-1/+1
|
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-1/+1
|
* two fixes thx to perl_checker, one among them being very important :)Guillaume Cottenceau2003-02-101-2/+2
|
* when displaying images in treeview, unref pixbufs right after their use so ↵Guillaume Cottenceau2003-02-101-9/+13
| | | | that we try to save some memory
* add option advanced_state: if set to 1, force the "Advanced" part of the ↵Guillaume Cottenceau2003-02-081-1/+1
| | | | dialog to be opened initially
* add possibility to display images in tree-lists and bool-listsGuillaume Cottenceau2003-02-081-4/+22
|
* add "Help" buttonPascal Rigaux2003-02-061-1/+1
|
* replace $l[$#l] with $l[-1]Pascal Rigaux2003-02-051-1/+1
|
* don't force wait_messages popPascal Rigaux2003-02-051-2/+4
|
* handle pop_it more nicely: no need to precise pop_it when the wizard window ↵Pascal Rigaux2003-01-311-2/+1
| | | | | | | already has a window, that way, two dialog boxes won't merge in the same window (which is dumb!)
* fixes unresponsive keyboardGuillaume Cottenceau2003-01-281-3/+3
|
* 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();
* 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)
* 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))
* 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
|
* 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-041-10/+9
|
* gtk2Guillaume Cottenceau2002-12-031-144/+174
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-1/+1
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-2/+2
|
* - 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)
* use each_index instead of map_index when the return value is not usedPascal Rigaux2002-11-051-1/+1
|
* make new perl_checker happy: replacing PKG::f by PKG::f()Pascal Rigaux2002-10-171-1/+1
|