grim/guifications1

credit where credit is due

2004-04-25, grim
b4022a639a03
Parents 21d53ebf4763
Children 84d96f68b538
credit where credit is due
--- a/AUTHORS Sat Apr 24 09:47:01 2004 +0000
+++ b/AUTHORS Sun Apr 25 01:28:30 2004 +0000
@@ -10,3 +10,4 @@
Nathan Walp for helping with cleaning up the out of tree compile
Andy Korvemaker for the debian packages
Lennert Van Alboom for the mdk10 package
+Aaron Bock for the receive message notification
--- a/ChangeLog Sat Apr 24 09:47:01 2004 +0000
+++ b/ChangeLog Sun Apr 25 01:28:30 2004 +0000
@@ -1,6 +1,6 @@
Version 1.7 :
* Updated to work with gaim 0.77
- * Added a notification for a message being received
+ * Added a notification for a message being received (Aaron Bock)
* Only the last action performed by a user will be shown. The last is the
most revelant, for example, "so and so is back", "so and so signed off"
will now only display that "so and so signed off"
--- a/src/gf_gtkutils.c Sat Apr 24 09:47:01 2004 +0000
+++ b/src/gf_gtkutils.c Sun Apr 25 01:28:30 2004 +0000
@@ -223,32 +223,6 @@
return menu_item;
}
-static GtkWidget *
-gf_make_event_menu_item(gf_event event) {
- GtkWidget *menu_item, *hbox, *label = NULL;
-
- menu_item = gtk_menu_item_new();
-
- hbox = gtk_hbox_new(FALSE, 4);
- gtk_container_add(GTK_CONTAINER(menu_item), hbox);
-
- switch (event) {
- case gf_event_signon: label = gtk_label_new("Sign On"); break;
- case gf_event_signoff: label = gtk_label_new("Sign Off"); break;
- case gf_event_away: label = gtk_label_new("Away"); break;
- case gf_event_back: label = gtk_label_new("Back"); break;
- case gf_event_idle: label = gtk_label_new("Idle"); break;
- case gf_event_unidle: label = gtk_label_new("Unidle"); break;
- case gf_event_custom: label = gtk_label_new("Custom"); break;
- }
-
- gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
-
- gtk_widget_show_all(menu_item);
-
- return menu_item;
-}
/***********************************************************************
* export
**********************************************************************/
@@ -442,25 +416,6 @@
}
GtkWidget *
-gf_make_event_option_menu(gf_event event) {
- GtkWidget *option_menu, *menu;
- gint i;
-
- option_menu = gtk_option_menu_new();
- menu = gtk_menu_new();
-
- for (i = 0; i < 7; i++)
- gtk_menu_shell_append(GTK_MENU_SHELL(menu), gf_make_event_menu_item(i));
-
- gtk_widget_show_all(menu);
- gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu);
- gtk_option_menu_set_history(GTK_OPTION_MENU(option_menu), event);
- gtk_widget_show(option_menu);
-
- return option_menu;
-}
-
-GtkWidget *
gf_add_label(GtkWidget *widget, gchar *text, GtkSizeGroup *sg) {
GtkWidget *hbox, *label;
--- a/src/gf_gtkutils.h Sat Apr 24 09:47:01 2004 +0000
+++ b/src/gf_gtkutils.h Sun Apr 25 01:28:30 2004 +0000
@@ -33,7 +33,6 @@
GtkWidget *gf_make_item_position_option_menu(gf_item_position position);
GtkWidget *gf_make_text_clipping_option_menu(gf_text_clipping clipping);
GtkWidget *gf_make_icon_size_option_menu(gf_icon_size size);
-GtkWidget *gf_make_event_option_menu(gf_event event);
GtkWidget *gf_add_label(GtkWidget *widget, gchar *text, GtkSizeGroup *sg);
GtkWidget *gf_add_page(GtkNotebook *parent, gchar *text, gint position);