[latexila/gnome-3] Invisible event box (remove the ugly gray zone)
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/gnome-3] Invisible event box (remove the ugly gray zone)
- Date: Sun, 4 Mar 2012 21:28:49 +0000 (UTC)
commit 89d9bae4586d680fd46e83c608b4113f973c0924
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Sun Mar 4 22:30:05 2012 +0100
Invisible event box (remove the ugly gray zone)
TODO | 4 +---
src/documents_panel.vala | 2 ++
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/TODO b/TODO
index 27d12fe..5106168 100644
--- a/TODO
+++ b/TODO
@@ -11,10 +11,8 @@ The TODO is more detailed, but focus more on the short-term.
but it would be nice. The problem is that it involves a lot of work,
more than expected. See the branch gnome-3.
- - GtkBox -> GtkGrid
- - right click on document tab (the gray zone is ugly)
- remove the border of toolbars
- - reduce some widgets sizes (some are too big)
+ - reduce some widgets sizes (some are too big, like the close button)
- use GtkApplication instead of Unique
- test dev version of GtkSpell
- replace gtk_source_completion_info_set_sizing()
diff --git a/src/documents_panel.vala b/src/documents_panel.vala
index e668d2e..28dcf83 100644
--- a/src/documents_panel.vala
+++ b/src/documents_panel.vala
@@ -39,6 +39,8 @@ public class DocumentsPanel : Notebook
public void add_tab (DocumentTab tab, int position, bool jump_to)
{
EventBox event_box = new EventBox ();
+ event_box.set_visible_window (false);
+
event_box.add (tab.label);
event_box.button_press_event.connect ((event) =>
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]