[gedit] Use the new Gtk style class for message dialogs
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use the new Gtk style class for message dialogs
- Date: Mon, 16 Jun 2014 06:58:34 +0000 (UTC)
commit eaf71daf3be25e4d4bb822e73197bd3ccd21a1f2
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Jun 12 23:11:10 2014 +0200
Use the new Gtk style class for message dialogs
gedit/gedit-close-confirmation-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-close-confirmation-dialog.c b/gedit/gedit-close-confirmation-dialog.c
index c24dd71..846a088 100644
--- a/gedit/gedit-close-confirmation-dialog.c
+++ b/gedit/gedit-close-confirmation-dialog.c
@@ -153,7 +153,8 @@ gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg)
action_area = gtk_dialog_get_action_area (GTK_DIALOG (dlg));
gtk_button_box_set_layout (GTK_BUTTON_BOX (action_area), GTK_BUTTONBOX_EXPAND);
- gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (dlg)), "prompt");
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (dlg)),
+ GTK_STYLE_CLASS_MESSAGE_DIALOG);
g_signal_connect (dlg,
"response",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]