[kazehakase-svn] [3228] * src/sidebar/kz-downloader-sidebar.c: fixed wrong attribute name.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Sat Jul 28 23:50:24 JST 2007


Revision: 3228
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3228
Author:   kous
Date:     2007-07-28 23:50:23 +0900 (Sat, 28 Jul 2007)

Log Message:
-----------
* src/sidebar/kz-downloader-sidebar.c: fixed wrong attribute name.
  Thanks to Nobuyuki Fukuoka!

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/src/sidebar/kz-downloader-sidebar.c

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-07-21 12:51:42 UTC (rev 3227)
+++ kazehakase/trunk/ChangeLog	2007-07-28 14:50:23 UTC (rev 3228)
@@ -1,3 +1,8 @@
+2007-07-28  Kouhei Sutou  <kou****@cozmi*****>
+
+	* src/sidebar/kz-downloader-sidebar.c: fixed wrong attribute name.
+	Thanks to Nobuyuki Fukuoka!
+
 2007-07-21  Kouhei Sutou  <kou****@cozmi*****>
 
 	* src/utils/gregex.[ch]: updated to the current version.

Modified: kazehakase/trunk/src/sidebar/kz-downloader-sidebar.c
===================================================================
--- kazehakase/trunk/src/sidebar/kz-downloader-sidebar.c	2007-07-21 12:51:42 UTC (rev 3227)
+++ kazehakase/trunk/src/sidebar/kz-downloader-sidebar.c	2007-07-28 14:50:23 UTC (rev 3228)
@@ -206,7 +206,7 @@
 	{
 		gdouble progress;
 
-		progress = kz_downloader_get_percent(downloader) / 100.0;
+		progress = kz_downloader_get_percent(downloader);
 		gtk_list_store_set(GTK_LIST_STORE(model), iter,
 				   COLUMN_PROGRESS, progress,
 				   TERMINATOR);
@@ -273,7 +273,7 @@
 	cell = gtk_cell_renderer_progress_new();
 	column = gtk_tree_view_column_new_with_attributes
 			(_("Progress"), cell,
-			 "percentage", COLUMN_PROGRESS,
+			 "value", COLUMN_PROGRESS,
 			 NULL);
 	gtk_tree_view_append_column(tree_view, column);
 




More information about the Kazehakase-cvs mailing list
Back to archive index