From 19a64469f43148d6c4e9e2e3c99625c47a488ec1 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Mon, 12 Dec 2005 15:14:58 +0000
Subject: [PATCH] failsafe to dcraven

---
 src/roster_window.py | 6 +++---
 src/systray.py       | 2 +-
 src/systraywin32.py  | 2 +-
 src/tooltips.py      | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 6a0b957e50..f25c5db3d8 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -1119,7 +1119,7 @@ def build_account_menu(self, account):
 		# using self.jabber_status_images is poopoo
 		iconset = gajim.config.get('iconset')
 		if not iconset:
-			iconset = 'sun'
+			iconset = 'dcraven'
 		path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
 		state_images = self.load_iconset(path)
 
@@ -1201,7 +1201,7 @@ def mk_menu_account(self, event, iter):
 			menu = gtk.Menu()
 			iconset = gajim.config.get('iconset')
 			if not iconset:
-				iconset = 'sun'
+				iconset = 'dcraven'
 			path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
 			for account in gajim.connections:
 				state_images = self.load_iconset(path)
@@ -2173,7 +2173,7 @@ def make_jabber_state_images(self):
 		'''initialise jabber_state_images dict'''
 		iconset = gajim.config.get('iconset')
 		if not iconset:
-			iconset = 'sun'
+			iconset = 'dcraven'
 		path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '32x32')
 		if os.path.exists(path):
 			self.jabber_state_images['32'] = self.load_iconset(path)
diff --git a/src/systray.py b/src/systray.py
index 510573a789..02895ae2f3 100644
--- a/src/systray.py
+++ b/src/systray.py
@@ -234,7 +234,7 @@ def on_quit_menuitem_activate(self, widget):
 	def make_groups_submenus_for_chat_with(self, account):
 		iconset = gajim.config.get('iconset')
 		if not iconset:
-			iconset = 'sun'
+			iconset = 'dcraven'
 		path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
 		state_images = gajim.interface.roster.load_iconset(path)
 		
diff --git a/src/systraywin32.py b/src/systraywin32.py
index 5a02e86bdc..f6d9ae8e7c 100644
--- a/src/systraywin32.py
+++ b/src/systraywin32.py
@@ -319,7 +319,7 @@ def load_icos(self):
 		'''load .ico files and return them to a dic of SHOW --> img_obj'''
 		iconset = str(gajim.config.get('iconset'))
 		if not iconset:
-			iconset = 'sun'
+			iconset = 'dcraven'
 		
 		imgs = {}
 		path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16', 'icos')
diff --git a/src/tooltips.py b/src/tooltips.py
index 6748dbb84b..eef737872a 100644
--- a/src/tooltips.py
+++ b/src/tooltips.py
@@ -210,7 +210,7 @@ def get_accounts_info(self):
 	def fill_table_with_accounts(self, accounts):
 		iconset = gajim.config.get('iconset')
 		if not iconset:
-			iconset = 'sun'
+			iconset = 'dcraven'
 		file_path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
 		for acct in accounts:
 			message = acct['message']
@@ -390,7 +390,7 @@ def populate(self, contacts):
 		else:
 			iconset = gajim.config.get('iconset')
 			if not iconset:
-				iconset = 'sun'
+				iconset = 'dcraven'
 			file_path = os.path.join(gajim.DATA_DIR, 'iconsets', iconset, '16x16')
 
 		files = []
-- 
GitLab