Changeset 180

Show
Ignore:
Timestamp:
09/07/2005 07:18:03 PM (3 years ago)
Author:
mwm
Message:

Add imdb websearch button. Move google images to make way for it.

Mabye we need a websearch menu?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/plpwm.py

    r179 r180  
    11#!/usr/bin/env python 
    2 # $Id: plpwm.py,v 1.39 2005-08-10 13:30:36 mwm Exp $ 
     2# $Id: plpwm.py,v 1.40 2005-09-08 00:18:03 mwm Exp $ 
    33# 
    44# plpwm.py -- Example PLWM window manager configuration with panes. 
     
    168168 
    169169    def M4_f(my, event): 
    170         getapp(my.wm.panes_list[my.wm.panes_current], "Firefox", "firefox") 
     170        # Damn Firefox doesn't set the title properly when running tabbed, 
     171        # just uses "firefox-bin". So we chop the leading F off. 
     172        getapp(my.wm.panes_list[my.wm.panes_current], "irefox", "firefox") 
    171173 
    172174    def M4_g(my, event): 
     
    180182 
    181183    def M4_i(my, event): 
     184        websearch(my.wm.panes_list[my.wm.panes_current], MyEditHandler, 
     185                  "IMDB", paneWindow, 
     186                  "http://www.imdb.com/find?tt=on;nm=on;mx=20;q=%s") 
     187 
     188    def M4_I(my, event): 
    182189        def firefox(url): 
    183190            assert "'" not in url