[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-gtk] branch master updated: show custom widgets
From: |
gnunet |
Subject: |
[taler-anastasis-gtk] branch master updated: show custom widgets |
Date: |
Sat, 20 Mar 2021 22:17:32 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis-gtk.
The following commit(s) were added to refs/heads/master by this push:
new c0f4ffb show custom widgets
c0f4ffb is described below
commit c0f4ffb17a4943efc45059c686c7718f43b97b1d
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Mar 20 22:17:29 2021 +0100
show custom widgets
---
src/anastasis/anastasis-gtk_action.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/anastasis/anastasis-gtk_action.c
b/src/anastasis/anastasis-gtk_action.c
index 4962d22..06d1926 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -226,6 +226,7 @@ create_attribute_widget (const struct GNUNET_HashCode *uh,
if (NULL != w)
{
gtk_widget_show (w);
+ gtk_widget_show (gtk_widget_get_parent (w));
return w;
}
for (unsigned int i = 0; NULL != type_map[i].type; i++)
@@ -237,18 +238,19 @@ create_attribute_widget (const struct GNUNET_HashCode *uh,
continue;
w = type_map[i].ctor (id_attr);
GNUNET_assert (NULL != w);
+ gtk_widget_show (w);
box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL,
5 /* spacing in pixels */));
{
GtkWidget *glabel;
glabel = gtk_label_new (label);
- gtk_box_pack_end (box, /* parent */
+ gtk_box_pack_start (box, /* parent */
glabel, /* child */
false, /* expand */
false, /* fill */
5); /* padding */
-
+ gtk_widget_show (glabel);
}
GNUNET_assert (0 <
g_signal_connect (w,
@@ -257,11 +259,12 @@ create_attribute_widget (const struct GNUNET_HashCode *uh,
NULL));
gtk_widget_set_tooltip_text (w,
tooltip);
- gtk_box_pack_end (box, /* parent */
+ gtk_box_pack_start (box, /* parent */
w, /* child */
false, /* expand */
false, /* fill */
5); /* padding */
+ gtk_widget_show (GTK_WIDGET (box));
GNUNET_assert (GNUNET_OK ==
GNUNET_CONTAINER_multihashmap_put (AG_entry_attributes,
uh,
@@ -272,7 +275,7 @@ create_attribute_widget (const struct GNUNET_HashCode *uh,
pbox = GTK_BOX (GCG_get_main_window_object (
"anastasis_gtk_identity_vbox"));
- gtk_box_pack_end (pbox, /* parent */
+ gtk_box_pack_start (pbox, /* parent */
GTK_WIDGET (box), /* child */
false, /* expand */
false, /* fill */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-gtk] branch master updated: show custom widgets,
gnunet <=