The action: 'configuration' now accept an option argument.
authorDavide Andreoli <dave@gurumeditation.it>
Thu, 19 Mar 2009 18:28:01 +0000 (18:28 +0000)
committerDavide Andreoli <dave@gurumeditation.it>
Thu, 19 Mar 2009 18:28:01 +0000 (18:28 +0000)
The argument is the name of the config dialog to open, ex: 'advanced/engine'

So you can call:
 enlightenment_remote -exec-action configuration "appearance/theme"

to open the theme congif dialog.

SVN revision: 39588

src/modules/conf/e_mod_main.c

index df969a0..8074895 100644 (file)
@@ -191,7 +191,10 @@ _e_mod_action_conf_cb(E_Object *obj, const char *params)
          zone = e_util_zone_current_get(e_manager_current_get());
      }
    if (!zone) zone = e_util_zone_current_get(e_manager_current_get());
-   if (zone) e_configure_show(zone->container);
+   if (zone && params)
+      e_configure_registry_call(params, zone->container, params);
+   else if (zone)
+      e_configure_show(zone->container);
 }
 
 /* menu item callback(s) */