Commit 2ffa7540 authored by Matthias Clasen's avatar Matthias Clasen

gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

of use_text_format to the end of the function. (#56447)
parent a0c65ec2
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
of use_text_format to the end of the function. (#56447)
Tue Aug 28 20:06:07 2001 Matthias Clasen <matthiasc@poet.de>
* demos/testpixbuf.c (update_timeout): Use gdk_pixbuf_loader_get_pixbuf
......
......@@ -907,9 +907,6 @@ gtk_progress_bar_set_text (GtkProgressBar *pbar,
{
g_return_if_fail (GTK_IS_PROGRESS_BAR (pbar));
/* We don't support formats in this interface */
GTK_PROGRESS (pbar)->use_text_format = FALSE;
if (text && *text)
{
gtk_progress_set_show_text (GTK_PROGRESS (pbar), TRUE);
......@@ -921,6 +918,9 @@ gtk_progress_bar_set_text (GtkProgressBar *pbar,
gtk_progress_set_format_string (GTK_PROGRESS (pbar), "");
}
/* We don't support formats in this interface */
GTK_PROGRESS (pbar)->use_text_format = FALSE;
g_object_notify (G_OBJECT (pbar), "text");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment