← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~dbarth/indicator-me/character-limit into lp:indicator-me

 

David Barth has proposed merging lp:~dbarth/indicator-me/character-limit into lp:indicator-me with lp:~dbarth/indicator-me/radio-buttons-and-indeterminate-status as a prerequisite.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)


Enforces the character limit.
-- 
https://code.launchpad.net/~dbarth/indicator-me/character-limit/+merge/21442
Your team ayatana-commits is subscribed to branch lp:indicator-me.
=== modified file 'src/indicator-me.c'
--- src/indicator-me.c	2010-03-15 13:47:10 +0000
+++ src/indicator-me.c	2010-03-16 12:08:18 +0000
@@ -288,6 +288,7 @@
 	if (dbusmenu_menuitem_property_get (newitem, DBUSMENU_ENTRY_MENUITEM_PROP_TEXT) != NULL)
 		gtk_entry_set_text(entry, dbusmenu_menuitem_property_get(newitem, DBUSMENU_ENTRY_MENUITEM_PROP_TEXT));
 	gtk_entry_set_width_chars (entry, 23); /* set some nice aspect ratio for the menu */
+  gtk_entry_set_max_length (entry, 140); /* enforce current gwibber limit */
 
   g_signal_connect (ido,
                     "notify::parent", G_CALLBACK (entry_parent_changed),


Follow ups