Griffith - media collection manager
May 21, 2012, 07:36:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please check ask.griffith.cc and wiki.griffith.cc before asking questions.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] Poster window under main window?  (Read 362 times)
CinéphOli
Jr. Member
**
Offline Offline

Posts: 87



View Profile
« on: August 06, 2011, 04:36:17 PM »

Hello,

Is it possible to have the poster view window under the main one instead of "always on top" ? I looked into the glade properties, but couldn't find anything useful.
« Last Edit: August 10, 2011, 09:02:24 PM by CinéphOli » Logged

Using Griffith v0.13 r1621 on Linux Ubuntu
Griffith SQL for Dummies
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #1 on: August 10, 2011, 08:00:05 PM »

It's possible. You need two steps.
  • in the file griffith.glade look for "<widget class="GtkWindow" id="poster_window">", 5 lines later you will find "<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>", change it to <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
  • in the file widgets.py look for the line "self.widgets['poster_window'].set_transient_for(self.widgets['window'])", remove it or insert a "#" at the beginning of the line
Logged
CinéphOli
Jr. Member
**
Offline Offline

Posts: 87



View Profile
« Reply #2 on: August 10, 2011, 08:51:42 PM »

Smiley Thank you mike, it works.
The idea is to have a mosaic of pictures in this poster window, with a total width of ~600px, which would otherwise partially overlap the main window. This way, the extra ~300px will fit underneath it.
Logged

Using Griffith v0.13 r1621 on Linux Ubuntu
Griffith SQL for Dummies
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!