[gnome-usage] memory-sub-view: Drop "Memory" label at the top



commit 06c3b3c7dc092742654afa397660621479b625c3
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Nov 7 15:56:58 2017 +0100

    memory-sub-view: Drop "Memory" label at the top
    
    It is pretty obvious now that this content refers to "Memory".
    
    See https://gitlab.gnome.org/GNOME/gnome-usage/issues/21

 src/memory-sub-view.vala | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/memory-sub-view.vala b/src/memory-sub-view.vala
index dd8f25b..fc27021 100644
--- a/src/memory-sub-view.vala
+++ b/src/memory-sub-view.vala
@@ -29,11 +29,6 @@ namespace Usage
         {
             name = "MEMORY";
 
-            var label = new Gtk.Label("<span font_desc=\"14.0\">" + _("Memory") + "</span>");
-            label.set_use_markup(true);
-            label.margin_top = 25;
-            label.margin_bottom = 15;
-
             var memory_graph = new MemoryGraphBig();
             memory_graph.hexpand = true;
             var memory_graph_box = new GraphBox(memory_graph);
@@ -53,7 +48,6 @@ namespace Usage
             no_process_view = new NoResultsFoundView();
 
             var memory_box = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
-            memory_box.pack_start(label, false, false, 0);
             memory_box.pack_start(memory_graph_box, false, false, 0);
             memory_box.pack_start(spinner, true, true, 0);
             memory_box.add(no_process_view);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]