get the uri of the file before trying to unlink it so that we actually
2007-01-29 Vincent Untz <email address hidden>
* launcher.c: (panel_launcher_delete): get the uri of the file before
trying to unlink it so that we actually unlink it. And do not try to
unlink it if it doesn't live in the user's launchers path.
new, get the uri of the launcher file (drag_data_get_cb): correctly set
2007-01-29 Vincent Untz <email address hidden>
* launcher.[ch]: (panel_launcher_get_uri): new, get the uri of the
launcher file
(drag_data_get_cb): correctly set the uri of the launcher for uri-list
targets
(panel_launcher_create_copy): get the uri of the file before copying
the launcher so that we don't lose the launcher when moving it
(because of copying a non-existing file and then deleting it), also
returns whether the copy succeeded or not
* panel.c: (drop_internal_icon): stop moving the icon if the copy
didn't succeed
get the size of the window with gdk_window_get_geometry() instead of
2007-01-29 Vincent Untz <email address hidden>
* panel-background-monitor.c: (panel_background_monitor_setup_pixbuf):
get the size of the window with gdk_window_get_geometry() instead of
gdk_drawable_get_size() since the lattest might not give us the latest
size, and this breaks when resizing the screen.
Fix bug #353781, patch by <email address hidden>