Commit 73f9a6f7 authored by Curtis Gedak's avatar Curtis Gedak Committed by Mike Fleetwood

Add missing window title to Help Contents dialog (!45)

When GParted is configured with `--disable-doc` the help documentation
is neither built, nor installed.

With this configuration the Help -> Contents menu displays a message
dialog indicating the "Documentation is not available".

On GNOME 3 no title is shown; however, on some other graphic toolkits
/ window managers an unspecified title is shown.

For example on GParted Live with Fluxbox the following is displayed:

                         Unnamed
                         -------

               Documentation is not available

      This build of gparted is configured without documentation.
      Documentation is available at the project web site.
      https://gparted.org

                           OK

To address the unspecified title on non-GNOME 3 graphic toolkits, add
a title that works with and without GNOME 3.

Closes !45 - Add missing window title to Help Contents dialog
parent 1d8cbd01
Pipeline #87841 passed with stages
in 29 minutes and 24 seconds
......@@ -1842,6 +1842,7 @@ void Win_GParted::menu_help_contents()
tmp_msg += "\n" ;
tmp_msg += "https://gparted.org";
dialog .set_secondary_text( tmp_msg ) ;
dialog .set_title( _("GParted Manual") );
dialog .run() ;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment