Blame SOURCES/distro-logo.patch

9b746a
From 73be5fcb0764cb8e7bdcbcf3ee06b833078d576a Mon Sep 17 00:00:00 2001
9b746a
From: Matthias Clasen <mclasen@redhat.com>
9b746a
Date: Sun, 31 Mar 2013 20:28:19 -0400
9b746a
Subject: [PATCH] info: Switch around GNOME and distro information
9b746a
9b746a
This makes the distribution logo prominent, and puts GNOME version
9b746a
information in the small print.
9b746a
9b746a
https://bugzilla.gnome.org/show_bug.cgi?id=695691
9b746a
---
9b746a
 panels/info/cc-info-overview-panel.c |  7 ++-----
9b746a
 panels/info/info-overview.ui         | 14 ++++++++------
9b746a
 2 files changed, 10 insertions(+), 11 deletions(-)
9b746a
9b746a
diff --git a/panels/info/cc-info-overview-panel.c b/panels/info/cc-info-overview-panel.c
9b746a
index 7a5879c6b..ce15e92d0 100644
9b746a
--- a/panels/info/cc-info-overview-panel.c
9b746a
+++ b/panels/info/cc-info-overview-panel.c
9b746a
@@ -446,7 +446,7 @@ static char *
9b746a
 get_os_name (void)
9b746a
 {
9b746a
   GHashTable *os_info;
9b746a
-  gchar *name, *version_id, *pretty_name, *build_id;
9b746a
+  gchar *name, *version_id, *build_id;
9b746a
   gchar *result = NULL;
9b746a
   g_autofree gchar *name_version = NULL;
9b746a
 
9b746a
@@ -457,12 +457,9 @@ get_os_name (void)
9b746a
 
9b746a
   name = g_hash_table_lookup (os_info, "NAME");
9b746a
   version_id = g_hash_table_lookup (os_info, "VERSION_ID");
9b746a
-  pretty_name = g_hash_table_lookup (os_info, "PRETTY_NAME");
9b746a
   build_id = g_hash_table_lookup (os_info, "BUILD_ID");
9b746a
 
9b746a
-  if (pretty_name)
9b746a
-    name_version = g_strdup (pretty_name);
9b746a
-  else if (name && version_id)
9b746a
+  if (name && version_id)
9b746a
     name_version = g_strdup_printf ("%s %s", name, version_id);
9b746a
   else
9b746a
     name_version = g_strdup (_("Unknown"));
9b746a
diff --git a/panels/info/info-overview.ui b/panels/info/info-overview.ui
9b746a
index 219a83c4c..aa87fbec2 100644
9b746a
--- a/panels/info/info-overview.ui
9b746a
+++ b/panels/info/info-overview.ui
9b746a
@@ -12,13 +12,14 @@
9b746a
       <object class="GtkBox">
9b746a
         <property name="visible">True</property>
9b746a
         <property name="can_focus">False</property>
9b746a
-        <property name="spacing">18</property>
9b746a
+        <property name="spacing">6</property>
9b746a
         <property name="orientation">vertical</property>
9b746a
         <child>
9b746a
           <object class="GtkImage" id="system_image">
9b746a
             <property name="visible">True</property>
9b746a
             <property name="can_focus">False</property>
9b746a
-            <property name="resource">/org/gnome/control-center/info/GnomeLogoVerticalMedium.svg</property>
9b746a
+            <property name="pixel_size">128</property>
9b746a
+            <property name="icon_name">fedora-logo-icon</property>
9b746a
           </object>
9b746a
           <packing>
9b746a
             <property name="expand">False</property>
9b746a
@@ -27,11 +28,12 @@
9b746a
           </packing>
9b746a
         </child>
9b746a
         <child>
9b746a
-          <object class="GtkLabel" id="version_label">
9b746a
+          <object class="GtkLabel" id="os_name_label">
9b746a
             <property name="visible">True</property>
9b746a
             <property name="can_focus">False</property>
9b746a
             <property name="label">Version 3.0</property>
9b746a
             <property name="selectable">True</property>
9b746a
+            <property name="margin-bottom">24</property>
9b746a
             <attributes>
9b746a
               <attribute name="scale" value="1.25"/>
9b746a
             </attributes>
9b746a
@@ -118,8 +120,8 @@
9b746a
                 <property name="visible">True</property>
9b746a
                 <property name="can_focus">False</property>
9b746a
                 <property name="xalign">1</property>
9b746a
-                <property name="label" translatable="yes" comments="To translators: this field contains the distro name and version">OS name</property>
9b746a
-                <property name="mnemonic_widget">os_name_label</property>
9b746a
+                <property name="label">GNOME</property>
9b746a
+                <property name="mnemonic_widget">version_label</property>
9b746a
                 <style>
9b746a
                  <class name="dim-label"/>
9b746a
                 </style>
9b746a
@@ -228,7 +230,7 @@
9b746a
               </packing>
9b746a
             </child>
9b746a
             <child>
9b746a
-              <object class="GtkLabel" id="os_name_label">
9b746a
+              <object class="GtkLabel" id="version_label">
9b746a
                 <property name="visible">True</property>
9b746a
                 <property name="can_focus">False</property>
9b746a
                 <property name="xalign">0</property>
9b746a
-- 
9b746a
2.13.0
9b746a