[Commits] passphrase.c 1.1.2.34 1.1.2.34.2.1 prefs_gpg.c 1.1.2.34 1.1.2.34.2.1 select-keys.c 1.1.2.29 1.1.2.29.2.1

miras at claws-mail.org miras at claws-mail.org
Tue Nov 29 01:15:28 CET 2011


Update of /home/claws-mail/claws/src/plugins/pgpcore
In directory claws-mail:/tmp/cvs-serv12914/src/plugins/pgpcore

Modified Files:
      Tag: new-contacts
	passphrase.c prefs_gpg.c select-keys.c 
Log Message:
2011-11-29 [mir]	3.7.10cvs16.4-new-contacts

	* AUTHORS
	* configure.ac
	* doc/man/claws-mail.1
	* manual/advanced.xml
	* manual/es/advanced.xml
	* po/bg.po
	* po/ca.po
	* po/cs.po
	* po/de.po
	* po/en_GB.po
	* po/es.po
	* po/fi.po
	* po/fr.po
	* po/hu.po
	* po/id.po
	* po/it.po
	* po/ja.po
	* po/lt.po
	* po/nl.po
	* po/pl.po
	* po/pt_BR.po
	* po/pt_PT.po
	* po/ru.po
	* po/sk.po
	* po/sv.po
	* po/uk.po
	* po/zh_CN.po
	* src/account.c
	* src/action.c
	* src/addr_compl.c
	* src/addrbook.c
	* src/addrbook.h
	* src/addrcustomattr.c
	* src/addrduplicates.c
	* src/addressadd.c
	* src/addressbook.c
	* src/addressbook_foldersel.c
	* src/addrgather.c
	* src/alertpanel.c
	* src/browseldap.c
	* src/codeconv.c
	* src/compose.c
	* src/editaddress.c
	* src/editaddress_other_attributes_ldap.c
	* src/editbook.c
	* src/editgroup.c
	* src/editjpilot.c
	* src/editldap.c
	* src/editldap_basedn.c
	* src/edittags.c
	* src/editvcard.c
	* src/exphtmldlg.c
	* src/expldifdlg.c
	* src/export.c
	* src/exportldif.c
	* src/filtering.c
	* src/filtering.h
	* src/folder.c
	* src/folder.h
	* src/folder_item_prefs.c
	* src/foldersel.c
	* src/folderview.c
	* src/grouplistdialog.c
	* src/headerview.c
	* src/image_viewer.c
	* src/imap_gtk.c
	* src/import.c
	* src/importldif.c
	* src/importmutt.c
	* src/importpine.c
	* src/jpilot.c
	* src/ldif.c
	* src/main.c
	* src/mainwindow.c
	* src/mainwindow.h
	* src/message_search.c
	* src/messageview.c
	* src/mh_gtk.c
	* src/mimeview.c
	* src/mimeview.h
	* src/mutt.c
	* src/news.c
	* src/noticeview.c
	* src/pine.c
	* src/prefs_account.c
	* src/prefs_actions.c
	* src/prefs_actions.h
	* src/prefs_common.c
	* src/prefs_common.h
	* src/prefs_compose_writing.c
	* src/prefs_customheader.c
	* src/prefs_display_header.c
	* src/prefs_ext_prog.c
	* src/prefs_filtering.c
	* src/prefs_filtering_action.c
	* src/prefs_folder_column.c
	* src/prefs_folder_item.c
	* src/prefs_image_viewer.c
	* src/prefs_logging.c
	* src/prefs_matcher.c
	* src/prefs_message.c
	* src/prefs_msg_colors.c
	* src/prefs_other.c
	* src/prefs_receive.c
	* src/prefs_send.c
	* src/prefs_spelling.c
	* src/prefs_summaries.c
	* src/prefs_summary_column.c
	* src/prefs_summary_open.c
	* src/prefs_template.c
	* src/prefs_toolbar.c
	* src/prefs_wrapping.c
	* src/printing.c
	* src/procheader.c
	* src/procheader.h
	* src/procmsg.c
	* src/procmsg.h
	* src/quote_fmt.c
	* src/send_message.c
	* src/sourcewindow.c
	* src/ssl_manager.c
	* src/statusbar.c
	* src/stock_pixmap.c
	* src/summary_search.c
	* src/summaryview.c
	* src/summaryview.h
	* src/textview.c
	* src/textview.h
	* src/undo.c
	* src/uri_opener.c
	* src/vcard.c
	* src/wizard.c
	* src/common/defs.h
	* src/common/ssl.c
	* src/gtk/Makefile.am
	* src/gtk/about.c
	* src/gtk/authors.h
	* src/gtk/colorlabel.c
	* src/gtk/colorsel.c
	* src/gtk/combobox.c
	* src/gtk/description_window.c
	* src/gtk/foldersort.c
	* src/gtk/gtkaspell.c
	* src/gtk/gtkaspell.h
	* src/gtk/gtkcmclist.c
	* src/gtk/gtkcmclist.h
	* src/gtk/gtkcmctree.c
	* src/gtk/gtkcmctree.h
	* src/gtk/gtkcmoptionmenu.c
	* src/gtk/gtksctree.c
	* src/gtk/gtkshruler.c
	* src/gtk/gtkshruler.h
	* src/gtk/gtkutils.c
	* src/gtk/gtkutils.h
	* src/gtk/gtkvscrollbutton.c
	* src/gtk/icon_legend.c
	* src/gtk/inputdialog.c
	* src/gtk/logwindow.c
	* src/gtk/menu.c
	* src/gtk/menu.h
	* src/gtk/pluginwindow.c
	* src/gtk/prefswindow.c
	* src/gtk/progressdialog.c
	* src/gtk/quicksearch.c
	* src/gtk/spell_entry.c
	* src/plugins/bogofilter/bogofilter_gtk.c
	* src/plugins/dillo_viewer/dillo_prefs.c
	* src/plugins/dillo_viewer/dillo_viewer.c
	* src/plugins/pgpcore/passphrase.c
	* src/plugins/pgpcore/prefs_gpg.c
	* src/plugins/pgpcore/select-keys.c
	* src/plugins/spamassassin/spamassassin_gtk.c
	* src/plugins/trayicon/trayicon.c
	* src/plugins/trayicon/trayicon_prefs.c
	    Applied patch 3.7.10cvs17 to 3.7.10cvs106 from the
	    gtk2 branch making new-addressbook branch in sync
	    with head. 

Index: prefs_gpg.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/pgpcore/Attic/prefs_gpg.c,v
retrieving revision 1.1.2.34
retrieving revision 1.1.2.34.2.1
diff -u -d -r1.1.2.34 -r1.1.2.34.2.1
--- prefs_gpg.c	16 Feb 2011 07:16:23 -0000	1.1.2.34
+++ prefs_gpg.c	29 Nov 2011 00:15:26 -0000	1.1.2.34.2.1
@@ -84,11 +84,10 @@
 	GtkWidget *hbox1;
 	GtkWidget *vbox1, *vbox2;
 	GtkWidget *label_expire1;
-	GtkObject *spinbtn_store_passphrase_adj;
+	GtkAdjustment *spinbtn_store_passphrase_adj;
 	GtkWidget *spinbtn_store_passphrase;
 	GtkWidget *label_expire2;
 	GtkWidget *frame_passphrase;
-	CLAWS_TIP_DECL();
 
 	vbox1 = gtk_vbox_new (FALSE, VSPACING);
 	gtk_widget_show (vbox1);

Index: select-keys.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/pgpcore/Attic/select-keys.c,v
retrieving revision 1.1.2.29
retrieving revision 1.1.2.29.2.1
diff -u -d -r1.1.2.29 -r1.1.2.29.2.1
--- select-keys.c	16 Feb 2011 07:16:24 -0000	1.1.2.29
+++ select-keys.c	29 Nov 2011 00:15:26 -0000	1.1.2.29.2.1
@@ -487,7 +487,7 @@
     struct select_keys_s *sk = data;
 
     cm_return_val_if_fail (sk, FALSE);
-    if (event && event->keyval == GDK_Escape) {
+    if (event && event->keyval == GDK_KEY_Escape) {
         sk->okay = 0;
         gtk_main_quit ();
     }

Index: passphrase.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/pgpcore/Attic/passphrase.c,v
retrieving revision 1.1.2.34
retrieving revision 1.1.2.34.2.1
diff -u -d -r1.1.2.34 -r1.1.2.34.2.1
--- passphrase.c	16 Feb 2011 07:16:23 -0000	1.1.2.34
+++ passphrase.c	29 Nov 2011 00:15:26 -0000	1.1.2.34.2.1
@@ -77,6 +77,7 @@
     GtkWidget *pass_entry;
     GtkWidget *ok_button;
     GtkWidget *cancel_button;
+    GdkWindow *gdkwin;
 
     SummaryView *summaryview = mainwindow_get_mainwindow()->summaryview;
     
@@ -147,14 +148,15 @@
         int err = 0, cnt = 0;
         /* make sure that window is viewable */
         gtk_widget_show_now(window);
-	gdk_window_process_updates(window->window, TRUE);
+	gdkwin = gtk_widget_get_window(window);
+	gdk_window_process_updates(gdkwin, TRUE);
 	gdk_flush();
 	while(gtk_events_pending()) {
 		gtk_main_iteration();
 	}
 try_again:
-        if ((err = gdk_pointer_grab(window->window, TRUE, 0,
-                             window->window, NULL, GDK_CURRENT_TIME))) {
+        if ((err = gdk_pointer_grab(gdkwin, TRUE, 0,
+                             gdkwin, NULL, GDK_CURRENT_TIME))) {
 	    if (err == GDK_GRAB_NOT_VIEWABLE && cnt < 10) {
 	        cnt++;
 		g_warning("trying to grab mouse again\n");
@@ -166,7 +168,7 @@
                 return NULL;
 	    }
         }
-        if (gdk_keyboard_grab(window->window, FALSE, GDK_CURRENT_TIME)) {
+        if (gdk_keyboard_grab(gdkwin, FALSE, GDK_CURRENT_TIME)) {
             gdk_display_pointer_ungrab(gdk_display_get_default(),
 			 	       GDK_CURRENT_TIME);
             g_warning("OOPS: Could not grab keyboard\n");
@@ -225,7 +227,7 @@
 static gboolean
 passphrase_key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
-    if (event && event->keyval == GDK_Escape)
+    if (event && event->keyval == GDK_KEY_Escape)
         passphrase_cancel_cb(NULL, NULL);
     return FALSE;
 }



More information about the Commits mailing list