aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-10-08 11:57:58 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-10-08 11:57:58 -0400
commit888eea9a4c226efe8f82e2c2c37f49b8afa71cb9 (patch)
tree7f59207e71f55dfa916496592d4efe08fa50d286 /src/textadept.c
parentda4ccec1a5fb0699de2332a48f2e6f913fe56a75 (diff)
downloadtextadept-888eea9a4c226efe8f82e2c2c37f49b8afa71cb9.tar.gz
textadept-888eea9a4c226efe8f82e2c2c37f49b8afa71cb9.zip
Switched statusbar and docstatusbar; src/textadept.c
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 69f1f8b7..9bc8c343 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -49,19 +49,19 @@ void create_ui() {
gtk_box_pack_start(GTK_BOX(vbox), find, false, false, 5);
GtkWidget *hboxs = gtk_hbox_new(false, 0);
gtk_box_pack_start(GTK_BOX(vbox), hboxs, false, false, 0);
- docstatusbar = gtk_statusbar_new();
- gtk_statusbar_push(GTK_STATUSBAR(docstatusbar), 0, "");
- gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(docstatusbar), false);
- gtk_box_pack_start(GTK_BOX(hboxs), docstatusbar, true, true, 0);
+ statusbar = gtk_statusbar_new();
+ gtk_statusbar_push(GTK_STATUSBAR(statusbar), 0, "");
+ gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(statusbar), false);
+ gtk_box_pack_start(GTK_BOX(hboxs), statusbar, true, true, 0);
command_entry = gtk_entry_new();
signal(command_entry, "activate", c_activated);
signal(command_entry, "key_press_event", c_keypress);
g_object_set(G_OBJECT(command_entry), "width-request", 200, NULL);
gtk_box_pack_start(GTK_BOX(hboxs), command_entry, false, false, 0);
- statusbar = gtk_statusbar_new();
- gtk_statusbar_push(GTK_STATUSBAR(statusbar), 0, "");
- g_object_set(G_OBJECT(statusbar), "width-request", 250, NULL);
- gtk_box_pack_start(GTK_BOX(hboxs), statusbar, false, false, 0);
+ docstatusbar = gtk_statusbar_new();
+ gtk_statusbar_push(GTK_STATUSBAR(docstatusbar), 0, "");
+ g_object_set(G_OBJECT(docstatusbar), "width-request", 400, NULL);
+ gtk_box_pack_start(GTK_BOX(hboxs), docstatusbar, false, false, 0);
gtk_widget_show_all(window);
gtk_widget_hide(menubar); // hide initially
gtk_widget_hide(findbox); // hide initially