Skip to content

Commit

Permalink
Make popup and utility windows not show up in task bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed Jan 21, 2010
1 parent 7d991fd commit 4417da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions gaphor/ui/diagramtools.py
Expand Up @@ -142,6 +142,7 @@ def create_edit_window(self, x, y, text, *args):
view = self.view
window = gtk.Window()
window.set_property('decorated', False)
window.set_property('skip-taskbar-hint', True)
window.set_resize_mode(gtk.RESIZE_IMMEDIATE)
#window.set_modal(True)
window.set_parent_window(view.window)
Expand Down
5 changes: 4 additions & 1 deletion gaphor/ui/toplevelwindow.py
Expand Up @@ -79,8 +79,11 @@ def construct(self):

main_window = self.gui_manager.main_window.window
self.window.set_transient_for(main_window)
self.window.set_keep_above(True)
#self.window.set_keep_above(True)
self.window.set_property('skip-taskbar-hint', True)
self.window.set_position(gtk.WIN_POS_MOUSE)
self.window.show()
#self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_UTILITY)


# vim:sw=4:et:ai

0 comments on commit 4417da5

Please sign in to comment.