[Gpa-commits] r932 - trunk/src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jan 14 18:36:35 CET 2009
Author: marcus
Date: 2009-01-14 18:36:35 +0100 (Wed, 14 Jan 2009)
New Revision: 932
Modified:
trunk/src/ChangeLog
trunk/src/cardman.c
Log:
2009-01-14 Marcus Brinkmann <marcus at g10code.de>
* cardman.c (construct_card_widget): Make frame label bold and
remove the shadows. Add border for personal_table and keys_table.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-01-13 13:14:58 UTC (rev 931)
+++ trunk/src/ChangeLog 2009-01-14 17:36:35 UTC (rev 932)
@@ -1,3 +1,8 @@
+2009-01-14 Marcus Brinkmann <marcus at g10code.de>
+
+ * cardman.c (construct_card_widget): Make frame label bold and
+ remove the shadows. Add border for personal_table and keys_table.
+
2009-01-13 Werner Koch <wk at g10code.com>
* cardman.c (_GpaCardManager): Add field CARDTYPE.
Modified: trunk/src/cardman.c
===================================================================
--- trunk/src/cardman.c 2009-01-13 13:14:58 UTC (rev 931)
+++ trunk/src/cardman.c 2009-01-14 17:36:35 UTC (rev 932)
@@ -485,6 +485,7 @@
construct_card_widget (GpaCardManager *cardman)
{
GtkWidget *container;
+ GtkWidget *label;
GtkWidget *general_frame;
GtkWidget *general_table;
GtkWidget *personal_frame;
@@ -495,15 +496,31 @@
container = gtk_vbox_new (FALSE, 0);
- general_frame = gtk_frame_new ("General");
- personal_frame = gtk_frame_new ("Personal");
- keys_frame = gtk_frame_new ("Keys");
+ general_frame = gtk_frame_new (NULL);
+ gtk_frame_set_shadow_type (GTK_FRAME (general_frame), GTK_SHADOW_NONE);
+ label = gtk_label_new (_("<b>General</b>"));
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_frame_set_label_widget (GTK_FRAME (general_frame), label);
+ personal_frame = gtk_frame_new (NULL);
+ gtk_frame_set_shadow_type (GTK_FRAME (personal_frame), GTK_SHADOW_NONE);
+ label = gtk_label_new (_("<b>Personal</b>"));
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_frame_set_label_widget (GTK_FRAME (personal_frame), label);
+
+ keys_frame = gtk_frame_new (NULL);
+ gtk_frame_set_shadow_type (GTK_FRAME (keys_frame), GTK_SHADOW_NONE);
+ label = gtk_label_new (_("<b>Keys</b>"));
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_frame_set_label_widget (GTK_FRAME (keys_frame), label);
+
general_table = gtk_table_new (4, 2, FALSE);
personal_table = gtk_table_new (4, 2, FALSE);
keys_table = gtk_table_new (4, 2, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (general_table), 5);
+ gtk_container_set_border_width (GTK_CONTAINER (personal_table), 5);
+ gtk_container_set_border_width (GTK_CONTAINER (keys_table), 5);
#define ADD_TABLE_ROW(table, rowidx, label, widget) \
{ \
More information about the Gpa-commits
mailing list