From f7bfc040a062b3f5a3549abd87463221c667f1d5 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 31 Jul 2017 00:16:24 +1000 Subject: Made logo code more concise --- src/windows-editor.adb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/windows-editor.adb') diff --git a/src/windows-editor.adb b/src/windows-editor.adb index 9696174..cfcf191 100644 --- a/src/windows-editor.adb +++ b/src/windows-editor.adb @@ -1,14 +1,5 @@ -with - - FLTK.Widgets.Groups.Windows.Double, - FLTK.Widgets.Groups.Text_Displays.Text_Editors, - FLTK.Widgets.Menus.Menu_Bars, - FLTK.Widgets.Menus.Menu_Buttons, - FLTK.Text_Buffers; - - package body Windows.Editor is @@ -63,6 +54,8 @@ package body Windows.Editor is This.Set_Resizable (This.Editor); This.Set_Size_Range (Min_Editor_Width, Min_Editor_Height); + This.Set_Icon (Logo); + This.Editor.Remove_Key_Binding (Mod_Ctrl + 'z'); end return; end Create; -- cgit