diff options
author | Not Zed <NotZed@Ximian.com> | 2002-12-02 11:23:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-12-02 11:23:57 +0800 |
commit | 9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (patch) | |
tree | bbbaa747e8cf40cb220d651d4b2fdd8159fae652 /shell/e-folder-list.c | |
parent | 2a7bc6967326be929beb1e0d7a3ba091022d59e9 (diff) | |
download | gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.gz gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.bz2 gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.lz gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.xz gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.zst gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.zip |
changed to use a gtkdialog instead of a gnome one.
2002-11-27 Not Zed <NotZed@Ximian.com>
* main.c (show_development_warning): changed to use a gtkdialog
instead of a gnome one.
(warning_dialog_response_callback): clicked->response.
* e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h
* e-shell-folder-creation-dialog.c: include gnome-dialog.h
(dialog_response_cb): gtk_entry_get_text now returns const. Dont
free result.
* e-setup.c: include gnome-messagebox.h
* *.c: (re)run fix.sh over all, for e_notice changes & pick up
some deprecated functions.
* e-shell-shared-folder-picker-dialog.c
(shared_folder_discovery_callback): reformat e_notice call for
script.
* e-shell-offline-sync.c
(impl_SyncFolderProgressListener_reportFailure): Fix e_notice
call, we weren't passing type in.
* e-shell-folder-commands.c (xfer_result_callback): changed around
slightly to save some processing & allow a script to run.
(e_shell_command_rename_folder): reformat e_notice call to help script.
Include gnome-messagebox.h
svn path=/trunk/; revision=18977
Diffstat (limited to 'shell/e-folder-list.c')
-rw-r--r-- | shell/e-folder-list.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/e-folder-list.c b/shell/e-folder-list.c index b6cad2a292..69176ddeab 100644 --- a/shell/e-folder-list.c +++ b/shell/e-folder-list.c @@ -220,7 +220,7 @@ e_folder_list_class_init (EFolderListClass *klass) glade_gnome_init(); - parent_class = gtk_type_class (PARENT_TYPE); + parent_class = g_type_class_ref(PARENT_TYPE); object_class->set_arg = e_folder_list_set_arg; object_class->get_arg = e_folder_list_get_arg; @@ -233,7 +233,7 @@ e_folder_list_class_init (EFolderListClass *klass) gtk_signal_new ("option_menu_changed", GTK_RUN_LAST, E_OBJECT_CLASS_TYPE (object_class), - GTK_SIGNAL_OFFSET (EFolderListClass, option_menu_changed), + G_STRUCT_OFFSET (EFolderListClass, option_menu_changed), e_shell_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -241,7 +241,7 @@ e_folder_list_class_init (EFolderListClass *klass) gtk_signal_new ("changed", GTK_RUN_LAST, E_OBJECT_CLASS_TYPE (object_class), - GTK_SIGNAL_OFFSET (EFolderListClass, changed), + G_STRUCT_OFFSET (EFolderListClass, changed), e_shell_marshal_NONE__NONE, GTK_TYPE_NONE, 0); @@ -335,7 +335,7 @@ add_clicked (GtkButton *button, EFolderList *efl) e_table_memory_store_insert (efl->priv->model, -1, NULL, pixbuf, display_string, folder->displayName, folder->evolutionUri, folder->physicalUri); e_folder_list_changed (efl); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); g_free (display_string); } } @@ -430,11 +430,11 @@ e_folder_list_init (EFolderList *efl) efl->priv->model = E_TABLE_MEMORY_STORE (g_object_get_data (G_OBJECT (efl->priv->scrolled_table), "table-model")); e_glade_xml_connect_widget (gui, "button-add", "clicked", - GTK_SIGNAL_FUNC (add_clicked), efl); + G_CALLBACK (add_clicked), efl); e_glade_xml_connect_widget (gui, "button-remove", "clicked", - GTK_SIGNAL_FUNC (remove_clicked), efl); + G_CALLBACK (remove_clicked), efl); e_glade_xml_connect_widget (gui, "custom-optionmenu", "changed", - GTK_SIGNAL_FUNC (optionmenu_changed), efl); + G_CALLBACK (optionmenu_changed), efl); selection_model = e_table_get_selection_model (e_table_scrolled_get_table (efl->priv->scrolled_table)); @@ -602,7 +602,7 @@ e_folder_list_set_items (EFolderList *efl, EFolderListItem *items) pixbuf, display_string, items[i].display_name, items[i].uri, items[i].physical_uri); CORBA_free (folder); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); g_free (display_string); } } |