FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-22-2011, 07:13 PM
David Lehman
 
Default Show user-specified disk size.

---
widgets/src/DiskOverview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/widgets/src/DiskOverview.c b/widgets/src/DiskOverview.c
index 85ce348..474bea4 100644
--- a/widgets/src/DiskOverview.c
+++ b/widgets/src/DiskOverview.c
@@ -286,7 +286,7 @@ static void anaconda_disk_overview_set_property(GObject *object, guint prop_id,
break;

case PROP_CAPACITY: {
- char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", DEFAULT_CAPACITY);
+ char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", g_value_get_string(value));
gtk_label_set_markup(GTK_LABEL(priv->capacity_label), markup);
g_free(markup);
break;
--
1.7.8

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-22-2011, 08:09 PM
Chris Lumens
 
Default Show user-specified disk size.

> diff --git a/widgets/src/DiskOverview.c b/widgets/src/DiskOverview.c
> index 85ce348..474bea4 100644
> --- a/widgets/src/DiskOverview.c
> +++ b/widgets/src/DiskOverview.c
> @@ -286,7 +286,7 @@ static void anaconda_disk_overview_set_property(GObject *object, guint prop_id,
> break;
>
> case PROP_CAPACITY: {
> - char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", DEFAULT_CAPACITY);
> + char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", g_value_get_string(value));
> gtk_label_set_markup(GTK_LABEL(priv->capacity_label), markup);
> g_free(markup);
> break;

Ah, good catch.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 01-06-2012, 07:15 PM
David Lehman
 
Default Show user-specified disk size.

---
widgets/src/DiskOverview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/widgets/src/DiskOverview.c b/widgets/src/DiskOverview.c
index 85ce348..474bea4 100644
--- a/widgets/src/DiskOverview.c
+++ b/widgets/src/DiskOverview.c
@@ -286,7 +286,7 @@ static void anaconda_disk_overview_set_property(GObject *object, guint prop_id,
break;

case PROP_CAPACITY: {
- char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", DEFAULT_CAPACITY);
+ char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", g_value_get_string(value));
gtk_label_set_markup(GTK_LABEL(priv->capacity_label), markup);
g_free(markup);
break;
--
1.7.8

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org