[gnome-photos] properties-dialog: Get rid of the extra Properties label



commit c6d9b1a42b13f3db3223487cd14a441e8c2c37e1
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Nov 17 22:29:02 2012 +0100

    properties-dialog: Get rid of the extra Properties label

 src/photos-properties-dialog.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/photos-properties-dialog.c b/src/photos-properties-dialog.c
index 51dc6f6..98f6406 100644
--- a/src/photos-properties-dialog.c
+++ b/src/photos-properties-dialog.c
@@ -105,7 +105,6 @@ photos_properties_dialog_constructed (GObject *object)
   GtkWidget *grid;
   GtkWidget *item_type;
   GtkWidget *item_type_data;
-  GtkWidget *message;
   GtkWidget *source;
   GtkWidget *source_data;
   GtkWidget *title;
@@ -115,7 +114,6 @@ photos_properties_dialog_constructed (GObject *object)
   const gchar *type_description;
   gchar *date_created_str = NULL;
   gchar *date_modified_str;
-  gchar *str;
   gint64 ctime;
   gint64 mtime;
 
@@ -151,15 +149,6 @@ photos_properties_dialog_constructed (GObject *object)
   content_area = gtk_dialog_get_content_area (GTK_DIALOG (self));
   gtk_box_pack_start (GTK_BOX (content_area), grid, TRUE, TRUE, 2);
 
-  str = g_strconcat ("<span size=\"large\"><b>", _("Properties"), "</b></span>", NULL);
-  message = gtk_label_new (str);
-  gtk_widget_set_halign (message, GTK_ALIGN_CENTER);
-  gtk_widget_set_hexpand (message, FALSE);
-  gtk_label_set_use_markup (GTK_LABEL (message), TRUE);
-  g_free (str);
-
-  gtk_grid_attach (GTK_GRID (grid), message, 1, 0, 1, 1);
-
   title = gtk_label_new (_("Title"));
   gtk_widget_set_halign (title, GTK_ALIGN_END);
   context = gtk_widget_get_style_context (title);



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