[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-player-dev
Subject: [Player-dev] CR/CN-Client: Fixed the problem with Main Window being
From: Daniel Yek <dyek () real ! com>
Date: 2008-09-26 20:03:56
Message-ID: 48DD402C.1040409 () real ! com
[Download RAW message or body]
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.
Modified by: dyek@real.com
Date: 9/26/2008
Project: RealPlayer for Netbook
Bug #: 8743
Synopsis: Fixed the problem with Main Window being too wide and not
resizable.
Overview:
Fixed the problem with Main Window being too wide and not resizable.
There were two problems.
(1)
With more columns in the Music Library, a horizontal scrollbar is
necessary now.
(2)
The GtkIconView (used in Videos and Photos libraries) are bad at
telling its minimum sizes.
GtkIconView simply responds with its current sizes during size_request.
Coupled this with a "nice parent", which simply gives whatever
GtkIconView child ask for, the user suffers a window that knows
only to grow, but not shrink.
"To save the user", the GtkIconView's width_request is set to the
width of a regular thumbnail in the player -- 220,
so that the "ignorant parent" knows that it can shrink to the minimum
width.
Dictated whatever width to GtkIconView, it is brilliant in adapting
itself to fit.
Files Modified:
player/netbook/chrome/netbook.glade
Image Size and Heap Use impact (Client -Only):
None.
Platforms and Profiles Affected:
Linux
Distribution Libraries Affected:
None.
Distribution library impact and planned action:
None.
Platforms and Profiles Build Verified:
Profile: helix_client_all_define
Platform: Fedora
Platforms and Profiles Functionality verified:
Profile: helix_client_all_define
Platform: Fedora
Branch: 310Atlas
Copyright assignment: I am a RealNetworks employee.
--
Daniel Yek.
["icon_view_no_resize[1].diff" (text/x-patch)]
Index: player/netbook/chrome/netbook.glade
===================================================================
RCS file: /cvsroot/player/netbook/chrome/netbook.glade,v
retrieving revision 1.2.2.20
diff -u -w -r1.2.2.20 netbook.glade
--- player/netbook/chrome/netbook.glade 24 Sep 2008 00:32:24 -0000 1.2.2.20
+++ player/netbook/chrome/netbook.glade 26 Sep 2008 19:33:49 -0000
@@ -949,7 +949,7 @@
<widget class="GtkScrolledWindow" id="hmw_my_lib_music_scrolled_window">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<child>
<widget class="GtkTreeView" id="hmw_my_lib_music_tree_view">
@@ -989,6 +989,7 @@
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
+ <property name="width_request">220</property>
<property name="pixbuf_column">1</property>
<property name="text_column">0</property>
<property name="tooltip_column">2</property>
@@ -1031,6 +1032,7 @@
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
+ <property name="width_request">220</property>
<property name="pixbuf_column">1</property>
<property name="text_column">0</property>
<property name="tooltip_column">2</property>
_______________________________________________
Player-dev mailing list
Player-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/player-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic