r31913 - in /packages/unstable/nautilus-python/debian: changelog patches/ patches/00git_open_terminal_example_GI.patch patches/series

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Fri Dec 2 06:34:25 UTC 2011


Author: mpitt
Date: Fri Dec  2 06:34:23 2011
New Revision: 31913

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=31913
Log:
Add 00git_open_terminal_example_GI.patch: Use GI GConf bindings in open
terminal example. Patch taken from upstream git.

Added:
    packages/unstable/nautilus-python/debian/patches/
    packages/unstable/nautilus-python/debian/patches/00git_open_terminal_example_GI.patch
    packages/unstable/nautilus-python/debian/patches/series
Modified:
    packages/unstable/nautilus-python/debian/changelog

Modified: packages/unstable/nautilus-python/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/nautilus-python/debian/changelog?rev=31913&op=diff
==============================================================================
--- packages/unstable/nautilus-python/debian/changelog [utf-8] (original)
+++ packages/unstable/nautilus-python/debian/changelog [utf-8] Fri Dec  2 06:34:23 2011
@@ -1,8 +1,13 @@
 nautilus-python (1.1-2) UNRELEASED; urgency=low
 
+  [ Josselin Mouette ]
   * Replace python-gobject by python-gi.
   * Keep a build-dependency on python-gobject-2-dev until the source is 
     fixed.
+
+  [ Martin Pitt ]
+  * Add 00git_open_terminal_example_GI.patch: Use GI GConf bindings in open
+    terminal example. Patch taken from upstream git.
 
  -- Josselin Mouette <joss at debian.org>  Thu, 24 Nov 2011 21:35:00 +0100
 

Added: packages/unstable/nautilus-python/debian/patches/00git_open_terminal_example_GI.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/nautilus-python/debian/patches/00git_open_terminal_example_GI.patch?rev=31913&op=file
==============================================================================
--- packages/unstable/nautilus-python/debian/patches/00git_open_terminal_example_GI.patch (added)
+++ packages/unstable/nautilus-python/debian/patches/00git_open_terminal_example_GI.patch [utf-8] Fri Dec  2 06:34:23 2011
@@ -1,0 +1,36 @@
+From 0d1192b0b600d27a25ebdae045f7ad3e8145529e Mon Sep 17 00:00:00 2001
+From: Adam Plumb <adamplumb at gmail.com>
+Date: Mon, 17 Oct 2011 14:39:08 -0500
+Subject: [PATCH 1/2] Fixed the open terminal example to use the dynamic GConf
+ bindings
+
+---
+ examples/open-terminal.py |    8 +++-----
+ 1 files changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/examples/open-terminal.py b/examples/open-terminal.py
+index 1a12f01..7c70844 100644
+--- a/examples/open-terminal.py
++++ b/examples/open-terminal.py
+@@ -2,15 +2,13 @@
+ import os
+ import urllib
+ 
+-import gconf
+-
+-from gi.repository import Nautilus, GObject
++from gi.repository import Nautilus, GObject, GConf
+ 
+ TERMINAL_KEY = '/desktop/gnome/applications/terminal/exec'
+ 
+-class OpenTerminalExtension(GObject.GObject, Nautilus.MenuProvider):
++class OpenTerminalExtension(Nautilus.MenuProvider, GObject.GObject):
+     def __init__(self):
+-        self.client = gconf.client_get_default()
++        self.client = GConf.Client.get_default()
+         
+     def _open_terminal(self, file):
+         filename = urllib.unquote(file.get_uri()[7:])
+-- 
+1.7.7.3
+

Added: packages/unstable/nautilus-python/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/nautilus-python/debian/patches/series?rev=31913&op=file
==============================================================================
--- packages/unstable/nautilus-python/debian/patches/series (added)
+++ packages/unstable/nautilus-python/debian/patches/series [utf-8] Fri Dec  2 06:34:23 2011
@@ -1,0 +1,1 @@
+00git_open_terminal_example_GI.patch




More information about the pkg-gnome-commits mailing list