about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-10 14:37:08 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-10 14:37:08 -0400
commitc6cd959830a33eb4257bb8660ed96dcc684e7550 (patch)
treee5c1a4d1dc295d6123bcc235b7f1022121ba7292 /xombrero.c
parent99d110cd74bbd08011a754d1c11a08e51a90debe (diff)
downloadxombrero-c6cd959830a33eb4257bb8660ed96dcc684e7550.tar.gz
Kill the pixel border around show_oops. The changes in xombrero.c
give each t->vbox the "vbox" name, which is then used to style .entry
classes that are direct descendants.
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xombrero.c b/xombrero.c
index 417c6d2..3aeb1b7 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -7506,6 +7506,7 @@ create_new_tab(char *title, struct undo *u, int focus, int position)
 #if GTK_CHECK_VERSION(3, 0, 0)
 	t->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
 	b = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+	gtk_widget_set_name(t->vbox, "vbox");
 #else
 	t->vbox = gtk_vbox_new(FALSE, 0);
 	b = gtk_hbox_new(FALSE, 0);
@@ -7575,9 +7576,6 @@ create_new_tab(char *title, struct undo *u, int focus, int position)
 	gtk_entry_set_has_frame(GTK_ENTRY(t->cmd), FALSE);
 	gtk_box_pack_end(GTK_BOX(t->vbox), t->cmd, FALSE, FALSE, 0);
 	gtk_widget_modify_font(GTK_WIDGET(t->cmd), cmd_font);
-#if GTK_CHECK_VERSION(3, 0, 0)
-	gtk_widget_set_name(GTK_WIDGET(t->cmd), "cmd");
-#endif
 
 	/* status bar */
 	statusbar_create(t);