[sabayon] Made the icon a little clearer at 22x22 in the changes window
- From: Scott Balneaves <sbalneav src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sabayon] Made the icon a little clearer at 22x22 in the changes window
- Date: Fri, 25 Dec 2009 04:25:08 +0000 (UTC)
commit 270e2e72b31b34f19e39d7a487a03186bae59f8e
Author: Scott Balneaves <sbalneav ltsp org>
Date: Thu Dec 24 22:24:56 2009 -0600
Made the icon a little clearer at 22x22 in the changes window
admin-tool/sessionwindow.py | 8 +++++---
lib/storage.py | 3 ---
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/admin-tool/sessionwindow.py b/admin-tool/sessionwindow.py
index 09c440d..b473202 100755
--- a/admin-tool/sessionwindow.py
+++ b/admin-tool/sessionwindow.py
@@ -72,12 +72,14 @@ class ProfileChangesModel (gtk.ListStore):
) = range (5)
def __init__ (self, profile):
- gtk.ListStore.__init__ (self, userprofile.ProfileChange, bool, bool, gtk.gdk.Pixbuf, str, str)
+ gtk.ListStore.__init__ (self, userprofile.ProfileChange, bool, bool, gtk.gdk.Pixbuf, str)
icon_theme = gtk.icon_theme_get_default ()
- self.locked_pixbuf = icon_theme.load_icon ("stock_lock", 16, 0)
- self.unlocked_pixbuf = icon_theme.load_icon ("stock_lock-open", 16, 0)
+ self.locked_pixbuf = icon_theme.load_icon ("stock_lock", 22,
+ gtk.ICON_LOOKUP_FORCE_SVG)
+ self.unlocked_pixbuf = icon_theme.load_icon ("stock_lock-open", 22,
+ gtk.ICON_LOOKUP_FORCE_SVG)
self.profile = profile
self.profile.connect ("changed", self.handle_profile_change)
diff --git a/lib/storage.py b/lib/storage.py
index 05b614c..c10eccb 100755
--- a/lib/storage.py
+++ b/lib/storage.py
@@ -511,7 +511,6 @@ class ProfileStorage:
# preserve the mode of those files, then delete them,
# write new versions, and restore the mode.
- dprint ("copy_preserving_permissions('%s', '%s')", src, dest)
got_stat = False
try:
buf = os.stat (dest)
@@ -544,8 +543,6 @@ class ProfileStorage:
item_type = self.__get_item_type (path)
- dprint ("Item Type %s", item_type)
-
if item_type == "directory":
copy_tree (dst_dir, self.temp_path, path, None, overwrite)
elif item_type == "link":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]