2008-12-27 Carlos Garcia Campos <carlosgc@gnome.org>
* cut-n-paste/gedit-message-area/gedit-message-area.[ch]:
Use GTK_RESPONSE_CLOSE instead of GTK_RESPONSE_CANCEL for the
close button. Add a function to get the contents of the message
area.
svn path=/trunk/; revision=3307
+2008-12-27 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * cut-n-paste/gedit-message-area/gedit-message-area.[ch]:
+
+ Use GTK_RESPONSE_CLOSE instead of GTK_RESPONSE_CANCEL for the
+ close button. Add a function to get the contents of the message
+ area.
+
2008-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/Makefile.am:
static void
gedit_message_area_close (GeditMessageArea *message_area)
{
- if (!find_button (message_area, GTK_RESPONSE_CANCEL))
+ if (!find_button (message_area, GTK_RESPONSE_CLOSE))
return;
/* emit response signal */
gedit_message_area_response (GEDIT_MESSAGE_AREA (message_area),
- GTK_RESPONSE_CANCEL);
+ GTK_RESPONSE_CLOSE);
}
static gboolean
0);
}
+GtkWidget *
+gedit_message_area_get_contents (GeditMessageArea *message_area)
+{
+ return message_area->priv->contents;
+}
+
GtkWidget*
gedit_message_area_add_button (GeditMessageArea *message_area,
const gchar *button_text,
void gedit_message_area_set_contents (GeditMessageArea *message_area,
GtkWidget *contents);
+GtkWidget *gedit_message_area_get_contents (GeditMessageArea *message_area);
void gedit_message_area_add_action_widget (GeditMessageArea *message_area,
GtkWidget *child,