Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-07-27 14:00:26 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-07-27 14:00:26 (GMT)
commitdee040220d014379e7c0ab233ce0484c050c1329 (patch)
tree5ea1758a9b226afa568ccaa8251e71c6d05282a0
parentd44930e7f6ad83fb0da93c92c55e78e15ee6dbc5 (diff)
set background color to gray; add POT file
-rw-r--r--NEWS7
-rw-r--r--activity.py3
-rw-r--r--activity/activity.info2
-rw-r--r--po/ClipArt.pot6
4 files changed, 14 insertions, 4 deletions
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..5ffde42
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,7 @@
+2
+
+* Set icon view background color to gray
+
+1
+
+* New activity \ No newline at end of file
diff --git a/activity.py b/activity.py
index b892431..88d9869 100644
--- a/activity.py
+++ b/activity.py
@@ -78,6 +78,9 @@ class ClipArtActivity(activity.Activity):
icon_view.set_selection_mode(Gtk.SelectionMode.SINGLE)
icon_view.connect('selection-changed', self._clipart_selected, store)
icon_view.set_pixbuf_column(0)
+ rgba = Gdk.RGBA()
+ rgba.red, rgba.green, rgba.blue, rgba.alpha = 0.67, 0.67, 0.67, 1.0
+ icon_view.override_background_color(Gtk.StateFlags.NORMAL, rgba)
icon_view.grab_focus()
scrolled_window.add(icon_view)
icon_view.show()
diff --git a/activity/activity.info b/activity/activity.info
index 6a1ce09..8e71399 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -4,5 +4,5 @@ bundle_id = org.sugarlabs.ClipArt
icon = activity
exec = sugar-activity activity.ClipArtActivity
show_launcher = yes
-activity_version = 1
+activity_version = 2
summary = displays available clipart that can be saved to the Sugar Journal
diff --git a/po/ClipArt.pot b/po/ClipArt.pot
index a73a80e..13a924d 100644
--- a/po/ClipArt.pot
+++ b/po/ClipArt.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-07-25 09:50-0400\n"
+"POT-Creation-Date: 2013-07-27 09:59-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -29,10 +29,10 @@ msgstr ""
msgid "Save to Journal"
msgstr ""
-#: activity.py:134
+#: activity.py:137
msgid "Scanning for clipart"
msgstr ""
-#: activity.py:135
+#: activity.py:138
msgid "Please wait."
msgstr ""