~matttbe/ubuntu/raring/alacarte/lp1076318

« back to all changes in this revision

Viewing changes to debian/patches/02_fix_delete_undo.patch

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Moog
  • Date: 2009-05-12 01:24:41 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20090512012441-hi0l5o5axwijhabv
Tags: 0.12.1-0ubuntu1
* New upstream release: (LP: #375203)
  - Generate the ChangeLog from git-log
  - Drop libglade dependency (Andreu Correa Casablanca)
* debian/patches/01_properties_button.patch
  - update to new version
* debian/patches/02_fix_delete_undo.patch
  - name the patch properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#Ubuntu: https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/225941
 
2
#Upstream : http://bugzilla.gnome.org/show_bug.cgi?id=573680
 
3
diff -Nur -x '*.orig' -x '*~' alacarte-0.11.6/Alacarte/MenuEditor.py alacarte-0.11.6.new/Alacarte/MenuEditor.py
 
4
--- alacarte-0.11.6/Alacarte/MenuEditor.py      2008-09-22 22:48:37.000000000 +0100
 
5
+++ alacarte-0.11.6.new/Alacarte/MenuEditor.py  2008-10-15 19:26:09.000000000 +0100
 
6
@@ -344,8 +344,8 @@
 
7
                self.save()
 
8
 
 
9
        def deleteItem(self, item):
 
10
-               self.__writeItem(item, hidden=True)
 
11
                self.__addUndo([item,])
 
12
+               self.__writeItem(item, hidden=True)
 
13
                self.save()
 
14
 
 
15
        def deleteMenu(self, menu):