summaryrefslogtreecommitdiff
path: root/mate-conf/mate-conf-import
diff options
context:
space:
mode:
Diffstat (limited to 'mate-conf/mate-conf-import')
-rwxr-xr-xmate-conf/mate-conf-import9
1 files changed, 7 insertions, 2 deletions
diff --git a/mate-conf/mate-conf-import b/mate-conf/mate-conf-import
index da22754..15c519b 100755
--- a/mate-conf/mate-conf-import
+++ b/mate-conf/mate-conf-import
@@ -27,7 +27,7 @@ import sys
# to read MateConf files
import xml.etree.ElementTree as ElementTree
-
+# gobject introspection
import gi
# to show dialogs
gi.require_version("Gtk", "2.0")
@@ -82,7 +82,8 @@ dialog = Gtk.MessageDialog (None,
Gtk.DialogFlags.MODAL,
Gtk.MessageType.QUESTION,
Gtk.ButtonsType.YES_NO,
- "Migrate settings from MATE 1.4?")
+ "Are you sure to migrate settings from MATE 1.4?\n" + \
+ "This will delete permanently all your current 1.6 settings.")
res = dialog.run()
if res != Gtk.ResponseType.YES:
dialog.destroy()
@@ -343,6 +344,10 @@ if os.path.exists(mateconf_panel_file):
applet_iid = "DictionaryAppletFactory::DictionaryApplet"
elif applet_iid == "OAFIID:Invest_Applet":
applet_iid = "InvestAppletFactory::InvestApplet"
+ elif applet_iid == "OAFIID:MATE_DictionaryApplet":
+ applet_iid = "DictionaryAppletFactory::DictionaryApplet"
+ elif applet_iid == "OAFIID:MATE_InhibitApplet":
+ applet_iid = "InhibitAppletFactory::InhibitApplet"
elif applet_iid == "OAFIID:TimerApplet":
# not yet ready in 1.6 :(
applet_iid = "TimerAppletFactory::TimerApplet"