| Revision 24348 (by benny, 2007/01/10 21:46:15) |
2007-01-10 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-gdk-extensions.{c,h}: Add new helper function
thunar_gdk_screen_get_active(), which returns the currently
active screen, i.e. the screen which currently contains the
mouse pointer.
* thunar-vfs/thunar-vfs-volume-hal.c: Use the new ExoMountPoint
module to query active and configured mount points.
* thunar-vfs/thunar-vfs-volume-hal.c: Add new signals "device-added"
and "device-removed", which correspond to the HAL signals of the
same name, and are emitted by the volume manager whenever a new
device is added or an existing device is removed. This is an
internal support mechanism for the volume manager integration of
Thunar and should not be used by other applications.
* thunar/thunar-application.c: Add hooks for the thunar-volman,
which, if installed and enabled, will be spawned whenever a new
device is reported by HAL. This enables lightweight volume management
avoiding an additional daemon, as Thunar already listens for HAL
events anyway. Note that Thunar doesn't provide any functionality
by itself here. It just acts a proxy between HAL and thunar-volman.
* docs/README.thunarrc, thunar/thunar-preferences.c: Add preference
MiscVolumeManagement, which controls whether volume manager should
be enabled.
* docs/references/thunar-vfs/: Add missing enums to the manual.
* thunar/thunar-preferences-dialog.c, thunar/sexy-url-label.{c,h},
thunar/Makefile.am: Extend the preferences dialog with options
to control the volume manager.
* po/Thunar.pot, po/*.po: Merge new strings.
* po/de.po: Update german translations.
|
/* $Id: thunar-gdk-extensions.h 24348 2007-01-10 21:46:15Z benny $ */
/*-
* Copyright (c) 2003-2007 Benedikt Meurer <benny@xfce.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __THUNAR_GDK_EXTENSIONS_H__
#define __THUNAR_GDK_EXTENSIONS_H__
#include <gdk/gdk.h>
G_BEGIN_DECLS;
GdkScreen *thunar_gdk_screen_open (const gchar *display_name,
GError **error) G_GNUC_INTERNAL;
GdkScreen *thunar_gdk_screen_get_active (void) G_GNUC_INTERNAL;
G_END_DECLS;
#endif /* !__THUNAR_GDK_EXTENSIONS_H__ */