2002-06-05 00:36:57 +00:00
|
|
|
#include <dirent.h>
|
|
|
|
#include <config.h>
|
|
|
|
#include <gconf/gconf-client.h>
|
|
|
|
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
#include "metacity-window-manager.h"
|
|
|
|
|
2002-06-05 00:36:57 +00:00
|
|
|
#define METACITY_THEME_KEY "/apps/metacity/general/theme"
|
|
|
|
#define METACITY_FONT_KEY "/apps/metacity/general/titlebar_font"
|
|
|
|
#define METACITY_FOCUS_KEY "/apps/metacity/general/focus_mode"
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
static GnomeWindowManagerClass *parent_class;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
|
|
|
struct _MetacityWindowManagerPrivate {
|
|
|
|
};
|
|
|
|
|
|
|
|
/* this function is called when the shared lib is loaded */
|
|
|
|
GObject *
|
|
|
|
window_manager_new (void)
|
|
|
|
{
|
|
|
|
GObject *wm;
|
|
|
|
|
|
|
|
wm = g_object_new (metacity_window_manager_get_type (), NULL);
|
|
|
|
|
|
|
|
return wm;
|
|
|
|
}
|
2002-06-05 00:36:57 +00:00
|
|
|
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
static void
|
|
|
|
metacity_set_theme (const char *theme_name)
|
|
|
|
{
|
2002-06-05 00:36:57 +00:00
|
|
|
gconf_client_set_string (gconf_client_get_default (),
|
|
|
|
METACITY_THEME_KEY,
|
|
|
|
theme_name, NULL);
|
|
|
|
}
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
2002-06-05 00:36:57 +00:00
|
|
|
static GList *
|
|
|
|
add_themes_from_dir (GList *current_list, const char *path)
|
|
|
|
{
|
|
|
|
DIR *theme_dir;
|
|
|
|
struct dirent *entry;
|
|
|
|
char *theme_file_path;
|
|
|
|
GList *node;
|
|
|
|
gboolean found = FALSE;
|
|
|
|
|
|
|
|
theme_dir = opendir (path);
|
|
|
|
|
|
|
|
for (entry = readdir (theme_dir); entry != NULL; entry = readdir (theme_dir)) {
|
|
|
|
theme_file_path = g_build_filename (path, entry->d_name, "metacity-theme-1.xml", NULL);
|
|
|
|
|
|
|
|
if (g_file_test (theme_file_path, G_FILE_TEST_EXISTS)) {
|
|
|
|
|
|
|
|
for (node = current_list; (node != NULL) && (!found); node = node->next) {
|
|
|
|
found = (strcmp (node->data, entry->d_name) == 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!found) {
|
|
|
|
current_list = g_list_prepend (current_list, g_strdup (entry->d_name));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*g_free (entry);*/
|
|
|
|
g_free (theme_file_path);
|
|
|
|
}
|
|
|
|
|
|
|
|
closedir (theme_dir);
|
|
|
|
|
|
|
|
return current_list;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static GList *
|
|
|
|
metacity_get_theme_list (void)
|
|
|
|
{
|
2002-06-04 22:58:35 +00:00
|
|
|
GList *themes = NULL;
|
2002-06-05 00:36:57 +00:00
|
|
|
char *home_dir_themes;
|
|
|
|
|
|
|
|
home_dir_themes = g_build_filename (g_get_home_dir (), ".metacity/themes", NULL);
|
|
|
|
|
|
|
|
themes = add_themes_from_dir (themes, METACITY_THEME_DIR);
|
|
|
|
themes = add_themes_from_dir (themes, "/usr/share/metacity/themes");
|
|
|
|
themes = add_themes_from_dir (themes, home_dir_themes);
|
2002-06-04 22:58:35 +00:00
|
|
|
|
2002-06-05 00:36:57 +00:00
|
|
|
g_free (home_dir_themes);
|
2002-06-04 22:58:35 +00:00
|
|
|
|
|
|
|
return themes;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
metacity_set_font (const char *font)
|
|
|
|
{
|
2002-06-05 00:36:57 +00:00
|
|
|
gconf_client_set_string (gconf_client_get_default (),
|
|
|
|
METACITY_FONT_KEY,
|
|
|
|
font, NULL);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
metacity_set_focus_follows_mouse (gboolean focus_follows_mouse)
|
|
|
|
{
|
2002-06-05 00:36:57 +00:00
|
|
|
const char *focus_mode;
|
|
|
|
|
|
|
|
if (focus_follows_mouse) {
|
|
|
|
focus_mode = "sloppy";
|
|
|
|
} else {
|
|
|
|
focus_mode = "click";
|
|
|
|
}
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
2002-06-05 00:36:57 +00:00
|
|
|
gconf_client_set_string (gconf_client_get_default (),
|
|
|
|
METACITY_FOCUS_KEY,
|
|
|
|
focus_mode, NULL);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
static void
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager_init (MetacityWindowManager *metacity_window_manager, MetacityWindowManagerClass *class)
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
{
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager->p = g_new0 (MetacityWindowManagerPrivate, 1);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager_finalize (GObject *object)
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
{
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
MetacityWindowManager *metacity_window_manager;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
g_return_if_fail (object != NULL);
|
|
|
|
g_return_if_fail (IS_METACITY_WINDOW_MANAGER (object));
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager = METACITY_WINDOW_MANAGER (object);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
g_free (metacity_window_manager->p);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
static void
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager_class_init (MetacityWindowManagerClass *class)
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
{
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
GObjectClass *object_class;
|
|
|
|
GnomeWindowManagerClass *wm_class;
|
|
|
|
|
|
|
|
object_class = G_OBJECT_CLASS (class);
|
|
|
|
wm_class = GNOME_WINDOW_MANAGER_CLASS (class);
|
|
|
|
|
|
|
|
object_class->finalize = metacity_window_manager_finalize;
|
|
|
|
|
|
|
|
wm_class->set_theme = metacity_set_theme;
|
|
|
|
wm_class->get_theme_list = metacity_get_theme_list;
|
|
|
|
wm_class->set_font = metacity_set_font;
|
|
|
|
wm_class->set_focus_follows_mouse = metacity_set_focus_follows_mouse;
|
|
|
|
|
|
|
|
parent_class = g_type_class_peek_parent (class);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GType
|
|
|
|
metacity_window_manager_get_type (void)
|
|
|
|
{
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
static GType metacity_window_manager_type = 0;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
if (!metacity_window_manager_type) {
|
|
|
|
static GTypeInfo metacity_window_manager_info = {
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
sizeof (MetacityWindowManagerClass),
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
NULL, /* GBaseInitFunc */
|
|
|
|
NULL, /* GBaseFinalizeFunc */
|
|
|
|
(GClassInitFunc) metacity_window_manager_class_init,
|
|
|
|
NULL, /* GClassFinalizeFunc */
|
|
|
|
NULL, /* user-supplied data */
|
|
|
|
sizeof (MetacityWindowManager),
|
|
|
|
0, /* n_preallocs */
|
|
|
|
(GInstanceInitFunc) metacity_window_manager_init,
|
|
|
|
NULL
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
};
|
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
metacity_window_manager_type =
|
|
|
|
g_type_register_static (gnome_window_manager_get_type (),
|
|
|
|
"MetacityWindowManager",
|
|
|
|
&metacity_window_manager_info, 0);
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
return metacity_window_manager_type;
|
Ignore gladep (grrr) files.
2002-05-11 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Ignore gladep (grrr) files.
* Makefile.am:
* gnome-window-manager.c: (gnome_window_manager_new):
* gnome-window-manager.h:
* metacity-window-manager.c: (window_manager_new),
(metacity_set_theme), (metacity_get_theme_list),
(metacity_set_font), (metacity_get_focus_follows_mouse),
(metacity_set_focus_follows_mouse), (finalize), (class_init),
(init), (metacity_window_manager_get_type):
* metacity-window-manager.h:
First pass at adding settings modules.
* window-capplet.png:
Use the wm-properties icon.
* wm-list.c: (wm_list_find), (wm_list_find_exec):
Nix some warnings caused by non-use of const.
* gnome-window-properties.c: (setup_dialog):
* gnome-window-properties.glade:
Tweak appearance some more.
2002-05-11 19:08:05 +00:00
|
|
|
}
|
|
|
|
|
Split code for changing window managers into libgnome-window-settings.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-06-03 00:27:15 +00:00
|
|
|
|