~ubuntu-branches/ubuntu/raring/gnome-screenshot/raring-updates

« back to all changes in this revision

Viewing changes to debian/patches/fix_file_name_field_focus.patch

  • Committer: Package Import Robot
  • Author(s): Graham Inggs
  • Date: 2013-07-08 00:46:36 UTC
  • Revision ID: package-import@ubuntu.com-20130708004636-xfjf3s0ohy1yvh83
Tags: 3.6.1-0ubuntu2.1
* debian/patches/fix_file_name_field_focus.patch
  - Fix file name field in dialog not having focus initially (LP: #1169904)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix file name field in dialog not having focus initially
 
2
Origin: https://git.gnome.org/browse/gnome-screenshot/commit/?id=046f57ea426f911459a9e85b02476ce8a9e25663
 
3
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=688061
 
4
Author: Graham Inggs <graham@nerve.org.za>
 
5
Last-Update: 2013-07-08
 
6
--- a/src/screenshot-dialog.c
 
7
+++ b/src/screenshot-dialog.c
 
8
@@ -230,6 +230,7 @@
 
9
   else
 
10
     pos = -1;
 
11
 
 
12
+  gtk_widget_grab_focus (dialog->filename_entry);
 
13
   gtk_editable_select_region (GTK_EDITABLE (dialog->filename_entry),
 
14
                              0,
 
15
                              pos);