From 387ff45e5e9a55234db048b0ffc9312a2cb9d9ca Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 17 Aug 2001 16:35:55 +0000 Subject: Added key accelerators. 2001-08-15 Jeffrey Stedfast * filter.glade: Added key accelerators. svn path=/trunk/; revision=12157 --- filter/ChangeLog | 9 +++++++-- filter/filter.glade | 39 ++++++++++++++++++++++++++++----------- filter/rule-context.c | 34 +++++++++++++++++----------------- 3 files changed, 52 insertions(+), 30 deletions(-) diff --git a/filter/ChangeLog b/filter/ChangeLog index 7770246fe9..50692b9d61 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,7 +1,12 @@ +2001-08-15 Jeffrey Stedfast + + * filter.glade: Added key accelerators. + 2001-08-14 Peter Williams - * filter-rule.c (xml_decode): Match either "title" or "_title" to allow - for translations of the title (provided in the default files) + * filter-rule.c (xml_decode): Match either "title" or "_title" to + allow for translations of the title (provided in the default + files) 2001-08-13 Peter Williams diff --git a/filter/filter.glade b/filter/filter.glade index 478ed32ad2..7325381317 100644 --- a/filter/filter.glade +++ b/filter/filter.glade @@ -162,7 +162,8 @@ Outgoing rule_add True True - + + GTK_RELIEF_NORMAL @@ -170,7 +171,8 @@ Outgoing rule_edit True True - + + GTK_RELIEF_NORMAL @@ -178,7 +180,8 @@ Outgoing rule_delete True True - + + GTK_RELIEF_NORMAL @@ -187,6 +190,7 @@ Outgoing True True GNOME_STOCK_BUTTON_UP + GTK_RELIEF_NORMAL @@ -195,6 +199,7 @@ Outgoing True True GNOME_STOCK_BUTTON_DOWN + GTK_RELIEF_NORMAL @@ -339,7 +344,8 @@ Outgoing rule_add True True - + + GTK_RELIEF_NORMAL @@ -347,7 +353,8 @@ Outgoing rule_edit True True - + + GTK_RELIEF_NORMAL @@ -355,7 +362,8 @@ Outgoing rule_delete True True - + + GTK_RELIEF_NORMAL @@ -364,6 +372,7 @@ Outgoing True True GNOME_STOCK_BUTTON_UP + GTK_RELIEF_NORMAL @@ -372,6 +381,7 @@ Outgoing True True GNOME_STOCK_BUTTON_DOWN + GTK_RELIEF_NORMAL @@ -551,7 +561,8 @@ with all local and active remote folders source_add True True - + + GTK_RELIEF_NORMAL @@ -559,7 +570,8 @@ with all local and active remote folders source_remove True True - + + GTK_RELIEF_NORMAL @@ -677,7 +689,8 @@ with all local and active remote folders rule_add True True - + + GTK_RELIEF_NORMAL @@ -685,7 +698,8 @@ with all local and active remote folders rule_edit True True - + + GTK_RELIEF_NORMAL @@ -693,7 +707,8 @@ with all local and active remote folders rule_delete True True - + + GTK_RELIEF_NORMAL @@ -702,6 +717,7 @@ with all local and active remote folders True True GNOME_STOCK_BUTTON_UP + GTK_RELIEF_NORMAL @@ -710,6 +726,7 @@ with all local and active remote folders True True GNOME_STOCK_BUTTON_DOWN + GTK_RELIEF_NORMAL diff --git a/filter/rule-context.c b/filter/rule-context.c index cf5d13acb7..61e422eeb1 100644 --- a/filter/rule-context.c +++ b/filter/rule-context.c @@ -75,45 +75,45 @@ rule_context_get_type(void) } static void -rule_context_class_init(RuleContextClass * class) +rule_context_class_init (RuleContextClass * class) { GtkObjectClass *object_class; - + object_class = (GtkObjectClass *) class; parent_class = gtk_type_class(gtk_object_get_type()); - + object_class->finalize = rule_context_finalise; - + /* override methods */ class->load = load; class->save = save; - + /* signals */ - + gtk_object_class_add_signals(object_class, signals, LAST_SIGNAL); } static void -rule_context_init(RuleContext * o) +rule_context_init (RuleContext * o) { - o->priv = g_malloc0(sizeof(*o->priv)); - - o->part_set_map = g_hash_table_new(g_str_hash, g_str_equal); - o->rule_set_map = g_hash_table_new(g_str_hash, g_str_equal); + o->priv = g_malloc0 (sizeof (*o->priv)); + + o->part_set_map = g_hash_table_new (g_str_hash, g_str_equal); + o->rule_set_map = g_hash_table_new (g_str_hash, g_str_equal); } static void -free_part_set(struct _part_set_map *map, void *data) +free_part_set (struct _part_set_map *map, void *data) { - g_free(map->name); - g_free(map); + g_free (map->name); + g_free (map); } static void -free_rule_set(struct _rule_set_map *map, void *data) +free_rule_set (struct _rule_set_map *map, void *data) { - g_free(map->name); - g_free(map); + g_free (map->name); + g_free (map); } static void -- cgit v1.2.3