* Added three more sizes (smaller ones still need some manual fine-tuning to
look great, as they were just rendered out of the SVG)
* Changed gtk_window_set_default_icon_from() file to a list of icons passed
to gtk_window_set_default_icon_list()
---
data/icons/hicolor/16x16/apps/frogr.png | Bin 0 -> 887 bytes
data/icons/hicolor/32x32/apps/frogr.png | Bin 0 -> 2346 bytes
data/icons/hicolor/64x64/apps/frogr.png | Bin 0 -> 6059 bytes
src/frogr-main-window.c | 22 ++++++++++++++++++++--
4 files changed, 20 insertions(+), 2 deletions(-)
create mode 100644 data/icons/hicolor/16x16/apps/frogr.png
create mode 100644 data/icons/hicolor/32x32/apps/frogr.png
create mode 100644 data/icons/hicolor/64x64/apps/frogr.png
diff --git a/data/icons/hicolor/16x16/apps/frogr.png b/data/icons/hicolor/16x16/apps/frogr.png
new file mode 100644
index 0000000000000000000000000000000000000000..551f97df3ee335bdff1adf0a9d76a9fe518ddd33
GIT binary patch
literal 887
zcmV--1Bm>IP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004b3#c}2nYxW
zd<bNS00009a7bBm000D?000D?0em!Tp#T5?8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ@H10`y5lK~y-6rBg|06JZ#A^JgZLWRhv7Vq+3pYc*|Y?cxeW+|z@h
zw73-X;zg~3coU%@h)^hqHxa=Kf*#yZRM3kS6)6$gRIO4C-AuJ6ZPLw|Oft#L{9de}
zf*$%#-{F1l@D_$rip79kIL<uZe6`Tw+wgMWQN!l9ou{mlxpA!O_9z8K+2Db)+$`zs
zsc*lqt+qKlqkik_*wJ$Y0N9o;-csUUajvdpTPVw>yxw<Bd&+B9pLN*m77uYCr{y5}
z%HXPYghqRsMyy-(x>BL4=;V{~j`4}uS;ASZ>l!LU?TYQQmoO|cQY=m_Itn~4<arr+
z`y2|Ex?nImGEyuK0E+Fix1loB&RMPNEP)Uv<y?|25$Xekqb@^CFZEW5<w-;t|9TP5
zQeZqAL4NsHCM|s_DlC)&c5PX_Z{*p<*}0jU%z}xR-W+;oh{;+HUk;A&;E4c_BY><S
zV^SSLj;hej9Hz7p*p%Xd6Kk*6{bpixqW_pUFSezO_s)$KJ6Z?7^ulH5K&gS@>_=4i
zHXt(e;;u<@ik$Ahg0+975Q`7>12_+0WzDKht%L*Q{1gBNEXN{mXc!oMeGR}EfYHBV
z+*;H0n0K2&D{(+Y5<1Z^LuNogK&cLm%%OSv!6zAG9@-pv2A~lD$btZG<9&o>kX6hm
zH5n>rQc&_K$oe$o>@<kU(u{0G3Cn=D@xFyW($d9Co#EYKQE>ZBouWH(f1fh1j@TrM
zyqbcpPQxJ)$Z~r8Y2?m+Q>PFGx4$#IJKWO6ON8Tz*X>+VtuTp#pQ6Ta;_YS041Bj2
zm%+BY6mD~6CYJnk2Y?O$3X>>sJC{^*Jn=G=QnYmOp2qe2yEy?BdO`~Bt2mSG9=p0}
zSm_A@jKycIi3CfI_l6U<c)9Sy?YzoFpZ49|`S7SV`Kt$qA9!0=xYz7ztGsbdQIuju
zQT*w2x=7b`2g|amAP7@Vr*q<7{PbQ~OTOp`zPbVc%wpF_{!jTgegGUyM5WzMMd1Jd
N002ovPDHLkV1hWlo=X4#
literal 0
HcmV?d00001
diff --git a/data/icons/hicolor/32x32/apps/frogr.png b/data/icons/hicolor/32x32/apps/frogr.png
new file mode 100644
index 0000000000000000000000000000000000000000..074f92320b0ef364874bd628f7fb4d81e86329cd
GIT binary patch
literal 2346
zcmV+_3Dx$AP)<h;3K|Lk000e1NJLTq001BW001Be1^@s6b9#F800004b3#c}2nYxW
zd<bNS00009a7bBm000R(000R(0q|s!N&o-=8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ@H12&YLzK~z|U?N@1VmDL%3&iR(R-<x}r+?$x4Bt#)W2^9$-1=&U`
zTT#J<ilCs=j#G+LGgi$6M+Q2>bkoiN7HzQ#K?W$IWk4ZiD@zc<P8JL%BsU33?#*4k
z`)zN3L^3f5<yZaF_t!V)eCK(d^S;k}&KyQW_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;n*2@xgZ6{Z4T}JVNZFnZM3umwk0+TSs_o|&s
z(m3E-0SSYu4qVu|d~E(psho2z+XU=sU-KOS+n-a9KE2WRVlZ^|cMp{;O;d#sy0sPn
z1h<$DH%~+Dl|$WMG_KqD*1{8O2XA1ie>v2+0n;?i0~dC7Bn+zR_rR{j@upcDSYd5b
z^>jgGE0;XHqTe`qz7Z+GV6Yf~W95Xe+Q06q{naN&-&jaYFHCV|dKlxl9z79NRi(8o
z@Utx|%HF;xGzsH_)?jp~?}4m=B0kt(S!d|<8gX^^uEo^bF8}~`ETUcjpFF<N{-i+G
z!XzmJN<vYy+{HpH7R!sr;~q`Zl5ASQGcWMYDOFV)HBEDvrYUhN*Cdw|mARbS+1Y8a
zSS%q)l6tZ{C9;xG)FdfG7RU-&vRwFhVd#^AqHbzKEoQuN`0VFpcc;&A9<2XI)3STF
z9VH^SEXxXj7!e7kX)?~aE{b9lfB?V{MKQrSkIS+gkt8W5%d+xF?y?i_o}1S&reJ2)
zk#oDFZZWrVFyHsyhLx3!*QVP8TbD#T064q4x}2gY+7v~x6OmO_RSOYGj4{D53?>Ky
z5s|?d(_~prFvb+C)f&@vJ?``QB8xT^xN<Hvv{Y1(c}D{Nm+^zY4gW9TKg!hB+jK|5
Qp8x;=07*qoM6N<$f(lqvLjV8(
literal 0
HcmV?d00001
diff --git a/data/icons/hicolor/64x64/apps/frogr.png b/data/icons/hicolor/64x64/apps/frogr.png
new file mode 100644
index 0000000000000000000000000000000000000000..e5720e51b8ee09c654402ef006cd1a3b37f07aa1
GIT binary patch
literal 6059
zcmV;c7gXqpP)<h;3K|Lk000e1NJLTq002M$002M;1^@s6s%dfF00004b3#c}2nYxW
zd<bNS00009a7bBm000tn000tn0p4aGcmMzZ8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ@H17br<YK~#90?OS=6RmGM6Rn@)sy?#qC(EG~PV6(N|U=RfXg(zYG
zS1=|fOq7YEA!a7Yd=q07znGaMCNU<HFCr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DF-~s7_%8;wx(&8b8j-nEM3=4&bi4LGdbtc-|qa{g-1{B
z{EjZ%Q?vc!Swr`MsFLy(()gN<t3pkm2>@|gx{i6kT=R6s4?cTKs11Mtzz7C|hH09H
z5JG2+#noJsQtF&@A*Ix$l)|~^0JyVk5^GclK@?*~2_ckHN(v#Q5W;ruEltyGP18&w
zvZa)kVHl>*=Q9DAtNuJT^Q6^U0*byf(tiX#F#u;lnp1QDB3?qFkYJ37Xf!GSFw-=-
zD`vn48YzlKqc99Z0U(#lC5cFSJRS*PV6gz$PWjaISp)F@j{f2QHTDGn=bC|YO<w?T
lt{FJj^aTLtnt^jo{|7UEz~m#UeU<<K002ovPDHLkV1hk1CjS5c
literal 0
HcmV?d00001
diff --git a/src/frogr-main-window.c b/src/frogr-main-window.c
index b9ab137..ccfd5a1 100644
--- a/src/frogr-main-window.c
+++ b/src/frogr-main-window.c
@@ -38,7 +38,8 @@
#define GTKBUILDER_FILE \
APP_DATA_DIR "/gtkbuilder/frogr-main-window.xml"
-#define MAIN_WINDOW_ICON PIXMAP_DIR "/frogr.xpm"
+#define MAIN_WINDOW_ICON(_s) PIXMAP_DIR "/hicolor/" _s "/apps/frogr.png"
+
enum {
FILEPATH_COL,
@@ -328,6 +329,7 @@ frogr_main_window_init (FrogrMainWindow *fmainwin)
GtkWidget *icon_view;
GtkWidget *progress_bar;
gboolean authorized;
+ GList *icons;
/* Save a reference to the controller */
priv -> controller = frogr_controller_get_instance ();
@@ -359,7 +361,23 @@ frogr_main_window_init (FrogrMainWindow *fmainwin)
gtk_icon_view_set_columns (GTK_ICON_VIEW (icon_view), -1);
gtk_icon_view_set_item_width (GTK_ICON_VIEW (icon_view), ITEM_WIDTH);
- gtk_window_set_icon_from_file(GTK_WINDOW (fmainwin), MAIN_WINDOW_ICON, NULL);
+ /* Provide a default icon list in several sizes */
+ icons = g_list_prepend (NULL,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("128x128"), NULL));
+ icons = g_list_prepend (icons,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("64x64"), NULL));
+ icons = g_list_prepend (icons,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("48x48"), NULL));
+ icons = g_list_prepend (icons,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("32x32"), NULL));
+ icons = g_list_prepend (icons,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("24x24"), NULL));
+ icons = g_list_prepend (icons,
+ gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("16x16"), NULL));
+ gtk_window_set_default_icon_list (icons);
+ g_list_foreach (icons, (GFunc) g_object_unref, NULL);
+ g_list_free (icons);
+
gtk_window_set_default_size (GTK_WINDOW (fmainwin),
MINIMUM_WINDOW_WIDTH,
MINIMUM_WINDOW_HEIGHT);
--
1.6.3.1
Just see some nitpicking below... :-)
the.li...@gmail.com wrote:
> From: Adrian Perez <ape...@igalia.com>
First line of commit log should be a short, one-line descriptive
statement of what the patch does. Something like "Use a list of properly
sized icons instead of just the .xpm" would be ok.
Don't be worried because of the authorship: I'll always mention who is
the autor, either in the log message or as the "Author" of the commit
(if you send me a patch to be applied).
Btw, in your case which mail address you want me to put in the about
dialog -> artwork? Igalia or gmail?
> * Added three more sizes (smaller ones still need some manual fine-tuning to
> look great, as they were just rendered out of the SVG)
>
> * Changed gtk_window_set_default_icon_from() file to a list of icons passed
> to gtk_window_set_default_icon_list()
Great!
> [...]
> diff --git a/src/frogr-main-window.c b/src/frogr-main-window.c
> index b9ab137..ccfd5a1 100644
> --- a/src/frogr-main-window.c
> +++ b/src/frogr-main-window.c
> @@ -38,7 +38,8 @@
> #define GTKBUILDER_FILE \
> APP_DATA_DIR "/gtkbuilder/frogr-main-window.xml"
>
> -#define MAIN_WINDOW_ICON PIXMAP_DIR "/frogr.xpm"
> +#define MAIN_WINDOW_ICON(_s) PIXMAP_DIR "/hicolor/" _s "/apps/frogr.png"
> +
>
> enum {
> FILEPATH_COL,
> @@ -328,6 +329,7 @@ frogr_main_window_init (FrogrMainWindow *fmainwin)
> GtkWidget *icon_view;
> GtkWidget *progress_bar;
> gboolean authorized;
> + GList *icons;
I do not see the point of storing the list of icons in the private
structure. Any particular reason?
Btw, you don't use any "priv -> icons = ..." statement later on, so I
guess it's safe to remove.
> /* Save a reference to the controller */
> priv -> controller = frogr_controller_get_instance ();
> @@ -359,7 +361,23 @@ frogr_main_window_init (FrogrMainWindow *fmainwin)
> gtk_icon_view_set_columns (GTK_ICON_VIEW (icon_view), -1);
> gtk_icon_view_set_item_width (GTK_ICON_VIEW (icon_view), ITEM_WIDTH);
>
> - gtk_window_set_icon_from_file(GTK_WINDOW (fmainwin), MAIN_WINDOW_ICON, NULL);
> + /* Provide a default icon list in several sizes */
> + icons = g_list_prepend (NULL,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("128x128"), NULL));
> + icons = g_list_prepend (icons,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("64x64"), NULL));
> + icons = g_list_prepend (icons,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("48x48"), NULL));
> + icons = g_list_prepend (icons,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("32x32"), NULL));
> + icons = g_list_prepend (icons,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("24x24"), NULL));
> + icons = g_list_prepend (icons,
> + gdk_pixbuf_new_from_file (MAIN_WINDOW_ICON("16x16"), NULL));
> + gtk_window_set_default_icon_list (icons);
Ok.
> + g_list_foreach (icons, (GFunc) g_object_unref, NULL);
> + g_list_free (icons);
Had some doubts at first with this but watching the code of
gtk_window_set_icon_list (): it copies the GList structure and adds
additional refs to every object in the list, so it's safe to free. :-)
At last, just a humble request: if possible I would rather you to send
patches as an attachment instead of inline. I guess just using the
--attach option together with git-format-patch should be enough.
Thanks!
Mario
>
> Thanks! Looks good.
>
> Just see some nitpicking below... :-)
Comments are welcome, of course!
> the.li...@gmail.com wrote:
> > From: Adrian Perez <ape...@igalia.com>
>
> First line of commit log should be a short, one-line descriptive
> statement of what the patch does. Something like "Use a list of properly
> sized icons instead of just the .xpm" would be ok.
>
> Don't be worried because of the authorship: I'll always mention who is
> the autor, either in the log message or as the "Author" of the commit
> (if you send me a patch to be applied).
Agree. I think this is because I tried to use ”git format-patch” and
“git send-email” without tweaking their options beforehand. I have just
found a web page which talks about them needing some tweaking for
real-world usage :)
I have just changed the Git config and will send it again. I have tried
myself applying patches with “git am” and the tool will happily extract
the one-line commit message from “Subject:” headers. I am resending the
patch in while :P
> Btw, in your case which mail address you want me to put in the about
> dialog -> artwork? Igalia or gmail?
I would prefer to use the Igalia address, “the.lightman” does not look
serious... and I understand that Frogr is something “serious” ;)
> > * Added three more sizes (smaller ones still need some manual fine-tuning to
> > look great, as they were just rendered out of the SVG)
> >
> > * Changed gtk_window_set_default_icon_from() file to a list of icons passed
> > to gtk_window_set_default_icon_list()
>
> Great!
> I do not see the point of storing the list of icons in the private
> structure. Any particular reason?
It is not being stored in the private structure: “icons” is a local
variable of frogr_main_window_init(), because there is no need to keep
the list after passing it to gtk_window_set_default_icon_list() -- or
maybe I am not understanding what you are trying to tell me here.
> > + g_list_foreach (icons, (GFunc) g_object_unref, NULL);
> > + g_list_free (icons);
>
> Had some doubts at first with this but watching the code of
> gtk_window_set_icon_list (): it copies the GList structure and adds
> additional refs to every object in the list, so it's safe to free. :-)
Haha, I did the same and skimmed through its code, because I am not very
used to manually do reference counting. It looks that they use the same
conventions as the Objective-C folks: if you create the object and you
do not need it anymore, you have to “unref” it; if you get an object
from elsewhere and you plan to use it, you have to “ref” it :-)
> At last, just a humble request: if possible I would rather you to send
> patches as an attachment instead of inline. I guess just using the
> --attach option together with git-format-patch should be enough.
Of course, I will be using attachments from now on.
Thanks for your comments!
--
Adrian Perez de Castro <ape...@igalia.com>
Igalia - Free Software Engineering
* Changed gtk_window_set_default_icon_from() file to a list of icons passed
to gtk_window_set_default_icon_list()
> I have just changed the Git config and will send it again. I have tried
> myself applying patches with “git am” and the tool will happily extract
> the one-line commit message from “Subject:” headers [...]
For the sake of completeness: you can just save the full e-mail and
pass it to “git am” (note: “am” stands for “apply mail”), so there is
no need to manually re-enter any data ;)
Just in case it could be helpful for you, I usually use the following
parameters for formatting and sending patches, depending on whether it's
a single patch or a set of patches:
- For a single patch (against master):
git format-patch -M -C --attach master
git send-email mypatch.patch
- For a set of patches (against master):
git format-patch -M -C --attach -n --cover-letter -o patches/ master
(and then properly fill the content of the cover letter)
git send-email --no-chain-reply patches/*patch
>> Btw, in your case which mail address you want me to put in the about
>> dialog -> artwork? Igalia or gmail?
>
> I would prefer to use the Igalia address, “the.lightman” does not look
> serious... and I understand that Frogr is something “serious” ;)
Ok
>>> * Added three more sizes (smaller ones still need some manual fine-tuning to
>>> look great, as they were just rendered out of the SVG)
>>>
>>> * Changed gtk_window_set_default_icon_from() file to a list of icons passed
>>> to gtk_window_set_default_icon_list()
>> Great!
>
>> I do not see the point of storing the list of icons in the private
>> structure. Any particular reason?
>
> It is not being stored in the private structure: “icons” is a local
> variable of frogr_main_window_init(), because there is no need to keep
> the list after passing it to gtk_window_set_default_icon_list() -- or
> maybe I am not understanding what you are trying to tell me here.
Forget it... too early in the morning to see the private structure where
it was just the local declararion inside the function X'D.
It's ok, of course.
>>> + g_list_foreach (icons, (GFunc) g_object_unref, NULL);
>>> + g_list_free (icons);
>> Had some doubts at first with this but watching the code of
>> gtk_window_set_icon_list (): it copies the GList structure and adds
>> additional refs to every object in the list, so it's safe to free. :-)
>
> Haha, I did the same and skimmed through its code, because I am not very
> used to manually do reference counting. It looks that they use the same
> conventions as the Objective-C folks: if you create the object and you
> do not need it anymore, you have to “unref” it; if you get an object
> from elsewhere and you plan to use it, you have to “ref” it :-)
Yep, that's the reason, although I still like to dive into the actual
code to make sure when I have some doubts, as it was the case. :-)
>> At last, just a humble request: if possible I would rather you to send
>> patches as an attachment instead of inline. I guess just using the
>> --attach option together with git-format-patch should be enough.
>
> Of course, I will be using attachments from now on.
It's kind of personal preference, nothing bad on it, but thanks for your
effort and disposition.
> Thanks for your comments!
Thank you for give something to coment on ;-)
Mario
Yep I knew, but thanks for pointing it out anyway
Mario