commit 1b287083cd179057862e8c593ad62e758fdd2875
parent 340db214414c42b4d9dfe94a94380456c9795e9c
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Tue, 22 Feb 2011 20:38:42 +0800
Fix the comment string in the About dialog
Partially fixes issue 31.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/spek-window.vala b/src/spek-window.vala
@@ -22,7 +22,6 @@ using Gtk;
namespace Spek {
public class Window : Gtk.Window {
- private const string full_title = _("Spek - Acoustic Spectrum Analyser");
private MessageBar message_bar;
private Spectrogram spectrogram;
private string cur_dir;
@@ -34,7 +33,7 @@ namespace Spek {
};
public Window (string? file_name) {
- title = full_title;
+ title = _("Spek - Acoustic Spectrum Analyser");
set_default_icon_name ("spek");
set_default_size (640, 480);
destroy.connect (Gtk.main_quit);
@@ -212,7 +211,7 @@ namespace Spek {
dlg.program_name = "Spek";
dlg.version = Config.PACKAGE_VERSION;
dlg.copyright = _("Copyright \xc2\xa9 2010 Alexander Kojevnikov");
- dlg.comments = full_title;
+ dlg.comments = title;
dlg.set ("authors", authors);
// dlg.set ("documenters", documenters);
dlg.set ("artists", artists);