[Gpa-commits] r983 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 10 23:43:37 CEST 2009


Author: moritzs
Date: 2009-04-10 23:43:31 +0200 (Fri, 10 Apr 2009)
New Revision: 983

Modified:
   trunk/src/ChangeLog
   trunk/src/cardman.c
   trunk/src/cm-openpgp.c
Log:
* cm-openpgp.c (add_table_row): Made labels top aligned, so that they
don't jump around when activating expander widgets.

* cardman.c (cardman_action_new): Change menu item label; enable
translation.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2009-04-07 09:05:42 UTC (rev 982)
+++ trunk/src/ChangeLog	2009-04-10 21:43:31 UTC (rev 983)
@@ -1,3 +1,17 @@
+2009-04-10  Moritz  <moritz at gnu.org>
+
+	* cm-openpgp.c (add_table_row): Made labels top aligned, so that
+	they don't jump around when activating expander widgets.
+
+2009-04-05  Moritz  <moritz at gnu.org>
+
+	* cm-openpgp.c (add_table_row): Added new boolean parameter:
+	compact; set table attach options according to value of COMPACT.
+	Adjusted all callers of add_table_row.
+
+	* cardman.c (cardman_action_new): Change menu item label; enable
+	translation.
+
 2009-04-02  Werner Koch  <wk at g10code.com>
 
 	* keylist.c (gpa_keylist_next): Format user name the X.509 way.

Modified: trunk/src/cardman.c
===================================================================
--- trunk/src/cardman.c	2009-04-07 09:05:42 UTC (rev 982)
+++ trunk/src/cardman.c	2009-04-10 21:43:31 UTC (rev 983)
@@ -616,7 +616,7 @@
       /* Card menu.  */
       { "CardReload", GTK_STOCK_REFRESH, NULL, NULL,
 	N_("Reload card information"), G_CALLBACK (card_reload_action) },
-      { "CardGenkey", GTK_STOCK_NEW, "Generate new key...", NULL,
+      { "CardGenkey", GTK_STOCK_NEW, N_("Generate key"), NULL,
 	N_("Generate new key on card"), G_CALLBACK (card_genkey_action) },
     };
 

Modified: trunk/src/cm-openpgp.c
===================================================================
--- trunk/src/cm-openpgp.c	2009-04-07 09:05:42 UTC (rev 982)
+++ trunk/src/cm-openpgp.c	2009-04-10 21:43:31 UTC (rev 983)
@@ -1168,9 +1168,9 @@
 
   label = gtk_label_new (labelstr);
   gtk_label_set_width_chars  (GTK_LABEL (label), 22);
-  gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
+  gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
   gtk_table_attach (GTK_TABLE (table), label, 0, 1,	       
-                    *rowidx, *rowidx + 1, GTK_FILL, GTK_SHRINK, 0, 0); 
+                    *rowidx, *rowidx + 1, GTK_FILL, GTK_FILL, 0, 0); 
   
   if (is_label)
     gtk_misc_set_alignment (GTK_MISC (widget), 0, 0.5);



More information about the Gpa-commits mailing list