Mercurial > audlegacy
changeset 1135:6dd4db5212ae trunk
[svn] - prefswin enhancements
author | nenolod |
---|---|
date | Sun, 04 Jun 2006 01:57:12 -0700 |
parents | d43080f00587 |
children | df85127306db |
files | audacious/glade/prefswin.glade audacious/prefswin.c |
diffstat | 2 files changed, 73 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/audacious/glade/prefswin.glade Sun Jun 04 01:33:41 2006 -0700 +++ b/audacious/glade/prefswin.glade Sun Jun 04 01:57:12 2006 -0700 @@ -3719,6 +3719,75 @@ <property name="fill">False</property> </packing> </child> + + <child> + <widget class="GtkAlignment" id="alignment72"> + <property name="visible">True</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xscale">1</property> + <property name="yscale">1</property> + <property name="top_padding">6</property> + <property name="bottom_padding">0</property> + <property name="left_padding">0</property> + <property name="right_padding">0</property> + + <child> + <widget class="GtkHBox" id="hbox6"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child> + <widget class="GtkImage" id="image4"> + <property name="visible">True</property> + <property name="stock">gtk-dialog-warning</property> + <property name="icon_size">4</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">3</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label75"> + <property name="visible">True</property> + <property name="label" translatable="yes"><span size="small">Changing these settings will require a restart of Audacious.</span></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> </widget> </child> </widget> @@ -3809,7 +3878,7 @@ <property name="visible">True</property> <property name="label" translatable="yes"></property> <property name="use_underline">False</property> - <property name="use_markup">False</property> + <property name="use_markup">True</property> <property name="justify">GTK_JUSTIFY_LEFT</property> <property name="wrap">False</property> <property name="selectable">False</property>
--- a/audacious/prefswin.c Sun Jun 04 01:33:41 2006 -0700 +++ b/audacious/prefswin.c Sun Jun 04 01:57:12 2006 -0700 @@ -2219,16 +2219,16 @@ if (strcasecmp(svn_stamp, "exported")) { - g_string_printf( aud_version_string , "%s (r%s) (%s@%s)" , "Audacious " PACKAGE_VERSION , + g_string_printf( aud_version_string , "<span size='small'>%s (r%s) (%s@%s)</span>" , "Audacious " PACKAGE_VERSION , svn_stamp , g_get_user_name() , g_get_host_name() ); } else { - g_string_printf( aud_version_string , "%s (%s@%s)" , "Audacious " PACKAGE_VERSION , + g_string_printf( aud_version_string , "<span size='small'>%s (%s@%s)</span>" , "Audacious " PACKAGE_VERSION , g_get_user_name() , g_get_host_name() ); } - gtk_label_set_text( GTK_LABEL(widget) , aud_version_string->str ); + gtk_label_set_markup( GTK_LABEL(widget) , aud_version_string->str ); g_string_free( aud_version_string , TRUE ); }