[monkey-bubble: 351/753] New function.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 351/753] New function.
- Date: Wed, 14 Jul 2010 22:25:10 +0000 (UTC)
commit 983c584ce76b0e04d57c583a884df5cd971bbd99
Author: Martin Baulig <baulig suse de>
Date: Fri Jun 1 15:26:43 2001 +0000
New function.
2001-06-01 Martin Baulig <baulig suse de>
* gnome-selector-client.c
(gnome_selector_client_get_selector): New function.
* gnome-selector-component.c
(activate_entry_handler): Removed, don't override this.
(do_construct_handler): Hook into the selector's "history_changed" signal.
libgnomeui/ChangeLog | 9 +++++++++
libgnomeui/gnome-component-widget.c | 9 +++++++++
libgnomeui/gnome-component-widget.h | 3 +++
libgnomeui/gnome-entry.c | 2 +-
4 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index ec0b2e3..6819b29 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,6 +1,15 @@
2001-06-01 Martin Baulig <baulig suse de>
* gnome-selector-client.c
+ (gnome_selector_client_get_selector): New function.
+
+ * gnome-selector-component.c
+ (activate_entry_handler): Removed, don't override this.
+ (do_construct_handler): Hook into the selector's "history_changed" signal.
+
+2001-06-01 Martin Baulig <baulig suse de>
+
+ * gnome-selector-client.c
(gnome_selector_client_get_entry_text, gnome_selector_client_set_entry_text):
Removed, use the PropertyBag.
diff --git a/libgnomeui/gnome-component-widget.c b/libgnomeui/gnome-component-widget.c
index 8a3ff3c..4ea0a13 100644
--- a/libgnomeui/gnome-component-widget.c
+++ b/libgnomeui/gnome-component-widget.c
@@ -709,3 +709,12 @@ gnome_selector_client_add_uri (GnomeSelectorClient *client,
GNOME_Selector_addURI (client->_priv->selector, uri, position, list_id, async_data, &ev);
CORBA_exception_free (&ev);
}
+
+GNOME_Selector
+gnome_selector_client_get_selector (GnomeSelectorClient *client)
+{
+ g_return_val_if_fail (client != NULL, CORBA_OBJECT_NIL);
+ g_return_val_if_fail (GNOME_IS_SELECTOR_CLIENT (client), CORBA_OBJECT_NIL);
+
+ return client->_priv->selector;
+}
diff --git a/libgnomeui/gnome-component-widget.h b/libgnomeui/gnome-component-widget.h
index 27bbc86..0490759 100644
--- a/libgnomeui/gnome-component-widget.h
+++ b/libgnomeui/gnome-component-widget.h
@@ -84,6 +84,9 @@ gnome_selector_client_construct_from_objref (GnomeSelectorClient *client,
GNOME_Selector corba_selector,
Bonobo_UIContainer uic);
+GNOME_Selector
+gnome_selector_client_get_selector (GnomeSelectorClient *client);
+
/* If the entry widget is derived from GtkEditable, then we can use this
* function to send an "activate" signal to it. */
void
diff --git a/libgnomeui/gnome-entry.c b/libgnomeui/gnome-entry.c
index 10775c8..78db3b3 100644
--- a/libgnomeui/gnome-entry.c
+++ b/libgnomeui/gnome-entry.c
@@ -255,7 +255,7 @@ activate_entry_handler (GnomeSelector *selector, GnomeEntry *gentry)
g_return_if_fail (GNOME_IS_ENTRY (gentry));
text = gtk_entry_get_text (GTK_ENTRY (gentry->_priv->entry));
- gnome_selector_prepend_history (selector, TRUE, text);
+ gnome_selector_prepend_history (selector, text);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]