summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-08-21 16:36:03 +0000
committerYves Duret <yduret@mandriva.com>2001-08-21 16:36:03 +0000
commit46206a6252e232ce5675e3500be423ab743a56a0 (patch)
treeb2e905ea67914618e51db039e957e3bacf7cb1b5
parent479368b5f7c4a2767230f4ed9c28b0675f4a2e76 (diff)
downloadcontrol-center-46206a6252e232ce5675e3500be423ab743a56a0.tar
control-center-46206a6252e232ce5675e3500be423ab743a56a0.tar.gz
control-center-46206a6252e232ce5675e3500be423ab743a56a0.tar.bz2
control-center-46206a6252e232ce5675e3500be423ab743a56a0.tar.xz
control-center-46206a6252e232ce5675e3500be423ab743a56a0.zip
removed all fussy sprintf
-rwxr-xr-xcontrol-center8
1 files changed, 4 insertions, 4 deletions
diff --git a/control-center b/control-center
index 3e9d28e1..3deb1c3e 100755
--- a/control-center
+++ b/control-center
@@ -55,7 +55,7 @@ my $nb_pages=0;
my $window_global = new Gtk::Window -toplevel;
$window_global->signal_connect ( delete_event => sub { quit_global(); });
$window_global->set_position(1);
-$window_global->set_title( sprintf( _("Mandrake Control Center %s"), $_version));
+$window_global->set_title( _("Mandrake Control Center %s", $_version));
$window_global->border_width(0);
my $vbox_global = new Gtk::VBox(0, 0);
@@ -213,7 +213,7 @@ sub exec_treeitem {
print "e exec_tree_item->[$nb_pages]\n" . (Data::Dumper->Dump([\@pid_launched], ['p']));
if (!$available) {
my $vbox = new Gtk::VBox(0, 0);
- $vbox->pack_start( new Gtk::Label ( sprintf( _("The application cannot be loaded,\nthe file '%s' has not been found.\nTry to install it.", $exec_string))), 1, 0, 0);
+ $vbox->pack_start( new Gtk::Label( _("The application cannot be loaded,\nthe file '%s' has not been found.\nTry to install it.", $exec_string)), 1, 0, 0);
$vbox->show_all;
$notebook_global->append_page($vbox, "");
$nb_pages++;
@@ -342,7 +342,7 @@ sub draw_exposed {
$pix->draw_string($style->font, $darea1->style->black_gc, 73, 170, _("The place where you can configure your Mandrake Box") );
my @revtree;
- open VERS, "/etc/mandrake-release" or die(sprintf _("cannot open this file for read: %s", $!));
+ open VERS, "/etc/mandrake-release" or die _("cannot open this file for read: %s", $!);
while (<VERS>) { push (@revtree,$_) }
my @info_tree = split / /, $revtree[0];
@@ -488,7 +488,7 @@ sub about_mdk_cc {
$button->signal_connect_object("clicked",$window_about => 'destroy');
$bbox1->add($button);
- my $label = new Gtk::Label( sprintf( _("Mandrake Control Center %s \n \n Copyright (C) 2001 Mandrakesoft SA\n", $_version) ) );
+ my $label = new Gtk::Label( _("Mandrake Control Center %s \n \n Copyright (C) 2001 Mandrakesoft SA\n", $_version) );
my $style1 = new Gtk::Style;
$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*")));
$label->set_style($style1);