[maemo-commits] [maemo-commits] r9510 - in projects/haf/branches/hildon-libs/hildon-1: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Feb 1 14:41:06 EET 2007
- Previous message: [maemo-commits] r9509 - in projects/haf/branches/gtk+/maemo-gtk-2-10: . gtk
- Next message: [maemo-commits] r9511 - in projects/haf/branches/gtk+/maemo-gtk-2-10: . gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: mdk Date: 2007-02-01 14:41:03 +0200 (Thu, 01 Feb 2007) New Revision: 9510 Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.h Log: Adding the hildon_helper_set_insensitive_message function. Implementation not done yet. Modified: projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 2007-02-01 12:21:26 UTC (rev 9509) +++ projects/haf/branches/hildon-libs/hildon-1/ChangeLog.2 2007-02-01 12:41:03 UTC (rev 9510) @@ -1,3 +1,10 @@ +2007-02-01 Michael Dominic Kostrzewa <michael.kostrzewa at nokia.com> + + * src/hildon-helper.c: + * src/hildon-helper.h: Adding the + hildon_helper_set_insensitive_message function. Implementation not + done yet. + 2007-02-01 Johan Bilien <johan.bilien at nokia.com> * src/hildon-window.c: Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c 2007-02-01 12:21:26 UTC (rev 9509) +++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.c 2007-02-01 12:41:03 UTC (rev 9510) @@ -234,6 +234,27 @@ } /** + * hildon_helper_set_insensitive_message + * @widget : A @GtkWidget to assign a banner to + * @message: A message to display to the user + * + * This function assigns an insensitive message to a @widget. When the @widget is + * in an insensitive state and the user activates it, the @message will be displayed + * using a standard @HildonBanner. + * + **/ +void +hildon_helper_set_insensitive_message (GtkWidget *widget, + const gchar *message) +{ + g_return_if_fail (GTK_IS_WIDGET (widget)); + g_return_if_fail (message != NULL); + + g_warning ("FIXME: I'm not implemented yet!"); +} + + +/** * hildon_helper_set_logical_color: * @widget : A @GtkWidget to assign this logical font for. * @rcflags : @GtkRcFlags enumeration defining whether to assign to FG, BG, TEXT or BASE style. Modified: projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.h =================================================================== --- projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.h 2007-02-01 12:21:26 UTC (rev 9509) +++ projects/haf/branches/hildon-libs/hildon-1/src/hildon-helper.h 2007-02-01 12:41:03 UTC (rev 9510) @@ -44,6 +44,10 @@ gboolean hildon_helper_event_button_is_finger (GdkEventButton *event); +void +hildon_helper_set_insensitive_message (GtkWidget *widget, + const gchar *message); + G_END_DECLS #endif /* HILDON_HELPER_H */
- Previous message: [maemo-commits] r9509 - in projects/haf/branches/gtk+/maemo-gtk-2-10: . gtk
- Next message: [maemo-commits] r9511 - in projects/haf/branches/gtk+/maemo-gtk-2-10: . gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]