~ubuntu-branches/ubuntu/utopic/unity-greeter/utopic

« back to all changes in this revision

Viewing changes to src/dash-button.vala

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2013-01-04 10:37:29 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: package-import@ubuntu.com-20130104103729-ydal31wfuhirb8zb
Tags: upstream-13.04.0
ImportĀ upstreamĀ versionĀ 13.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * Authors: Michael Terry <michael.terry@canonical.com>
18
18
 */
19
19
 
20
 
public class DashButton : Gtk.Button, Fadable
 
20
public class DashButton : FlatButton, Fadable
21
21
{
22
22
    protected FadeTracker fade_tracker { get; protected set; }
23
23
    private Gtk.Label text_label;
67
67
        try
68
68
        {
69
69
            var style = new Gtk.CssProvider ();
70
 
            style.load_from_data ("* {padding: 8px;}", -1);
 
70
            style.load_from_data ("* {padding: 6px 8px 6px 8px;
 
71
                                      -GtkWidget-focus-line-width: 0px;
 
72
                                     }", -1);
71
73
            this.get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
72
74
        }
73
75
        catch (Error e)