summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-09-29 15:53:19 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-09-29 15:53:19 +0200
commit7984e546f9e1b91bb824b3d15a51b1a6f84b1f0f (patch)
tree4eb8392280b9fa6df8b205f07c8cdd11b9423f19
parent9e543259444724896b22783daeb47fc70048fb38 (diff)
fix lagometer and throttlemeter rendering on xp
more info: https://bugzilla.gnome.org/show_bug.cgi?id=598299#c136
-rw-r--r--xchat-wdk.patch20
1 files changed, 19 insertions, 1 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch
index 41a81ad6..ceacf2b4 100644
--- a/xchat-wdk.patch
+++ b/xchat-wdk.patch
@@ -870,7 +870,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/joind.c xchat-wdk/src/fe
  
 diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/fe-gtk/maingui.c
 --- xchat-wdk.orig/src/fe-gtk/maingui.c	2010-05-16 03:20:22 +0000
-+++ xchat-wdk/src/fe-gtk/maingui.c	2010-09-28 14:38:39 +0000
++++ xchat-wdk/src/fe-gtk/maingui.c	2010-09-29 13:49:59 +0000
 @@ -214,60 +214,10 @@
  	away_list = mg_attr_list_create (&colors[COL_AWAY], FALSE);
  }
@@ -968,6 +968,24 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/maingui.c xchat-wdk/src/
  		gtk_widget_show (dialog);
  	}
  }
+@@ -2489,7 +2442,7 @@
+ 	if (prefs.lagometer & 1)
+ 	{
+ 		gui->lagometer = wid = gtk_progress_bar_new ();
+-		gtk_widget_set_size_request (wid, 1, 8);
++		gtk_widget_set_size_request (wid, 1, 10);
+ 
+ 		wid = gtk_event_box_new ();
+ 		gtk_container_add (GTK_CONTAINER (wid), gui->lagometer);
+@@ -2504,7 +2457,7 @@
+ 	if (prefs.throttlemeter & 1)
+ 	{
+ 		gui->throttlemeter = wid = gtk_progress_bar_new ();
+-		gtk_widget_set_size_request (wid, 1, 8);
++		gtk_widget_set_size_request (wid, 1, 10);
+ 
+ 		wid = gtk_event_box_new ();
+ 		gtk_container_add (GTK_CONTAINER (wid), gui->throttlemeter);
 @@ -2957,11 +2910,7 @@
  		gtk_xtext_check_marker_visibility (GTK_XTEXT (current_sess->gui->xtext));
  		plugin_emit_dummy_print (current_sess, "Focus Window");