aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-08 14:07:47 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-08 14:07:47 +0000
commit12605ce84f66edee702d07fc585303a5aa371933 (patch)
tree72a801fbe3f41bddf55b195473ff590d40a9f2cb
parentccecfbfd07312ab545884cc9284025ef92d39ac7 (diff)
downloadrpmdrake-12605ce84f66edee702d07fc585303a5aa371933.tar
rpmdrake-12605ce84f66edee702d07fc585303a5aa371933.tar.gz
rpmdrake-12605ce84f66edee702d07fc585303a5aa371933.tar.bz2
rpmdrake-12605ce84f66edee702d07fc585303a5aa371933.tar.xz
rpmdrake-12605ce84f66edee702d07fc585303a5aa371933.zip
(inspect) add a warning: suggest to keep the current file if unsure
-rwxr-xr-xRpmdrake/rpmnew.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rpmdrake/rpmnew.pm b/Rpmdrake/rpmnew.pm
index 10ff8627..05577293 100755
--- a/Rpmdrake/rpmnew.pm
+++ b/Rpmdrake/rpmnew.pm
@@ -104,6 +104,13 @@ sub inspect {
),
resize1 => 1,
),
+ 0, Gtk2::HSeparator->new,
+ 0, gtknew('WrappedLabel',
+ # prevent bad sizing of Gtk2::WrappedLabel:
+ width => $inspect_wsize[0],
+ text => N("You can either remove the .%s file, use it as main file or do nothing. If unsure, keep the current file (\"%s\").",
+ $rpmfile, N("Remove .%s", $rpmfile)),
+ ),
0, gtkpack__(
gtknew('HButtonBox'),
gtksignal_connect(