diff --git a/guake/main.py b/guake/main.py index 4357de7a6..ed23fcdad 100644 --- a/guake/main.py +++ b/guake/main.py @@ -122,6 +122,14 @@ def main(): help=_("Toggles the visibility of the terminal window"), ) + parser.add_option( + "--is-visible", + dest="is_visible", + action="store_true", + default=False, + help=_("Return 1 if Guake is visible, 0 otherwise"), + ) + parser.add_option( "--show", dest="show", @@ -367,14 +375,6 @@ def main(): help=_("Show support information"), ) - parser.add_option( - "--is-visible", - dest="is_visible", - action="store_true", - default=False, - help=_("Return 1 if Guake is visible, 0 otherwise"), - ) - # checking mandatory dependencies missing_deps = False diff --git a/releasenotes/notes/feature_isvisible_option-6f15b5f7d3341e7e.yaml b/releasenotes/notes/feature_isvisible_option-6f15b5f7d3341e7e.yaml index c10192089..b478c44d7 100644 --- a/releasenotes/notes/feature_isvisible_option-6f15b5f7d3341e7e.yaml +++ b/releasenotes/notes/feature_isvisible_option-6f15b5f7d3341e7e.yaml @@ -1,57 +1,5 @@ -release_summary: > - Replace this text with content to appear at the top of the section for this - release. - - All of the prelude content is merged together and then rendered - separately from the items listed in other parts of the file, so the text - needs to be worded so that both the prelude and the other items make sense - when read independently. - - Do not use "list" syntax here features: - - | - List new features here followed by the ticket number, for example:: - --is-visible option returns 1 when visible, and 0 when not #1926 -known_issues: - - | - List know issue introduced by the change here, followed if possible by a - ticket number, for example:: - - - such other feature is broken #1234 - -upgrade: - - | - List upgrade note for end users here - -deprecations: - - | - List deprecations notes heres, ie, feature that are being removed by the - change. - -security: - - | - Add security notes here. - -fixes: - - | - Add normal bug fixes here, followed by the ticket number, for example:: - - - broken feature has been fixed #1234 - -translations: - - Only put a list of updated 2 letters language code, for example:: - - translations: - - fr - - de - -notes_for_package_maintainers: - - | - Add notes for package maintainers here. - -other: - - | - Add other notes here.