Update of /cvsroot/gtkpod/gtkpod
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21227
Modified Files:
Tag: coverart_display_development_branch
gtkpod.glade
Log Message:
gtkpod.glade
- added button_release_event signal handler to paned0
- added buttons to vbox2 which controls the visibility of the coverart display
- cover_display_canvasbox does not expand or fill.
- left hand child of paned0 denied shrink and resize. Stops the resizing of the
paned0 position bar when the app is resized.
display_tracks.c
- fixed error in call to coverart_select_cover which now uses a track reference
rather than just an album string
display_coverart.h
- added canvasbox, controlbox and bground to the cdwidget structure. Saves
calling the xml everytime one of these is required.
- addition of cover_up_button_clicked, cover_down_button_clicked and
gtkpod_window_callback
display_coverart.c
- add_highlight renamed set_highlight
- draw_background removed and commands relocated to prepare_canvas
- cover dimensions commands broken out into their own function
- display dimensions for cdwidget broken out into their own function
- set_highlight only applies the highlight pixbuf while prepare_canvas actually
declares it.
- DEFAULT_WIDTH and DEFAULT_HEIGHT added as global vars. They record the values
of the canvasbox when the app is opened. Ensures that the coverart_display can
be returned to its default size and being expanded using the paned0 bar.
Index: gtkpod.glade
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/gtkpod.glade,v
retrieving revision 1.217.2.2
retrieving revision 1.217.2.3
diff -u -d -r1.217.2.2 -r1.217.2.3
--- gtkpod.glade 22 Jan 2007 00:05:09 -0000 1.217.2.2
+++ gtkpod.glade 17 Feb 2007 23:31:15 -0000 1.217.2.3
@@ -1475,11 +1475,12 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="position">150</property>
+ <signal name="button_release_event"
handler="on_paned0_button_release_event" last_modification_time="Sat, 17 Feb
2007 20:51:03 GMT"/>
<child>
<widget class="GtkVBox" id="vbox2">
<property name="visible">True</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
@@ -1503,6 +1504,83 @@
</child>
<child>
+ <widget class="GtkHBox" id="cover_visible_control_box">
+ <property name="height_request">23</property>
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkButton" id="cover_down_button">
+ <property name="width_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NONE</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked"
handler="on_cover_down_button_clicked" last_modification_time="Sat, 17 Feb 2007
19:15:25 GMT"/>
+
+ <child>
+ <widget class="GtkArrow" id="arrow1">
+ <property name="width_request">22</property>
+ <property name="visible">True</property>
+ <property name="arrow_type">GTK_ARROW_DOWN</property>
+ <property
name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkButton" id="cover_up_button">
+ <property name="width_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="relief">GTK_RELIEF_NONE</property>
+ <property name="focus_on_click">True</property>
+ <signal name="clicked"
handler="on_cover_up_button_clicked" last_modification_time="Sat, 17 Feb 2007
19:37:56 GMT"/>
+
+ <child>
+ <widget class="GtkArrow" id="arrow2">
+ <property name="visible">True</property>
+ <property name="arrow_type">GTK_ARROW_UP</property>
+ <property
name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
<widget class="GtkVBox" id="cover_display_window">
<property name="visible">True</property>
<property name="homogeneous">False</property>
@@ -1520,8 +1598,8 @@
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
@@ -1583,21 +1661,21 @@
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
- <property name="shrink">True</property>
- <property name="resize">True</property>
+ <property name="shrink">False</property>
+ <property name="resize">False</property>
</packing>
</child>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2