[maemo-commits] [maemo-commits] r9782 - in projects/haf/branches/hildon-libs/hildon-1: . doc doc/images examples src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Feb 9 16:47:29 EET 2007
- Previous message: [maemo-commits] r9781 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . test
- Next message: [maemo-commits] r9783 - projects/haf/branches/hildon-libs/hildon-1/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: mdk Date: 2007-02-09 16:47:24 +0200 (Fri, 09 Feb 2007) New Revision: 9782 Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/ projects/haf/branches/hildon-libs/hildon-1/doc/images/calendar-popup.png projects/haf/branches/hildon-libs/hildon-1/doc/images/caption.png projects/haf/branches/hildon-libs/hildon-1/doc/images/code-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/color-button.png projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser.png projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-button.png projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser.png projects/haf/branches/hildon-libs/hildon-1/doc/images/controlbar.png projects/haf/branches/hildon-libs/hildon-1/doc/images/date-editor.png projects/haf/branches/hildon-libs/hildon-1/doc/images/font-selection-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/get-password-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/hvolumebar.png projects/haf/branches/hildon-libs/hildon-1/doc/images/login-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/note.png projects/haf/branches/hildon-libs/hildon-1/doc/images/number-editor.png projects/haf/branches/hildon-libs/hildon-1/doc/images/range-editor.png projects/haf/branches/hildon-libs/hildon-1/doc/images/seekbar.png projects/haf/branches/hildon-libs/hildon-1/doc/images/set-password-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/sort-dialog.png projects/haf/branches/hildon-libs/hildon-1/doc/images/time-editor.png projects/haf/branches/hildon-libs/hildon-1/doc/images/time-picker.png projects/haf/branches/hildon-libs/hildon-1/doc/images/vvolumebar.png projects/haf/branches/hildon-libs/hildon-1/doc/images/weekday-picker.png projects/haf/branches/hildon-libs/hildon-1/doc/visual_index.xml projects/haf/branches/hildon-libs/hildon-1/examples/hildon-code-dialog-example.c Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 projects/haf/branches/hildon-libs/hildon-1/doc/Makefile.am projects/haf/branches/hildon-libs/hildon-1/doc/hildon-docs.sgml projects/haf/branches/hildon-libs/hildon-1/examples/Makefile.am projects/haf/branches/hildon-libs/hildon-1/src/hildon-code-dialog.c projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.c projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.h Log: Adding screenshots of widgets generated by shooter. Startup of the hildon widgets gallery. Show the contents of the lock code dialog box vbox during creation. Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 2007-02-09 14:47:24 UTC (rev 9782) @@ -1,6 +1,49 @@ 2007-02-09 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + * doc/images: + * doc/images/calendar-popup.png: + * doc/images/caption.png: + * doc/images/code-dialog.png: + * doc/images/color-button.png: + * doc/images/color-chooser-dialog.png: + * doc/images/color-chooser.png: + * doc/images/colour-button.png: + * doc/images/colour-chooser-dialog.png: + * doc/images/colour-chooser.png: + * doc/images/controlbar.png: + * doc/images/date-editor.png: + * doc/images/font-selection-dialog.png: + * doc/images/get-password-dialog.png: + * doc/images/hvolumebar.png: + * doc/images/login-dialog.png: + * doc/images/note.png: + * doc/images/number-editor.png: + * doc/images/range-editor.png: + * doc/images/seekbar.png: + * doc/images/set-password-dialog.png: + * doc/images/sort-dialog.png: + * doc/images/time-editor.png: + * doc/images/time-picker.png: + * doc/images/vvolumebar.png: + * doc/images/weekday-picker.png: Adding screenshots of widgets + generated by shooter. + + * doc/Makefile.am: + * doc/hildon-docs.sgml: + * doc/visual_index.xml: Startup of the hildon widgets gallery. Not + ready yet. + * examples/Makefile.am: + * examples/hildon-code-dialog-example.c: + * src/hildon-code-dialog.c: Show the contents of the dialog box + vbox during creation. + + * src/hildon-note.c: + * src/hildon-note.h: Fixing the enum. + +2007-02-09 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + + * examples/Makefile.am: * examples/hildon-toolbar-example.c: * src/hildon-window.c: Adding a toolbar example. Making the add/remove toolbar documentation in HildonWindow a bit more verbose about Modified: projects/haf/branches/hildon-libs/hildon-1/doc/Makefile.am =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/doc/Makefile.am 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/doc/Makefile.am 2007-02-09 14:47:24 UTC (rev 9782) @@ -52,7 +52,8 @@ MKDB_OPTIONS =--sgml-mode -content_files = version.xml +content_files = version.xml \ + visual_index.xml version.xml: ../configure.ac @echo $(VERSION) > version.xml Modified: projects/haf/branches/hildon-libs/hildon-1/doc/hildon-docs.sgml =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/doc/hildon-docs.sgml 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/doc/hildon-docs.sgml 2007-02-09 14:47:24 UTC (rev 9782) @@ -12,6 +12,7 @@ <chapter> <title>Object Hierarchy</title> <xi:include href="xml/tree_index.sgml"/> + <xi:include href="visual_index.xml"/> </chapter> <chapter> Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/calendar-popup.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/calendar-popup.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/caption.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/caption.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/code-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/code-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-button.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-button.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/color-chooser.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-button.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-button.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/colour-chooser.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/controlbar.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/controlbar.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/date-editor.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/date-editor.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/font-selection-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/font-selection-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/get-password-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/get-password-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/hvolumebar.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/hvolumebar.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/login-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/login-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/note.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/note.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/number-editor.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/number-editor.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/range-editor.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/range-editor.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/seekbar.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/seekbar.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/set-password-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/set-password-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/sort-dialog.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/sort-dialog.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/time-editor.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/time-editor.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/time-picker.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/time-picker.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/vvolumebar.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/vvolumebar.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/images/weekday-picker.png =================================================================== (Binary files differ) Property changes on: projects/haf/branches/hildon-libs/hildon-1/doc/images/weekday-picker.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: projects/haf/branches/hildon-libs/hildon-1/doc/visual_index.xml =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/doc/visual_index.xml 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/doc/visual_index.xml 2007-02-09 14:47:24 UTC (rev 9782) @@ -0,0 +1,5 @@ +<para role="gallery"> + <link linkend="HildonCalendarPopup"> + <inlinegraphic fileref="images/calendar-popup.png" format="PNG"></inlinegraphic> + </link> +</para> Modified: projects/haf/branches/hildon-libs/hildon-1/examples/Makefile.am =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/examples/Makefile.am 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/examples/Makefile.am 2007-02-09 14:47:24 UTC (rev 9782) @@ -20,7 +20,8 @@ hildon-window-menu-example \ hildon-window-cmn-menu-example \ hildon-vvolumebar-example \ - hildon-toolbar-example + hildon-toolbar-example \ + hildon-code-dialog-example # HIldon window hildon_window_example_LDADD = $(HILDON_OBJ_LIBS) @@ -122,4 +123,9 @@ hildon_toolbar_example_CFLAGS = $(HILDON_OBJ_CFLAGS) hildon_toolbar_example_SOURCES = hildon-toolbar-example.c +# Hildon lock code dialog example +hildon_code_dialog_example_LDADD = $(HILDON_OBJ_LIBS) +hildon_code_dialog_example_CFLAGS = $(HILDON_OBJ_CFLAGS) +hildon_code_dialog_example_SOURCES = hildon-code-dialog-example.c + endif Added: projects/haf/branches/hildon-libs/hildon-1/examples/hildon-code-dialog-example.c =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/examples/hildon-code-dialog-example.c 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/examples/hildon-code-dialog-example.c 2007-02-09 14:47:24 UTC (rev 9782) @@ -0,0 +1,44 @@ +/* + * This file is a part of hildon examples + * + * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved. + * + * Author: Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + * + * This library 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; version 2.1 of + * the License. + * + * This library 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 this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + +#include <stdio.h> +#include <stdlib.h> +#include <glib.h> +#include <gtk/gtk.h> +#include "hildon.h" + +int +main (int argc, char **args) +{ + gtk_init (&argc, &args); + + GtkDialog *dialog = GTK_DIALOG (hildon_code_dialog_new ()); + + gtk_widget_show_all (GTK_WIDGET (dialog)); + gtk_dialog_run (dialog); + + return 0; +} + + Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-code-dialog.c =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/src/hildon-code-dialog.c 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-code-dialog.c 2007-02-09 14:47:24 UTC (rev 9782) @@ -303,6 +303,7 @@ g_signal_connect (G_OBJECT (cancelButton), "key-press-event", G_CALLBACK (hildon_code_dialog_key_press_event), dialog); + gtk_widget_show_all (GTK_WIDGET (GTK_DIALOG (dialog)->vbox)); } static void Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.c =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.c 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.c 2007-02-09 14:47:24 UTC (rev 9782) @@ -279,11 +279,11 @@ g_object_class_install_property (object_class, PROP_HILDON_NOTE_TYPE, - g_param_spec_enum ("note_type", + g_param_spec_enum ("note-type", "note type", "The type of the note dialog", - hildon_note_get_type (), - HILDON_NOTE_CONFIRMATION_TYPE, + hildon_note_type_get_type (), + HILDON_NOTE_TYPE_CONFIRMATION, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); /** @@ -455,21 +455,21 @@ /* Add needed buttons and images for each note type */ switch (priv->note_n) { - case HILDON_NOTE_CONFIRMATION_TYPE: + case HILDON_NOTE_TYPE_CONFIRMATION: priv->okButton = gtk_dialog_add_button (dialog, _("ecdg_bd_confirmation_note_ok"), GTK_RESPONSE_OK); priv->cancelButton = gtk_dialog_add_button (dialog, _("ecdg_bd_confirmation_note_cancel"), GTK_RESPONSE_CANCEL); /* Fall through */ - case HILDON_NOTE_CONFIRMATION_BUTTON_TYPE: + case HILDON_NOTE_TYPE_CONFIRMATION_BUTTON: gtk_image_set_from_icon_name (GTK_IMAGE (priv->icon), HILDON_NOTE_CONFIRMATION_ICON, HILDON_ICON_SIZE_BIG_NOTE); break; - case HILDON_NOTE_INFORMATION_THEME_TYPE: - case HILDON_NOTE_INFORMATION_TYPE: + case HILDON_NOTE_TYPE_INFORMATION_THEME: + case HILDON_NOTE_TYPE_INFORMATION: /* Add clickable OK button (cancel really, but doesn't matter since this is info) */ priv->cancelButton = gtk_dialog_add_button (dialog, @@ -479,7 +479,7 @@ HILDON_ICON_SIZE_BIG_NOTE); break; - case HILDON_NOTE_PROGRESSBAR_TYPE: + case HILDON_NOTE_TYPE_PROGRESSBAR: priv->cancelButton = gtk_dialog_add_button (dialog, _("ecdg_bd_cancel_note_cancel"), GTK_RESPONSE_CANCEL); IsHorizontal = FALSE; @@ -552,7 +552,7 @@ GtkWidget *conf_note = g_object_new (HILDON_TYPE_NOTE, - "note_type", HILDON_NOTE_CONFIRMATION_BUTTON_TYPE, + "note-type", HILDON_NOTE_TYPE_CONFIRMATION_BUTTON, "description", description, "icon", HILDON_NOTE_CONFIRMATION_ICON, NULL); @@ -627,8 +627,8 @@ g_return_val_if_fail (description != NULL, NULL); dialog = g_object_new (HILDON_TYPE_NOTE, - "note_type", - HILDON_NOTE_CONFIRMATION_TYPE, + "note-type", + HILDON_NOTE_TYPE_CONFIRMATION, "description", description, "icon", icon_name, NULL); @@ -686,8 +686,8 @@ g_return_val_if_fail (icon_name != NULL, NULL); dialog = g_object_new (HILDON_TYPE_NOTE, - "note_type", - HILDON_NOTE_INFORMATION_THEME_TYPE, + "note-type", + HILDON_NOTE_TYPE_INFORMATION_THEME, "description", description, "icon", icon_name, NULL); @@ -728,8 +728,8 @@ g_return_val_if_fail (description != NULL, NULL); dialog = g_object_new (HILDON_TYPE_NOTE, - "note_type", - HILDON_NOTE_PROGRESSBAR_TYPE, + "note-type", + HILDON_NOTE_TYPE_PROGRESSBAR, "description", description, "progressbar", progressbar, NULL); @@ -812,13 +812,13 @@ switch (priv->note_n) { - case HILDON_NOTE_INFORMATION_TYPE: - case HILDON_NOTE_INFORMATION_THEME_TYPE: + case HILDON_NOTE_TYPE_INFORMATION: + case HILDON_NOTE_TYPE_INFORMATION_THEME: hildon_play_system_sound (INFORMATION_SOUND_PATH); break; - case HILDON_NOTE_CONFIRMATION_TYPE: - case HILDON_NOTE_CONFIRMATION_BUTTON_TYPE: + case HILDON_NOTE_TYPE_CONFIRMATION: + case HILDON_NOTE_TYPE_CONFIRMATION_BUTTON: hildon_play_system_sound (CONFIRMATION_SOUND_PATH); break; Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.h =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.h 2007-02-09 14:36:30 UTC (rev 9781) +++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-note.h 2007-02-09 14:47:24 UTC (rev 9782) @@ -102,11 +102,11 @@ typedef enum { - HILDON_NOTE_CONFIRMATION_TYPE = 0, - HILDON_NOTE_CONFIRMATION_BUTTON_TYPE, - HILDON_NOTE_INFORMATION_TYPE, - HILDON_NOTE_INFORMATION_THEME_TYPE, - HILDON_NOTE_PROGRESSBAR_TYPE + HILDON_NOTE_TYPE_CONFIRMATION = 0, + HILDON_NOTE_TYPE_CONFIRMATION_BUTTON, + HILDON_NOTE_TYPE_INFORMATION, + HILDON_NOTE_TYPE_INFORMATION_THEME, + HILDON_NOTE_TYPE_PROGRESSBAR } HildonNoteType; G_END_DECLS
- Previous message: [maemo-commits] r9781 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . test
- Next message: [maemo-commits] r9783 - projects/haf/branches/hildon-libs/hildon-1/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]