commit 3c999975573c8eded273a56d5e587810ed270e02
parent fa2d18ea6ef070575855be05ec75082b1cd482ed
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Sat, 8 May 2010 18:45:37 +1000
Set application title and icon
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/spek-window.vala b/src/spek-window.vala
@@ -7,7 +7,8 @@ namespace Spek {
private Spectrogram spectrogram;
public Window () {
- this.title = Config.PACKAGE_STRING;
+ this.title = _("Spek - Acoustic Spectrum Analyzer");
+ this.set_icon_name ("spek");
this.set_default_size (640, 480);
this.destroy.connect (Gtk.main_quit);
@@ -56,7 +57,7 @@ namespace Spek {
private void on_open_clicked () {
var chooser = new FileChooserDialog (
- _ ("Open File"), this, FileChooserAction.OPEN,
+ _("Open File"), this, FileChooserAction.OPEN,
STOCK_CANCEL, ResponseType.CANCEL,
STOCK_OPEN, ResponseType.ACCEPT, null);
if (chooser.run () == ResponseType.ACCEPT) {
@@ -75,7 +76,7 @@ namespace Spek {
"program-name", "Spek",
"version", Config.PACKAGE_VERSION,
"copyright", _("Copyright © 2010 Alexander Kojevnikov"),
- "comments", _("Spek - Audio Spectrum Viewer"),
+ "comments", this.title,
"authors", authors,
// TODO
// "documenters", documenters,