| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enable apps that still use gtk+-1.2 via my_gtk to still work when
they only need interactive->vnew('su') just to get root capabilities.
Indeed, interactive load ugtk if it has access to the X server, which
make my_gtk and ugtk fight for the cpu forever... which is bad imho...
drakfloppy and net_monitor were converted to use it and are now usuable again
("i leave ... again" commit).
it would also enable to complete spec 64 by enabling rpmdrake
to use kdesu under kde and consolehelper under gnome.
rpmdrake is indeed the last program to not behave like
the running desktop to get root capability.
unless someone is against this, i'll convert the mcc and all other gtk+ pure
tools to do not use anymore interactive just to get root capability.
btw, i fixed the infamous SECTOR_SIZE warning...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- use my_gtk to transparently handle embedding
- fixes for strict mode
- fixes for perl_checker (more to come after lunch)
|
|
|
|
|
|
|
|
|
|
|
| |
o make it be 'use strict' aware
o factorize options managment in one place
- standalone tools :
o they all now support -h|--help -v|--version, ...
o they can add their own options to %standalone::usages
- harddrake : use std --testing/$::testing rather than its own
--test option
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
(so that 'use strict' works)
|
|
|
|
|
|
| |
=> allows to remove the somewhat mythical
$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/
|
|
|