diff options
author | Josh Rickmar <jrick@devio.us> | 2012-07-10 14:37:08 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-07-10 14:37:08 -0400 |
commit | c6cd959830a33eb4257bb8660ed96dcc684e7550 (patch) | |
tree | e5c1a4d1dc295d6123bcc235b7f1022121ba7292 | |
parent | 99d110cd74bbd08011a754d1c11a08e51a90debe (diff) | |
download | xombrero-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.
-rw-r--r-- | xombrero.c | 4 | ||||
-rw-r--r-- | xombrero.css | 5 |
2 files changed, 3 insertions, 6 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); diff --git a/xombrero.css b/xombrero.css index 75a5715..f85be5a 100644 --- a/xombrero.css +++ b/xombrero.css @@ -30,13 +30,12 @@ } .entry { - border-width: 1px; padding: 2px; color: @fg_color; } -#cmd .entry, -#statusbar .entry { +#vbox > .entry, +#statusbar * { border-width: 0px; } |