[billreminder/fresh] Added application icon and title.
- From: Og B. Maciel <ogmaciel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [billreminder/fresh] Added application icon and title.
- Date: Tue, 26 Jan 2010 01:44:11 +0000 (UTC)
commit 256e2188adb207548e2d3c3e39854f83cef6d840
Author: Og B. Maciel <ogmaciel gnome org>
Date: Mon Jan 25 19:42:36 2010 -0500
Added application icon and title.
src/gui/new.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/new.py b/src/gui/new.py
index b203a42..1266e3c 100755
--- a/src/gui/new.py
+++ b/src/gui/new.py
@@ -3,6 +3,7 @@
import gtk
from db import entities
+from lib import common
from lib import dialogs
from lib import utils
import widgets
@@ -22,6 +23,9 @@ class MainWindow:
# Create a new window
self.ui = utils.load_ui_file("new.ui")
self.window = self.ui.get_object("main_window")
+ self.window.set_title("%s" % common.APPNAME)
+ self.window.set_icon_from_file(common.APP_ICON)
+
self.actions = Actions()
self.upcoming = widgets.BillTree()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]