2007-04-30 16:51:31 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 The GNOME Foundation
|
|
|
|
* Written by Thomas Wood <thos@gnome.org>
|
|
|
|
* All Rights Reserved
|
|
|
|
*
|
|
|
|
* 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.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2007-05-01 10:25:29 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2007-05-02 14:04:53 +00:00
|
|
|
#include <glib.h>
|
2007-04-30 14:33:05 +00:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <glade/glade.h>
|
|
|
|
#include <libgnomevfs/gnome-vfs.h>
|
2007-05-01 10:25:29 +00:00
|
|
|
#include <gconf/gconf-client.h>
|
2007-05-02 14:04:53 +00:00
|
|
|
#include <libgnomeui/gnome-thumbnail.h>
|
2007-04-30 14:33:05 +00:00
|
|
|
|
2007-06-04 20:23:47 +00:00
|
|
|
#include "gnome-theme-info.h"
|
|
|
|
|
2007-04-30 14:33:05 +00:00
|
|
|
typedef struct {
|
2007-05-01 10:25:29 +00:00
|
|
|
GConfClient *client;
|
2007-04-30 14:33:05 +00:00
|
|
|
GladeXML *xml;
|
2007-05-02 14:04:53 +00:00
|
|
|
|
|
|
|
/* desktop */
|
|
|
|
GHashTable *wp_hash;
|
|
|
|
GnomeThumbnailFactory *wp_thumbs;
|
2007-05-03 13:57:09 +00:00
|
|
|
gboolean wp_update_gconf;
|
2007-05-10 16:31:18 +00:00
|
|
|
GtkIconView *wp_view;
|
2007-05-02 14:04:53 +00:00
|
|
|
GtkTreeModel *wp_model;
|
|
|
|
GtkWidget *wp_scpicker;
|
|
|
|
GtkWidget *wp_pcpicker;
|
|
|
|
GtkWidget *wp_style_menu;
|
|
|
|
GtkWidget *wp_color_menu;
|
|
|
|
GtkWidget *wp_rem_button;
|
2007-07-31 21:15:02 +00:00
|
|
|
GtkFileChooser *wp_filesel;
|
2007-05-02 14:04:53 +00:00
|
|
|
GtkWidget *wp_image;
|
2007-07-12 20:52:15 +00:00
|
|
|
GSList *wp_uris;
|
2007-05-02 14:04:53 +00:00
|
|
|
|
2007-05-04 17:18:34 +00:00
|
|
|
/* font */
|
|
|
|
GtkWidget *font_details;
|
2007-06-04 20:23:47 +00:00
|
|
|
|
|
|
|
/* themes */
|
|
|
|
GtkListStore *theme_store;
|
|
|
|
GnomeThemeMetaInfo *theme_custom;
|
new files
2007-06-14 Jens Granseuer <jensgr@gmx.net>
* Makefile.am:
* theme-util.c: (theme_delete), (theme_model_iter_last):
* theme-util.h: new files
* appearance.glade: default delete buttons to insensitive,
change label for "Custom" key, adjust column ids for icon view
* appearance-style.c: (style_init), (prepare_list),
(update_color_buttons_from_settings), (theme_name_changed),
(color_button_clicked_cb),
(color_scheme_defaults_button_clicked_cb):
* appearance-themes.c: (theme_get_selected_name),
(theme_get_selected), (theme_select_iter), (theme_select_name),
(theme_is_equal), (theme_set_custom_from_theme),
(theme_changed_on_disk_cb), (theme_custom_cb), (theme_delete_cb),
(theme_details_changed_cb), (theme_color_scheme_changed_cb),
(theme_gconf_changed), (theme_postinit), (themes_init),
(themes_shutdown):
* appearance.h: improvements all around the block (metatheme
deletion now working, and custom theme working much better)
svn path=/trunk/; revision=7725
2007-06-14 21:20:25 +00:00
|
|
|
GdkPixbuf *theme_icon;
|
2007-06-24 11:04:27 +00:00
|
|
|
GtkWidget *theme_save_dialog;
|
2007-07-29 13:56:10 +00:00
|
|
|
GtkWidget *theme_message_area;
|
|
|
|
GtkWidget *theme_message_label;
|
|
|
|
GtkWidget *apply_background_button;
|
|
|
|
GtkWidget *apply_font_button;
|
2007-06-26 14:45:57 +00:00
|
|
|
|
|
|
|
/* style */
|
|
|
|
GdkPixbuf *gtk_theme_icon;
|
|
|
|
GdkPixbuf *window_theme_icon;
|
|
|
|
GdkPixbuf *icon_theme_icon;
|
2007-04-30 14:33:05 +00:00
|
|
|
} AppearanceData;
|