diff finch/libgnt/wms/irssi.c @ 18312:adcb44a07a2d

This is a more flexible way of getting random settings from .gntrc.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 27 Jun 2007 18:21:02 +0000
parents f52def9dc7c9
children 8aff2d3d6820
line wrap: on
line diff
--- a/finch/libgnt/wms/irssi.c	Wed Jun 27 09:15:57 2007 +0000
+++ b/finch/libgnt/wms/irssi.c	Wed Jun 27 18:21:02 2007 +0000
@@ -280,10 +280,10 @@
 	irssi = g_object_new(TYPE_IRSSI, NULL);
 	*wm = GNT_WM(irssi);
 
-	style = gnt_style_get_from_name("irssi-split-v");
+	style = gnt_style_get_from_name("irssi", "split-v");
 	irssi->vert = style ? atoi(style) : 1;
 
-	style = gnt_style_get_from_name("irssi-split-h");
+	style = gnt_style_get_from_name("irssi", "split-h");
 	irssi->horiz = style ? atoi(style) : 1;
 
 	irssi->vert = MAX(irssi->vert, 1);