diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-05-20 02:48:11 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-20 02:48:11 +0800 |
commit | 6289d5e8af55efe139fa3981e11684b8a0784549 (patch) | |
tree | d93242f6860106e92b257a3fda611ac7a38b6d9e /libempathy-gtk/gossip-preferences.c | |
parent | 0fea8f6e1fbabbbcf29615b838ded6902d80b32f (diff) | |
download | gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar.gz gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar.bz2 gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar.lz gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar.xz gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.tar.zst gsoc2013-empathy-6289d5e8af55efe139fa3981e11684b8a0784549.zip |
Split GossipContactList into two objects: GossipContactListStore
2007-05-19 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/gossip-contact-list-store.c:
* libempathy-gtk/gossip-preferences.c:
* libempathy-gtk/gossip-contact-list-store.h:
* libempathy-gtk/gossip-contact-list.c:
* libempathy-gtk/gossip-contact-list.h:
* libempathy-gtk/empathy-main-window.c:
* libempathy-gtk/gossip-contact-list-model.c:
* libempathy-gtk/gossip-contact-list-model.h:
* libempathy-gtk/Makefile.am:
* libempathy/empathy-marshal.list: Split GossipContactList into
two objects: GossipContactListStore inheriting from GtkTreeStore and
GossipContactListView inheriting from GtkTreeView. This makes
easier to build new UI widgets reusing the GtkTreeModel.
svn path=/trunk/; revision=74
Diffstat (limited to 'libempathy-gtk/gossip-preferences.c')
-rw-r--r-- | libempathy-gtk/gossip-preferences.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/gossip-preferences.c b/libempathy-gtk/gossip-preferences.c index bc65187ec..52c4a804c 100644 --- a/libempathy-gtk/gossip-preferences.c +++ b/libempathy-gtk/gossip-preferences.c @@ -36,7 +36,7 @@ #include "gossip-ui-utils.h" #include "gossip-theme-manager.h" #include "gossip-spell.h" -#include "gossip-contact-list.h" +#include "gossip-contact-list-store.h" typedef struct { GtkWidget *dialog; @@ -511,7 +511,7 @@ preferences_widget_sync_string (const gchar *key, GtkWidget *widget) GtkWidget *toggle_widget; /* Get index from new string */ - type = gossip_contact_list_sort_get_type (); + type = gossip_contact_list_store_sort_get_type (); enum_class = G_ENUM_CLASS (g_type_class_peek (type)); enum_value = g_enum_get_value_by_nick (enum_class, value); @@ -850,7 +850,7 @@ preferences_radio_button_toggled_cb (GtkWidget *button, group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button)); /* Get string from index */ - type = gossip_contact_list_sort_get_type (); + type = gossip_contact_list_store_sort_get_type (); enum_class = G_ENUM_CLASS (g_type_class_peek (type)); enum_value = g_enum_get_value (enum_class, g_slist_index (group, button)); |