[nautilus] desktop-canvas-view: remove an obsolete hack for BonoboPlug
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] desktop-canvas-view: remove an obsolete hack for BonoboPlug
- Date: Thu, 4 Oct 2012 21:57:12 +0000 (UTC)
commit da6b814f7cf4a8c0ce2ea9d05ea81cd50678a9b0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Oct 4 13:50:27 2012 -0400
desktop-canvas-view: remove an obsolete hack for BonoboPlug
src/nautilus-desktop-canvas-view.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/nautilus-desktop-canvas-view.c b/src/nautilus-desktop-canvas-view.c
index 7162055..07b2546 100644
--- a/src/nautilus-desktop-canvas-view.c
+++ b/src/nautilus-desktop-canvas-view.c
@@ -399,25 +399,10 @@ realized_callback (GtkWidget *widget, NautilusDesktopCanvasView *desktop_canvas_
{
GdkWindow *root_window;
GdkScreen *screen;
- GtkAllocation allocation;
g_return_if_fail (desktop_canvas_view->details->root_window == NULL);
screen = gtk_widget_get_screen (widget);
-
- /* Ugly HACK for the problem that the views realize at the
- * wrong size and then get resized. (This is a problem with
- * BonoboPlug.) This was leading to problems where initial
- * layout was done at 60x60 stacking all desktop icons in
- * the top left corner.
- */
- allocation.x = 0;
- allocation.y = 0;
- allocation.width = gdk_screen_get_width (screen);
- allocation.height = gdk_screen_get_height (screen);
- gtk_widget_size_allocate (GTK_WIDGET(get_canvas_container(desktop_canvas_view)),
- &allocation);
-
root_window = gdk_screen_get_root_window (screen);
desktop_canvas_view->details->root_window = root_window;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]