[glide] Some visual tweaks
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] Some visual tweaks
- Date: Sun, 2 May 2010 08:10:30 +0000 (UTC)
commit 945d29c43b7f7033c7947d48c9b801c4f66d0bc9
Author: Robert Carr <racarr Valentine localdomain>
Date: Sat May 1 23:18:17 2010 -0400
Some visual tweaks
src/glide-inspector-actor.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/glide-inspector-actor.c b/src/glide-inspector-actor.c
index 708fd79..79f4a8d 100644
--- a/src/glide-inspector-actor.c
+++ b/src/glide-inspector-actor.c
@@ -147,7 +147,7 @@ glide_inspector_actor_set_property (GObject *object,
static GtkWidget *
glide_inspector_actor_make_geometry_control (GlideInspectorActor *ins, const gchar *text, GtkWidget **privloc)
{
- GtkWidget *ret = gtk_alignment_new (0,0.5,1,1);
+ GtkWidget *align = gtk_alignment_new (0,0.5,1,0.0);
GtkWidget *hbox = gtk_hbox_new (FALSE, 0);
GtkWidget *label = gtk_label_new(text);
// TODO: Range
@@ -156,16 +156,15 @@ glide_inspector_actor_make_geometry_control (GlideInspectorActor *ins, const gch
*privloc = button;
gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
+ gtk_container_add (GTK_CONTAINER (align), label);
- gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), align, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
- gtk_container_add (GTK_CONTAINER (ret),hbox);
-
g_signal_connect (button, "value-changed", G_CALLBACK (glide_inspector_actor_geometry_spin_changed),
ins);
- return ret;
+ return hbox;
}
static GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]