alacarte r354 - in trunk: . Alacarte po



Author: twatkins
Date: Sun Feb 17 05:41:54 2008
New Revision: 354
URL: http://svn.gnome.org/viewvc/alacarte?rev=354&view=rev

Log:
2008-02-16  Travis Watkins  <amaranth ubuntu com>

        * Alacarte/MainWindow.py: _really_ fix that drag-and-drop problem
        * po/POTFILES.in: make distcheck work


Modified:
   trunk/Alacarte/MainWindow.py
   trunk/ChangeLog
   trunk/po/POTFILES.in

Modified: trunk/Alacarte/MainWindow.py
==============================================================================
--- trunk/Alacarte/MainWindow.py	(original)
+++ trunk/Alacarte/MainWindow.py	Sun Feb 17 05:41:54 2008
@@ -517,6 +517,8 @@
 				self.editor.moveSeparator(item, item.get_parent(), before, after)
 			context.finish(True, True, etime)
 		elif selection.target == 'text/plain':
+			if selection.data == None:
+				return False
 			menus, iter = self.tree.get_widget('menu_tree').get_selection().get_selected()
 			parent = menus[iter][2]
 			drop_info = treeview.get_dest_row_at_pos(x, y)

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Sun Feb 17 05:41:54 2008
@@ -2,4 +2,5 @@
 Alacarte/MainWindow.py
 Alacarte/MenuEditor.py
 alacarte.desktop.in.in
+alacarte.desktop.in
 alacarte.glade



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]