~ubuntu-branches/ubuntu/utopic/mysql-workbench/utopic

« back to all changes in this revision

Viewing changes to plugins/wb.admin/frontend/wb_admin_connections.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-05-31 12:03:58 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140531120358-cjik5ofkmj0fxsn8
Tags: 6.1.6+dfsg-1
* New upstream release [May 2014].
* Dropped "prtcl.patch".
* "debian/clean": better clean-up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
418
418
            if selected_conn:
419
419
                user_thread = self.new_processlist() == False
420
420
                if not user_thread:
421
 
                    user_thread = len([sel for sel in selected_conn if not sel.get_string(8).startswith('BACKGROUND')]) == 0
422
 
                         
 
421
                    user_thread = len([sel for sel in selected_conn if not sel.get_string(8).startswith('BACKGROUND')]) > 0
 
422
 
423
423
                item = self._menu.add_item_with_title("Copy", self.copy_selected, "copy_selected")
424
424
                item = self._menu.add_item_with_title("Copy Info", self.copy_selected_info, "copy_selected_info")
425
425
                item = self._menu.add_item_with_title("Show in Editor", self.edit_selected, "edit_selected")