summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2002-06-25 01:17:51 +0000
committerMark McLoughlin <mmclouglin@src.gnome.org>2002-06-25 01:17:51 +0000
commitb69e686e369973efbd162bb3430967ff4a878734 (patch)
tree7c2f6cc1129ed5e1a84216eb71ffe6d334fccf78 /src
parenteb4d0669241d2c51994c9e2d05e7de19966c6deb (diff)
downloadnautilus-b69e686e369973efbd162bb3430967ff4a878734.tar.gz
its _NET_WORKAREA, not _NET_WM_WORKAREA. Requires latest metacity.
2002-06-25 Mark McLoughlin <mark@skynet.ie> * src/file-manager/fm-desktop-icon-view.c: (net_workarea_changed), (desktop_icon_view_property_filter), (fm_desktop_icon_view_init): its _NET_WORKAREA, not _NET_WM_WORKAREA. Requires latest metacity.
Diffstat (limited to 'src')
-rw-r--r--src/file-manager/fm-desktop-icon-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c
index 8fc9afceb..33601020a 100644
--- a/src/file-manager/fm-desktop-icon-view.c
+++ b/src/file-manager/fm-desktop-icon-view.c
@@ -178,7 +178,7 @@ icon_container_set_workarea (NautilusIconContainer *icon_container,
}
static void
-net_wm_workarea_changed (FMDesktopIconView *icon_view)
+net_workarea_changed (FMDesktopIconView *icon_view)
{
long *workareas = NULL;
Atom type_returned;
@@ -194,7 +194,7 @@ net_wm_workarea_changed (FMDesktopIconView *icon_view)
gdk_error_trap_push ();
if (XGetWindowProperty (GDK_DISPLAY (),
GDK_ROOT_WINDOW (),
- gdk_x11_get_xatom_by_name ("_NET_WM_WORKAREA"),
+ gdk_x11_get_xatom_by_name ("_NET_WORKAREA"),
0, G_MAXLONG, False,
XA_CARDINAL,
&type_returned,
@@ -236,7 +236,7 @@ desktop_icon_view_property_filter (GdkXEvent *gdk_xevent,
switch (xevent->type) {
case PropertyNotify:
if (xevent->xproperty.atom == gdk_x11_get_xatom_by_name ("_NET_WM_WORKAREA"))
- net_wm_workarea_changed (icon_view);
+ net_workarea_changed (icon_view);
break;
default:
break;
@@ -709,7 +709,7 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view)
fm_desktop_icon_view_update_icon_container_fonts (desktop_icon_view);
/* Read out the workarea geometry and update the icon container accordingly */
- net_wm_workarea_changed (desktop_icon_view);
+ net_workarea_changed (desktop_icon_view);
/* Setup the property filter */
XSelectInput (GDK_DISPLAY (), GDK_ROOT_WINDOW (), PropertyChangeMask);