Updated config dialog to match latest API.
SVN revision: 24708
This commit is contained in:
parent
89cba8d669
commit
01a5209c52
|
@ -63,7 +63,7 @@ int photo_config_dialog_show(void)
|
|||
|
||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(photo->module));
|
||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||
_("Photo Configuration"), buf, 0, v, NULL);
|
||||
_("Photo Configuration"), "Photo", "_e_modules_photo_config_dialog", buf, 0, v, NULL);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ int photo_config_dialog_dir_show(Picture_Local_Dir *dir)
|
|||
|
||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(photo->module));
|
||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||
_("Photo Directory Configuration"), buf, 0, v, dir);
|
||||
_("Photo Directory Configuration"), "Photo", "_e_modules_photo_dir_config_dialog", buf, 0, v, dir);
|
||||
|
||||
if (dir) dir->config_dialog = cfd;
|
||||
else photo->config_dialog_adddir = cfd;
|
||||
|
|
|
@ -47,7 +47,7 @@ int photo_config_dialog_item_show(Photo_Item *pi)
|
|||
|
||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(photo->module));
|
||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||
_("Photo Item Configuration"), buf, 0, v, pi);
|
||||
_("Photo Item Configuration"), "Photo", "_e_modules_photo_item_config_dialog", buf, 0, v, pi);
|
||||
pi->config_dialog = cfd;
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue