Ubuntu Forums Archive Viewer

How do I change the size of the plugin "applications"

Archived thread 1128140 from Ubuntu System Panel. Markdown source: Ubuntu_System_Panel/thread_1128140_How_do_I_change_the_size_of_the_plugin_"appli.md

Original URL About this archive
#1

I want to change some elements in the plugin "applications":

  • How to enlarge the size of the column category?
  • How to get the name of the application appears in full and no longer with "..." at the end.
#2

Pafrapé said:

  • How to enlarge the size of the column category?In applications.py

Change [COLOR=Red]Red[/COLOR] number in line 477:

CategoryButton = MakeAButton( [COLOR=Red]140[/COLOR], -1, gtk.RELIEF_NONE, "distributor-logo", 0, 0, 16, ["All"], [DirStyle] )

CategoryButton = MakeAButton( [COLOR=Red]100[/COLOR], -1, gtk.RELIEF_NONE, "", 0, 0, 0, ["All"], [DirStyle] )

CategoryButton = MakeAButton( [COLOR=Red]140[/COLOR], -1, gtk.RELIEF_NONE, child.icon, 0, 0, 16, [child.name], [DirStyle] )

CategoryButton = MakeAButton( [COLOR=Red]100[/COLOR], -1, gtk.RELIEF_NONE, "", 0, 0, 0, [child.name], [DirStyle] )

> **Pafrapé said:**
> - How to get the name of the application appears in full and no longer with "..." at the end.In easybuttons.py
Change line 50 to:```
[COLOR=Red]#[/COLOR]Label1.set_ellipsize( pango.ELLIPSIZE_END )

Hope this helps.

#3

Thank you very much. It's perfect.

#4

It's almost perfect, except for the names of applications: "..." have disappeared, for against the names of the application is not over. How to have it be over?

#5

Pafrapé said: It's almost perfect, except for the names of applications: "..." have disappeared, for against the names of the application is not over. How to have it be over?

My apologise I don't understand. Could you post a screenshot? Thanks.