* VERSION CHANGED TO 2.0.10

* gnoemoe/mcp/gm-cell-renderer-text.c: fixed font sizes for smaller
		  fonts
This commit is contained in:
Jesse van den Kieboom 2006-04-24 07:08:38 +00:00
parent 355c7e8a41
commit b3b456d5f1
4 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2006-23-04 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 2.0.10
* gnoemoe/mcp/gm-cell-renderer-text.c: fixed font sizes for smaller
fonts
2006-23-04 Jesse van den Kieboom <jesse@icecrew.nl>
* VERSION CHANGED TO 2.0.9
* po/POTFILES.in: added gnoemoe/dialogs/gm-world-paste-dialog.c and

8
README
View File

@ -1,7 +1,7 @@
General Information
===================
This is version 2.0.8 of gnoemoe. gnoemoe is a Gnome MOO Client.
This is version 2.0.10 of gnoemoe. gnoemoe is a Gnome MOO Client.
GnoeMoe is a full featured Gnome MOO (MUD Object Oriented) Client which aims at
integrating in the Gnome desktop as nice as possible adhering the Gnome
@ -42,7 +42,7 @@ The official web site is:
You can download the latest gnoemoe tarball from the web site:
http://www.icecrew.nl/software/gnoemoe/download/gnoemoe-2.0.8.tar.gz
http://www.icecrew.nl/software/gnoemoe/download/gnoemoe-2.0.10.tar.gz
Installation
============
@ -57,8 +57,8 @@ gnoemoe requires:
Simple install procedure:
% gzip -cd gnoemoe-2.0.8.tar.gz | tar xvf - # unpack the sources
% cd gnoemoe-2.0.8 # change to the toplevel directory
% gzip -cd gnoemoe-2.0.10.tar.gz | tar xvf - # unpack the sources
% cd gnoemoe-2.0.10 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build gedit
[ Become root if necessary ]

View File

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(gnoemoe, 2.0.9, http://www.icecrew.nl/software/gnoemoe)
AC_INIT(gnoemoe, 2.0.10, http://www.icecrew.nl/software/gnoemoe)
AC_CONFIG_SRCDIR(gnoemoe/gm-app.c)
AC_CONFIG_MACRO_DIR([m4])

View File

@ -183,7 +183,8 @@ cell_renderer_text_update_text(GmCellRendererText *cell, GtkWidget *widget,
GdkColor color;
gchar *str;
gboolean show_status = FALSE;
gint font_size;
cell->priv->width = new_width;
attr_color = NULL;
@ -204,11 +205,12 @@ cell_renderer_text_update_text(GmCellRendererText *cell, GtkWidget *widget,
style = gtk_widget_get_style(widget);
color = style->text_aa[GTK_STATE_NORMAL];
font_size = pango_font_description_get_size(style->font_desc) / PANGO_SCALE;
attr_list = pango_attr_list_new();
attr_size = pango_attr_size_new(pango_font_description_get_size(
style->font_desc) / 1.2);
style->font_desc) / (font_size >= 10 ? 1.2 : 1.0));
attr_size->start_index = 0;
attr_size->end_index = strlen(cell->priv->name);
pango_attr_list_insert(attr_list, attr_size);
@ -226,7 +228,7 @@ cell_renderer_text_update_text(GmCellRendererText *cell, GtkWidget *widget,
}
attr_size = pango_attr_size_new(pango_font_description_get_size(
style->font_desc) / 1.5);
style->font_desc) / (font_size >= 10 ? 1.5 : 1.2));
attr_size->start_index = attr_style->start_index;
attr_size->end_index = -1;
pango_attr_list_insert(attr_list, attr_size);