From 5ad85ee3c5b052d0027f6024f080921002b98d8e Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 25 Apr 2012 18:11:38 +0200 Subject: [PATCH] [Rigo] "text-plain" -> "text-x-generic" icon (thanks to AstralStorm) --- rigo/data/icons/text-x-generic.svg | 548 ++++++++++++++++++ rigo/rigo/enums.py | 2 +- rigo/rigo/ui/gtk3/controllers/applications.py | 4 +- 3 files changed, 551 insertions(+), 3 deletions(-) create mode 100644 rigo/data/icons/text-x-generic.svg diff --git a/rigo/data/icons/text-x-generic.svg b/rigo/data/icons/text-x-generic.svg new file mode 100644 index 000000000..532f98bbc --- /dev/null +++ b/rigo/data/icons/text-x-generic.svg @@ -0,0 +1,548 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Generic Text + + + text + plaintext + regular + document + + + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rigo/rigo/enums.py b/rigo/rigo/enums.py index 78d80672f..4fa97069e 100644 --- a/rigo/rigo/enums.py +++ b/rigo/rigo/enums.py @@ -36,7 +36,7 @@ class Icons: MISSING_PKG = "dialog-question" # XXX: Not used? GENERIC_MISSING = "gtk-missing-image" INSTALLED_OVERLAY = "rigo-installed" - CONFIGURATION_FILE = "text-plain" + CONFIGURATION_FILE = "text-x-generic" # application actions class AppActions: diff --git a/rigo/rigo/ui/gtk3/controllers/applications.py b/rigo/rigo/ui/gtk3/controllers/applications.py index 5360ef23d..7ffcd564d 100644 --- a/rigo/rigo/ui/gtk3/controllers/applications.py +++ b/rigo/rigo/ui/gtk3/controllers/applications.py @@ -27,7 +27,7 @@ from threading import Lock, Semaphore, Timer from gi.repository import Gtk, GLib, GObject from rigo.paths import CONF_DIR -from rigo.enums import RigoViewStates, AppActions +from rigo.enums import RigoViewStates, AppActions, Icons from rigo.models.application import Application, ApplicationMetadata from rigo.models.preference import Preference from rigo.utils import escape_markup, prepare_markup @@ -597,7 +597,7 @@ class ApplicationsViewController(GObject.Object): 100, _("Show Configuration File Updates"), _("Show (if any) the list of pending configuration file " "updates."), - "text-plain", _update) + Icons.CONFIGURATION_FILE, _update) self._prefc.append(pref) self._view.set_model(self._store)