~ubuntu-branches/ubuntu/utopic/nautilus/utopic-proposed

« back to all changes in this revision

Viewing changes to 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:
111
111
         */
112
112
        gtk_window_set_resizable (GTK_WINDOW (window),
113
113
                                  FALSE);
 
114
        gtk_window_set_decorated (GTK_WINDOW (window),
 
115
                                  FALSE);
114
116
 
115
117
        g_object_set_data (G_OBJECT (window), "is_desktop_window", 
116
118
                           GINT_TO_POINTER (1));
137
139
{
138
140
        NautilusDesktopWindow *window;
139
141
        int width_request, height_request;
 
142
        GdkRGBA transparent = {0, 0, 0, 0};
140
143
 
141
144
        width_request = gdk_screen_get_width (screen);
142
145
        height_request = gdk_screen_get_height (screen);
156
159
         * Note that nautilus_desktop_window_init is too early to do this.
157
160
         */
158
161
        nautilus_desktop_window_update_directory (window);
 
162
        gtk_widget_override_background_color (GTK_WIDGET (window), 0, &transparent);
 
163
 
159
164
 
160
165
        return window;
161
166
}