patch: Help-browser cosmetic fix
- From: Richard Hult <rhult hem2 passagen se>
- To: gnome-list gnome org
- Subject: patch: Help-browser cosmetic fix
- Date: Fri, 18 Dec 1998 20:04:47 +0100 (CET)
The URL: label in the help-browser looks a bit ugly because there is
absolutely no spacing between the left edge of the window and the
label. The attached patch puts a GNOME_PAD around the label. I don't
know if that's The Right solution but it works for me.
It strikes me right now that maybe the label shouldn't say "URL:" but
"Location:". That sounds a lot better and is more understandable from
the user point of view.
By the way, is there a simple way to change the appearance of the
links? They look... hmm... weird to say the least ;-)
Richard
Index: window.c
===================================================================
RCS file: /cvs/gnome/gnome-core/help-browser/window.c,v
retrieving revision 1.53
diff -u -r1.53 window.c
--- window.c 1998/12/17 19:06:55 1.53
+++ window.c 1998/12/18 18:49:10
@@ -448,7 +448,7 @@
hbox = gtk_hbox_new(FALSE, 0);
gtk_widget_show(hbox);
- label = gtk_label_new("URL: ");
+ label = gtk_label_new("URL:");
gtk_widget_show(label);
entry = gnome_entry_new(NULL);
@@ -458,7 +458,7 @@
gtk_signal_disconnect(GTK_OBJECT(GTK_COMBO(entry)->entry),
GTK_COMBO(entry)->activate_id);
- gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, GNOME_PAD);
gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 0);
gtk_container_add(GTK_CONTAINER(handleBox), hbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]