[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-35-ge8ccd6c44
paul at claws-mail.org
paul at claws-mail.org
Thu Feb 4 10:14:35 UTC 2021
The branch, gtk3 has been updated
via e8ccd6c449430e3b775f09e27ec8f1ad000def33 (commit)
from dea435bf8b8c0fdeb8b89c8a7a400c78d3ada6f0 (commit)
Summary of changes:
src/action.c | 3 ++-
src/plugins/fancy/fancy_viewer.c | 3 ++-
src/statusbar.c | 5 +++--
3 files changed, 7 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit e8ccd6c449430e3b775f09e27ec8f1ad000def33
Author: paul <paul at claws-mail.org>
Date: Thu Feb 4 10:14:31 2021 +0000
show progressbar text
diff --git a/src/action.c b/src/action.c
index bb5f057d8..c0aeb51ad 100644
--- a/src/action.c
+++ b/src/action.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 the Claws Mail Team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1218,6 +1218,7 @@ static void update_io_dialog(Children *children)
text = g_strdup_printf(format, _("Completed"),
children->initial_nb - children->nb,
children->initial_nb);
+ gtk_progress_bar_set_show_text(GTK_PROGRESS_BAR(children->progress_bar), TRUE);
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(children->progress_bar), text);
g_free(text);
}
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index 9bc8bde51..67cd59825 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -1,7 +1,7 @@
/*
* Claws Mail -- A GTK+ based, lightweight, and fast e-mail client
* == Fancy Plugin ==
- * Copyright(C) 1999-2015 the Claws Mail Team
+ * Copyright(C) 1999-2021 the Claws Mail Team
* This file Copyright (C) 2009-2014 Salvatore De Paolis
* <iwkse at claws-mail.org> and the Claws Mail Team
*
@@ -659,6 +659,7 @@ static void load_progress_cb(WebKitWebView *view, GParamSpec *param,
gdouble progress = webkit_web_view_get_estimated_load_progress(view);
gchar *label = g_strdup_printf("%d%% Loading...", (gint)(progress * 100));
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(viewer->progress), progress);
+ gtk_progress_bar_set_show_text(GTK_PROGRESS_BAR(viewer->progress), TRUE);
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(viewer->progress),
(const gchar*)label);
g_free(label);
diff --git a/src/statusbar.c b/src/statusbar.c
index 1a0d562d0..9e13b45b8 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -171,6 +171,7 @@ void statusbar_progress_all (gint done, gint total, gint step)
const gchar *format = "%d / %d";
#endif
g_snprintf(buf, sizeof(buf), format, done, total);
+ gtk_progress_bar_set_show_text(progressbar, TRUE);
gtk_progress_bar_set_text(progressbar, buf);
gtk_progress_bar_set_fraction(progressbar,
(gfloat)done / (gfloat)total);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list