]> git.armaanb.net Git - chorizo.git/commitdiff
Remove size request for the progress bar
authorPeter Hofmann <scm@uninformativ.de>
Tue, 14 Jun 2016 17:29:48 +0000 (19:29 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Tue, 14 Jun 2016 17:29:48 +0000 (19:29 +0200)
I'm not comfortable with having pixel values in here. The 100px were
mostly personal taste. HiDPI screens might not be happy with 100px
anyway.

browser.c

index 44fe596bfcd22dc4aeee2c22a0a7345f595ea222..e17479123770ebdf18219ea35639ea3ba8769878 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -204,7 +204,6 @@ client_new(const gchar *uri)
      * are a dirty workaround (kind of). */
     c->progress = gtk_level_bar_new();
     gtk_level_bar_set_value(GTK_LEVEL_BAR(c->progress), 1);
-    gtk_widget_set_size_request(c->progress, 100, -1);
 
     c->top_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
     gtk_box_pack_start(GTK_BOX(c->top_box), c->location, TRUE, TRUE, 0);