fix trayicon pixmap update
authorColin Leroy <colin@colino.net>
Sun, 6 Jun 2004 19:28:57 +0000 (19:28 +0000)
committerColin Leroy <colin@colino.net>
Sun, 6 Jun 2004 19:28:57 +0000 (19:28 +0000)
ChangeLog-gtk2.claws
configure.ac
src/plugins/trayicon/trayicon.c

index 7817965089080932b4ae074d0673000eacea36b3..373da62be1cdfd315b017bf611b45370bc213772 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-06 [colin]     0.9.10claws67.8
+
+       * src/plugins/trayicon/trayicon.c
+               Fix pixmap update
+
 2004-06-06 [colin]     0.9.10claws67.7
 
        * src/addressbook.c
index 04ea6b97b9d318ac46c511ab5c1c9d2e1457148b..74c37205c174ef4e43240b1ee48903f1d16022ed 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=67.7
+EXTRA_VERSION=67.8
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index a078709ea04ef275b2baf69385ff6b32986679a8..720af45048214027aab5f0689b22af6c8ead2f33 100644 (file)
@@ -165,7 +165,7 @@ static void create_trayicon()
         image = gtk_pixmap_new(nomail_pixmap, nomail_bitmap);
         gtk_packer_add_defaults(GTK_PACKER(packer), GTK_WIDGET(image), GTK_SIDE_TOP, GTK_ANCHOR_CENTER, GTK_PACK_EXPAND);
 #else
-        image = gtk_image_new_from_pixmap(nomail_pixmap, nomail_bitmap);
+        image = gtk_pixmap_new(nomail_pixmap, nomail_bitmap);
         gtk_container_add(GTK_CONTAINER(eventbox), image);
 #endif
 
@@ -222,12 +222,12 @@ void plugin_done(void)
 
 const gchar *plugin_name(void)
 {
-       return _("Trayicon");
+       return gettext("Trayicon");
 }
 
 const gchar *plugin_desc(void)
 {
-       return _("This plugin places a mailbox icon in the system tray that "
+       return gettext("This plugin places a mailbox icon in the system tray that "
                 "indicates if you have new or unread mail.\n"
                 "\n"
                 "The mailbox is empty if you have no unread mail, otherwise "