Remove the ability to set window classname, as function in gtk is now deprecated

This commit is contained in:
Stephen Boddy 2017-03-13 19:41:33 +01:00
parent 226fa70386
commit 92d8d70cc0
3 changed files with 0 additions and 8 deletions

View File

@ -61,9 +61,6 @@ Use the specified FILE for configuration
.B \-r, \-\-role=ROLE
Set a custom WM_WINDOW_ROLE property on the window
.TP
.B \-c, \-\-classname=CLASSNAME
Set a custom name (WM_CLASS) property on the window
.TP
.B \-l, \-\-layout=LAYOUT
Start Terminator with a specific layout. The argument here is the name
of a saved layout.

View File

@ -79,8 +79,6 @@ def parse_options():
'inside the terminal, and its arguments'))
parser.add_option('--working-directory', metavar='DIR',
dest='working_directory', help=_('Set the working directory'))
parser.add_option('-c', '--classname', dest='classname', help=_('Set a \
custom name (WM_CLASS) property on the window'))
parser.add_option('-i', '--icon', dest='forcedicon', help=_('Set a custom \
icon for the window (by file or name)'))
parser.add_option('-r', '--role', dest='role',

View File

@ -83,9 +83,6 @@ class Window(Container, Gtk.Window):
if options.role:
self.set_role(options.role)
# if options.classname is not None:
# self.set_wmclass(options.classname, self.wmclass_class)
if options.forcedicon is not None:
icon_to_apply = options.forcedicon