Comment 15 for bug 382393

Revision history for this message
In , Todor (todor-redhat-bugs) wrote :

It would be nice, if the flag icon size is configurable via gconf or gtkrc. Anyway a fast workaround is a small change in the applet code, delimiting it to only 75% of the available height. (maybe that would be even better solved as a setting in gconf, named "zoom" or "scale")

diff -uNr a/gswitchit/gswitchit-applet.c b/gswitchit/gswitchit-applet.c
--- a/gswitchit/gswitchit-applet.c 2008-11-15 07:04:17.000000000 +0100
+++ b/gswitchit/gswitchit-applet.c 2008-11-15 07:06:07.000000000 +0100
@@ -614,7 +614,7 @@
  gtk_widget_show_all (sia->applet);
  gtk_widget_realize (sia->applet);

- max_ratio = gkbd_indicator_get_max_width_height_ratio ();
+ max_ratio = 0.75 * gkbd_indicator_get_max_width_height_ratio ();

  if (max_ratio > 0) {
   switch (orient) {