Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | basic treelist handling (it leaks memory, but who cares, compared to gtk :) | Pascal Rigaux | 2003-01-30 | 1 | -1/+47 |
| | |||||
* | fixes unresponsive keyboard | Guillaume Cottenceau | 2003-01-28 | 1 | -3/+3 |
| | |||||
* | cleaning the utf8 support stuff: | Thierry Vignaud | 2003-01-28 | 1 | -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 flags | Pascal Rigaux | 2003-01-28 | 1 | -3/+3 |
| | |||||
* | simplify API (always -1,-1 for left,top when creating widget, it means ↵ | Pascal Rigaux | 2003-01-28 | 1 | -6/+6 |
| | | | | auto-placement) | ||||
* | don't blindly truncate strings to size 40 in simplify_string | Pascal Rigaux | 2003-01-27 | 1 | -8/+10 |
| | |||||
* | since return values of callbacks are now non-ignored, we need to | Guillaume Cottenceau | 2003-01-27 | 1 | -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 modal | Thierry Vignaud | 2003-01-27 | 1 | -2/+2 |
| | | | | | all other drakx tool can be fixed the same way | ||||
* | remove unused variable | Guillaume Cottenceau | 2003-01-24 | 1 | -1/+1 |
| | |||||
* | fix Return key on a radio button grabbing focus on next functional group of ↵ | Guillaume Cottenceau | 2003-01-24 | 1 | -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 Rigaux | 2003-01-23 | 1 | -2/+2 |
| | | | | fix {format} use | ||||
* | add a button to "summary"-like dialog boxes | Pascal Rigaux | 2003-01-23 | 1 | -1/+2 |
| | |||||
* | - handle {ok_disabled} | Pascal Rigaux | 2003-01-23 | 1 | -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 ok | Pascal Rigaux | 2003-01-23 | 1 | -1/+1 |
| | |||||
* | workaround bug introduced by new pixel focus managment | Thierry Vignaud | 2003-01-23 | 1 | -1/+1 |
| | |||||
* | add {callbacks}{ok_disabled} | Pascal Rigaux | 2003-01-22 | 1 | -0/+1 |
| | |||||
* | perl-GTK2 0.0.cvs.2003.01.21.1 should fix set_active(undef) misbehaviour | Guillaume Cottenceau | 2003-01-21 | 1 | -1/+1 |
| | |||||
* | remove unused variable | Pascal Rigaux | 2003-01-21 | 1 | -1/+1 |
| | |||||
* | (ask_fromW): very smart code to know which widget to focus (dilemna is: ↵ | Pascal Rigaux | 2003-01-21 | 1 | -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 ;p | Pascal Rigaux | 2003-01-14 | 1 | -1/+1 |
| | |||||
* | - remove help (which was at the bottom) | Pascal Rigaux | 2003-01-07 | 1 | -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 Rigaux | 2003-01-07 | 1 | -2/+2 |
| | | | | "every", "partition" | ||||
* | add ask_from__add_modify_removeW gtk handling | Pascal Rigaux | 2003-01-05 | 1 | -24/+74 |
| | |||||
* | (create_treeview_list): fix setter | Pascal Rigaux | 2003-01-03 | 1 | -3/+4 |
| | |||||
* | - factorize the creation of the {formatted_list} from {list} for | Pascal Rigaux | 2003-01-03 | 1 | -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 Cottenceau | 2002-12-23 | 1 | -19/+10 |
| | | | | tens of seconds of wait in XFdrake-monitor | ||||
* | expand_row no longer bugs, great :) | Guillaume Cottenceau | 2002-12-13 | 1 | -2/+1 |
| | |||||
* | remove code handling setstep | Pascal Rigaux | 2002-12-09 | 1 | -8/+2 |
| | |||||
* | 2.1.3 doesn't have trouble with expand_to_path | Guillaume Cottenceau | 2002-12-06 | 1 | -2/+0 |
| | |||||
* | remove unused variables or rename them with an underscore (eg: $o becomes $_o) | Pascal Rigaux | 2002-12-04 | 4 | -22/+21 |
| | |||||
* | fix typo | Pascal Rigaux | 2002-12-04 | 1 | -1/+1 |
| | |||||
* | gtk2 | Guillaume Cottenceau | 2002-12-03 | 1 | -144/+174 |
| | |||||
* | perl_checker adaptations | Pascal Rigaux | 2002-11-27 | 3 | -16/+16 |
| | |||||
* | s/$x ne (0|'')/$x/ | Thierry Vignaud | 2002-11-20 | 1 | -2/+2 |
| | |||||
* | - add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-14 | 3 | -4/+4 |
| | | | | | | - remove redundant parentheses - add some parentheses for clarity | ||||
* | add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-13 | 2 | -3/+3 |
| | |||||
* | - replace ... =~ 'foo' with ... =~ /foo/ | Pascal Rigaux | 2002-11-11 | 2 | -3/+3 |
| | | | | | - remove unneeded parentheses for things like ... if (...) | ||||
* | add or remove spaces where need to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -2/+2 |
| | |||||
* | various small syntax enhancements to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | don't return a typeglob ref, return the typeglob (reference to typeglobs are | Pascal Rigaux | 2002-11-10 | 1 | -1/+1 |
| | | | | | soft references which doesn't increment the ref count) | ||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 3 | -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 combos | Pascal Rigaux | 2002-11-05 | 1 | -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 scrollbar | Pascal Rigaux | 2002-11-05 | 1 | -4/+3 |
| | | | | | - cleanup | ||||
* | use each_index instead of map_index when the return value is not used | Pascal Rigaux | 2002-11-05 | 4 | -9/+9 |
| | |||||
* | make new perl_checker happy: replacing PKG::f by PKG::f() | Pascal Rigaux | 2002-10-17 | 2 | -14/+14 |
| | |||||
* | special case to handle many buttons in newt: replacing with something alike ↵ | Pascal Rigaux | 2002-09-05 | 1 | -0/+21 |
| | | | | ask_from_list (useful for XFdrake) | ||||
* | add {callbacks}{advanced}, called when "Advance" button is pressed | Pascal Rigaux | 2002-08-28 | 1 | -1/+2 |
| | |||||
* | use my_gtk {isWizard} and {isEmbedded} which are more accurate than | Pascal Rigaux | 2002-08-19 | 1 | -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 Rigaux | 2002-08-16 | 1 | -1/+4 |
| | |||||
* | handle the setting of 'ok' and 'cancel' | Pascal Rigaux | 2002-08-13 | 1 | -1/+1 |
| |