summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-04-21 21:27:36 +0000
committerPascal Terjan <pterjan@gmail.com>2015-04-22 07:41:31 +0000
commit8a3e0a2b8b39048f5c4727cf408239a257737907 (patch)
tree98778f1842cc2e486c26cd289a7313a49a92b018
parent29c1864192f04e670742c87779ba93f56e1991e9 (diff)
downloaddrakx-8a3e0a2b8b39048f5c4727cf408239a257737907.tar
drakx-8a3e0a2b8b39048f5c4727cf408239a257737907.tar.gz
drakx-8a3e0a2b8b39048f5c4727cf408239a257737907.tar.bz2
drakx-8a3e0a2b8b39048f5c4727cf408239a257737907.tar.xz
drakx-8a3e0a2b8b39048f5c4727cf408239a257737907.zip
Make the resize handler more visible (mga#15728)
-rw-r--r--perl-install/fs/partitioning_wizard.pm3
-rw-r--r--perl-install/share/diskdrake.css14
-rw-r--r--perl-install/share/themes-galaxy.css10
3 files changed, 15 insertions, 12 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index ded804131..911b378a0 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -351,9 +351,8 @@ sub create_display_box {
$hpane->pack1($part_widget, 1, 0);
$hpane->pack2($mdv_widget, 1, 0);
$hpane->set_position(ceil($ratio * $entry->{req_size}));
- # $hpane->set_wide_handle will only be added in Gtk 3.16
$style_context = $hpane->get_style_context();
- $style_context->add_class("wide");
+ $style_context->add_class("resize_partition");
ugtk3::gtkset_size_request($hpane, $entry->{width}, 0);
ugtk3::gtkpack__($display_box, $hpane);
diff --git a/perl-install/share/diskdrake.css b/perl-install/share/diskdrake.css
index d24dc3a65..fe5555140 100644
--- a/perl-install/share/diskdrake.css
+++ b/perl-install/share/diskdrake.css
@@ -81,3 +81,17 @@
color: #ffffff;
padding: 1px;
}
+
+GtkPaned.resize_partition {
+ -GtkPaned-handle-size: 5;
+ margin: 0;
+}
+
+.pane-separator {
+ background-color: white;
+ background-image: none;
+ border-style: none solid;
+ border-color: #a1a1a1;
+ border-width: 1px;
+}
+
diff --git a/perl-install/share/themes-galaxy.css b/perl-install/share/themes-galaxy.css
index 21d1783ae..6540b30c8 100644
--- a/perl-install/share/themes-galaxy.css
+++ b/perl-install/share/themes-galaxy.css
@@ -29,13 +29,3 @@
background-color: #2859B5;
color: #FFD200;
}
-
-GtkPaned.wide {
- -GtkPaned-handle-size: 5;
- margin: 0; }
- GtkPaned.wide .pane-separator {
- border-style: none solid;
- border-color: #a1a1a1;
- border-width: 1px; }
- GtkPaned.wide .pane-separator:backdrop {
- border-color: #a8a8a8; }