diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-12 00:46:39 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:17 +0100 |
commit | 7ef9fc1db488a53e12980f367eb8666f4e840bfb (patch) | |
tree | b37296602cffa66f2e3a3155e5e0401b58a66a33 /perl-install | |
parent | 223b6253caecac05649558ec31bd5210768c0dbb (diff) | |
download | drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.gz drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.bz2 drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.xz drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.zip |
workaround a gtk+3 regression (bgo#711873)
See https://bugzilla.gnome.org/show_bug.cgi?id=711873
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/services.pm | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakclock | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index be85ab069..a32e38d7c 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -242,7 +242,7 @@ sub ask_standalone_gtk { $label->set_label($started ? N("running") : N("stopped")); }; my $b = Gtk3::EventBox->new; - $b->set_events('pointer_motion_mask'); + $b->set_events(${ Gtk3::Gdk::EventMask->new("pointer_motion_mask") }); gtkadd($W->{window}, gtkadd($b, gtkpack_($W->create_box_with_title, 0, mygtk3::gtknew('Title1', label => N("Services and daemons")), 1, gtkset_size_request(create_scrolled_window(create_packtable({ col_spacings => 10, row_spacings => 3 }, diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 5e38ff6e3..a61ac98ac 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -190,7 +190,7 @@ if (-e $ntpfile && is_ntp_daemon_running()) { } else { ntp_widget_state(0) } my $pressed; -$drawing_area->set_events([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]); +$drawing_area->set_events(${ Gtk3::Gdk::EventMask->new([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]) }); $drawing_area->signal_connect(draw => \&draw); $drawing_area->signal_connect(realize => sub { my $window = $drawing_area->get_window; |