increased size of xkb layout label on panel
authorGiuseppe Penone <giuspen@gmail.com>
Thu, 22 Nov 2012 23:06:55 +0000 (00:06 +0100)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 26 Nov 2012 21:17:41 +0000 (23:17 +0200)
src/plugins/xkb/xkb-plugin.c

index 1f57df5..fdf5b5a 100644 (file)
@@ -166,7 +166,7 @@ void xkb_redraw(XkbPlugin *p_xkb)
             GString *p_gstring_markup = g_string_new("");
             g_string_printf(p_gstring_markup,
                             "<span font='%u' weight='heavy' color=\"#%06x\">%s</span>",
-                            size/2, gcolor2rgb24(&p_xkb->p_plugin->panel->gfontcolor), group_name);
+                            size*4/5, gcolor2rgb24(&p_xkb->p_plugin->panel->gfontcolor), group_name);
             gtk_label_set_markup(GTK_LABEL(p_xkb->p_label), p_gstring_markup->str);
             g_string_free(p_gstring_markup, TRUE/*free also gstring->str*/);
             gtk_widget_hide(p_xkb->p_image);