From dee040220d014379e7c0ab233ce0484c050c1329 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 27 Jul 2013 14:00:26 +0000 Subject: set background color to gray; add POT file --- 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 \n" "Language-Team: LANGUAGE \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 "" -- cgit v0.9.1