gnome-session r4978 - in trunk: . gnome-session
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r4978 - in trunk: . gnome-session
- Date: Wed, 20 Aug 2008 16:56:50 +0000 (UTC)
Author: mccann
Date: Wed Aug 20 16:56:50 2008
New Revision: 4978
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4978&view=rev
Log:
2008-08-20 William Jon McCann <jmccann redhat com>
* NEWS: Update.
* configure.in: Bump version.
* gnome-session/gsm-manager.c (gsm_manager_dispose):
Disconnect signal handlers before disposing.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/configure.in
trunk/gnome-session/gsm-manager.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed Aug 20 16:56:50 2008
@@ -1,3 +1,48 @@
+===============
+Version 2.23.90
+===============
+
+- Remove inhibitors for the client when it disconnects
+- Add log/debugging framework
+- Add signal handling framework
+- Add support for stopping/killing apps
+- Add command line option to override autostart dirs (used by GDM)
+- Improve QES,ES,CES error handling
+- Remove gnome-login-sound (replaced by libcanberra-login-sound)
+- Rework the capplet dialogs to use gobject.
+- Make gnome-session-save tool use D-Bus API
+- Fixed #521413, Fixes for sparse warnings in gnome-session (Kjartan Maraas)
+- Fixed #546410, splash no longer disappear (Frederic Crozat)
+- Fixed #546439, missing include for pid_t (Jens Granseuer)
+- Fixed #546722, Need bump dbus-glib dependency to 0.76 (William Jon McCann)
+- Fixed #546896, crash wen passing null strings to key_file_set_locale_string() (William Jon McCann)
+- Fixed #547069, [patch] Logout by sending XSMP SaveYourselfRequest is broken (William Jon McCann)
+- Fixed #547443, crashes on desktop parsing errors (William Jon McCann)
+- Fixed #547619, gnome-session 2.23.6 doesn't compile on Solaris (Erwann Chenede -)
+- Fixed #547769, part of gnome-wm potentially can break (Ghee Teo)
+- Fixed #548129, gnome-session-properties doesn't create ~/.config/autostart (William Jon McCann)
+- Fixed #548259, g-s thinks that metacity is 'not responding' if it was --replace'd (William Jon McCann)
+
+Translations:
+- Updated ar: Khaled Hosny
+- Updated cs: Petr Kovar
+- Updated es: Jorge GonzÃlez, Jorge Gonzalez
+- Updated et: Ivar Smolin
+- Updated fi: Timo Jyrinki
+- Updated fr: Robert-Andrà Mauchin
+- Updated he: Yair Hershkovitz
+- Updated ml: Harivishnu, Hari Vishnu
+- Updated nb: Kjartan Maraas
+- Updated pl: Tomasz Dominikowski <tdominikowski aviary pl>
++ * pl.po: Updated Polish
+- Updated pt: Duarte Loreto
+- Updated pt_BR: Og Maciel <ogmaciel gnome org>
++ * pt_BR.po: Updated translation Vladimir
+- Updated th: Theppitak Karoonboonyanan
+- Updated zh_HK: Chao-Hsiung Liao
+- Updated zh_TW: Chao-Hsiung Liao
+
+
==============
Version 2.23.6
==============
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Aug 20 16:56:50 2008
@@ -1,4 +1,4 @@
-AC_INIT([gnome-session], [2.23.7],
+AC_INIT([gnome-session], [2.23.90],
[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-session])
AC_CONFIG_SRCDIR([gnome-session])
AC_CONFIG_HEADERS([config.h])
Modified: trunk/gnome-session/gsm-manager.c
==============================================================================
--- trunk/gnome-session/gsm-manager.c (original)
+++ trunk/gnome-session/gsm-manager.c Wed Aug 20 16:56:50 2008
@@ -1715,6 +1715,24 @@
}
static void
+on_store_inhibitor_added (GsmStore *store,
+ const char *id,
+ GsmManager *manager)
+{
+ g_debug ("GsmManager: Inhibitor added: %s", id);
+ g_signal_emit (manager, signals [INHIBITOR_ADDED], 0, id);
+}
+
+static void
+on_store_inhibitor_removed (GsmStore *store,
+ const char *id,
+ GsmManager *manager)
+{
+ g_debug ("GsmManager: Inhibitor removed: %s", id);
+ g_signal_emit (manager, signals [INHIBITOR_REMOVED], 0, id);
+}
+
+static void
gsm_manager_dispose (GObject *object)
{
GsmManager *manager = GSM_MANAGER (object);
@@ -1722,6 +1740,12 @@
g_debug ("GsmManager: disposing manager");
if (manager->priv->clients != NULL) {
+ g_signal_handlers_disconnect_by_func (manager->priv->clients,
+ on_store_client_added,
+ manager);
+ g_signal_handlers_disconnect_by_func (manager->priv->clients,
+ on_store_client_removed,
+ manager);
g_object_unref (manager->priv->clients);
manager->priv->clients = NULL;
}
@@ -1732,6 +1756,13 @@
}
if (manager->priv->inhibitors != NULL) {
+ g_signal_handlers_disconnect_by_func (manager->priv->inhibitors,
+ on_store_inhibitor_added,
+ manager);
+ g_signal_handlers_disconnect_by_func (manager->priv->inhibitors,
+ on_store_inhibitor_removed,
+ manager);
+
g_object_unref (manager->priv->inhibitors);
manager->priv->inhibitors = NULL;
}
@@ -1843,24 +1874,6 @@
}
static void
-on_store_inhibitor_added (GsmStore *store,
- const char *id,
- GsmManager *manager)
-{
- g_debug ("GsmManager: Inhibitor added: %s", id);
- g_signal_emit (manager, signals [INHIBITOR_ADDED], 0, id);
-}
-
-static void
-on_store_inhibitor_removed (GsmStore *store,
- const char *id,
- GsmManager *manager)
-{
- g_debug ("GsmManager: Inhibitor removed: %s", id);
- g_signal_emit (manager, signals [INHIBITOR_REMOVED], 0, id);
-}
-
-static void
gsm_manager_init (GsmManager *manager)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]