open app on single click
This commit is contained in:
parent
0acf8f77ba
commit
e006861643
1 changed files with 3 additions and 4 deletions
|
@ -48,10 +48,9 @@ namespace Webpin {
|
||||||
icon_view.valign = Gtk.Align.START;
|
icon_view.valign = Gtk.Align.START;
|
||||||
icon_view.vexpand = false;
|
icon_view.vexpand = false;
|
||||||
icon_view.homogeneous = true;
|
icon_view.homogeneous = true;
|
||||||
icon_view.column_spacing = 15;
|
icon_view.column_spacing = 24;
|
||||||
icon_view.row_spacing = 15;
|
icon_view.row_spacing = 24;
|
||||||
icon_view.margin = 15;
|
icon_view.margin = 24;
|
||||||
icon_view.activate_on_single_click = false;
|
|
||||||
icon_view.child_activated.connect ((child) => {
|
icon_view.child_activated.connect ((child) => {
|
||||||
if ((child as Gtk.FlowBoxChild).get_child () is ApplicationIcon) {
|
if ((child as Gtk.FlowBoxChild).get_child () is ApplicationIcon) {
|
||||||
var app_icon = (child as Gtk.FlowBoxChild).get_child () as ApplicationIcon;
|
var app_icon = (child as Gtk.FlowBoxChild).get_child () as ApplicationIcon;
|
||||||
|
|
Loading…
Reference in a new issue