2006-02-13 [wwp] 2.0.0cvs46
authorTristan Chabredier <wwp@claws-mail.org>
Mon, 13 Feb 2006 09:00:25 +0000 (09:00 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Mon, 13 Feb 2006 09:00:25 +0000 (09:00 +0000)
* src/plugins/pgpcore/prefs_gpg.c
fixed sensitivity of radio widgets in account / GPG-plugin prefs.

ChangeLog
PATCHSETS
configure.ac
src/plugins/pgpcore/prefs_gpg.c

index 962eb16e2e32608acaa28e2e3f72406dbf6fe330..f7aab9b855c19496cc31d9661e3268d8894270f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-13 [wwp]       2.0.0cvs46
+
+       * src/plugins/pgpcore/prefs_gpg.c
+               fixed sensitivity of radio widgets in account / GPG-plugin prefs.
+
 2006-02-12 [colin]     2.0.0cvs45
 
        * src/folderview.c
index 6cd248a81c19b9183d5f219018c4444be1af6e56..28570a5e25a95870554d3eb2a4ad2e1da6f3f0ae 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.168 -r 1.395.2.169 src/summaryview.c;  ) > 2.0.0cvs43.patchset
 ( cvs diff -u -r 1.3.2.38 -r 1.3.2.39 src/prefs_themes.c;  ) > 2.0.0cvs44.patchset
 ( cvs diff -u -r 1.207.2.88 -r 1.207.2.89 src/folderview.c;  cvs diff -u -r 1.115.2.74 -r 1.115.2.75 src/main.c;  cvs diff -u -r 1.274.2.95 -r 1.274.2.96 src/mainwindow.c;  ) > 2.0.0cvs45.patchset
+( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/plugins/pgpcore/prefs_gpg.c;  ) > 2.0.0cvs46.patchset
index 9431f55b039b123fa520b31763081024811165c9..bd79b6f0336f0411a923a0ac74b5b3a92f411ee3 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=45
+EXTRA_VERSION=46
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index e6d151fd1791044c1dfb5293f289e27fdbe41602..8db5405532e68bd50a1e0964a34b5984fe95d52b 100644 (file)
@@ -215,18 +215,15 @@ static void prefs_gpg_account_create_widget_func(PrefsPage *_page,
        PrefsAccount *account = (PrefsAccount *) data;
        GPGAccountConfig *config;
 
-       /*** BEGIN GLADE CODE ***/
        GtkWidget *vbox;
        GtkWidget *frame1;
        GtkWidget *table1;
+       GtkWidget *table2;
        GSList *key_group = NULL;
        GtkWidget *key_default;
        GtkWidget *key_by_from;
        GtkWidget *key_custom;
-       GtkWidget *label13;
-       GtkWidget *label14;
-       GtkWidget *label15;
-       GtkWidget *label16;
+       GtkWidget *label1;
        GtkWidget *keyid;
 
        vbox = gtk_vbox_new(FALSE, 0);
@@ -244,61 +241,42 @@ static void prefs_gpg_account_create_widget_func(PrefsPage *_page,
        gtk_table_set_row_spacings(GTK_TABLE(table1), 4);
        gtk_table_set_col_spacings(GTK_TABLE(table1), 4);
 
-       key_default = gtk_radio_button_new_with_label(key_group, "");
+       key_default = gtk_radio_button_new_with_label(key_group,
+                       _("Use default GnuPG key"));
        key_group = gtk_radio_button_group(GTK_RADIO_BUTTON(key_default));
        gtk_widget_show(key_default);
-       gtk_table_attach(GTK_TABLE(table1), key_default, 0, 1, 0, 1,
+       gtk_table_attach(GTK_TABLE(table1), key_default, 0, 3, 0, 1,
                         (GtkAttachOptions) (GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
 
-       key_by_from = gtk_radio_button_new_with_label(key_group, "");
+       key_by_from = gtk_radio_button_new_with_label(key_group,
+               _("Select key by your email address"));
        key_group = gtk_radio_button_group(GTK_RADIO_BUTTON(key_by_from));
        gtk_widget_show(key_by_from);
-       gtk_table_attach(GTK_TABLE(table1), key_by_from, 0, 1, 1, 2,
+       gtk_table_attach(GTK_TABLE(table1), key_by_from, 0, 3, 1, 2,
                         (GtkAttachOptions) (GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
 
-       key_custom = gtk_radio_button_new_with_label(key_group, "");
+       key_custom = gtk_radio_button_new_with_label(key_group,
+               _("Specify key manually"));
        key_group = gtk_radio_button_group(GTK_RADIO_BUTTON(key_custom));
        gtk_widget_show(key_custom);
-       gtk_table_attach(GTK_TABLE(table1), key_custom, 0, 1, 2, 3,
+       gtk_table_attach(GTK_TABLE(table1), key_custom, 0, 3, 2, 3,
                         (GtkAttachOptions) (GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
 
-       label13 = gtk_label_new(_("Use default GnuPG key"));
-       gtk_widget_show(label13);
-       gtk_table_attach(GTK_TABLE(table1), label13, 1, 3, 0, 1,
+       label1 = gtk_label_new(_("User or key ID:"));
+       gtk_widget_show(label1);
+       gtk_table_attach(GTK_TABLE(table1), label1, 0, 2, 3, 4,
                         (GtkAttachOptions) (GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
-       gtk_misc_set_alignment(GTK_MISC(label13), 0, 0.5);
-
-       label14 = gtk_label_new(_("Select key by your email address"));
-       gtk_widget_show(label14);
-       gtk_table_attach(GTK_TABLE(table1), label14, 1, 3, 1, 2,
-                        (GtkAttachOptions) (GTK_FILL),
-                        (GtkAttachOptions) (0), 0, 0);
-       gtk_misc_set_alignment(GTK_MISC(label14), 0, 0.5);
-
-       label15 = gtk_label_new(_("Specify key manually"));
-       gtk_widget_show(label15);
-       gtk_table_attach(GTK_TABLE(table1), label15, 1, 3, 2, 3,
-                        (GtkAttachOptions) (GTK_FILL),
-                        (GtkAttachOptions) (0), 0, 0);
-       gtk_misc_set_alignment(GTK_MISC(label15), 0, 0.5);
-
-       label16 = gtk_label_new(_("User or key ID:"));
-       gtk_widget_show(label16);
-       gtk_table_attach(GTK_TABLE(table1), label16, 1, 2, 3, 4,
-                        (GtkAttachOptions) (GTK_FILL),
-                        (GtkAttachOptions) (0), 0, 0);
-       gtk_label_set_justify(GTK_LABEL(label16), GTK_JUSTIFY_LEFT);
+       gtk_label_set_justify(GTK_LABEL(label1), GTK_JUSTIFY_LEFT);
 
        keyid = gtk_entry_new();
        gtk_widget_show(keyid);
        gtk_table_attach(GTK_TABLE(table1), keyid, 2, 3, 3, 4,
                         (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
-       /*** END GLADE CODE ***/
 
        config = prefs_gpg_account_get_config(account);
        switch (config->sign_key) {