aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-23 15:53:44 -0500
committerTed Gould <ted@canonical.com>2009-09-23 15:53:44 -0500
commit85bade0660d23623924c6af63554170a00996bf2 (patch)
tree0c510523ec8599e6ed600dd19cefd3052f1a5ca2 /src
parentfeb81dee762b9ba20e0fc58a7c0bbe0f49cf6a82 (diff)
parenta8ccb31fbb4a2c7a6bba2b19933ffad754e7f910 (diff)
downloadayatana-indicator-messages-85bade0660d23623924c6af63554170a00996bf2.tar.gz
ayatana-indicator-messages-85bade0660d23623924c6af63554170a00996bf2.tar.bz2
ayatana-indicator-messages-85bade0660d23623924c6af63554170a00996bf2.zip
Putting in a min-width for launchers
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index a3f22aa..e180992 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -241,6 +241,7 @@ new_launcher_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusme
GtkWidget * dsc_label = gtk_label_new("");
gtk_misc_set_alignment(GTK_MISC(dsc_label), 0.05, 0.5);
gtk_label_set_ellipsize(GTK_LABEL(dsc_label), PANGO_ELLIPSIZE_END);
+ gtk_widget_set_size_request(dsc_label, 250, -1);
gchar * markup = g_markup_printf_escaped("<span font-size=\"smaller\">%s</span>", dbusmenu_menuitem_property_get(newitem, LAUNCHER_MENUITEM_PROP_APP_DESC));
gtk_label_set_markup(GTK_LABEL(dsc_label), markup);
g_free(markup);