pidgin.next.minor: 6afaae0b: Try to improve the wording in our custom...
markdoliner at pidgin.im
markdoliner at pidgin.im
Sun Jan 25 18:20:33 EST 2009
-----------------------------------------------------------------
Revision: 6afaae0b34a64d68758cca42d8e8220957572ab9
Ancestor: e3d0e84bbee723ed6eeff95bd2712fda997eaa98
Author: markdoliner at pidgin.im
Date: 2009-01-25T23:10:16
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/6afaae0b34a64d68758cca42d8e8220957572ab9
Modified files:
pidgin/gtkblist.c pidgin/gtksmiley.c pidgin/gtksmiley.h
ChangeLog:
Try to improve the wording in our custom smiley manager
-------------- next part --------------
============================================================
--- pidgin/gtkblist.c c8a724a7dd7096acd46e3173a0fe79acb5a62191
+++ pidgin/gtkblist.c 9acd6803537b860b2d3d90c453a98c559749ddfb
@@ -3326,10 +3326,10 @@ static GtkItemFactoryEntry blist_menu[]
{ N_("/_Tools"), NULL, NULL, 0, "<Branch>", NULL },
{ N_("/Tools/Buddy _Pounces"), NULL, pidgin_pounces_manager_show, 1, "<Item>", NULL },
{ N_("/Tools/_Certificates"), NULL, pidgin_certmgr_show, 0, "<Item>", NULL },
+ { N_("/Tools/Custom Smile_ys"), "<CTL>Y", pidgin_smiley_manager_show, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SMILEY },
{ N_("/Tools/Plu_gins"), "<CTL>U", pidgin_plugin_dialog_show, 2, "<StockItem>", PIDGIN_STOCK_TOOLBAR_PLUGINS },
{ N_("/Tools/Pr_eferences"), "<CTL>P", pidgin_prefs_show, 0, "<StockItem>", GTK_STOCK_PREFERENCES },
{ N_("/Tools/Pr_ivacy"), NULL, pidgin_privacy_dialog_show, 0, "<Item>", NULL },
- { N_("/Tools/Smile_y"), "<CTL>Y", pidgin_smiley_manager_show, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_SMILEY },
{ "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL },
{ N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_TRANSFER },
{ N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL },
============================================================
--- pidgin/gtksmiley.c 063e5c9ac68e011da4f6656fd20aa289967c67f2
+++ pidgin/gtksmiley.c ee7ca7e23d7b2f59be8d651e5cafab017190ec6f
@@ -273,7 +273,7 @@ static void do_add(GtkWidget *widget, Pi
gsize size = 0;
gchar *filename;
const gchar *dirname = purple_smileys_get_storing_dir();
-
+
/* since this may be called before purple_smiley_new_* has ever been
called, we create the storing dir, if it doesn't exist yet, to be
able to save the pixbuf before adding the smiley */
@@ -286,7 +286,7 @@ static void do_add(GtkWidget *widget, Pi
dirname, g_strerror(errno));
}
}
-
+
gdk_pixbuf_save_to_buffer(s->custom_pixbuf, &buffer, &size,
"png", NULL, "compression", "9", NULL, NULL);
filename = purple_util_get_image_filename(buffer, size);
@@ -385,7 +385,7 @@ pidgin_smiley_edit(GtkWidget *widget, Pu
hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BORDER);
gtk_container_add(GTK_CONTAINER(GTK_VBOX(vbox)), hbox);
- label = gtk_label_new_with_mnemonic(_("Smiley _Image"));
+ label = gtk_label_new_with_mnemonic(_("_Image:"));
gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
gtk_widget_show(label);
@@ -415,8 +415,8 @@ pidgin_smiley_edit(GtkWidget *widget, Pu
hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BORDER);
gtk_container_add(GTK_CONTAINER(GTK_VBOX(vbox)),hbox);
- /* Smiley shortcut */
- label = gtk_label_new_with_mnemonic(_("Smiley S_hortcut"));
+ /* Shortcut text */
+ label = gtk_label_new_with_mnemonic(_("S_hortcut text:"));
gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
gtk_widget_show(label);
@@ -520,9 +520,9 @@ static void add_columns(GtkWidget *treev
gtk_tree_view_column_pack_start(column, rend, FALSE);
gtk_tree_view_column_add_attribute(column, rend, "pixbuf", ICON);
- /* Shortcut */
+ /* Shortcut Text */
column = gtk_tree_view_column_new();
- gtk_tree_view_column_set_title(column, _("Shortcut"));
+ gtk_tree_view_column_set_title(column, _("Shortcut Text"));
gtk_tree_view_column_set_resizable(column, TRUE);
gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);
@@ -740,4 +740,3 @@ void pidgin_smiley_manager_show(void)
gtk_widget_show(win);
}
-
============================================================
--- pidgin/gtksmiley.h a59d0f3a60f348da398d669f7b79789f6de5ffc1
+++ pidgin/gtksmiley.h a76d7590c1a4ff856badead1903f04baa10fc452
@@ -25,8 +25,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
-#ifndef _PIDGIN_GTKSMILEY_H_
-#define _PIDGIN_GTKSMILEY_H_
+#ifndef PIDGIN_GTKSMILEY_H
+#define PIDGIN_GTKSMILEY_H
#include "smiley.h"
@@ -62,7 +62,7 @@ void pidgin_smileys_uninit(void);
*
* @constreturn A GtkIMHmlSmiley list
*/
-GSList* pidgin_smileys_get_all(void);
+GSList *pidgin_smileys_get_all(void);
/******************************************************************************
* Smiley Manager
@@ -100,4 +100,4 @@ void pidgin_smiley_editor_set_image(Pidg
*/
void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image);
-#endif /* _PIDGIN_GTKSMILEY_H_*/
+#endif /* PIDGIN_GTKSMILEY_H */
More information about the Commits
mailing list