/soc/2013/ankitkv/gobjectification: 5384600e613c: Made finch and...
Ankit Vani
a at nevitus.org
Sun Oct 27 15:42:01 EDT 2013
Changeset: 5384600e613cca40039506090aee59a68bf0e1ae
Author: Ankit Vani <a at nevitus.org>
Date: 2013-10-28 01:11 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/5384600e613c
Description:
Made finch and pidgin pref property names shorter: "gnt-pref-frame-cb" and "gtk-config-frame-cb"
diffstat:
finch/gntplugin.c | 4 +-
finch/gntplugin.h | 2 +-
finch/plugins/gntgf.c | 20 ++++++------
pidgin/gtkplugin.c | 4 +-
pidgin/gtkplugin.h | 2 +-
pidgin/plugins/cap/cap.c | 22 +++++++-------
pidgin/plugins/contact_priority.c | 20 ++++++------
pidgin/plugins/convcolors.c | 20 ++++++------
pidgin/plugins/gestures/gestures.c | 38 +++++++++++++-------------
pidgin/plugins/gevolution/gevolution.c | 20 ++++++------
pidgin/plugins/musicmessaging/musicmessaging.c | 28 +++++++++---------
pidgin/plugins/notify.c | 24 ++++++++--------
pidgin/plugins/pidginrc.c | 24 ++++++++--------
pidgin/plugins/spellchk.c | 20 ++++++------
pidgin/plugins/win32/transparency/win2ktrans.c | 30 ++++++++++----------
pidgin/plugins/win32/winprefs/winprefs.c | 22 +++++++-------
16 files changed, 150 insertions(+), 150 deletions(-)
diffs (truncated from 460 to 300 lines):
diff --git a/finch/gntplugin.c b/finch/gntplugin.c
--- a/finch/gntplugin.c
+++ b/finch/gntplugin.c
@@ -128,8 +128,8 @@ static void finch_plugin_info_class_init
obj_class->set_property = finch_plugin_info_set_property;
g_object_class_install_property(obj_class, PROP_FINCH_PREF_FRAME_CB,
- g_param_spec_pointer("finch-pref-frame-cb",
- "Finch preferences frame callback",
+ g_param_spec_pointer("gnt-pref-frame-cb",
+ "GNT preferences frame callback",
"Callback that returns a GNT preferences frame",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
diff --git a/finch/gntplugin.h b/finch/gntplugin.h
--- a/finch/gntplugin.h
+++ b/finch/gntplugin.h
@@ -87,7 +87,7 @@ GType finch_plugin_info_get_type(void);
* pairs.
*
* See purple_plugin_info_new() for a list of available property names.
- * Additionally, you can provide the property "finch-pref-frame-cb",
+ * Additionally, you can provide the property "gnt-pref-frame-cb",
* which should be a callback that returns a GntWidget for the plugin's
* preferences (see FinchPluginPrefFrameCb).
*
diff --git a/finch/plugins/gntgf.c b/finch/plugins/gntgf.c
--- a/finch/plugins/gntgf.c
+++ b/finch/plugins/gntgf.c
@@ -345,16 +345,16 @@ plugin_query(GError **error)
};
return finch_plugin_info_new(
- "id", "gntgf",
- "name", N_("GntGf"),
- "version", DISPLAY_VERSION,
- "category", N_("Notification"),
- "summary", N_("Toaster plugin"),
- "description", N_("Toaster plugin"),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "finch-pref-frame-cb", config_frame,
+ "id", "gntgf",
+ "name", N_("GntGf"),
+ "version", DISPLAY_VERSION,
+ "category", N_("Notification"),
+ "summary", N_("Toaster plugin"),
+ "description", N_("Toaster plugin"),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gnt-pref-frame-cb", config_frame,
NULL
);
}
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -136,8 +136,8 @@ static void pidgin_plugin_info_class_ini
obj_class->set_property = pidgin_plugin_info_set_property;
g_object_class_install_property(obj_class, PROP_PIDGIN_CONFIG_FRAME_CB,
- g_param_spec_pointer("pidgin-config-frame-cb",
- "Pidgin configuration frame callback",
+ g_param_spec_pointer("gtk-config-frame-cb",
+ "GTK configuration frame callback",
"Callback that returns a GTK configuration frame",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
diff --git a/pidgin/gtkplugin.h b/pidgin/gtkplugin.h
--- a/pidgin/gtkplugin.h
+++ b/pidgin/gtkplugin.h
@@ -78,7 +78,7 @@ GType pidgin_plugin_info_get_type(void);
* pairs.
*
* See purple_plugin_info_new() for a list of available property names.
- * Additionally, you can provide the property "pidgin-config-frame-cb",
+ * Additionally, you can provide the property "gtk-config-frame-cb",
* which should be a callback that returns a GtkWidget for the plugin's
* configuration (see PidginPluginConfigFrameCb).
*
diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c
--- a/pidgin/plugins/cap/cap.c
+++ b/pidgin/plugins/cap/cap.c
@@ -866,17 +866,17 @@ plugin_query(GError **error)
};
return pidgin_plugin_info_new(
- "id", CAP_PLUGIN_ID,
- "name", N_("Contact Availability Prediction"),
- "version", DISPLAY_VERSION,
- "category", N_("Utility"),
- "summary", N_("Contact Availability Prediction plugin."),
- "description", N_("Displays statistical information about "
- "your buddies' availability"),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", CAP_PLUGIN_ID,
+ "name", N_("Contact Availability Prediction"),
+ "version", DISPLAY_VERSION,
+ "category", N_("Utility"),
+ "summary", N_("Contact Availability Prediction plugin."),
+ "description", N_("Displays statistical information about "
+ "your buddies' availability"),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/contact_priority.c b/pidgin/plugins/contact_priority.c
--- a/pidgin/plugins/contact_priority.c
+++ b/pidgin/plugins/contact_priority.c
@@ -171,16 +171,16 @@ plugin_query(GError **error)
};
return pidgin_plugin_info_new(
- "id", CONTACT_PRIORITY_PLUGIN_ID,
- "name", N_("Contact Priority"),
- "version", DISPLAY_VERSION,
- "category", N_("Utility"),
- "summary", N_("Allows for controlling the values associated with different buddy states."),
- "description", N_("Allows for changing the point values of idle/away/offline states for buddies in contact priority computations."),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", CONTACT_PRIORITY_PLUGIN_ID,
+ "name", N_("Contact Priority"),
+ "version", DISPLAY_VERSION,
+ "category", N_("Utility"),
+ "summary", N_("Allows for controlling the values associated with different buddy states."),
+ "description", N_("Allows for changing the point values of idle/away/offline states for buddies in contact priority computations."),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/convcolors.c b/pidgin/plugins/convcolors.c
--- a/pidgin/plugins/convcolors.c
+++ b/pidgin/plugins/convcolors.c
@@ -370,16 +370,16 @@ plugin_query(GError **error)
const gchar * const authors[] = PLUGIN_AUTHORS;
return pidgin_plugin_info_new(
- "id", PLUGIN_ID,
- "name", PLUGIN_NAME,
- "version", DISPLAY_VERSION,
- "category", PLUGIN_CATEGORY,
- "summary", PLUGIN_SUMMARY,
- "description", PLUGIN_DESCRIPTION,
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", PLUGIN_ID,
+ "name", PLUGIN_NAME,
+ "version", DISPLAY_VERSION,
+ "category", PLUGIN_CATEGORY,
+ "summary", PLUGIN_SUMMARY,
+ "description", PLUGIN_DESCRIPTION,
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/gestures/gestures.c b/pidgin/plugins/gestures/gestures.c
--- a/pidgin/plugins/gestures/gestures.c
+++ b/pidgin/plugins/gestures/gestures.c
@@ -221,25 +221,25 @@ plugin_query(GError **error)
};
return pidgin_plugin_info_new(
- "id", GESTURES_PLUGIN_ID,
- "name", N_("Mouse Gestures"),
- "version", DISPLAY_VERSION,
- "category", N_("User interface"),
- "summary", N_("Provides support for mouse gestures"),
- "description", N_("Allows support for mouse gestures in "
- "conversation windows. Drag the middle "
- "mouse button to perform certain "
- "actions:\n"
- " ⢠Drag down and then to the right to "
- "close a conversation.\n"
- " ⢠Drag up and then to the left to "
- "switch to the previous conversation.\n"
- " ⢠Drag up and then to the right to "
- "switch to the next conversation."),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", GESTURES_PLUGIN_ID,
+ "name", N_("Mouse Gestures"),
+ "version", DISPLAY_VERSION,
+ "category", N_("User interface"),
+ "summary", N_("Provides support for mouse gestures"),
+ "description", N_("Allows support for mouse gestures in "
+ "conversation windows. Drag the middle "
+ "mouse button to perform certain "
+ "actions:\n"
+ " ⢠Drag down and then to the right to "
+ "close a conversation.\n"
+ " ⢠Drag up and then to the left to "
+ "switch to the previous conversation.\n"
+ " ⢠Drag up and then to the right to "
+ "switch to the next conversation."),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/gevolution/gevolution.c b/pidgin/plugins/gevolution/gevolution.c
--- a/pidgin/plugins/gevolution/gevolution.c
+++ b/pidgin/plugins/gevolution/gevolution.c
@@ -465,16 +465,16 @@ plugin_query(GError **error)
};
return pidgin_plugin_info_new(
- "id", GEVOLUTION_PLUGIN_ID,
- "name", N_("Evolution Integration"),
- "version", DISPLAY_VERSION,
- "category", N_("Integration"),
- "summary", N_("Provides integration with Evolution."),
- "description", N_("Provides integration with Evolution."),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", GEVOLUTION_PLUGIN_ID,
+ "name", N_("Evolution Integration"),
+ "version", DISPLAY_VERSION,
+ "category", N_("Integration"),
+ "summary", N_("Provides integration with Evolution."),
+ "description", N_("Provides integration with Evolution."),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/musicmessaging/musicmessaging.c b/pidgin/plugins/musicmessaging/musicmessaging.c
--- a/pidgin/plugins/musicmessaging/musicmessaging.c
+++ b/pidgin/plugins/musicmessaging/musicmessaging.c
@@ -620,20 +620,20 @@ plugin_query(GError **error) {
};
return pidgin_plugin_info_new(
- "id", MUSICMESSAGING_PLUGIN_ID,
- "name", N_("Music Messaging"),
- "version", DISPLAY_VERSION,
- "category", N_("Music"),
- "summary", N_("Music Messaging Plugin for "
- "collaborative composition."),
- "description", N_("The Music Messaging Plugin allows a "
- "number of users to simultaneously work "
- "on a piece of music by editing a common "
- "score in real-time."),
- "authors", authors,
- "website", PURPLE_WEBSITE,
- "abi-version", PURPLE_ABI_VERSION,
- "pidgin-config-frame-cb", get_config_frame,
+ "id", MUSICMESSAGING_PLUGIN_ID,
+ "name", N_("Music Messaging"),
+ "version", DISPLAY_VERSION,
+ "category", N_("Music"),
+ "summary", N_("Music Messaging Plugin for "
+ "collaborative composition."),
+ "description", N_("The Music Messaging Plugin allows a "
+ "number of users to simultaneously work "
+ "on a piece of music by editing a common "
+ "score in real-time."),
+ "authors", authors,
+ "website", PURPLE_WEBSITE,
+ "abi-version", PURPLE_ABI_VERSION,
+ "gtk-config-frame-cb", get_config_frame,
NULL
);
}
diff --git a/pidgin/plugins/notify.c b/pidgin/plugins/notify.c
--- a/pidgin/plugins/notify.c
+++ b/pidgin/plugins/notify.c
@@ -843,18 +843,18 @@ plugin_query(GError **error)
};
return pidgin_plugin_info_new(
- "id", NOTIFY_PLUGIN_ID,
- "name", N_("Message Notification"),
- "version", DISPLAY_VERSION,
More information about the Commits
mailing list