| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- s/$x ne ''/$x/
|
|
|
|
|
|
| |
- remove redundant parentheses
- add some parentheses for clarity
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- local'ize $_ before doing while (<...>)
- use "foreach" instead of "for"
- remove unneeded parentheses on the right side of infix if/foreach/unless
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
| |
|
| |
|
|
|
|
| |
GUI, WARNING, create_dialog API changed
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
(eg see draksound help window behaviour on resizing)
|
| |
|
|
|
|
|
| |
- that way, the X test can be made to work both at install and standalone
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
information as well
|
|
|
|
|
|
|
| |
default to black
- remove last debugging prints
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
fix it
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- harddrake::ui : uses it
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Gtk::Gdk::Pixbuf support, thus removing all gdk/gtk warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- integrate patches in my_gtk and ugtk for new rpmdrake:
- [ugtk] add "gtkentry" so that we can create an entry and set
initial value in one call
- [my_gtk::main] don't set the events, to fix keyboard focus
problem in entries when embedded
- [my_gtk::_create_window] add $::noBorder, to not have a frame
in the main window, so that it's possible to end up with
windows with no border
- [my_gtk] add ask_dir which is a ask_file with only the dir list
- [my_gtk] add ask_browse_tree_info to the export tags, and:
- add support for parents with no leaves, so that then we can
partially build the trees (for speedup)
- add "delete_all" and "delete_category" callbacks
- use Gtk::CList::clear when removing all the nodes, much
speedup
|
| |
|