Easy hildon desktop question -- preventing panel moving



Title: Easy hildon desktop question -- preventing panel moving

I can drag my panel_box (marquee) from the top to other sides of the homescreen.  How can I prevent this?  I thought setting the "move" value to FALSE  (blue below) when loading containers was all I needed, but it has been awhile since I

static void hd_desktop_load_containers (HDDesktop *desktop)
{
        ...

      if (!g_ascii_strcasecmp (type, HD_CONTAINER_TYPE_PANEL_BOX))
      {
          info->container = g_object_new (HD_TYPE_PANEL_WINDOW,
                                        "x", x,
                                        "y", y,
                                        "width", width,
                                        "height", height,
                                        "orientation", orientation,
                                        "stretch", TRUE,
                                         NULL);       
      }
      else if (!g_ascii_strcasecmp (type, HD_CONTAINER_TYPE_PANEL_EXPANDABLE))
      {
          orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_LEFT;
          info->container = g_object_new (HD_TYPE_PANEL_WINDOW_DIALOG,
                                        "x", x,
                                        "y", y,
                                        "width", width,
                                        "height", height,
                                        "orientation", orientation,
                                        "padding-left", 0,
                                        "padding-right", 0,
                                        "padding-top", 0,
                                        "padding-bottom", 0,
                                        "use-old-titlebar", FALSE,
                                        "move", TRUE,
                                         NULL);
      }

My desktop.conf is:
[Marquee]
X-Type=panel_box
X-Position-X=0
X-Position-Y=0
X-Size-Width=800
X-Size-Height=52
X-Orientation=top
X-Is-Ordered=1
X-Config-File=marquee.conf
X-Plugin-Dir=NONE/share/applications/hildon-marquee

...

Bob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]