~ubuntu-branches/ubuntu/trusty/nautilus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/nautilus-desktop-window.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-01-16 10:22:44 UTC
  • Revision ID: package-import@ubuntu.com-20140116102244-0bxhw6sds3b9z8h3
Tags: 1:3.8.2-0ubuntu9
debian/patches/no_search_on_desktop.patch: Disable search shortcut
on desktop window so a search bar doesn't appear underneath the panel.
(LP: #1176981)

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
                                              NAUTILUS_ACTION_NEW_TAB);
86
86
        gtk_action_set_sensitive (action, FALSE);
87
87
 
 
88
        /* Don't allow search on desktop */
 
89
        action = gtk_action_group_get_action (action_group,
 
90
                                              NAUTILUS_ACTION_SEARCH);
 
91
        gtk_action_set_sensitive (action, FALSE);
 
92
 
88
93
        /* Set the accessible name so that it doesn't inherit the cryptic desktop URI. */
89
94
        accessible = gtk_widget_get_accessible (GTK_WIDGET (window));
90
95