gnome-power-manager r3291 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3291 - in trunk: . src
- Date: Fri, 20 Feb 2009 13:27:05 +0000 (UTC)
Author: rhughes
Date: Fri Feb 20 13:27:05 2009
New Revision: 3291
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3291&view=rev
Log:
2009-02-20 Richard Hughes <richard hughsie com>
* src/gpm-main.c: (main):
We're not panel, so don't register with the session.
Modified:
trunk/ChangeLog
trunk/src/gpm-main.c
Modified: trunk/src/gpm-main.c
==============================================================================
--- trunk/src/gpm-main.c (original)
+++ trunk/src/gpm-main.c Fri Feb 20 13:27:05 2009
@@ -203,9 +203,12 @@
gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
GPM_DATA G_DIR_SEPARATOR_S "icons");
- /* we have to register with the session as we are starting up with the panel */
+ /* optionally register with the session */
session = gpm_session_new ();
- gpm_session_register_client (session, "gnome-power-manager", getenv ("DESKTOP_AUTOSTART_ID"));
+ if (FALSE) {
+ egg_warning ("register with the session requires logout handling");
+ gpm_session_register_client (session, "gnome-power-manager", getenv ("DESKTOP_AUTOSTART_ID"));
+ }
/* create a new gui object */
manager = gpm_manager_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]