From 73b8a09f0186a8f7559235f85f8317a35cd91118 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Feb 2006 16:47:27 +0000 Subject: (show_list_to_remove) nicer GUI: - use standard verbs on button - use a standard & meaningfull title - add a sentence explaining the purpose of the dialog --- perl-install/standalone/drakfont | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index d8ad60215..258d99af0 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -676,14 +676,15 @@ sub show_list_to_remove() { $model->append_set(undef, [ 0 => $_ ]) foreach @uninstall; - dialog(N("Uninstall"), + dialog(N("Warning"), [ + 0, Gtk2::Label->new(N("Are you sure you want to uninstall the following fonts?")), 1, gtkpack_(Gtk2::HBox->new(0, 4), 1, create_scrolled_window($list)), ], [ - gtksignal_connect(Gtk2::Button->new(N("click here if you are sure.")), + gtksignal_connect(Gtk2::Button->new(N("Yes")), clicked => sub { import_status_uninstall(); exitdialog() }), - gtksignal_connect(Gtk2::Button->new(N("here if no.")), + gtksignal_connect(Gtk2::Button->new(N("No")), clicked => \&exitdialog ), ], -- cgit v1.2.1