diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index c3574dc..8c4b896 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -9,7 +9,6 @@ from gi.repository import Gio try: import sys - from gi.repository import Pango import os import commands import gettext @@ -18,7 +17,6 @@ try: import gc import ctypes from ctypes import * - import capi import xdg.Config import keybinding import pointerMonitor @@ -28,14 +26,12 @@ except Exception, e: GObject.threads_init() -gtk = CDLL("libgtk-x11-2.0.so.0") gdk = CDLL("libgdk-x11-2.0.so.0") # Rename the process architecture = commands.getoutput("uname -a") if (architecture.find("x86_64") >= 0): - import ctypes - libc = ctypes.CDLL('libc.so.6') + libc = CDLL('libc.so.6') libc.prctl(15, 'mintmenu', 0, 0, 0) else: import dl diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 58981fe..31edc29 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -6,8 +6,6 @@ gi.require_version("Gtk", "2.0") from gi.repository import Gtk, Pango, Gdk, Gio, GLib import os -#import mateconf -import fnmatch import time import string import gettext @@ -16,7 +14,6 @@ import commands import subprocess import filecmp import ctypes -import capi from ctypes import * from easybuttons import * from execute import Execute diff --git a/usr/lib/linuxmint/mintMenu/plugins/recent.py b/usr/lib/linuxmint/mintMenu/plugins/recent.py index d9bddfc..891f9be 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/recent.py +++ b/usr/lib/linuxmint/mintMenu/plugins/recent.py @@ -4,11 +4,7 @@ import gi gi.require_version("Gtk", "2.0") from gi.repository import Gtk, Pango -import sys import os -import gobject -import datetime -import fcntl from easygsettings import EasyGSettings from execute import Execute from easyfiles import *