[balsa/wip/gtk4: 23/351] Make sure progress bar is visible



commit d99ca103bc6c630300dd06a3759fcc5f0be5b303
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Oct 6 15:02:11 2017 -0400

    Make sure progress bar is visible

 src/main-window.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index e42a239..2d54942 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2221,8 +2221,8 @@ balsa_window_new()
 
     window->progress_bar = gtk_progress_bar_new();
     gtk_widget_set_valign(window->progress_bar, GTK_ALIGN_CENTER);
-    gtk_progress_bar_set_pulse_step(GTK_PROGRESS_BAR(window->progress_bar),
-                                    0.01);
+    gtk_progress_bar_set_pulse_step(GTK_PROGRESS_BAR(window->progress_bar), 0.01);
+    gtk_widget_set_size_request(window->progress_bar, balsa_app.mblist_width, -1);
     gtk_box_pack_start(GTK_BOX(hbox), window->progress_bar);
 
     window->statusbar = gtk_statusbar_new();
@@ -2233,11 +2233,6 @@ balsa_window_new()
     gtk_box_pack_start(GTK_BOX(hbox), window->statusbar);
     gtk_widget_show(hbox);
 
-#if 0
-    gnome_app_install_appbar_menu_hints(GNOME_APPBAR(balsa_app.appbar),
-                                        main_menu);
-#endif
-
     gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
     gtk_window_set_default_size(GTK_WINDOW(window), balsa_app.mw_width,
                                 balsa_app.mw_height);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]