Merge pull request #79 from monsta/remove-unused-stuff
Removed unused imports and some other stuff
This commit is contained in:
commit
afd56daef3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user