gtk: Fix a couple of deprecations
This commit is contained in:
parent
23e3eb60df
commit
8342b85b91
@ -21,8 +21,6 @@ import pointerMonitor
|
|||||||
import setproctitle
|
import setproctitle
|
||||||
from plugins.execute import Execute
|
from plugins.execute import Execute
|
||||||
|
|
||||||
GObject.threads_init()
|
|
||||||
|
|
||||||
# Rename the process
|
# Rename the process
|
||||||
setproctitle.setproctitle('mintmenu')
|
setproctitle.setproctitle('mintmenu')
|
||||||
|
|
||||||
|
@ -49,8 +49,8 @@ class mintMenuPreferences():
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
self.settings = Gio.Settings("com.linuxmint.mintmenu")
|
self.settings = Gio.Settings(schema_id="com.linuxmint.mintmenu")
|
||||||
self.places_settings = Gio.Settings("com.linuxmint.mintmenu.plugins.places")
|
self.places_settings = Gio.Settings(schema_id="com.linuxmint.mintmenu.plugins.places")
|
||||||
|
|
||||||
self.builder = Gtk.Builder()
|
self.builder = Gtk.Builder()
|
||||||
self.builder.set_translation_domain("mintmenu")
|
self.builder.set_translation_domain("mintmenu")
|
||||||
|
Loading…
Reference in New Issue
Block a user