Mageia Bugzilla – Attachment 5199 Details for
Bug 13534
drakclock crashed (Can't locate object method "generic_exceptions_handler" via package "Glib" at Gtk3 line 295)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
new patch to fix the problem
drakclock.patch (text/plain), 748 bytes, created by
Angelo Naselli
on 2014-06-20 00:34:48 CEST
(
hide
)
Description:
new patch to fix the problem
Filename:
MIME Type:
Creator:
Angelo Naselli
Created:
2014-06-20 00:34:48 CEST
Size:
748 bytes
patch
obsolete
>diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock >index 7b64ed5..f13d469 100755 >--- a/perl-install/standalone/drakclock >+++ b/perl-install/standalone/drakclock >@@ -46,7 +46,13 @@ $button_time->signal_connect(clicked => sub { > $timezone->{UTC} = $in->ask_yesorno(N("GMT - DrakClock"), N("Is your hardware clock set to GMT?"), $timezone->{UTC}); > timezone::write($timezone); > } >- $label_timezone->set_text($timezone->{timezone}); >+ if ($timezone->{timezone}) { >+ $label_timezone->set_text($timezone->{timezone}); >+ } >+ else { >+ $timezone->{timezone} = $label_timezone->get_text(); >+ } >+ > }); > if (!@timezones) { > warn "Failed to retrieve timezone list: $err\n";
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 7b64ed5..f13d469 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -46,7 +46,13 @@ $button_time->signal_connect(clicked => sub { $timezone->{UTC} = $in->ask_yesorno(N("GMT - DrakClock"), N("Is your hardware clock set to GMT?"), $timezone->{UTC}); timezone::write($timezone); } - $label_timezone->set_text($timezone->{timezone}); + if ($timezone->{timezone}) { + $label_timezone->set_text($timezone->{timezone}); + } + else { + $timezone->{timezone} = $label_timezone->get_text(); + } + }); if (!@timezones) { warn "Failed to retrieve timezone list: $err\n";
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13534
:
5198
| 5199 |
5202
|
5203
|
5204