diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-01-11 07:41:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-11 07:41:27 +0800 |
commit | 97e48e352419d360934a46a05c944d604fd968e9 (patch) | |
tree | 6b1c49723c0858902baf7acd24e0e3d25bfb6749 /widgets/misc/test-color.c | |
parent | dab08c513e7bf5f7c0f52c42ff245f940601b866 (diff) | |
download | gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar.gz gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar.bz2 gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar.lz gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar.xz gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.tar.zst gsoc2013-evolution-97e48e352419d360934a46a05c944d604fd968e9.zip |
** Fixes bug #567276
2009-01-10 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #567276
* addressbook/gui/widgets/e-addressbook-view.c:
* addressbook/printing/test-print.c:
* calendar/gui/calendar-commands.c:
* calendar/gui/control-factory.c:
* calendar/gui/e-itip-control.c:
* calendar/gui/gnome-cal.c:
* calendar/gui/goto.c:
* calendar/gui/memos-control.c:
* calendar/gui/print.c:
* calendar/gui/tasks-control.c:
* calendar/gui/alarm-notify/alarm-queue.c:
* calendar/gui/dialogs/schedule-page.c:
* widgets/menus/gal-view-menus.c:
Remove unneeded #include <libgnomeui/gnome-dialog-util.h>.
* calendar/gui/calendar-config.c:
* calendar/gui/calendar-config.h:
Removed unused function calendar_config_check_timezone_set().
* widgets/misc/test-color.c:
We don't ship this. Remove it.
svn path=/trunk/; revision=37030
Diffstat (limited to 'widgets/misc/test-color.c')
-rw-r--r-- | widgets/misc/test-color.c | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/widgets/misc/test-color.c b/widgets/misc/test-color.c deleted file mode 100644 index f86166a228..0000000000 --- a/widgets/misc/test-color.c +++ /dev/null @@ -1,78 +0,0 @@ -/* - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) version 3. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> - * - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#include <config.h> - -#include <gnome.h> - -#include <glib/gi18n.h> - -#include "color-palette.h" -#include "e-colors.h" -#include "widget-color-combo.h" - -#include "pixmaps/cursor_hand_open.xpm" - -/* To compile (from src/widgets): - -gcc -I.. -I../.. -L. -Wall -o tester tester.c ../color.c `gnome-config --cflags --libs gnome gnomeui` -lwidgets - -*/ - -gint -main ( gint argc, gchar* argv[] ) -{ - GtkWidget * dialog; - GtkWidget * T; - ColorGroup *cg; - - gnome_program_init ("tester", "1.0", - LIBGNOMEUI_MODULE, - argc, argv, NULL); - - dialog = gnome_dialog_new ("TESTER", GNOME_STOCK_BUTTON_OK, - GNOME_STOCK_BUTTON_CANCEL, NULL); - - cg = color_group_fetch ("fore_color_group", dialog); - T = color_palette_new ("Color Palette", NULL, cg); - - gtk_box_pack_start(GTK_BOX (GNOME_DIALOG (dialog)-> vbox ), - T, TRUE, TRUE, 5); - gtk_widget_show_all (T); - - cg = color_group_fetch ("fore_color_group", dialog); - T = color_combo_new ( - gdk_pixbuf_new_from_xpm_data ((char const **)cursor_hand_open_xpm), - _("Automatic"), &e_black, cg); - gtk_box_pack_start(GTK_BOX (GNOME_DIALOG (dialog)-> vbox ), - T, TRUE, TRUE, 5); - gtk_widget_show_all (T); - - cg = color_group_fetch ("back_color_group", dialog); - T = color_combo_new ( - gdk_pixbuf_new_from_xpm_data ((char const **)cursor_hand_open_xpm), - _("Automatic"), &e_black, cg); - gtk_box_pack_start(GTK_BOX (GNOME_DIALOG (dialog)-> vbox ), - T, TRUE, TRUE, 5); - gtk_widget_show_all (T); - - gnome_dialog_run_and_close ( GNOME_DIALOG (dialog) ); - return 0; -} |