← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-me/trunk] Rev 89: merging in character-limit

 

Merge authors:
  David Barth (dbarth)
Related merge proposals:
  https://code.launchpad.net/~dbarth/indicator-me/character-limit/+merge/21442
  proposed by: David Barth (dbarth)
  review: Abstain - Ted Gould (ted)
  review: Approve - Matthew Paul Thomas (mpt)
------------------------------------------------------------
revno: 89 [merge]
committer: David Barth <david.barth@xxxxxxxxxxxxx>
branch nick: indicator-me
timestamp: Wed 2010-03-17 16:58:52 +0100
message:
  merging in character-limit
modified:
  src/indicator-me.c


--
lp:indicator-me
https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk

Your team ayatana-commits is subscribed to branch lp:indicator-me.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk/+edit-subscription.
=== modified file 'src/indicator-me.c'
--- src/indicator-me.c	2010-03-15 13:47:10 +0000
+++ src/indicator-me.c	2010-03-16 11:26:04 +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),