octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56114] GUI should gray out Editor options in


From: Rik
Subject: [Octave-bug-tracker] [bug #56114] GUI should gray out Editor options in Window Menu when Qscintilla is not present
Date: Wed, 10 Apr 2019 12:52:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <https://savannah.gnu.org/bugs/?56114>

                 Summary: GUI should gray out Editor options in Window Menu
when Qscintilla is not present
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 10 Apr 2019 09:52:09 AM PDT
                Category: GUI
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

When the build is configured using '--without-qscintilla' the Editor is not
available in the GUI.  This is fine, but Window menu still displays a checkbox
for showing the Editor, as well as an option for switching to the Editor
window.  Both of those choices should be disabled when the Editor is not
available.

I don't know exactly where to insert the code, but I imagine that after the
construction of the menu we need something like this (pseudocode)


#if ! defined (HAVE_QSCINTILLA)
  mark_qt_menu ("Window/Editor", disabled);
#endif







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56114>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]