summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 02:45:58 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-12-20 10:25:03 +0100
commit13ff41f850be21ca45a36b91a85329aea6f77870 (patch)
tree8b09adde792636a8d2c2d4348893d9cba2810e19 /control-center
parent56cbae2ae816e5e936bcdb1c842807f6b7cb0a78 (diff)
downloadcontrol-center-13ff41f850be21ca45a36b91a85329aea6f77870.tar
control-center-13ff41f850be21ca45a36b91a85329aea6f77870.tar.gz
control-center-13ff41f850be21ca45a36b91a85329aea6f77870.tar.bz2
control-center-13ff41f850be21ca45a36b91a85329aea6f77870.tar.xz
control-center-13ff41f850be21ca45a36b91a85329aea6f77870.zip
s/can_focus()/set_can_focus()/
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index e245fe1d..ea036f16 100755
--- a/control-center
+++ b/control-center
@@ -1185,7 +1185,7 @@ sub create_hidden_socket {
select(undef, undef, undef, 0.002); # add delay to prevent black background with oxygen-gtk3 (mga#11969)
return if !$emb_socket;
$emb_socket->show;
- $emb_socket->can_focus(1);
+ $emb_socket->set_can_focus(1);
$emb_socket->grab_focus;
#$emb_socket->get_window->XSetInputFocus; #only need by console (no more embedded until we've vte/zvt binding)
});
@@ -1428,7 +1428,7 @@ sub about_mga_cc() {
my $tree_model = Gtk3::TreeStore->new("Glib::String", "Glib::String", "Glib::String");
my $credits = Gtk3::TextView->new;
my $list = Gtk3::TreeView->new_with_model($tree_model);
- $list->can_focus(0);
+ $list->set_can_focus(0);
each_index { $list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => $::i)) } 0..1;
$list->set_headers_visible(0);