From c8e630dee129d5687d74261834058113b9538f89 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 13 Feb 2003 20:30:33 +0000 Subject: - use nice new gnome theme by ln and fcrozat - remove old no more used themes - for doc team, provide an option so that we'll override some colors of the default theme (for B&W printing screeshots) --- perl-install/install_gtk.pm | 69 ++++--- perl-install/install_steps_gtk.pm | 3 +- perl-install/share/install.rc | 21 -- perl-install/share/list | 3 +- perl-install/share/themes-galaxy.rc | 107 ++++++++++ perl-install/share/themes-marble3d.rc | 208 ------------------- perl-install/share/themes-mdk-Desktop.rc | 203 ------------------ perl-install/share/themes-mdk.rc | 227 --------------------- perl-install/share/themes.rc | 18 -- perl-install/share/themes/blueHeart-button_def.png | Bin 2735 -> 0 bytes perl-install/share/themes/focus.png | Bin 345 -> 0 bytes perl-install/share/themes/marble3d-bg1.png | Bin 9693 -> 0 bytes perl-install/share/themes/marble3d-button1.png | Bin 3454 -> 0 bytes perl-install/share/themes/marble3d-button2.png | Bin 3840 -> 0 bytes perl-install/share/themes/marble3d-button4.png | Bin 2936 -> 0 bytes perl-install/share/themes/marble3d-button_def.png | Bin 4888 -> 0 bytes perl-install/share/themes/marble3d-check1.png | Bin 180 -> 0 bytes perl-install/share/themes/marble3d-check2.png | Bin 231 -> 0 bytes perl-install/share/themes/mdk-Desktop-bg.png | Bin 153 -> 0 bytes perl-install/share/themes/mdk-bg.png | Bin 151 -> 0 bytes perl-install/share/themes/mdk-button1.png | Bin 387 -> 0 bytes perl-install/share/themes/mdk-button4.png | Bin 369 -> 0 bytes perl-install/share/themes/mdk-check_off.png | Bin 754 -> 0 bytes perl-install/share/themes/mdk-check_on.png | Bin 850 -> 0 bytes perl-install/share/themes/mdk-toggle_off.png | Bin 754 -> 0 bytes perl-install/share/themes/mdk-toggle_on.png | Bin 850 -> 0 bytes 26 files changed, 155 insertions(+), 704 deletions(-) delete mode 100644 perl-install/share/install.rc create mode 100644 perl-install/share/themes-galaxy.rc delete mode 100644 perl-install/share/themes-marble3d.rc delete mode 100644 perl-install/share/themes-mdk-Desktop.rc delete mode 100644 perl-install/share/themes-mdk.rc delete mode 100644 perl-install/share/themes.rc delete mode 100644 perl-install/share/themes/blueHeart-button_def.png delete mode 100644 perl-install/share/themes/focus.png delete mode 100644 perl-install/share/themes/marble3d-bg1.png delete mode 100644 perl-install/share/themes/marble3d-button1.png delete mode 100644 perl-install/share/themes/marble3d-button2.png delete mode 100644 perl-install/share/themes/marble3d-button4.png delete mode 100644 perl-install/share/themes/marble3d-button_def.png delete mode 100644 perl-install/share/themes/marble3d-check1.png delete mode 100644 perl-install/share/themes/marble3d-check2.png delete mode 100644 perl-install/share/themes/mdk-Desktop-bg.png delete mode 100644 perl-install/share/themes/mdk-bg.png delete mode 100644 perl-install/share/themes/mdk-button1.png delete mode 100644 perl-install/share/themes/mdk-button4.png delete mode 100644 perl-install/share/themes/mdk-check_off.png delete mode 100644 perl-install/share/themes/mdk-check_on.png delete mode 100644 perl-install/share/themes/mdk-toggle_off.png delete mode 100644 perl-install/share/themes/mdk-toggle_on.png diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index d5b2b7784..bebf9eb6c 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -12,57 +12,80 @@ use devices; #-INTERN CONSTANT #-##################################################################################### -my (@background1, @background2); +my @background; +#- if we're running for the doc team, we want screenshots with +#- a good B&W contrast: we'll override values of our theme +my $theme_overriding_for_doc = q(style "galaxy-default" +{ + base[SELECTED] = "#E0E0FF" + base[ACTIVE] = "#E0E0FF" + base[PRELIGHT] = "#E0E0FF" + bg[SELECTED] = "#E0E0FF" + bg[ACTIVE] = "#E0E0FF" + bg[PRELIGHT] = "#E0E0FF" + text[ACTIVE] = "#000000" + text[PRELIGHT] = "#000000" + text[SELECTED] = "#000000" + fg[SELECTED] = "#000000" +} + +style "white-on-blue" +{ + base[NORMAL] = { 0.93, 0.93, 0.93 } + bg[NORMAL] = { 0.93, 0.93, 0.93 } + + text[NORMAL] = "#000000" + fg[NORMAL] = "#000000" +} + +style "background" +{ + bg[NORMAL] = { 0.93, 0.93, 0.93 } +}); #------------------------------------------------------------------------------ sub load_rc { - my ($name) = @_; + my ($o, $name) = @_; if (my $f = find { -r $_ } map { "$_/$name.rc" } ("share", $ENV{SHARE_PATH}, dirname(__FILE__))) { - Gtk2::Rc->parse($f); - foreach (cat_($f)) { + + my @contents = cat_($f); + $o->{doc} and push @contents, $theme_overriding_for_doc; + + Gtk2::Rc->parse_string(join("\n", @contents)); + foreach (@contents) { if (/style\s+"background"/ .. /^\s*$/) { - @background1 = map { $_ * 256 * 257 } split ',', $1 if /NORMAL.*\{(.*)\}/; - @background2 = map { $_ * 256 * 257 } split ',', $1 if /PRELIGHT.*\{(.*)\}/; + @background = map { $_ * 256 * 257 } split ',', $1 if /NORMAL.*\{(.*)\}/; } } } + } sub default_theme { my ($o) = @_; $o->{meta_class} eq 'desktop' ? 'blue' : $o->{meta_class} eq 'firewall' ? 'mdk-Firewall' : - $o->{simple_themes} || $o->{vga16} ? 'blue' : 'mdk'; + $o->{simple_themes} || $o->{vga16} ? 'blue' : 'galaxy'; } #------------------------------------------------------------------------------ sub install_theme { - my ($o, $theme) = @_; - - $o->{theme} = $theme || $o->{theme}; + my ($o) = @_; - load_rc($_) foreach "themes-$o->{theme}", "install", "themes"; + $o->{theme} ||= default_theme(); + load_rc($o, "themes-$o->{theme}"); - my %pango_font_name; - if (my $pango_font = lang::l2pango_font($o->{locale}{lang})) { - $pango_font_name{10} = "font_name = \"$pango_font 10\""; - $pango_font_name{12} = "font_name = \"$pango_font 12\""; - } - Gtk2::Rc->parse_string(qq( + Gtk2::Rc->parse_string(q( style "default-font" { - $pango_font_name{12} -} -style "small-font" -{ - $pango_font_name{10} + font_name = ") . lang::l2pango_font($o->{locale}{lang}) . q( 12" } widget "*" style "default-font" )); - gtkset_background(@background1) unless $::live; #- || testing; + gtkset_background(@background) unless $::live; #- || testing; create_logo_window($o); # create_help_window($o); diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 6a5802b17..91a491803 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -122,7 +122,7 @@ sub new($$) { $ENV{DISPLAY} = $wanted_DISPLAY; install_gtk::init_gtk(); install_gtk::init_sizes(); - install_gtk::install_theme($o, install_gtk::default_theme($o)); + install_gtk::install_theme($o); install_gtk::create_logo_window($o); $ugtk2::force_center = [ $::rootwidth - $::windowwidth, $::logoheight, $::windowwidth, $::windowheight ]; @@ -149,7 +149,6 @@ sub leavingStep { sub charsetChanged { my ($o) = @_; Gtk2->set_locale; - install_gtk::install_theme($o); install_gtk::create_steps_window($o); } diff --git a/perl-install/share/install.rc b/perl-install/share/install.rc deleted file mode 100644 index b86a22c29..000000000 --- a/perl-install/share/install.rc +++ /dev/null @@ -1,21 +0,0 @@ -style "default-font" -{ - fontset = "-*-*-medium-r-normal-*-12-*-*-*-*-*-iso8859-15" -} - -style "small-font" -{ - fontset = "-*-*-medium-r-normal-*-8-*-*-*-*-*-iso8859-15" -} - -style "logo" = "background" -{ - # no background image - engine "pixmap" { image { function = FLAT_BOX } } -} - -widget "*" style "default-font" -widget "Steps" style "steps" -widget "*Steps*" style "small-font" -widget "*logo*" style "logo" - diff --git a/perl-install/share/list b/perl-install/share/list index 11fa3f799..2f152ce27 100644 --- a/perl-install/share/list +++ b/perl-install/share/list @@ -51,13 +51,12 @@ /usr/LIB/gconv/GEORGIAN-PS.so /usr/LIB/gconv/EUC-CN.so /usr/LIB/gconv/gconv-modules -/usr/LIB/gtk-2.0/*/engines/libpixmap.so -/usr/LIB/gtk-2.0/*/engines/libpixmap.la /etc/gtk-2.0/gdk-pixbuf.loaders /usr/LIB/gtk-2.0/*/loaders/libpixbufloader-xpm.so /usr/LIB/gtk-2.0/*/loaders/libpixbufloader-png.so /etc/gtk-2.0/gtk.immodules +/usr/LIB/gtk-2.0/*/engines/libgalaxy.so /etc/pango/pango.modules /usr/LIB/pango/*/modules/pango-basic-xft.so /usr/LIB/pango/*/modules/pango-arabic-xft.so diff --git a/perl-install/share/themes-galaxy.rc b/perl-install/share/themes-galaxy.rc new file mode 100644 index 000000000..6e6b232da --- /dev/null +++ b/perl-install/share/themes-galaxy.rc @@ -0,0 +1,107 @@ +style "galaxy-default" +{ + GtkButton::default_border = {1, 2, 1, 2} + GtkButton::default_outside_border = {1, 2, 1, 2} + GtkWidget::interior_focus = 1 + GtkButton::default_spacing = 6 + GtkCheckButton::indicator_size = 15 + GtkPaned::handle_size = 6 + GtkRange::trough_border = 0 + GtkRange::slider_width = 15 + GtkRange::stepper_size = 15 + GtkRange::stepper_spacing = 0 + GtkScrollbar::min_slider_length = 20 + GtkTreeView::even_row_color = "#FFFFFF" + GtkTreeView::odd_row_color = "#EFEFEF" + + fg[NORMAL] = "#000000" + fg[ACTIVE] = "#000000" + fg[INSENSITIVE] = "#949694" + fg[PRELIGHT] = "#000000" + fg[SELECTED] = "#FFFFFF" + + bg[ACTIVE] = "#CECECE" + bg[NORMAL] = "#E6E7E6" + bg[INSENSITIVE] = "#CECECE" + bg[PRELIGHT] = "#EFEFEF" + bg[SELECTED] = "#21459C" + + base[NORMAL] = "#ffffff" + base[ACTIVE] = "#7382BD" + base[INSENSITIVE] = "#ffffff" + base[PRELIGHT] = "#EFEFEF" + base[SELECTED] = "#7382BD" + + text[NORMAL] = "#000000" + text[ACTIVE] = "#ffffff" + text[PRELIGHT] = "#ffffff" + text[SELECTED] = "#ffffff" + text[INSENSITIVE] = "#ffffff" + + engine "galaxy" + { + } +} + + +style "galaxy-button" = "galaxy-default" +{ + xthickness = 4 + ythickness = 4 +} + +style "galaxy-thin" = "galaxy-default" +{ + xthickness = 1 + ythickness = 1 +} + + +style "galaxy-menu" = "galaxy-default" +{ + fg[PRELIGHT] = "#ffffff" +} + +style "galaxy-tasklist" = "galaxy-default" +{ + xthickness = 2 + ythickness = 2 + GtkWidget::focus-line-width = 0 + GtkWidget::focus-padding = 0 +} + +class "GtkWidget" style "galaxy-default" +class "GtkButton" style "galaxy-button" +class "EComboButton" style "galaxy-thin" +widget_class "*.EShortcutsView.GtkButton" style "galaxy-thin" +widget_class "*Tree*GtkButton" style "galaxy-thin" +widget_class "*List*GtkButton" style "galaxy-thin" +class "GtkProgressBar" style "galaxy-menu" +class "GtkMenuItem" style "galaxy-menu" +widget_class "*.GtkMenuItem.*" style "galaxy-menu" +widget_class "*.GtkAccelMenuItem.*" style "galaxy-menu" +widget_class "*.GtkRadioMenuItem.*" style "galaxy-menu" +widget_class "*.GtkCheckMenuItem.*" style "galaxy-menu" +widget_class "*.GtkImageMenuItem.*" style "galaxy-menu" +widget_class "*.GtkSeparatorMenuItem.*" style "galaxy-menu" +widget_class "*.PanelApplet.*" style "galaxy-tasklist" +widget "*.tasklist-button" style "galaxy-tasklist" +class "GtkNotebook" style "galaxy-thin" + + +style "white-on-blue" +{ + base[NORMAL] = { 0.28, 0.38, 0.66 } + bg[NORMAL] = { 0.28, 0.38, 0.66 } + + text[NORMAL] = "#FFFFFF" + fg[NORMAL] = "#FFFFFF" +} + +style "background" +{ + bg[NORMAL] = { 0.28, 0.38, 0.66 } +} + +widget "*Steps*" style "white-on-blue" +widget "*background*" style "background" diff --git a/perl-install/share/themes-marble3d.rc b/perl-install/share/themes-marble3d.rc deleted file mode 100644 index 78a441049..000000000 --- a/perl-install/share/themes-marble3d.rc +++ /dev/null @@ -1,208 +0,0 @@ -style "checkradiobutton" { - engine "pixmap" { - image - { - function = CHECK - recolorable = TRUE - shadow = OUT - overlay_file = "marble3d-check1.png" - overlay_stretch = FALSE - } - image - { - function = CHECK - recolorable = TRUE - shadow = IN - overlay_file = "marble3d-check2.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = OUT - overlay_file = "marble3d-check1.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = IN - overlay_file = "marble3d-check2.png" - overlay_stretch = FALSE - } - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - } -} - -style "button" -{ - engine "pixmap" - { - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - detail = "buttondefault" - shadow = IN - file = "marble3d-button_def.png" - border = { 9, 9, 9, 9 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = OUT - file = "marble3d-button1.png" - border = { 3, 3, 3, 3 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = PRELIGHT - shadow = OUT - file = "marble3d-button2.png" - border = { 3, 3, 3, 3 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = IN - file = "marble3d-button4.png" - border = { 2, 2, 2, 2 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = SELECTED - shadow = IN - file = "marble3d-button4.png" - border = { 3, 3, 3, 3 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = ACTIVE - shadow = IN - file = "marble3d-button4.png" - border = { 3, 3, 3, 3 } - stretch = TRUE - } - } -} - -style "window" -{ - engine "pixmap" { - image - { - function = FLAT_BOX - recolorable = TRUE - file = "marble3d-bg1.png" - stretch = FALSE - } - } -} - - -style "any" -{ -text[NORMAL] = { 0, 0, 0 } -fg[NORMAL] = { 0, 0, 0 } -fg[PRELIGHT] = { 0.25, 0.25, 0.25 } -fg[ACTIVE] = { 0, 0, 0 } -fg[SELECTED] = { 0, 0, 0 } -fg[INSENSITIVE] = { 0.5, 0.5, 0.5 } - -base[NORMAL] = { 0.75, 0.75, 0.75 } -bg[NORMAL] = { 0.8, 0.8, 0.8 } -bg[PRELIGHT] = { 0.85, 0.85, 0.85 } -bg[ACTIVE] = { 0.9, 0.9, 0.9 } -bg[SELECTED] = { 0.9, 0.8, 0.7 } -bg[INSENSITIVE] = { 0.8, 0.75, 0.7 } -} - -style "entry" -{ -base[NORMAL] = { 1.0, 1.0, 1.0 } -base[ACTIVE] = { 1.0, 1.0, 1.0 } -fg[NORMAL] = { 0, 0, 0 } -} - -style "notebook" -{ -bg[NORMAL] = { 0.82, 0.8, 0.8 } -bg[ACTIVE] = { 0.72, 0.7, 0.7 } -fg[NORMAL] = { 0, 0, 0 } -} - -style "button" = "any" -{ -bg[NORMAL] = { 1.0, 1.0, 1.0 } -fg[NORMAL] = { 0, 0, 0 } -bg[PRELIGHT] = { 1.0, 1.0, 1.0 } -fg[PRELIGHT] = { 0.67, 0.67, 0.67 } -} - -style "background" -{ -bg[NORMAL] = { 0.8, 0.8, 0.8 } -bg[PRELIGHT] = { 0.74, 0.72, 0.7 } -} - - -style "steps" -{ -fg[NORMAL] = { 0.4, 0.3, 0.2 } - - engine "pixmap" { - image - { - function = FLAT_BOX - recolorable = TRUE - file = "marble3d-bg1.png" - stretch = FALSE - } - } -} - -widget_class "GtkWindow" style "window" -widget_class "*" style "any" -widget_class "*GtkSpin*" style "entry" -widget_class "*GtkEntry*" style "entry" -widget_class "*Gtk*List*" style "entry" -widget_class "*GtkCTree*" style "entry" -widget_class "*GtkNotebook*" style "notebook" -widget "*GtkButton" style "button" -widget "*background*" style "background" - -class "GtkRadioButton" style "checkradiobutton" -class "GtkCheckButton" style "checkradiobutton" diff --git a/perl-install/share/themes-mdk-Desktop.rc b/perl-install/share/themes-mdk-Desktop.rc deleted file mode 100644 index 12ecb86b5..000000000 --- a/perl-install/share/themes-mdk-Desktop.rc +++ /dev/null @@ -1,203 +0,0 @@ -style "checkradiobutton" { - engine "pixmap" { - image - { - function = CHECK - recolorable = TRUE - shadow = OUT - overlay_file = "mdk-check_off.png" - overlay_stretch = FALSE - } - image - { - function = CHECK - recolorable = TRUE - shadow = IN - overlay_file = "mdk-check_on.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = OUT - overlay_file = "mdk-toggle_off.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = IN - overlay_file = "mdk-toggle_on.png" - overlay_stretch = FALSE - } - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - } -} - -style "button" -{ - bg[NORMAL] = "#909090" - - engine "pixmap" - { - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - detail = "buttondefault" - shadow = IN - file = "blueHeart-button_def.png" - border = { 9, 9, 9, 9 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = OUT - file = "mdk-button1.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = PRELIGHT - shadow = OUT - file = "mdk-button1.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = SELECTED - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = ACTIVE - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - } -} - -style "window" -{ - engine "pixmap" { - image - { - function = FLAT_BOX - recolorable = TRUE - file = "mdk-Desktop-bg.png" - stretch = FALSE - } - } -} - -style "any" -{ - base[NORMAL] = { 0.6, 0.6, 0.8 } - bg[NORMAL] = { 0.6, 0.6, 0.8 } - bg[INSENSITIVE] = { 0.2, 0.2, 0.4 } - base[INSENSITIVE]={ 0.2, 0.2, 0.4 } - bg[ACTIVE] = { 0.2, 0.2, 0.4 } - bg[PRELIGHT] = { 0.4, 0.4, 0.6 } - - text[NORMAL] = { 0, 0, 0 } - fg[NORMAL] = { 1.0, 1.0, 1.0 } - fg[INSENSITIVE] = { 0.0, 0.0, 0.0 } - text[INSENSITIVE]={ 1.0, 1.0, 1.0 } - fg[ACTIVE] = { 1.0, 1.0, 1.0 } - fg[PRELIGHT] = { 0.8, 0.8, 1.0 } - - bg[SELECTED] = { 1.0, 1.0, 1.0 } - fg[SELECTED] = { 0.6, 0.6, 0.8 } -} - -style "entry" -{ - base[NORMAL] = { 0.4, 0.4, 0.6 } - base[ACTIVE] = { 0.4, 0.4, 0.6 } - fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -style "notebook" -{ - bg[NORMAL] = { 0.4, 0.4, 0.6 } - bg[ACTIVE] = { 0.2, 0.2, 0.4 } - fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -style "button" = "any" -{ - bg[NORMAL] = { 0.4, 0.4, 0.6 } - fg[NORMAL] = { 1.0, 1.0, 1.0 } - bg[PRELIGHT] = { 0.36, 0.36, 0.56 } - fg[PRELIGHT] = { 0.8, 0.8, 1.0 } -} - -style "background" -{ - bg[NORMAL] = { 0.2, 0.2, 0.4 } - bg[PRELIGHT] = { 0.8, 0.8, 0.99 } -} - -style "steps" -{ - engine "pixmap" { image { function = FLAT_BOX } } - bg[NORMAL] = { 0.4, 0.4, 0.6 } - fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -widget_class "GtkWindow" style "window" -widget_class "*" style "any" -widget_class "*GtkSpin*" style "entry" -widget_class "*GtkEntry*" style "entry" -widget_class "*Gtk*List*" style "entry" -widget_class "*GtkCTree*" style "entry" -widget_class "*GtkNotebook*" style "notebook" -widget "*GtkButton" style "button" -widget "*background*" style "background" - -class "GtkRadioButton" style "checkradiobutton" -class "GtkCheckButton" style "checkradiobutton" diff --git a/perl-install/share/themes-mdk.rc b/perl-install/share/themes-mdk.rc deleted file mode 100644 index 386f97631..000000000 --- a/perl-install/share/themes-mdk.rc +++ /dev/null @@ -1,227 +0,0 @@ -pixmap_path "/usr/share/gtk/themes" - -style "checkradiobutton" { - engine "pixmap" { - image - { - function = CHECK - recolorable = TRUE - shadow = OUT - overlay_file = "mdk-check_off.png" - overlay_stretch = FALSE - } - image - { - function = CHECK - recolorable = TRUE - shadow = IN - overlay_file = "mdk-check_on.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = OUT - overlay_file = "mdk-toggle_off.png" - overlay_stretch = FALSE - } - image - { - function = OPTION - recolorable = TRUE - shadow = IN - overlay_file = "mdk-toggle_on.png" - overlay_stretch = FALSE - } - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - } -} - -style "button" -{ - bg[NORMAL] = "#909090" - - engine "pixmap" - { - image - { - function = FOCUS - recolorable = TRUE - overlay_file = "focus.png" - overlay_border = { 4, 4, 4, 4 } - overlay_stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - detail = "buttondefault" - shadow = IN - file = "blueHeart-button_def.png" - border = { 9, 9, 9, 9 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = OUT - file = "mdk-button1.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = PRELIGHT - shadow = OUT - file = "mdk-button1.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = NORMAL - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = SELECTED - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - image - { - function = BOX - recolorable = TRUE - state = ACTIVE - shadow = IN - file = "mdk-button4.png" - border = { 7, 7, 7, 7 } - stretch = TRUE - } - } -} - -style "window" -{ - engine "pixmap" { - image - { - function = FLAT_BOX - recolorable = TRUE - file = "mdk-bg.png" - stretch = FALSE - } - } -} - -style "any" -{ -base[NORMAL] = { 0.13, 0.27, 0.61 } -bg[NORMAL] = { 0.13, 0.27, 0.61 } -bg[INSENSITIVE] = { 0.46, 0.51, 0.74 } -base[INSENSITIVE] = { 0.46, 0.51, 0.74 } -bg[ACTIVE] = { 0.46, 0.51, 0.74 } -bg[PRELIGHT] = { 0.17, 0.33, 0.75 } - -text[NORMAL] = { 1.0, 1.0, 1.0 } -fg[NORMAL] = { 1.0, 1.0, 1.0 } -fg[INSENSITIVE] = { 1.0, 1.0, 1.0 } -text[INSENSITIVE] = { 1.0, 1.0, 1.0 } -fg[ACTIVE] = { 1.0, 1.0, 1.0 } -fg[PRELIGHT] = { 0.72, 0.74, 0.86 } - -bg[SELECTED] = { 1.0, 1.0, 1.0 } -fg[SELECTED] = { 0.13, 0.27, 0.61 } -} - -style "drawing" -{ -base[NORMAL] = { 0.29, 0.38, 0.67 } -bg[NORMAL] = { 0.29, 0.38, 0.67 } -bg[INSENSITIVE] = { 0.13, 0.27, 0.61 } -base[INSENSITIVE] = { 0.13, 0.27, 0.61 } -bg[ACTIVE] = { 0.13, 0.27, 0.61 } -bg[PRELIGHT] = { 0.29, 0.38, 0.67 } - -bg[SELECTED] = { 1.0, 1.0, 1.0 } -fg[SELECTED] = { 1.0, 1.0, 1.0 } -} - -style "entry" -{ -base[NORMAL] = { 0.29, 0.38, 0.67 } -base[ACTIVE] = { 0.13, 0.27, 0.61 } -fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -style "tooltips" -{ -base[NORMAL] = { 0.96, 0.81, 0.21 } -base[ACTIVE] = { 0.96, 0.81, 0.21 } -fg[NORMAL] = { 0, 0, 0 } -} - -style "notebook" -{ -bg[NORMAL] = { 0.29, 0.38, 0.67 } -bg[ACTIVE] = { 0.13, 0.27, 0.61 } -fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -style "button" = "any" -{ -bg[NORMAL] = { 0.13, 0.27, 0.61 } -fg[NORMAL] = { 1.0, 1.0, 1.0 } -bg[PRELIGHT] = { 0.46, 0.51, 0.74 } -fg[PRELIGHT] = { 0.72, 0.74, 0.86 } -} - -style "background" -{ -bg[NORMAL] = { 0.29, 0.38, 0.67 } -bg[PRELIGHT] = { 0.72, 0.74, 0.86 } -} - -style "steps" -{ - engine "pixmap" { image { function = FLAT_BOX } } -bg[NORMAL] = { 0.29, 0.38, 0.67 } -fg[NORMAL] = { 1.0, 1.0, 1.0 } -} - -widget_class "GtkWindow" style "window" -widget_class "*" style "any" -widget_class "*GtkSpin*" style "entry" -widget_class "*GtkEntry*" style "entry" -widget_class "*Gtk*List*" style "entry" -widget_class "*GtkCTree*" style "entry" -widget_class "*GtkTooltips*" style "tooltips" -widget_class "*GtkDrawingArea*" style "drawing" -widget_class "*GtkNotebook*" style "notebook" -widget "*GtkButton" style "button" -widget "*background*" style "background" - -class "GtkRadioButton" style "checkradiobutton" -class "GtkCheckButton" style "checkradiobutton" diff --git a/perl-install/share/themes.rc b/perl-install/share/themes.rc deleted file mode 100644 index 3e10efb38..000000000 --- a/perl-install/share/themes.rc +++ /dev/null @@ -1,18 +0,0 @@ -style "mdk" -{ -bg[NORMAL] = { 0.3, 0.38, 0.67 } -bg[PRELIGHT] = { 0.45, 0.51, 0.74 } -} -style "marble3d" -{ -bg[NORMAL] = { 0.8, 0.8, 0.8 } -bg[PRELIGHT] = { 0.9, 0.9, 0.9 } -} -style "blue" -{ -bg[NORMAL] = { 0, 0, 0.67 } -bg[PRELIGHT] = { 0, 0, 1.0 } -} -widget "*mdk*" style "mdk" -widget "*marble3d*" style "marble3d" -widget "*blue*" style "blue" diff --git a/perl-install/share/themes/blueHeart-button_def.png b/perl-install/share/themes/blueHeart-button_def.png deleted file mode 100644 index b35781416..000000000 Binary files a/perl-install/share/themes/blueHeart-button_def.png and /dev/null differ diff --git a/perl-install/share/themes/focus.png b/perl-install/share/themes/focus.png deleted file mode 100644 index 70afb1797..000000000 Binary files a/perl-install/share/themes/focus.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-bg1.png b/perl-install/share/themes/marble3d-bg1.png deleted file mode 100644 index b4e1afd66..000000000 Binary files a/perl-install/share/themes/marble3d-bg1.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-button1.png b/perl-install/share/themes/marble3d-button1.png deleted file mode 100644 index 9119ac89c..000000000 Binary files a/perl-install/share/themes/marble3d-button1.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-button2.png b/perl-install/share/themes/marble3d-button2.png deleted file mode 100644 index 70696538c..000000000 Binary files a/perl-install/share/themes/marble3d-button2.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-button4.png b/perl-install/share/themes/marble3d-button4.png deleted file mode 100644 index 7b6aae23a..000000000 Binary files a/perl-install/share/themes/marble3d-button4.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-button_def.png b/perl-install/share/themes/marble3d-button_def.png deleted file mode 100644 index 4bd67d0d9..000000000 Binary files a/perl-install/share/themes/marble3d-button_def.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-check1.png b/perl-install/share/themes/marble3d-check1.png deleted file mode 100644 index f3c31d09c..000000000 Binary files a/perl-install/share/themes/marble3d-check1.png and /dev/null differ diff --git a/perl-install/share/themes/marble3d-check2.png b/perl-install/share/themes/marble3d-check2.png deleted file mode 100644 index 5261472f9..000000000 Binary files a/perl-install/share/themes/marble3d-check2.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-Desktop-bg.png b/perl-install/share/themes/mdk-Desktop-bg.png deleted file mode 100644 index 14db97364..000000000 Binary files a/perl-install/share/themes/mdk-Desktop-bg.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-bg.png b/perl-install/share/themes/mdk-bg.png deleted file mode 100644 index 69754ee04..000000000 Binary files a/perl-install/share/themes/mdk-bg.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-button1.png b/perl-install/share/themes/mdk-button1.png deleted file mode 100644 index bc4d2e674..000000000 Binary files a/perl-install/share/themes/mdk-button1.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-button4.png b/perl-install/share/themes/mdk-button4.png deleted file mode 100644 index e85c86748..000000000 Binary files a/perl-install/share/themes/mdk-button4.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-check_off.png b/perl-install/share/themes/mdk-check_off.png deleted file mode 100644 index 74778fc11..000000000 Binary files a/perl-install/share/themes/mdk-check_off.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-check_on.png b/perl-install/share/themes/mdk-check_on.png deleted file mode 100644 index f3a099909..000000000 Binary files a/perl-install/share/themes/mdk-check_on.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-toggle_off.png b/perl-install/share/themes/mdk-toggle_off.png deleted file mode 100644 index 74778fc11..000000000 Binary files a/perl-install/share/themes/mdk-toggle_off.png and /dev/null differ diff --git a/perl-install/share/themes/mdk-toggle_on.png b/perl-install/share/themes/mdk-toggle_on.png deleted file mode 100644 index f3a099909..000000000 Binary files a/perl-install/share/themes/mdk-toggle_on.png and /dev/null differ -- cgit v1.2.1