Commit 93dc921b authored by Moritz Lipp's avatar Moritz Lipp

Merge branch 'release/0.1.9'

parents 21a0c223 e3d1c3d1
......@@ -11,3 +11,4 @@ Oliver Mader <dotb52@gmail.com>
Maxime de Roucy <maxime.deroucy@gmail.com>
Marwan Tanager <marwan.tngr@gmail.com>
Benoît Knecht <benoit.knecht@fsfe.org>
Abdó Roig-Maranges <abdo.roig@gmail.com>
......@@ -2,7 +2,7 @@
GIRARA_VERSION_MAJOR = 0
GIRARA_VERSION_MINOR = 1
GIRARA_VERSION_REV = 8
GIRARA_VERSION_REV = 9
VERSION = ${GIRARA_VERSION_MAJOR}.${GIRARA_VERSION_MINOR}.${GIRARA_VERSION_REV}
# Rules for the SOMAJOR and SOMINOR.
......
......@@ -117,6 +117,9 @@ girara_session_create()
#endif
session->gtk.view = gtk_scrolled_window_new(NULL, NULL);
session->gtk.viewport = gtk_viewport_new(NULL, NULL);
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION >= 4
gtk_widget_add_events(session->gtk.viewport, GDK_SCROLL_MASK);
#endif
session->gtk.statusbar = gtk_event_box_new();
session->gtk.notification_area = gtk_event_box_new();
session->gtk.notification_text = gtk_label_new(NULL);
......
......@@ -32,6 +32,11 @@ girara_statusbar_item_add(girara_session_t* session, bool expand, bool fill, boo
gtk_misc_set_alignment(GTK_MISC(item->text), left ? 0.0 : 1.0, 0.5);
gtk_label_set_use_markup(item->text, TRUE);
/* add ellipsis if item is on the left side */
if (left == true) {
gtk_label_set_ellipsize(item->text, PANGO_ELLIPSIZE_END);
}
#if (GTK_MAJOR_VERSION == 3)
/* add name so it uses a custom style */
gtk_widget_set_name(GTK_WIDGET(item->text), "bottom_box");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment