diff options
Diffstat (limited to 'hardinfo2')
| -rw-r--r-- | hardinfo2/arch/linux/common/filesystem.h | 4 | ||||
| -rw-r--r-- | hardinfo2/arch/linux/common/net.h | 5 | ||||
| -rw-r--r-- | hardinfo2/computer.c | 3 | ||||
| -rw-r--r-- | hardinfo2/shell.c | 2 | 
4 files changed, 8 insertions, 6 deletions
| diff --git a/hardinfo2/arch/linux/common/filesystem.h b/hardinfo2/arch/linux/common/filesystem.h index 3581ccbb..b3008387 100644 --- a/hardinfo2/arch/linux/common/filesystem.h +++ b/hardinfo2/arch/linux/common/filesystem.h @@ -81,9 +81,9 @@ scan_filesystems(void)  					  stravail);  		g_hash_table_insert(moreinfo, g_strdup_printf("FS%d", ++count), strhash); -		fs_list = h_strdup_cprintf("$FS%d$%s=%s total, %s free\n", +		fs_list = h_strdup_cprintf("$FS%d$%s=%s|%s\n",  					  fs_list, -					  count, tmp[0], strsize, stravail); +					  count, tmp[0], stravail, strsize);  		g_free(strsize);  		g_free(stravail); diff --git a/hardinfo2/arch/linux/common/net.h b/hardinfo2/arch/linux/common/net.h index 23cfa9da..8c083a9e 100644 --- a/hardinfo2/arch/linux/common/net.h +++ b/hardinfo2/arch/linux/common/net.h @@ -342,12 +342,11 @@ static void scan_net_interfaces_24(void)  	    network_interfaces =  		h_strdup_cprintf -		("$%s$%s=%s|Sent %.2lfMiB, received %.2lfMiB|%s\n", +		("$%s$%s=%s|Sent %.2lfMiB, received %.2lfMiB\n",  		 network_interfaces, devid, ifacename, ni.ip[0] ? ni.ip : "",  		 trans_mb, recv_mb); -  	    net_get_iface_type(ifacename, &iface_type, &iface_icon, &ni); -	     +  	    network_icons = h_strdup_cprintf("Icon$%s$%s=%s.png\n",  					     network_icons, devid,  					     ifacename, iface_icon); diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c index 379a091c..74244762 100644 --- a/hardinfo2/computer.c +++ b/hardinfo2/computer.c @@ -316,7 +316,8 @@ gchar *callback_fs()  			   "ViewType=1\n"  			   "ReloadInterval=5000\n"  			   "ColumnTitle$TextValue=Mount Point\n" -			   "ColumnTitle$Value=Total / Free Space\n" +			   "ColumnTitle$Value=Free\n" +			   "ColumnTitle$Extra1=Total\n"  			   "ShowColumnHeaders=true\n"  			   "[Mounted File Systems]\n%s\n", fs_list);  } diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 01b56fa5..2a61246b 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -1109,6 +1109,7 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload)      g_object_ref(shell->info->model);      gtk_tree_view_set_model(GTK_TREE_VIEW(shell->info->view), NULL); +    gdk_window_freeze_updates(shell->window->window);      gtk_tree_store_clear(store); @@ -1141,6 +1142,7 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload)  	update_progress();      } +    gdk_window_thaw_updates(shell->window->window);      shell_set_note_from_entry(entry);      g_strfreev(groups); | 
