~azzar1/nautilus/backport_21_correct_timestamp_use_fix_focus_issue

« back to all changes in this revision

Viewing changes to debian/patches/git_image_properties_wrapping.patch

  • Committer: Sebastien Bacher
  • Date: 2012-06-13 16:51:43 UTC
  • Revision ID: seb128@ubuntu.com-20120613165143-tzcgzfa4e4o0d1ql
* debian/patches/git_bookmark_place_dnd.patch:
  - "places-sidebar: allow dropping of files to bookmarks" (lp: #874386)
* debian/patches/git_image_properties_wrapping.patch:
  - "image-properties: set the description label to wrap" (lp: #396279)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From b774a3daa236cc89608ba8eaeaae805acc58426e Mon Sep 17 00:00:00 2001
 
2
From: rustyBSD <rustyBSD@gmx.fr>
 
3
Date: Mon, 21 May 2012 20:44:04 +0000
 
4
Subject: image-properties: set the description label to wrap
 
5
 
 
6
Or images with a very long description will create a label that is
 
7
bigger than the whole screen.
 
8
 
 
9
https://bugzilla.gnome.org/show_bug.cgi?id=566411
 
10
---
 
11
diff --git a/src/nautilus-image-properties-page.c b/src/nautilus-image-properties-page.c
 
12
index 628cf49..cef017c 100644
 
13
--- a/src/nautilus-image-properties-page.c
 
14
+++ b/src/nautilus-image-properties-page.c
 
15
@@ -143,6 +143,7 @@ append_label (GtkWidget *vbox,
 
16
         * selectable but without the cursor showing.
 
17
         */
 
18
        gtk_widget_set_can_focus (label, FALSE);
 
19
+       gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
 
20
 
 
21
        gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
22
        gtk_widget_show (label);
 
23
--
 
24
cgit v0.9.0.2
 
25