Mercurial > pidgin.yaz
diff pidgin/plugins/themeedit.c @ 26662:0dddfdb3a24a
A status-icon theme editor.
TODO:
* Actually create the XML files for the theme laoders (I don't really
plan on writing that part of the code >:) )
* The selected icons are stored in a theme-hierarchy under "/tmp". This
needs to be fixed to use a more appropriate location (volunteers?).
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Sun, 19 Apr 2009 17:30:59 +0000 |
| parents | 9b6619a28f5d |
| children | 5d71de58452c |
line wrap: on
line diff
--- a/pidgin/plugins/themeedit.c Sat Apr 18 23:27:38 2009 +0000 +++ b/pidgin/plugins/themeedit.c Sun Apr 19 17:30:59 2009 +0000 @@ -29,7 +29,9 @@ #include "gtkutils.h" #include "gtkplugin.h" -#define PLUGIN_ID "gtk-blist-theme-editor" +#define PLUGIN_ID "gtk-theme-editor" + +#include "themeedit-icon.h" static gboolean prop_type_is_color(PidginBlistTheme *theme, const char *prop) @@ -239,7 +241,7 @@ { NULL, { } } }; - dialog = pidgin_create_dialog(_("Pidgin Buddylist Theme Editor"), 0, "theme-editor", FALSE); + dialog = pidgin_create_dialog(_("Pidgin Buddylist Theme Editor"), 0, "theme-editor-blist", FALSE); box = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(dialog), FALSE, PIDGIN_HIG_BOX_SPACE); theme = pidgin_blist_get_theme(); @@ -295,7 +297,9 @@ GList *l = NULL; PurplePluginAction *act = NULL; - act = purple_plugin_action_new(_("Edit"), pidgin_blist_theme_edit); + act = purple_plugin_action_new(_("Edit Buddylist Theme"), pidgin_blist_theme_edit); + l = g_list_append(l, act); + act = purple_plugin_action_new(_("Edit Status Icon Theme"), pidgin_icon_theme_edit); l = g_list_append(l, act); return l; @@ -313,12 +317,12 @@ PURPLE_PRIORITY_DEFAULT, /**< priority */ PLUGIN_ID, /**< id */ - N_("Pidgin Buddylist Theme Editor"), /**< name */ + N_("Pidgin Theme Editor"), /**< name */ DISPLAY_VERSION, /**< version */ /** summary */ - N_("Pidgin Buddylist Theme Editor. Enjoy, motherfucker!!"), + N_("Pidgin Theme Editor."), /** description */ - N_("Pidgin Buddylist Theme Editor"), + N_("Pidgin Theme Editor"), "Sadrul Habib Chowdhury <imadil@gmail.com>", /**< author */ PURPLE_WEBSITE, /**< homepage */
