diff options
author | Martin Szulecki | 2009-03-20 10:57:51 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-03-20 10:57:51 +0100 |
commit | 4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c (patch) | |
tree | 6883c5492eb34d5a25dfc4157bd3f3dee535e4e4 | |
parent | c49eb90c7c813f4701982a57ffa8c553f64a7e9c (diff) | |
download | gfax-4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c.tar.gz gfax-4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c.tar.bz2 |
Load program icon from IconTheme and set version from defines
-rwxr-xr-x | src/gui.cs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |