rhythmbox r6130 - in trunk: . plugins/dontreallyclose
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6130 - in trunk: . plugins/dontreallyclose
- Date: Sat, 17 Jan 2009 00:19:50 +0000 (UTC)
Author: jmatthew
Date: Sat Jan 17 00:19:50 2009
New Revision: 6130
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6130&view=rev
Log:
2009-01-17 Jonathan Matthew <jonathan d14n org>
patch by: Uri Sivan <tartif gmail com>
* plugins/dontreallyclose/dontreallyclose.py:
Set the state/window_visible gconf key to false when not really
closing the window. Fixes #567917.
Modified:
trunk/ChangeLog
trunk/plugins/dontreallyclose/dontreallyclose.py
Modified: trunk/plugins/dontreallyclose/dontreallyclose.py
==============================================================================
--- trunk/plugins/dontreallyclose/dontreallyclose.py (original)
+++ trunk/plugins/dontreallyclose/dontreallyclose.py Sat Jan 17 00:19:50 2009
@@ -20,6 +20,7 @@
# this plugin is more license than plugin.
import rb
+import gconf
class DontReallyClosePlugin(rb.Plugin):
def __init__(self):
@@ -28,6 +29,7 @@
def delete_event_cb(self, widget, event):
widget.hide()
+ gconf.client_get_default().set_bool("/apps/rhythmbox/state/window_visible", 0)
return True
def activate(self, shell):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]