2007-07-13 [paul] 2.10.0cvs18
[claws.git] / src / gtk / colorlabel.c
index f748c9ea02253a073fc4c1c7e6c0427182eb2cde..58a8509c7b3f32c63fce68a594fce3184ae14fe6 100644 (file)
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 /* (alfons) - based on a contribution by Satoshi Nagayasu; revised for colorful 
@@ -338,15 +338,14 @@ GtkWidget *colorlabel_create_check_color_menu_item(gint color_index, gboolean fo
 
        gtk_box_pack_start(GTK_BOX(hbox), vbox, FALSE, FALSE, 0);
        gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 4);
-       if (color_index < 9)
-               accel = g_strdup_printf("Ctrl+%c", '1'+color_index);
-       else
-               accel = g_strdup_printf("Shift+Ctrl+%c", '1'+color_index%9);
-       label = gtk_label_new(accel);
-       gtk_widget_show(label);
-       gtk_misc_set_alignment(GTK_MISC(label), 1, 0.5);
-       g_free(accel);
-       gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, 4);
+       if (color_index < 9) {
+               accel = g_strdup_printf(gettext("Ctrl+%c"), '1'+color_index);
+               label = gtk_label_new(accel);
+               gtk_widget_show(label);
+               gtk_misc_set_alignment(GTK_MISC(label), 1, 0.5);
+               g_free(accel);
+               gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, 4);
+       }
        return item;
 }