diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:42:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-19 15:42:15 +0000 |
commit | a8dd683859543f9037d14fe80f6d869df412892b (patch) | |
tree | f3deea9622568ff57d91727692d84a434914e8c6 | |
parent | c056917840ec40a483d5bd3a5c69172e69516e59 (diff) | |
download | drakx-a8dd683859543f9037d14fe80f6d869df412892b.tar drakx-a8dd683859543f9037d14fe80f6d869df412892b.tar.gz drakx-a8dd683859543f9037d14fe80f6d869df412892b.tar.bz2 drakx-a8dd683859543f9037d14fe80f6d869df412892b.tar.xz drakx-a8dd683859543f9037d14fe80f6d869df412892b.zip |
(import_style_ressources) create it in order to be able to load installer's ressources file in standalone mode
-rw-r--r-- | perl-install/mygtk2.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index f42288cfb..713abb0a2 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -1338,6 +1338,12 @@ sub pixmap_from_pixbuf { $pixmap; } +sub import_style_ressources { + if (!$::isInstall) { + Gtk2::Rc->parse_string(scalar cat_('/usr/share/libDrakX/themes-galaxy.rc')); # FIXME DEBUG + } +} + sub text_direction_rtl() { Gtk2::Widget->get_default_direction() eq 'rtl'; } |