diff options
author | portix <portix@gmx.net> | 2012-12-02 12:13:42 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-12-02 12:13:42 +0100 |
commit | 548718094e36684d961dff5170bc71d9197f473c (patch) | |
tree | c172043234754ebefd470662d600e7010185dcd9 /src/dwb.c | |
parent | d1bed65f0559f4f2735942ad152803f21c7e90d5 (diff) | |
parent | 9bdd9b79794d00d2343c8132232dcc9d9490f1ed (diff) | |
download | dwb-548718094e36684d961dff5170bc71d9197f473c.zip |
Automated merge with ssh://bitbucket.org/portix/dwb
Diffstat (limited to 'src/dwb.c')
-rw-r--r-- | src/dwb.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3747,16 +3747,16 @@ dwb_init_gui() { #else dwb.gui.status_hbox = gtk_hbox_new(false, 2); #endif - GtkWidget *alignment = gtk_alignment_new(0.5, 0.5, 1, 1); + dwb.gui.alignment = gtk_alignment_new(0.5, 0.5, 1, 1); int padding = GET_INT("bars-padding"); - gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), padding, padding, padding, padding); - gtk_container_add(GTK_CONTAINER(alignment), dwb.gui.status_hbox); + gtk_alignment_set_padding(GTK_ALIGNMENT(dwb.gui.alignment), padding, padding, padding, padding); + gtk_container_add(GTK_CONTAINER(dwb.gui.alignment), dwb.gui.status_hbox); gtk_box_pack_start(GTK_BOX(dwb.gui.status_hbox), dwb.gui.lstatus, false, false, 0); gtk_box_pack_start(GTK_BOX(dwb.gui.status_hbox), dwb.gui.entry, true, true, 0); gtk_box_pack_start(GTK_BOX(dwb.gui.status_hbox), dwb.gui.urilabel, true, true, 0); gtk_box_pack_start(GTK_BOX(dwb.gui.status_hbox), dwb.gui.rstatus, false, false, 0); - gtk_container_add(GTK_CONTAINER(dwb.gui.statusbox), alignment); + gtk_container_add(GTK_CONTAINER(dwb.gui.statusbox), dwb.gui.alignment); gtk_box_pack_end(GTK_BOX(dwb.gui.vbox), scratchpad_get(), false, false, 0); gtk_container_add(GTK_CONTAINER(dwb.gui.window), dwb.gui.vbox); |