[kupfer: 41/67] ui: Change large icon size to 128 px
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 41/67] ui: Change large icon size to 128 px
- Date: Sat, 19 Mar 2011 01:01:11 +0000 (UTC)
commit 5cf6f9721d9e55ad0ce030968d6590a0df12f267
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Mar 16 22:49:03 2011 +0100
ui: Change large icon size to 128 px
This change makes the interface more symmetric and the object panes
close to square.
data/art/icon-list | 4 ++--
kupfer/icons.py | 2 +-
kupfer/ui/browser.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/art/icon-list b/data/art/icon-list
index 9de4212..88346b1 100644
--- a/data/art/icon-list
+++ b/data/art/icon-list
@@ -1,5 +1,5 @@
# IconName File Size
-kupfer-object object.svg 96
+kupfer-object object.svg 128
kupfer-object object.svg 24
-kupfer-object-multiple objects.svg 96
+kupfer-object-multiple objects.svg 128
kupfer-object-multiple objects.svg 24
diff --git a/kupfer/icons.py b/kupfer/icons.py
index d9bb0fe..9a49c16 100644
--- a/kupfer/icons.py
+++ b/kupfer/icons.py
@@ -44,7 +44,7 @@ scheduler.GetScheduler().connect("load", load_kupfer_icons)
def load_plugin_icon(plugin_name, icon_name, icon_data):
"Load icon from @icon_data into the name @icon_name"
- for size in (24, 96):
+ for size in (24, 128):
pixbuf = get_pixbuf_from_data(icon_data, size, size)
gtk.icon_theme_add_builtin_icon(icon_name, size, pixbuf)
pretty.print_debug(__name__, "Loading icon", icon_name, "at", size,
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 47c9783..41e7137 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -510,7 +510,7 @@ class Search (gtk.Bin):
# number rows to skip when press PgUp/PgDown
self.page_step = 7
self.source = None
- self.icon_size = 96
+ self.icon_size = 128
self._old_win_position=None
self._has_search_result = False
# finally build widget
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]