Hot answers tagged quickly
Usually, when the Icon= line is changed in a .desktop file, it should be visible in the launcher after log out/log in. When an application is re- installed its icon should change as well, there is no "Unity memory" as you mention it. Priority of .desktop files Another thing is that a local version of a .desktop file (in ~/.local/share/applications) has ...
Since VTE 0.38, vte_terminal_fork_command_full () has been renamed to vte_terminal_spawn_sync (). So if you are using newer versions, you have to change @ADcomp's answer into the following: terminal.spawn_sync( Vte.PtyFlags.DEFAULT, os.environ['HOME'], ["/bin/sh"], , GLib.SpawnFlags.DO_NOT_REAP_CHILD, None, None, )
There are 2 different ways to edit the menu items. Note that these steps also work for a toolbar and partially for a treeview too. Option 1 Select the menu by clicking on it in the editor (A) or search for it in the widget tree (B). A new Glade toolbar button will appear at the end with an "Edit" icon. Click that to bring up a new dialog where you can ...
You miss an underscore in the webview methods. The correct ones are webview.go_back() and webview.go_forward(). Which means your code becomes: def on_backbutton_clicked(self, widget): self.webview.go_back() def on_forwardbutton_clicked(self, widget): self.webview.go_forward() See the linked documentation page for some more convenient methods, ...
Only top voted, non community-wiki answers of a minimum length are eligible