2005-09-21 22:52:37 -07:00
|
|
|
#include "e.h"
|
|
|
|
|
|
|
|
/* local subsystem functions */
|
2007-03-15 10:58:18 -07:00
|
|
|
|
2005-09-21 22:52:37 -07:00
|
|
|
/* local subsystem globals */
|
|
|
|
|
|
|
|
/* externally accessible functions */
|
|
|
|
|
2006-01-07 02:39:46 -08:00
|
|
|
EAPI E_Theme_About *
|
2005-09-21 22:52:37 -07:00
|
|
|
e_theme_about_new(E_Container *con)
|
|
|
|
{
|
2008-10-19 23:50:57 -07:00
|
|
|
E_Obj_Dialog *od;
|
2005-09-21 22:52:37 -07:00
|
|
|
|
2008-10-19 23:50:57 -07:00
|
|
|
od = e_obj_dialog_new(con, _("About Theme"), "E", "_theme_about");
|
|
|
|
if (!od) return NULL;
|
|
|
|
e_obj_dialog_obj_theme_set(od, "base/theme", "e/theme/about");
|
|
|
|
e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
|
2005-09-21 22:52:37 -07:00
|
|
|
|
2008-10-19 23:50:57 -07:00
|
|
|
return (E_Theme_About *)od;
|
2005-09-21 22:52:37 -07:00
|
|
|
}
|
|
|
|
|
2006-01-07 02:39:46 -08:00
|
|
|
EAPI void
|
2005-09-21 22:52:37 -07:00
|
|
|
e_theme_about_show(E_Theme_About *about)
|
|
|
|
{
|
2008-10-19 23:50:57 -07:00
|
|
|
e_obj_dialog_show((E_Obj_Dialog *)about);
|
2009-03-04 15:53:28 -08:00
|
|
|
e_obj_dialog_icon_set((E_Obj_Dialog *)about, "preferences-desktop-theme");
|
2008-07-08 12:41:42 -07:00
|
|
|
}
|