summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-03-20 10:57:51 +0100
committerGravatar Martin Szulecki2009-03-20 10:57:51 +0100
commit4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c (patch)
tree6883c5492eb34d5a25dfc4157bd3f3dee535e4e4
parentc49eb90c7c813f4701982a57ffa8c553f64a7e9c (diff)
downloadgfax-4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c.tar.gz
gfax-4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c.tar.bz2
Load program icon from IconTheme and set version from defines
-rwxr-xr-xsrc/gui.cs4
1 files 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;