summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk.pm
Commit message (Collapse)AuthorAgeFilesLines
* unused variables renamed with a leading underscore (some code should be ↵Pascal Rigaux2002-12-121-4/+4
| | | | removed?)
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-5/+4
|
* use if_() where possible (as reported by perl_checker)Pascal Rigaux2002-12-041-2/+2
|
* perl_checker adaptationsPascal Rigaux2002-11-281-1/+1
|
* perl_checker adaptationsPascal Rigaux2002-11-271-8/+7
|
* - simplify mcc stuffThierry Vignaud2002-11-251-8/+5
| | | | | - prevent bad stacking of right icons in mcc at startup
* - api change for latest harddrakeThierry Vignaud2002-11-201-2/+4
| | | | | - s/$x ne ''/$x/
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-2/+2
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-1/+1
|
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-5/+5
|
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-2/+2
|
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-7/+6
|
* make perl_checker happyPascal Rigaux2002-11-061-1/+1
|
* please perl_checker:Pascal Rigaux2002-11-061-1/+1
| | | | | | | - local'ize $_ before doing while (<...>) - use "foreach" instead of "for" - remove unneeded parentheses on the right side of infix if/foreach/unless
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-4/+4
| | | | | | | | | | | | | | | | | | | 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!
* use each_index instead of map_index when the return value is not usedPascal Rigaux2002-11-051-2/+2
|
* perl_checker fixesThierry Vignaud2002-10-231-1/+1
|
* forking ugtk, sorry guys. reverted last patchdamien2002-10-011-108/+34
|
* cleaned, readded needed hack, removed mdk specific functions, added libconf ↵damien2002-10-011-34/+108
| | | | GUI, WARNING, create_dialog API changed
* dams fix enable to get rid of the infamous ugly gtk timeoutThierry Vignaud2002-09-241-12/+0
|
* from dams:Thierry Vignaud2002-09-241-6/+9
| | | | | | | | | | | | | remove his ugly hack for mcc which altered the scrolledwindow's "bordure" to hide it. this used to be done through a gtk timer (hance the ugly flash on first display of notebook pages) now createScrolledWindow take a new optional argument that enable to hide the border the right way thanks dams
* fix expansion of widgetsThierry Vignaud2002-09-241-1/+1
| | | | | (eg see draksound help window behaviour on resizing)
* corrected typo (modification of constant if ugtk.pm was a string)damien2002-09-091-3/+4
|
* - use variable $::no_ugtk_init in ugtk.pm instead of using $::isInstallPascal Rigaux2002-09-091-1/+1
| | | | | - that way, the X test can be made to work both at install and standalone
* - drakfloppy / logdrake: destroy_window and create_dialog wereThierry Vignaud2002-09-091-1/+37
| | | | | | | | | gratuitously duplicated; move them in ugtk - drakfloppy / logdrake / bootlook.pm: get_main_menu was gratuitously duplicated; common code which was moved from harddrake::ui to ugtk::create_factory_menu just do the job
* add gtkset_visibilityGuillaume Cottenceau2002-09-061-1/+2
|
* export compose_pixbufs for mccThierry Vignaud2002-09-061-1/+1
|
* - ugtk::gtkicons_labels_widget() :Thierry Vignaud2002-09-061-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o pass icon name in $tag to $exec_func so that the later can display big icon o $label_exec is a duplicate of $label o simplify notebook redrawing: * remove dam'sugly hacks * $redraw_function->() : resize Gtk::Fixed on first run if more than 4 icons * redraw in only one place * don't redraw on realize event (now we both don't flick and have proper icon alignment without old hacks) - mcc: o print big icon while launching a tool (anim in next commit) o move todo list in TODO o stricter check: * default to use strict * disable strict mode when building rpm * fixes for 'use strict' o kill : * a debugging print * a superflous 'no warnings' * a title->show since we never hide it * $rootheight since gtk packer do the job for us * unused $nb_pages o begin to un-hardcode some values (window and notebook size, ...) o cosmetics: * comment some code * add myself to authors list (deush, you should add yourself too since you're the localedrake/mcc interaction guru) * s/darea1/summary_darea/ o don't display logs when back in main summary o destroy pixbuf after
* gtkcreate_png_pixbuf() : support jpeg too for bootlook.pmThierry Vignaud2002-09-041-1/+1
|
* make perl_checker happyPascal Rigaux2002-09-041-1/+1
|
* try to get rid of BEGIN but still be able to start up the install :-)Guillaume Cottenceau2002-09-031-16/+9
|
* have the possibility in gtktext_insert to provide font/colorGuillaume Cottenceau2002-09-031-1/+5
| | | | | information as well
* - create_pix_text, gtkicons_labels_widget: remove text color argument, ↵Thierry Vignaud2002-09-031-4/+4
| | | | | | | default to black - remove last debugging prints
* added create_pixbuttondamien2002-09-031-1/+6
|
* fixed previous fix;Francois Pons2002-09-031-5/+5
|
* try to avoid clashes with install.Francois Pons2002-09-031-7/+9
|
* - ugtk :Thierry Vignaud2002-09-031-43/+46
| | | | | | | | | | | | | | | | | | | | | | | | o create_pix_text: * remove * kill uni colored background * api change: + background argument => background list + remove bold argument * render all text (normal, highlighted, selected) on specified background in one pass o gtkicons_labels_widget(): * explain/comment * move all drawing logic in &$draw * create buffer area, text pics only one time * add a pixbuf for highlighted item * render highlighted icon by making it more transparent * recalculate drawing buffer only on state change - mcc : * move all drawing logic in &$draw * create buffer area, text pics only one time * render highlighted icon by making it more transparent * recalculate drawing buffer only on state change
* meuh gtk initGuillaume Cottenceau2002-09-031-2/+3
|
* gtkcreate_png was too stupid to allow subdirectories for images,Guillaume Cottenceau2002-09-031-5/+5
| | | | | fix it
* fixed titi suckings.Francois Pons2002-09-021-2/+0
|
* gtkicons_labels_widget(): check binary existsThierry Vignaud2002-09-021-0/+1
|
* kill glib warningsThierry Vignaud2002-09-021-2/+2
|
* - mcc :Thierry Vignaud2002-08-301-47/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o kill gtkpng_() and gtk_createpng_() wrappers: if icon is missing, better die while testing rather than make perl display "uncaught code ..." o kill unused timer o use new ln's icons o disable stupid icon highlighting (was made with duplicating manually all icons in gimp and blue-y them there); restore this effect'll need little play with gamma o use ugtk o kill dead code o cleanups o icons: * switch to new icons set * replace pixmap table by a pixbuf one * use pixbufs for backgrouns and icons, * composite background and icons with transparency trough ugtk::compose_pixbufs() * render icons with full alpha blender in left column * comment the different states * simplify callbacks - ugtk : o readd gdkpixbuf support o ensure imlib is used by default to load files, not gdk-pixbuf o compose_with_back(): load a png icon into a pixbuf and call compose_pixbufs with background pixbuf o compose_pixbufs(): render transparent icon onto background into a new pixbuf o merge gtkcreate_png_pixbuf() from gdk-pixbuf-0-branch : load an icon into a pixbuf gdk-pixbuf-0-branch also uses it to simplify a lot of code o gtkicons_labels_widget() : * add a new background pixbuf parameter that'll be composited with icons * render icons with alpha blender in right area * kill imlib_counter * kill imlib usage for * kill dead code (was dead since i fixed mcc memory leaks) - TODO: icon flashing on application launch - POSTPONED: merge big cleanup, global replacement of imlib usage by gdk-pixbuf from gdk-pixbuf-0-branch since it would impacted drakx which is not so good
* 19mdkThierry Vignaud2002-08-231-62/+82
|
* - ugtk:Thierry Vignaud2002-08-231-82/+62
| | | | | | | | | | | | | | | | | | | | o switch from imlib to gdk-pixbuf o kill gtkcreate_imlib() o big cleanup by the way o support alpha blender [not complete] o fix mem leak o remove dynamic support of imlib||gdk-pixbuf since: * gtk2 require gdk-pixbuf anyway * imlib sucks * less code/libs in install o kill unused cursors o kill icon flashing o gtkcreate_png_pixbuf() : load a png into a pixbuf o gtkpng_pixbuf() : render a pixbuf into a drawable o simplify gtkcreate_png(): render a pixbuf into a pixmap and an alpha bitmap o add2notebook() : simplify
* fix 95% of mcc memory leaksThierry Vignaud2002-08-231-12/+0
|
* kill debugging printsThierry Vignaud2002-08-201-2/+0
|
* consolidate create_factory_menuThierry Vignaud2002-08-121-0/+12
|
* - ugtk::gtkexpand : new functionThierry Vignaud2002-08-121-1/+2
| | | | | - harddrake::ui : uses it
* write_on_pixmap: kill unused variableThierry Vignaud2002-08-121-1/+1
|