Remove the ability to set window classname, as function in gtk is now deprecated
This commit is contained in:
parent
226fa70386
commit
92d8d70cc0
|
@ -61,9 +61,6 @@ Use the specified FILE for configuration
|
||||||
.B \-r, \-\-role=ROLE
|
.B \-r, \-\-role=ROLE
|
||||||
Set a custom WM_WINDOW_ROLE property on the window
|
Set a custom WM_WINDOW_ROLE property on the window
|
||||||
.TP
|
.TP
|
||||||
.B \-c, \-\-classname=CLASSNAME
|
|
||||||
Set a custom name (WM_CLASS) property on the window
|
|
||||||
.TP
|
|
||||||
.B \-l, \-\-layout=LAYOUT
|
.B \-l, \-\-layout=LAYOUT
|
||||||
Start Terminator with a specific layout. The argument here is the name
|
Start Terminator with a specific layout. The argument here is the name
|
||||||
of a saved layout.
|
of a saved layout.
|
||||||
|
|
|
@ -79,8 +79,6 @@ def parse_options():
|
||||||
'inside the terminal, and its arguments'))
|
'inside the terminal, and its arguments'))
|
||||||
parser.add_option('--working-directory', metavar='DIR',
|
parser.add_option('--working-directory', metavar='DIR',
|
||||||
dest='working_directory', help=_('Set the working directory'))
|
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 \
|
parser.add_option('-i', '--icon', dest='forcedicon', help=_('Set a custom \
|
||||||
icon for the window (by file or name)'))
|
icon for the window (by file or name)'))
|
||||||
parser.add_option('-r', '--role', dest='role',
|
parser.add_option('-r', '--role', dest='role',
|
||||||
|
|
|
@ -83,9 +83,6 @@ class Window(Container, Gtk.Window):
|
||||||
if options.role:
|
if options.role:
|
||||||
self.set_role(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:
|
if options.forcedicon is not None:
|
||||||
icon_to_apply = options.forcedicon
|
icon_to_apply = options.forcedicon
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue