Hello community,

here is the log from the commit of package mate-menu for openSUSE:Factory 
checked in at 2017-06-12 15:34:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-menu (Old)
 and      /work/SRC/openSUSE:Factory/.mate-menu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-menu"

Mon Jun 12 15:34:52 2017 rev:13 rq:502899 version:17.10.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes      2017-06-09 
15:58:47.787905908 +0200
+++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2017-06-12 
15:35:13.852673228 +0200
@@ -1,0 +2,12 @@
+Sun Jun 11 17:10:09 UTC 2017 - [email protected]
+
+- Update to version 17.10.3:
+  * Add DuckDckGo as a web search engine option.
+  * Make search engines configurable under
+    Preferences -> Applications.
+  * Fix missing drag-data-get event handler.
+  * Fix launching menu editors.
+- Add mate-menu-17.10.3-fix-launching.patch: Fix entries launching
+  with arguments.
+
+-------------------------------------------------------------------

Old:
----
  mate-menu_17.10.2.orig.tar.gz

New:
----
  mate-menu-17.10.3-fix-launching.patch
  mate-menu_17.10.3.orig.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mate-menu.spec ++++++
--- /var/tmp/diff_new_pack.NUSFOY/_old  2017-06-12 15:35:19.091934269 +0200
+++ /var/tmp/diff_new_pack.NUSFOY/_new  2017-06-12 15:35:19.095933704 +0200
@@ -17,9 +17,9 @@
 
 
 %define _name   mate_menu
-%define _rev    78639eb63111
+%define _rev    63ffcb04fac3
 Name:           mate-menu
-Version:        17.10.2
+Version:        17.10.3
 Release:        0
 Summary:        Advanced MATE menu
 License:        GPL-2.0+
@@ -28,6 +28,8 @@
 Source:         
https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}.orig.tar.gz
 # PATCH-FEATURE-OPENSUSE mate-menu-yast2-software.patch [email protected] -- 
Use YaST2 and GNOME PackageKit package managers.
 Patch0:         %{name}-yast2-software.patch
+# PATCH-FIX-UPSTREAM mate-menu-17.10.3-fix-launching.patch [email protected] 
-- Fix entries launching with arguments.
+Patch1:         %{name}-17.10.3-fix-launching.patch
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
 BuildRequires:  python >= 2.7
@@ -66,6 +68,7 @@
 %prep
 %setup -q -n ubuntu-mate-%{name}-%{_rev}
 %patch0 -p1
+%patch1 -p1
 sed -i 's/su-to-root/xdg-su/g' %{_name}/execute.py
 
 %build

++++++ mate-menu-17.10.3-fix-launching.patch ++++++
--- a/mate_menu/execute.py
+++ b/mate_menu/execute.py
@@ -55,9 +55,8 @@ def Execute( cmd , commandCwd=None):
        cmd = RemoveArgs(cmd)
 
        try:
-               os.chdir( cwd )
-               string = ' '.join(cmd)
-               subprocess.Popen([string])
+               os.chdir(cwd)
+               subprocess.Popen(cmd)
                return True
        except Exception, detail:
                print detail
++++++ mate-menu_17.10.2.orig.tar.gz -> mate-menu_17.10.3.orig.tar.gz ++++++
Binary files old/ubuntu-mate-mate-menu-78639eb63111/data/icons/ddg.ico and 
new/ubuntu-mate-mate-menu-63ffcb04fac3/data/icons/ddg.ico differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-78639eb63111/data/mate-menu-config.glade 
new/ubuntu-mate-mate-menu-63ffcb04fac3/data/mate-menu-config.glade
--- old/ubuntu-mate-mate-menu-78639eb63111/data/mate-menu-config.glade  
2017-05-19 13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/data/mate-menu-config.glade  
2017-06-10 18:13:39.000000000 +0200
@@ -954,6 +954,106 @@
                       </packing>
                     </child>
                     <child>
+                      <object class="GtkCheckButton" id="enable_ddg">
+                        <property name="label" 
translatable="yes">DuckDuckGo</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">9</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="enable_google">
+                        <property name="label" 
translatable="yes">Google</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">10</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="enable_wikipedia">
+                        <property name="label" 
translatable="yes">Wikipedia</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">11</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="enable_dictionary">
+                        <property name="label" 
translatable="yes">Dictionary</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">12</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="enable_computer">
+                        <property name="label" 
translatable="yes">Computer</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">13</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="searchEngineTitleLabel">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+                        <property name="label" translatable="yes">Search 
Engines:</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">8</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
                       <placeholder/>
                     </child>
                     <child>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-78639eb63111/data/plugins/org.mate.mate-menu.plugins.applications.gschema.xml
 
new/ubuntu-mate-mate-menu-63ffcb04fac3/data/plugins/org.mate.mate-menu.plugins.applications.gschema.xml
--- 
old/ubuntu-mate-mate-menu-78639eb63111/data/plugins/org.mate.mate-menu.plugins.applications.gschema.xml
     2017-05-19 13:04:25.000000000 +0200
+++ 
new/ubuntu-mate-mate-menu-63ffcb04fac3/data/plugins/org.mate.mate-menu.plugins.applications.gschema.xml
     2017-06-10 18:13:39.000000000 +0200
@@ -110,6 +110,36 @@
       <description></description>
     </key>
 
+    <key type="b" name="enable-ddg">
+      <default>true</default>
+      <summary></summary>
+      <description></description>
+    </key>
+
+    <key type="b" name="enable-google">
+      <default>true</default>
+      <summary></summary>
+      <description></description>
+    </key>
+
+    <key type="b" name="enable-wikipedia">
+      <default>true</default>
+      <summary></summary>
+      <description></description>
+    </key>
+
+    <key type="b" name="enable-dictionary">
+      <default>true</default>
+      <summary></summary>
+      <description></description>
+    </key>
+
+    <key type="b" name="enable-computer">
+      <default>true</default>
+      <summary></summary>
+      <description></description>
+    </key>
+
   </schema>
 
 </schemalist>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-78639eb63111/lib/mate-menu-config.py 
new/ubuntu-mate-mate-menu-63ffcb04fac3/lib/mate-menu-config.py
--- old/ubuntu-mate-mate-menu-78639eb63111/lib/mate-menu-config.py      
2017-05-19 13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/lib/mate-menu-config.py      
2017-06-10 18:13:39.000000000 +0200
@@ -79,6 +79,13 @@
         self.builder.get_object("mainbuttonLabel").set_text(_("Main button"))
         self.builder.get_object("pluginsLabel").set_text(_("Plugins"))
 
+        self.builder.get_object("searchEngineTitleLabel").set_text(_("Search 
Engines:"))
+        self.builder.get_object("enable_ddg").set_label(_("DuckDuckGo"))
+        self.builder.get_object("enable_google").set_label(_("Google"))
+        self.builder.get_object("enable_wikipedia").set_label(_("Wikipedia"))
+        self.builder.get_object("enable_dictionary").set_label(_("Dictionary"))
+        self.builder.get_object("enable_computer").set_label(_("Computer"))
+
         
self.builder.get_object("backgroundColorLabel").set_text(_("Background:"))
         self.builder.get_object("headingColorLabel").set_text(_("Headings:"))
         self.builder.get_object("borderColorLabel").set_text(_("Borders:"))
@@ -133,6 +140,11 @@
         self.hover = self.builder.get_object( "hover" )
         self.hoverDelay = self.builder.get_object( "hoverDelay" )
         self.rememberFilter = self.builder.get_object( "remember_filter" )
+        self.enableDdg = self.builder.get_object( "enable_ddg" )
+        self.enableGoogle = self.builder.get_object( "enable_google" )
+        self.enableWikipedia = self.builder.get_object( "enable_wikipedia" )
+        self.enableDictionary = self.builder.get_object( "enable_dictionary" )
+        self.enableComputer = self.builder.get_object( "enable_computer" )
         self.iconSize = self.builder.get_object( "iconSize" )
         self.favIconSize = self.builder.get_object( "favIconSize" )
         self.placesIconSize = self.builder.get_object( "placesIconSize" )
@@ -210,6 +222,12 @@
         self.bindGSettingsValueToWidget( self.settingsApplications, "int", 
"fav-cols", self.favCols, "value-changed", self.favCols.set_value, 
self.favCols.get_value )
         self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"remember-filter", self.rememberFilter, "toggled", 
self.rememberFilter.set_active, self.rememberFilter.get_active)
 
+        self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"enable-ddg", self.enableDdg, "toggled", self.enableDdg.set_active, 
self.enableDdg.get_active)
+        self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"enable-google", self.enableGoogle, "toggled", self.enableGoogle.set_active, 
self.enableGoogle.get_active)
+        self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"enable-wikipedia", self.enableWikipedia, "toggled", 
self.enableWikipedia.set_active, self.enableWikipedia.get_active)
+        self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"enable-dictionary", self.enableDictionary, "toggled", 
self.enableDictionary.set_active, self.enableDictionary.get_active)
+        self.bindGSettingsValueToWidget( self.settingsApplications, "bool", 
"enable-computer", self.enableComputer, "toggled", 
self.enableComputer.set_active, self.enableComputer.get_active)
+
         self.bindGSettingsValueToWidget( self.settingsPlaces, "int", 
"icon-size", self.placesIconSize, "value-changed", 
self.placesIconSize.set_value, self.placesIconSize.get_value )
         self.bindGSettingsValueToWidget( self.settingsSystem, "int", 
"icon-size", self.systemIconSize, "value-changed", 
self.systemIconSize.set_value, self.systemIconSize.get_value )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ubuntu-mate-mate-menu-78639eb63111/lib/mate-menu.py 
new/ubuntu-mate-mate-menu-63ffcb04fac3/lib/mate-menu.py
--- old/ubuntu-mate-mate-menu-78639eb63111/lib/mate-menu.py     2017-05-19 
13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/lib/mate-menu.py     2017-06-10 
18:13:39.000000000 +0200
@@ -19,7 +19,7 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-__VERSION__='17.10.2'
+__VERSION__='17.10.3'
 
 import gc
 import gi
@@ -734,9 +734,16 @@
         Execute( os.path.join( "/", "usr", "lib", "mate-menu", 
"mate-menu-config.py" ) )
 
     def showMenuEditor( self, action, userdata = None ):
-        try:
+        def pathExists(filename):
+            if os.path.exists(filename):
+                return True
+            for path in os.environ["PATH"].split(os.pathsep):
+                if os.path.exists(os.path.join(path, filename)):
+                    return True
+
+        if pathExists("menulibre"):
             Execute("menulibre")
-        except:
+        elif pathExists("mozo"):
             Execute("mozo")
 
     def showMenu( self, widget=None, event=None ):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-menu-78639eb63111/mate_menu/plugins/applications.py 
new/ubuntu-mate-mate-menu-63ffcb04fac3/mate_menu/plugins/applications.py
--- old/ubuntu-mate-mate-menu-78639eb63111/mate_menu/plugins/applications.py    
2017-05-19 13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/mate_menu/plugins/applications.py    
2017-06-10 18:13:39.000000000 +0200
@@ -245,6 +245,11 @@
             self.settings.bindGSettingsEntryToVar( "bool", "do-not-filter", 
self, "donotfilterapps" )
             self.settings.bindGSettingsEntryToVar( "string", "search-command", 
self, "searchtool" )
             self.settings.bindGSettingsEntryToVar( "int", "default-tab", self, 
"defaultTab" )
+            self.settings.bindGSettingsEntryToVar( "bool", "enable-ddg", self, 
"enableddg" )
+            self.settings.bindGSettingsEntryToVar( "bool", "enable-google", 
self, "enablegoogle" )
+            self.settings.bindGSettingsEntryToVar( "bool", "enable-wikipedia", 
self, "enablewikipedia" )
+            self.settings.bindGSettingsEntryToVar( "bool", 
"enable-dictionary", self, "enabledictionary" )
+            self.settings.bindGSettingsEntryToVar( "bool", "enable-computer", 
self, "enablecomputer" )
         except Exception, detail:
             print detail
         self.currentFavCol = 0
@@ -432,6 +437,11 @@
         self.categoryhoverdelay = self.settings.get( "int", 
"category-hover-delay")
         self.showapplicationcomments = self.settings.get( "bool", 
"show-application-comments")
         self.rememberFilter = self.settings.get( "bool", "remember-filter")
+        self.enableddg = self.settings.get( "bool", "enable-ddg")
+        self.enablegoogle = self.settings.get( "bool", "enable-google")
+        self.enablewikipedia = self.settings.get( "bool", "enable-wikipedia")
+        self.enabledictionary = self.settings.get( "bool", "enable-dictionary")
+        self.enablecomputer = self.settings.get( "bool", "enable-computer")
 
         self.lastActiveTab =  self.settings.get( "int", "last-active-tab")
         self.defaultTab = self.settings.get( "int", "default-tab")
@@ -564,21 +574,40 @@
     def add_search_suggestions(self, text):
 
         text = "<b>%s</b>" % text
+        focused = False
 
-        suggestionButton = SuggestionButton("list-add", self.iconSize, "")
-        suggestionButton.connect("clicked", self.search_google)
-        suggestionButton.set_text(_("Search Google for %s") % text)
-        
suggestionButton.set_image("/usr/share/mate-menu/icons/search_engines/google.ico")
-        self.applicationsBox.add(suggestionButton)
-        self.applicationsBox.get_children()[-1].grab_focus()
-        self.suggestions.append(suggestionButton)
-
-        suggestionButton = SuggestionButton("list-add", self.iconSize, "")
-        suggestionButton.connect("clicked", self.search_wikipedia)
-        suggestionButton.set_text(_("Search Wikipedia for %s") % text)
-        
suggestionButton.set_image("/usr/share/mate-menu/icons/search_engines/wikipedia.ico")
-        self.applicationsBox.add(suggestionButton)
-        self.suggestions.append(suggestionButton)
+        if self.enableddg:
+            suggestionButton = SuggestionButton("list-add", self.iconSize, "")
+            suggestionButton.connect("clicked", self.search_ddg)
+            suggestionButton.set_text(_("Search DuckDuckGo for %s") % text)
+            
suggestionButton.set_image("/usr/share/mate-menu/icons/search_engines/ddg.ico")
+            self.applicationsBox.add(suggestionButton)
+            if not focused:
+                self.applicationsBox.get_children()[-1].grab_focus()
+                focused = True
+            self.suggestions.append(suggestionButton)
+
+        if self.enablegoogle:
+            suggestionButton = SuggestionButton("list-add", self.iconSize, "")
+            suggestionButton.connect("clicked", self.search_google)
+            suggestionButton.set_text(_("Search Google for %s") % text)
+            
suggestionButton.set_image("/usr/share/mate-menu/icons/search_engines/google.ico")
+            self.applicationsBox.add(suggestionButton)
+            if not focused:
+                self.applicationsBox.get_children()[-1].grab_focus()
+                focused = True
+            self.suggestions.append(suggestionButton)
+
+        if self.enablewikipedia:
+            suggestionButton = SuggestionButton("list-add", self.iconSize, "")
+            suggestionButton.connect("clicked", self.search_wikipedia)
+            suggestionButton.set_text(_("Search Wikipedia for %s") % text)
+            
suggestionButton.set_image("/usr/share/mate-menu/icons/search_engines/wikipedia.ico")
+            self.applicationsBox.add(suggestionButton)
+            if not focused:
+                self.applicationsBox.get_children()[-1].grab_focus()
+                focused = True
+            self.suggestions.append(suggestionButton)
 
         separator = Gtk.EventBox()
         separator.add(Gtk.Separator( orientation=Gtk.Orientation.HORIZONTAL ))
@@ -590,18 +619,26 @@
         self.applicationsBox.add(separator)
         self.suggestions.append(separator)
 
-        suggestionButton = SuggestionButton("list-add", self.iconSize, "")
-        suggestionButton.connect("clicked", self.search_dictionary)
-        suggestionButton.set_text(_("Lookup %s in Dictionary") % text)
-        suggestionButton.set_image("/usr/share/mate-menu/icons/dictionary.png")
-        self.applicationsBox.add(suggestionButton)
-        self.suggestions.append(suggestionButton)
-
-        suggestionButton = SuggestionButton("edit-find", self.iconSize, "")
-        suggestionButton.connect("clicked", self.Search)
-        suggestionButton.set_text(_("Search Computer for %s") % text)
-        self.applicationsBox.add(suggestionButton)
-        self.suggestions.append(suggestionButton)
+        if self.enabledictionary:
+            suggestionButton = SuggestionButton("list-add", self.iconSize, "")
+            suggestionButton.connect("clicked", self.search_dictionary)
+            suggestionButton.set_text(_("Lookup %s in Dictionary") % text)
+            
suggestionButton.set_image("/usr/share/mate-menu/icons/dictionary.png")
+            self.applicationsBox.add(suggestionButton)
+            if not focused:
+                self.applicationsBox.get_children()[-1].grab_focus()
+                focused = True
+            self.suggestions.append(suggestionButton)
+
+        if self.enablecomputer:
+            suggestionButton = SuggestionButton("edit-find", self.iconSize, "")
+            suggestionButton.connect("clicked", self.Search)
+            suggestionButton.set_text(_("Search Computer for %s") % text)
+            self.applicationsBox.add(suggestionButton)
+            if not focused:
+                self.applicationsBox.get_children()[-1].grab_focus()
+                focused = True
+            self.suggestions.append(suggestionButton)
 
         #self.last_separator = Gtk.EventBox()
         #self.last_separator.add(Gtk.Separator( 
orientation=Gtk.Orientation.HORIZONTAL ))
@@ -886,6 +923,12 @@
         y = rect.y + rect.height
         return (x, y, False)
 
+    def search_ddg(self, widget):
+        text = self.searchEntry.get_text()
+        text = text.replace(" ", "+")
+        subprocess.call(['xdg-open', 'https://duckduckgo.com/?q=' + text])
+        self.mateMenuWin.hide()
+
     def search_google(self, widget):
         text = self.searchEntry.get_text()
         text = text.replace(" ", "+")
@@ -1164,7 +1207,7 @@
                     favButton.drag_source_set (Gdk.ModifierType.BUTTON1_MASK, 
self.toFav, Gdk.DragAction.COPY)
                     favButton.drag_dest_set(Gtk.DestDefaults.MOTION | 
Gtk.DestDefaults.HIGHLIGHT | Gtk.DestDefaults.DROP, self.toFav, 
Gdk.DragAction.COPY)
                     favButton.connect("drag-data-get", self.on_drag_data_get)
-                    favButton.connect("drag-data-received", 
self.on_drag_data_received)                    
+                    favButton.connect("drag-data-received", 
self.on_drag_data_received)
                     position += 1
 
             self.favoritesSave()
@@ -1226,7 +1269,7 @@
             favButton.connect("drag-data-received", self.on_drag_data_received)
             favButton.drag_dest_set(Gtk.DestDefaults.MOTION | 
Gtk.DestDefaults.HIGHLIGHT | Gtk.DestDefaults.DROP, self.toFav, 
Gdk.DragAction.COPY)
             favButton.connect("drag-data-get", self.on_drag_data_get)
-            favButton.drag_source_set (Gdk.ModifierType.BUTTON1_MASK, 
self.toFav, Gdk.DragAction.COPY)            
+            favButton.drag_source_set (Gdk.ModifierType.BUTTON1_MASK, 
self.toFav, Gdk.DragAction.COPY)
 
             if position >= 0:
                 self.favoritesReorder( favButton.position, position )
@@ -1273,14 +1316,13 @@
 
         return False
 
-    def on_drag_data_received( self, widget, context, x, y, selection, info, 
time):
+    def on_drag_data_received( self, widget, context, x, y, selection, info, 
time ):
         if info == self.TARGET_TYPE_FAV:
-            self.favoritesReorder( int(selection.get_data()), widget.position 
)    
+            self.favoritesReorder( int(selection.get_data()), widget.position )
 
-    def onFavButtonDragReorder( self, widget, context, x, y, selection, 
targetType, time  ):
+    def on_drag_data_get( self, widget, context, selection, targetType, time ):
         if targetType == self.TARGET_TYPE_FAV:
-            #self.favoritesReorder( int(selection.data), widget.position )
-            self.favoritesReorder( self.drag_origin, widget.position )
+            selection.set(Gdk.SELECTION_CLIPBOARD, 8, str(widget.position))
 
     def on_icon_theme_changed(self, theme):
         self.menuChanged (0, 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ubuntu-mate-mate-menu-78639eb63111/po/mate-menu.pot 
new/ubuntu-mate-mate-menu-63ffcb04fac3/po/mate-menu.pot
--- old/ubuntu-mate-mate-menu-78639eb63111/po/mate-menu.pot     2017-05-19 
13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/po/mate-menu.pot     2017-06-10 
18:13:39.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-05-17 13:17-0400\n"
+"POT-Creation-Date: 2017-05-22 09:09-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <[email protected]>\n"
@@ -17,36 +17,36 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../lib/mate-menu.py:69
+#: ../lib/mate-menu.py:57
 msgid "Menu"
 msgstr ""
 
 #. Fake class for MyPlugin
-#: ../lib/mate-menu.py:236
+#: ../lib/mate-menu.py:224
 msgid "Couldn't load plugin:"
 msgstr ""
 
-#: ../lib/mate-menu.py:309
+#: ../lib/mate-menu.py:297
 msgid "Couldn't initialize plugin"
 msgstr ""
 
-#: ../lib/mate-menu.py:740
+#: ../lib/mate-menu.py:728
 msgid "Advanced MATE Menu"
 msgstr ""
 
-#: ../lib/mate-menu.py:834
+#: ../lib/mate-menu.py:822
 msgid "Preferences"
 msgstr ""
 
-#: ../lib/mate-menu.py:837
+#: ../lib/mate-menu.py:825
 msgid "Edit menu"
 msgstr ""
 
-#: ../lib/mate-menu.py:840
+#: ../lib/mate-menu.py:828
 msgid "Reload plugins"
 msgstr ""
 
-#: ../lib/mate-menu.py:843
+#: ../lib/mate-menu.py:831
 msgid "About"
 msgstr ""
 
@@ -141,162 +141,183 @@
 msgstr ""
 
 #: ../lib/mate-menu-config.py:82
-msgid "Background:"
+msgid "Search Engines:"
 msgstr ""
 
 #: ../lib/mate-menu-config.py:83
-msgid "Headings:"
+msgid "DuckDuckGo"
 msgstr ""
 
 #: ../lib/mate-menu-config.py:84
-msgid "Borders:"
+msgid "Google"
 msgstr ""
 
 #: ../lib/mate-menu-config.py:85
+msgid "Wikipedia"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:86
+msgid "Dictionary"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:87 ../lib/mate-menu-config.py:110
+#: ../mate_menu/plugins/places.py:149
+msgid "Computer"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:89
+msgid "Background:"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:90
+msgid "Headings:"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:91
+msgid "Borders:"
+msgstr ""
+
+#: ../lib/mate-menu-config.py:92
 msgid "Theme:"
 msgstr ""
 
 #. self.builder.get_object("applicationsLabel").set_text(_("Applications"))
 #. self.builder.get_object("favoritesLabel").set_text(_("Favorites"))
-#: ../lib/mate-menu-config.py:89
+#: ../lib/mate-menu-config.py:96
 msgid "Number of columns:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:90 ../lib/mate-menu-config.py:91
-#: ../lib/mate-menu-config.py:92 ../lib/mate-menu-config.py:93
+#: ../lib/mate-menu-config.py:97 ../lib/mate-menu-config.py:98
+#: ../lib/mate-menu-config.py:99 ../lib/mate-menu-config.py:100
 msgid "Icon size:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:94
+#: ../lib/mate-menu-config.py:101
 msgid "Hover delay (ms):"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:95
+#: ../lib/mate-menu-config.py:102
 msgid "Button icon:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:96
+#: ../lib/mate-menu-config.py:103
 msgid "Search command:"
 msgstr ""
 
 #. Set 'heading' property for plugin
-#: ../lib/mate-menu-config.py:98 ../mate_menu/plugins/places.py:54
+#: ../lib/mate-menu-config.py:105 ../mate_menu/plugins/places.py:54
 msgid "Places"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:99 ../lib/mate-menu-config.py:111
+#: ../lib/mate-menu-config.py:106 ../lib/mate-menu-config.py:118
 msgid "Allow Scrollbar"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:100
+#: ../lib/mate-menu-config.py:107
 msgid "Show GTK+ Bookmarks"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:101 ../lib/mate-menu-config.py:112
+#: ../lib/mate-menu-config.py:108 ../lib/mate-menu-config.py:119
 msgid "Height:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:102
+#: ../lib/mate-menu-config.py:109
 msgid "Toggle Default Places:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:103 ../mate_menu/plugins/places.py:149
-msgid "Computer"
-msgstr ""
-
-#: ../lib/mate-menu-config.py:104 ../mate_menu/plugins/places.py:160
+#: ../lib/mate-menu-config.py:111 ../mate_menu/plugins/places.py:160
 msgid "Home Folder"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:105 ../mate_menu/plugins/places.py:173
+#: ../lib/mate-menu-config.py:112 ../mate_menu/plugins/places.py:173
 msgid "Network"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:106 ../mate_menu/plugins/places.py:196
+#: ../lib/mate-menu-config.py:113 ../mate_menu/plugins/places.py:196
 msgid "Desktop"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:107 ../mate_menu/plugins/places.py:207
+#: ../lib/mate-menu-config.py:114 ../mate_menu/plugins/places.py:207
 msgid "Trash"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:108
+#: ../lib/mate-menu-config.py:115
 msgid "Custom Places:"
 msgstr ""
 
 #. Set 'heading' property for plugin
-#: ../lib/mate-menu-config.py:110 ../mate_menu/plugins/system_management.py:55
+#: ../lib/mate-menu-config.py:117 ../mate_menu/plugins/system_management.py:55
 msgid "System"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:113
+#: ../lib/mate-menu-config.py:120
 msgid "Toggle Default Items:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:114 ../mate_menu/plugins/system_management.py:153
+#: ../lib/mate-menu-config.py:121 ../mate_menu/plugins/system_management.py:153
 #: ../mate_menu/plugins/system_management.py:156
 #: ../mate_menu/plugins/system_management.py:159
 #: ../mate_menu/plugins/system_management.py:162
 msgid "Package Manager"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:115 ../mate_menu/plugins/system_management.py:172
+#: ../lib/mate-menu-config.py:122 ../mate_menu/plugins/system_management.py:172
 msgid "Control Center"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:116 ../mate_menu/plugins/system_management.py:179
+#: ../lib/mate-menu-config.py:123 ../mate_menu/plugins/system_management.py:179
 msgid "Terminal"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:117 ../mate_menu/plugins/system_management.py:193
+#: ../lib/mate-menu-config.py:124 ../mate_menu/plugins/system_management.py:193
 msgid "Lock Screen"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:118
+#: ../lib/mate-menu-config.py:125
 msgid "Log Out"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:119 ../mate_menu/plugins/system_management.py:211
+#: ../lib/mate-menu-config.py:126 ../mate_menu/plugins/system_management.py:211
 msgid "Quit"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:121
+#: ../lib/mate-menu-config.py:128
 msgid "Edit Place"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:122
+#: ../lib/mate-menu-config.py:129
 msgid "New Place"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:123
+#: ../lib/mate-menu-config.py:130
 msgid "Select a folder"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:151
+#: ../lib/mate-menu-config.py:163
 msgid "Keyboard shortcut:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:157
+#: ../lib/mate-menu-config.py:169
 msgid "Images"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:265
+#: ../lib/mate-menu-config.py:283
 msgid "Name"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:266
+#: ../lib/mate-menu-config.py:284
 msgid "Path"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:282
+#: ../lib/mate-menu-config.py:300
 msgid "Desktop theme"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:423 ../lib/mate-menu-config.py:454
+#: ../lib/mate-menu-config.py:441 ../lib/mate-menu-config.py:472
 msgid "Name:"
 msgstr ""
 
-#: ../lib/mate-menu-config.py:424 ../lib/mate-menu-config.py:455
+#: ../lib/mate-menu-config.py:442 ../lib/mate-menu-config.py:473
 msgid "Path:"
 msgstr ""
 
@@ -309,101 +330,106 @@
 msgid "All applications"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:570
+#: ../mate_menu/plugins/applications.py:582
+#, python-format
+msgid "Search DuckDuckGo for %s"
+msgstr ""
+
+#: ../mate_menu/plugins/applications.py:593
 #, python-format
 msgid "Search Google for %s"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:578
+#: ../mate_menu/plugins/applications.py:604
 #, python-format
 msgid "Search Wikipedia for %s"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:595
+#: ../mate_menu/plugins/applications.py:625
 #, python-format
 msgid "Lookup %s in Dictionary"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:602
+#: ../mate_menu/plugins/applications.py:636
 #, python-format
 msgid "Search Computer for %s"
 msgstr ""
 
 #. i18n
-#: ../mate_menu/plugins/applications.py:722
-#: ../mate_menu/plugins/applications.py:787
+#: ../mate_menu/plugins/applications.py:759
+#: ../mate_menu/plugins/applications.py:824
 msgid "Add to desktop"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:723
-#: ../mate_menu/plugins/applications.py:788
+#: ../mate_menu/plugins/applications.py:760
+#: ../mate_menu/plugins/applications.py:825
 msgid "Add to panel"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:725
-#: ../mate_menu/plugins/applications.py:766
+#: ../mate_menu/plugins/applications.py:762
+#: ../mate_menu/plugins/applications.py:803
 msgid "Insert space"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:726
-#: ../mate_menu/plugins/applications.py:767
+#: ../mate_menu/plugins/applications.py:763
+#: ../mate_menu/plugins/applications.py:804
 msgid "Insert separator"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:728
-#: ../mate_menu/plugins/applications.py:791
+#: ../mate_menu/plugins/applications.py:765
+#: ../mate_menu/plugins/applications.py:828
 msgid "Launch"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:729
+#: ../mate_menu/plugins/applications.py:766
 msgid "Remove from favorites"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:731
-#: ../mate_menu/plugins/applications.py:794
+#: ../mate_menu/plugins/applications.py:768
+#: ../mate_menu/plugins/applications.py:831
 msgid "Edit properties"
 msgstr ""
 
 #. i18n
-#: ../mate_menu/plugins/applications.py:765
+#: ../mate_menu/plugins/applications.py:802
 msgid "Remove"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:790
+#: ../mate_menu/plugins/applications.py:827
 msgid "Show in my favorites"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:792
+#: ../mate_menu/plugins/applications.py:829
 msgid "Delete from menu"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:836
+#: ../mate_menu/plugins/applications.py:873
 msgid "Search Google"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:843
+#: ../mate_menu/plugins/applications.py:880
 msgid "Search Wikipedia"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:853
+#: ../mate_menu/plugins/applications.py:890
 msgid "Lookup Dictionary"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:860
+#: ../mate_menu/plugins/applications.py:897
 msgid "Search Computer"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:1264
+#: ../mate_menu/plugins/applications.py:1308
 msgid ""
 "Couldn't save favorites. Check if you have write access to ~/.config/mate-"
 "menu"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:1471
+#: ../mate_menu/plugins/applications.py:1513
 msgid "All"
 msgstr ""
 
-#: ../mate_menu/plugins/applications.py:1471
+#: ../mate_menu/plugins/applications.py:1513
 msgid "Show all applications"
 msgstr ""
 
@@ -456,7 +482,7 @@
 msgid "Browse deleted files"
 msgstr ""
 
-#: ../mate_menu/plugins/places.py:273
+#: ../mate_menu/plugins/places.py:271
 msgid "Empty trash"
 msgstr ""
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ubuntu-mate-mate-menu-78639eb63111/setup.py 
new/ubuntu-mate-mate-menu-63ffcb04fac3/setup.py
--- old/ubuntu-mate-mate-menu-78639eb63111/setup.py     2017-05-19 
13:04:25.000000000 +0200
+++ new/ubuntu-mate-mate-menu-63ffcb04fac3/setup.py     2017-06-10 
18:13:39.000000000 +0200
@@ -95,6 +95,7 @@
    ]),
   ("share/mate-menu/icons/search_engines",
    [
+    "data/icons/ddg.ico",
     "data/icons/google.ico",
     "data/icons/wikipedia.ico",
    ]),


Reply via email to