summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-13 10:07:08 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-13 10:07:08 +0000
commitc6bcc7c6ac69cb78c89b1e300d4e273ec0bd250b (patch)
tree56135f247f9aee275ef11a0f071df415f9309663 /gnome-base/gnome-shell/files
parentPrepend doc path with EPREFIX (diff)
downloadgentoo-2-c6bcc7c6ac69cb78c89b1e300d4e273ec0bd250b.tar.gz
gentoo-2-c6bcc7c6ac69cb78c89b1e300d4e273ec0bd250b.tar.bz2
gentoo-2-c6bcc7c6ac69cb78c89b1e300d4e273ec0bd250b.zip
Depend on accountsservice[introspection] (bug #390361, thanks to Cesko Voeten <cvoeten@gmail.com> for reporting).
Also, drop old 3.0 version. (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-shell/files')
-rw-r--r--gnome-base/gnome-shell/files/gnome-shell-3.0.2-unbreak-extension-css.patch93
-rw-r--r--gnome-base/gnome-shell/files/gnome-shell-3.0.2-user-removed-signals.patch33
2 files changed, 0 insertions, 126 deletions
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.0.2-unbreak-extension-css.patch b/gnome-base/gnome-shell/files/gnome-shell-3.0.2-unbreak-extension-css.patch
deleted file mode 100644
index 75c6aee62d62..000000000000
--- a/gnome-base/gnome-shell/files/gnome-shell-3.0.2-unbreak-extension-css.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 2674d96e547b27ed5c377804c1059bdfd926086e Mon Sep 17 00:00:00 2001
-From: Giovanni Campagna <gcampagna@src.gnome.org>
-Date: Thu, 02 Jun 2011 15:05:08 +0000
-Subject: StTheme: retrive the list of custom stylesheets and use it in loadTheme()
-
-Using the list of stylesheets loaded with st_theme_load_stylesheet(),
-one can build an StTheme that is completely identical to the previous
-one, except for one property (application-stylesheet).
-This allows rt and the user-theme extension to work while respecting
-the theming of other extensions.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=650971
----
-diff --git a/js/ui/main.js b/js/ui/main.js
-index 1d27b4c..c0f4845 100644
---- a/js/ui/main.js
-+++ b/js/ui/main.js
-@@ -393,12 +393,21 @@ function setThemeStylesheet(cssStylesheet)
- */
- function loadTheme() {
- let themeContext = St.ThemeContext.get_for_stage (global.stage);
-+ let previousTheme = themeContext.get_theme();
-
- let cssStylesheet = _defaultCssStylesheet;
- if (_cssStylesheet != null)
- cssStylesheet = _cssStylesheet;
-
- let theme = new St.Theme ({ application_stylesheet: cssStylesheet });
-+
-+ if (previousTheme) {
-+ let customStylesheets = previousTheme.get_custom_stylesheets();
-+
-+ for (let i = 0; i < customStylesheets.length; i++)
-+ theme.load_stylesheet(customStylesheets[i]);
-+ }
-+
- themeContext.set_theme (theme);
- }
-
-diff --git a/src/st/st-theme.c b/src/st/st-theme.c
-index 326d9de..2058e32 100644
---- a/src/st/st-theme.c
-+++ b/src/st/st-theme.c
-@@ -256,6 +256,30 @@ st_theme_unload_stylesheet (StTheme *theme,
- cr_stylesheet_unref (stylesheet);
- }
-
-+/**
-+ * st_theme_get_custom_stylesheets:
-+ * @theme: an #StTheme
-+ *
-+ * Returns: (transfer full) (element-type utf8): the list of stylesheet filenames
-+ * that were loaded with st_theme_load_stylesheet()
-+ */
-+GSList*
-+st_theme_get_custom_stylesheets (StTheme *theme)
-+{
-+ GSList *result = NULL;
-+ GSList *iter;
-+
-+ for (iter = theme->custom_stylesheets; iter; iter = iter->next)
-+ {
-+ CRStyleSheet *stylesheet = iter->data;
-+ gchar *filename = g_hash_table_lookup (theme->filenames_by_stylesheet, stylesheet);
-+
-+ result = g_slist_prepend (result, g_strdup (filename));
-+ }
-+
-+ return result;
-+}
-+
- static GObject *
- st_theme_constructor (GType type,
- guint n_construct_properties,
-diff --git a/src/st/st-theme.h b/src/st/st-theme.h
-index 003c2a7..0a044bf 100644
---- a/src/st/st-theme.h
-+++ b/src/st/st-theme.h
-@@ -51,9 +51,9 @@ StTheme *st_theme_new (const char *application_stylesheet,
- const char *theme_stylesheet,
- const char *default_stylesheet);
-
--gboolean st_theme_load_stylesheet (StTheme *theme, const char *path, GError **error);
--
--void st_theme_unload_stylesheet (StTheme *theme, const char *path);
-+gboolean st_theme_load_stylesheet (StTheme *theme, const char *path, GError **error);
-+void st_theme_unload_stylesheet (StTheme *theme, const char *path);
-+GSList *st_theme_get_custom_stylesheets (StTheme *theme);
-
- G_END_DECLS
-
---
-cgit v0.9.0.2
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.0.2-user-removed-signals.patch b/gnome-base/gnome-shell/files/gnome-shell-3.0.2-user-removed-signals.patch
deleted file mode 100644
index adae1f0cb5b9..000000000000
--- a/gnome-base/gnome-shell/files/gnome-shell-3.0.2-user-removed-signals.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9a7f3dbd2030a5e1b54297f1aa7cf228eccafb27 Mon Sep 17 00:00:00 2001
-From: Ray Strode <rstrode@redhat.com>
-Date: Tue, 24 May 2011 22:15:10 -0400
-Subject: [PATCH] gdm: ignore user-removed signals for untracked users
-
-If we don't know about a user, we don't care if it goes away,
-and we shouldn't try to remove it from the book keeping.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=647893
----
- src/gdmuser/gdm-user-manager.c | 7 +++++++
- 1 files changed, 7 insertions(+), 0 deletions(-)
-
-diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c
-index e7ca833..561be32 100644
---- a/src/gdmuser/gdm-user-manager.c
-+++ b/src/gdmuser/gdm-user-manager.c
-@@ -887,6 +887,13 @@ on_user_removed_in_accounts_service (DBusGProxy *proxy,
-
- user = g_hash_table_lookup (manager->priv->users_by_object_path, object_path);
-
-+ if (user == NULL) {
-+ g_debug ("GdmUserManager: ignoring untracked user %s", object_path);
-+ return;
-+ } else {
-+ g_debug ("GdmUserManager: tracked user %s removed from accounts service", object_path);
-+ }
-+
- manager->priv->new_users = g_slist_remove (manager->priv->new_users, user);
-
- remove_user (manager, user);
---
-1.7.5.1 \ No newline at end of file