Ticket #118: 0001-Fix-background-color-is-always-black-on-start.patch

File 0001-Fix-background-color-is-always-black-on-start.patch, 1.0 KB (added by SnapShot, 3 years ago)
  • src/guake.py

    From f7777b9e90698242072e9664181dfa887a8c1f02 Mon Sep 17 00:00:00 2001
    From: Aleksandar Krsteski <alekrsteski@gmail.com>
    Date: Wed, 11 Mar 2009 22:44:09 +0100
    Subject: [PATCH] Fix background color is always black on start.
    
    Vte background color applies corectly only after the widget is shown. So
    add notify for background color in show function in addition to existing
    font color notify.
    ---
     src/guake.py |    3 ++-
     1 files changed, 2 insertions(+), 1 deletions(-)
    
    diff --git a/src/guake.py b/src/guake.py
    index 114c1d7..bd7bd25 100644
    a b  
    701701        self.window.window.focus(time) 
    702702 
    703703        # This is here because vte color configuration works only 
    704         # after the be widget shown. 
     704        # after the widget is shown. 
    705705        self.client.notify(KEY('/style/font/color')) 
     706        self.client.notify(KEY('/style/background/color')) 
    706707 
    707708    def hide(self): 
    708709        """Hides the main window of the terminal and sets the visible