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

« back to all changes in this revision

Viewing changes to .pc/no_search_on_desktop.patch/src/nautilus-desktop-window.c

  • Committer: Package Import Robot
  • Author(s): Tim Lunn
  • Date: 2014-01-02 16:50:06 UTC
  • mfrom: (1.17.43)
  • Revision ID: package-import@ubuntu.com-20140102165006-1ghk9ropzitdc8pp
Tags: 1:3.10.1-0ubuntu1
* New upstream release
* debian/control.in: bump depend on gtk+ 3.9.11
* debian/patches:
  - Dropped git patches, that are included in new version
  - 06_never_exec_nonexec_launchers.patch, refreshed
  - disconnect-extra-location-widgets.patch, dropped included in new version
  - 16_unity_new_documents.patch, refreshed
  - ubuntu_show_titlebar.patch, disable CSD titlebar on non-GNOME sessions
  - ubuntu_titlebar_css.patch, theme fixes (LP: #1272602)

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
         */
107
107
        gtk_window_set_resizable (GTK_WINDOW (window),
108
108
                                  FALSE);
 
109
        gtk_window_set_decorated (GTK_WINDOW (window),
 
110
                                  FALSE);
109
111
 
110
112
        g_object_set_data (G_OBJECT (window), "is_desktop_window", 
111
113
                           GINT_TO_POINTER (1));
132
134
{
133
135
        NautilusDesktopWindow *window;
134
136
        int width_request, height_request;
 
137
        GdkRGBA transparent = {0, 0, 0, 0};
135
138
 
136
139
        width_request = gdk_screen_get_width (screen);
137
140
        height_request = gdk_screen_get_height (screen);
151
154
         * Note that nautilus_desktop_window_init is too early to do this.
152
155
         */
153
156
        nautilus_desktop_window_update_directory (window);
 
157
        gtk_widget_override_background_color (GTK_WIDGET (window), 0, &transparent);
 
158
 
154
159
 
155
160
        return window;
156
161
}