From 4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 20 Mar 2009 10:57:51 +0100 Subject: Load program icon from IconTheme and set version from defines --- src/gui.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui.cs b/src/gui.cs index b5ab51a..5a4f64a 100755 --- a/src/gui.cs +++ b/src/gui.cs @@ -41,7 +41,7 @@ namespace gfax { public class Gfax : Program { - const string VERSION = "0.7.7"; + static string VERSION = Defines.VERSION; const string NAME = "Gfax"; const string APPNAME = "Gfax"; @@ -208,7 +208,7 @@ Please login as the root user and create the " StatusText.Buffer = StatusTextBuffer; // Set the program icon - Gdk.Pixbuf Icon = new Gdk.Pixbuf(null, "gfax.png"); + Gdk.Pixbuf Icon = Gtk.IconTheme.Default.LoadIcon ("gfax", 48, 0); gfax.MainWindow = GfaxWindow; -- cgit v1.1-32-gdbae