[Mageia-sysadm] [437] Port to new API
root at mageia.org
root at mageia.org
Sun Feb 6 09:31:01 CET 2011
Revision: 437
Author: dmorgan
Date: 2011-02-06 09:31:01 +0100 (Sun, 06 Feb 2011)
Log Message:
-----------
Port to new API
Modified Paths:
--------------
control-center/trunk/control-center
Modified: control-center/trunk/control-center
===================================================================
--- control-center/trunk/control-center 2011-02-06 03:15:36 UTC (rev 436)
+++ control-center/trunk/control-center 2011-02-06 08:31:01 UTC (rev 437)
@@ -616,11 +616,11 @@
'wiz_expert' => [ N("/_Options"), N("/Expert mode in _wizards") ],
);
-my $mga_rel = common::mandrake_release();
+my $mga_rel = common::mageia_release();
my ($steps, $view);
-my $release = mandrake_release_info();
+my $release = mageia_release_info();
my @menu_items = (
[ N("/_File"), undef, undef, undef, '<Branch>' ],
@@ -671,7 +671,7 @@
[ N("/_Help") . N("/_Report Bug"), undef, sub {
run_program::raw({ detach => 1, as_user => 1 }, 'drakbug', '--report', (split(/\s/, $pending_app))[0] || 'drakconf');
}, undef, '<Item>' ],
- [ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ]
+ [ N("/_Help") . N("/_About..."), undef, \&about_mga_cc, undef, '<Item>' ]
);
@@ -1407,9 +1407,8 @@
$window_about->show_all;
}
-sub about_mdk_cc() {
+sub about_mga_cc() {
my $window_about = new_dialog(N("About - %s Control Center", $branding));
-
my $tree_model = Gtk2::TreeStore->new("Glib::String", "Glib::String", "Glib::String");
my $credits = Gtk2::TextView->new;
my $list = Gtk2::TreeView->new_with_model($tree_model);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110206/cde79f52/attachment-0001.html>
More information about the Mageia-sysadm
mailing list