summaryrefslogtreecommitdiff
path: root/mate-conf/mate-conf-import
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-21 22:18:48 +0200
committerStefano Karapetsas <[email protected]>2013-04-21 22:18:48 +0200
commit3a89a7b675adb771e0ce7e960a9afff0de16c6c5 (patch)
treed0f4630d1d22819cb1d96b275fb6353a4dbd83a5 /mate-conf/mate-conf-import
parentbabb64ba399ce53268fa09d465128cc31c2bd12a (diff)
downloadmate-desktop-3a89a7b675adb771e0ce7e960a9afff0de16c6c5.tar.bz2
mate-desktop-3a89a7b675adb771e0ce7e960a9afff0de16c6c5.tar.xz
mate-conf-import: Add support for more applets
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"