diff options
author | infirit <[email protected]> | 2015-07-22 15:20:10 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-22 17:58:34 +0200 |
commit | 9ffbe7001c40d8121b29749a0142f5d7b0a4a1e3 (patch) | |
tree | b0fc7470fcb22e60b7e5f38e8a6d71bbfcd52e4b /src/themes/coco | |
parent | 178b9b65fd56ec5f1ff2b4c84569f0d7e92cac90 (diff) | |
download | mate-notification-daemon-9ffbe7001c40d8121b29749a0142f5d7b0a4a1e3.tar.bz2 mate-notification-daemon-9ffbe7001c40d8121b29749a0142f5d7b0a4a1e3.tar.xz |
coco: Also set wrap mode for Gtk2
Rids us of more GTK_CHECK_VERSION
Diffstat (limited to 'src/themes/coco')
-rw-r--r-- | src/themes/coco/coco-theme.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index ae25c2f..72f0d31 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -471,9 +471,7 @@ create_notification(UrlClickedCb url_clicked) gtk_misc_set_alignment(GTK_MISC(windata->summary_label), 0, 0); #endif gtk_label_set_line_wrap(GTK_LABEL(windata->summary_label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) gtk_label_set_line_wrap_mode (GTK_LABEL (windata->summary_label), PANGO_WRAP_WORD_CHAR); -#endif atkobj = gtk_widget_get_accessible(windata->summary_label); atk_object_set_description(atkobj, "Notification summary text."); @@ -487,9 +485,8 @@ create_notification(UrlClickedCb url_clicked) gtk_misc_set_alignment(GTK_MISC(windata->body_label), 0, 0); #endif gtk_label_set_line_wrap(GTK_LABEL(windata->body_label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) gtk_label_set_line_wrap_mode (GTK_LABEL (windata->body_label), PANGO_WRAP_WORD_CHAR); -#endif + g_signal_connect(G_OBJECT(windata->body_label), "activate-link", G_CALLBACK(activate_link), windata); |