From 43c89bdb408b78d0ff85277d77c80ed3d90eef6f Mon Sep 17 00:00:00 2001 From: arkan duthrey Date: Fri, 31 Aug 2012 16:21:47 -0500 Subject: [PATCH 1/5] - Added new theme: Ambiance-Blue, it's not a big deal but I like it. - Now the buttons are hidden on overview mode. --- window_buttons@biox.github.com/extension.js | 12 +++++ .../Ambiance-Blue/close_focused_normal.png | Bin 0 -> 1050 bytes .../Ambiance-Blue/close_focused_prelight.png | Bin 0 -> 1031 bytes .../Ambiance-Blue/close_focused_pressed.png | Bin 0 -> 836 bytes .../Ambiance-Blue/maximize_focused_normal.png | Bin 0 -> 904 bytes .../maximize_focused_prelight.png | Bin 0 -> 884 bytes .../maximize_focused_pressed.png | Bin 0 -> 567 bytes .../Ambiance-Blue/minimize_focused_normal.png | Bin 0 -> 838 bytes .../minimize_focused_prelight.png | Bin 0 -> 797 bytes .../minimize_focused_pressed.png | Bin 0 -> 511 bytes .../themes/Ambiance-Blue/screenshot.png | Bin 0 -> 2276 bytes .../themes/Ambiance-Blue/style.css | 46 ++++++++++++++++++ 12 files changed, 58 insertions(+) create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_normal.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_prelight.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_pressed.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/maximize_focused_normal.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/maximize_focused_prelight.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/maximize_focused_pressed.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/minimize_focused_normal.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/minimize_focused_prelight.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/minimize_focused_pressed.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/screenshot.png create mode 100644 window_buttons@biox.github.com/themes/Ambiance-Blue/style.css diff --git a/window_buttons@biox.github.com/extension.js b/window_buttons@biox.github.com/extension.js index 511f1e9..51dc89c 100644 --- a/window_buttons@biox.github.com/extension.js +++ b/window_buttons@biox.github.com/extension.js @@ -530,6 +530,15 @@ WindowButtons.prototype = { _connectSignals: function () { let showbuttons = this._settings.get_enum(WA_SHOWBUTTONS); + this._ID_overviewShowing = Main.overview.connect('shown', Lang.bind(this, Lang.bind(this, function() { + this.leftActor.hide(); + this.rightActor.hide(); + }))); + this._ID_overviewHiding = Main.overview.connect('hidden', Lang.bind(this, Lang.bind(this, function() { + this.leftActor.show(); + this.rightActor.show(); + }))); + // if we are always showing the buttons then we don't have to listen // to window events if (showbuttons === ShowButtonsWhen.ALWAYS) { @@ -582,6 +591,9 @@ WindowButtons.prototype = { }, _disconnectSignals: function () { + Main.overview.disconnect(this._ID_overviewShowing); + Main.overview.disconnect(this._ID_overviewHiding); + if (this._windowTrackerSignal) { Shell.WindowTracker.get_default().disconnect(this._windowTrackerSignal); } diff --git a/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_normal.png b/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..8406ccc433397b8801eb322e5975ea1d2ee0f80a GIT binary patch literal 1050 zcmV+#1m*jQP)1BJ)xa0Z~41 z0C;n7pg;UqvH5NeV@RMKlZEV87HbJFyiK){+bNTxtC{ZBlIIwG> zOZi7fKVZ$>$$SgzUfNGOzmhlt9dWzN3$D$!&KL>(C%=-&n40Jv`J zTUhgWs(CdXdp{toS&BES@nb_ZGK8_E8X5f9FcTW2b_q>)-N)3anm8ZExTnWa{E>$Z$t!< zp;Df}D_p|XG!jIHATpFkhwuX*?bK4KYErozw&D>NhcbvvDxlX|OJ>7X$`wth4WTyZ z@&uO;y@NM$hEN-B6owf8Y(M7Ol|@atqRDK$hxx7Fp8(n|7Q1{Ev!OxHT>}kky6Am& z4?lhME=zhIp>pCYdY*ofa`Sqw&diNLM~1rP?)>S{u7JF?LYS<tUR~jqGz~Rvxd0A zCDaBdEvS)GB!BCJxjXyRDHRLXUAJ|)SktWvzvJK5O)MEa-{4g(+On8l)lvy8Nk@^2 zJeD1O8z-uQ$a8}O{rwAe>O*8lqB`A@J=aIvxRM~(OdJYELmY!OV2zMW3iabB$sgTE z()Sj;xp&c?AOHXW07*qoM6N<$f{jPmxc~qF literal 0 HcmV?d00001 diff --git a/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_prelight.png b/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_prelight.png new file mode 100644 index 0000000000000000000000000000000000000000..ff9a96646f92d56df0e2a6988adc9ea14ebddd7f GIT binary patch literal 1031 zcmV+i1o-=jP)1C&Wb zK~y-)eUxozTV)i-f6u*X(j-kyn|8Y9c3Fp5wmKPG$vWAa#bG}=?ED}@ndk={3>2B@ z{4h}`8wv^vf`TvyqGQY{2t#Bz$p)=kvA)o~xTQ5sQfph6q&K-Y_ukyc5AE%?u6p3W z^YEPW=YP(5&R?*EZS2|73Ooz!5JGeS9l)rR@*40xaCC4WHMKZTECTTZ2Z5J_5J4dX zLI@NAt^_Hi=LYZ|@aEt^%DMw=p3Mnh8$ib+yJ%aNB)VcH!NwRyX@){(jQsFVjDC00 zOFIYjdo0B*jLra?!)@(!zkGynY&kwfp}`Mz2y7&}1&-@do|)j{yRTBtj{}?<97y#8 zr~sOlI0Wo&XkSJ0;78OoL~&4%fP=)ep^C(+fh`5T`Y_8k_c8VJdF zNo*Hxx*)n$Tj-79Kx11M$(>Jd z?(M4YmB`bPmq0QB)|RI3u*aM2By>GWkrj~-_0GcOX^wu^_JKfu^$N0_?$+d@pW zD$%oP5A2GnX^B?g;hO5l>DVwoO-aD2uy(_GW?I*hnXO@mTj;ufH5Cz}5@^JBB?{o2 zJr0wj03WNGmdF8nvA!9IFPFglZKW1!@w6A_!-OX!`nXlybq_%>xU&nagGz zO-pC B+EoAm literal 0 HcmV?d00001 diff --git a/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_pressed.png b/window_buttons@biox.github.com/themes/Ambiance-Blue/close_focused_pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..b57d5acce33e36f58be3082ecc25414555aa9d13 GIT binary patch literal 836 zcmV-K1H1f*P)~Yl^8;G z9~6b95)~16S7Nma*Hsotn)zott4z&*IdyJ3UFcEgEP`J6;N|0e9-i;vdtQlks-Upg z0aOE}K*rJ;0Q!KZz#VU=XJjo-T0>$6E&%5M3xBRz;5u;0+vy3#ku9lt0PF`4IeU)Q5T_b%gv|fS9QGmzZ zPEQ$t44|s6df*saQZQFv1A96||MJMBWR#o|BA;Hv+{|uObqxhH-#e+Gu-FOoOOj+( zPF)2x3&Q+ceeWZDvld;~CxILRoCeGyw+K>Kh!&=Y32NOj*r30c`SHNYMQRozw+J8! zs1ktv)-3=BfUs?fv&6PN7kf!L!)>=oE;t9=8GG?0&cnr_DWm%-fNp@O)*nZtwKR}kQG>m>oNXu0$9QN|^y{F} z_QS)jcl=@ST`@;nRUX?TZs-20o)M4eIOKh z*MU4TfLIDxLh?3jJMv;wSk-J2wz?LLmmu2xmT=cgfJxx49MF6ds_L=>g^|JcBjE)$)eFtS; zjew-NnX#pX2@qLXngWrf1&D+rG%j467>0$pv4uIvWQZX)))uxl7IwBkWNB|_?O<>1 z=m11Ejt;iYPIeydPM#jlKHhGAz8--AKEXkL!NI;EA$}nt{-GfOVW9z0k)cshAu-Wm zak1fXu@Uick@4|S3Gva12~mj&Kr$vVF**r^Vv~|$l9OUml4Dbn<5E)M(o*9y(i5{X zld`i?aoS&tEx(>tBPx?%WG>&>uSsD>&olvDjMo58|teX8>*TbtDBo@TAFLy zTI<`}8rs_$+uIx3+nYMt8#~&YIy)LWJAhg$`@ySjTPOxwI=-@!vij-NX7;MvQM z-+%tGF7EUMYSHp^aSV}=6g_C`ci2II?LvOpb+wI#olQ*(92PBVmR7jfXkqLj(=bUW z@ZeTlek9 z%U#=7Jn4RX_uTCov;z7Y41od8;OXk;vd$@?2>|hXU>X1b literal 0 HcmV?d00001 diff --git a/window_buttons@biox.github.com/themes/Ambiance-Blue/maximize_focused_prelight.png b/window_buttons@biox.github.com/themes/Ambiance-Blue/maximize_focused_prelight.png new file mode 100644 index 0000000000000000000000000000000000000000..fc97526f754aca05e872e65cb8a0f146930d4cbd GIT binary patch literal 884 zcmeAS@N?(olHy`uVBq!ia0vp^!XV7S3?yCqj{O5tk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+7*_@Ogt)3GE8e|(7f7NZ1AQGmT`fZcT{BZdQxhOE05Z%> zjew-NnX#pX2@qLXngWrf1&D+rG%j467>0$pv4uIvWQZZwR%SNV<}NOdZmy2*ZcZNV zu3nz*-d^s$KAyflUh#3!@$oSUAQYRFl#rYhpA00E6H<~BQ&JMsQj^lsk~7j%Gc$lF zEi*GMD>E%SDRXyK7HD(nKNe1oH=XOtl6_? z&zUoO?%X-^=FMBMV8NnAK(uJ_;>AmrELpmA>9S=&v~1(&9$x(ypPY}~kU)22jjTcI?>kjxKV~B*L=)tpoOokGy7v681Yt-<=SSoN)r}X1Xz4{3?CE~~C z`X@Zf7kI4D$5V2vF5HG);J}ZAC-|o?jAUQRW!AOolL})=>D-V+pZ68&;g3(=dz5Tu zdbT>?#-ozc@o@nh2Om2}`%f-y4}G8J^mPB-$?5mqtgQ}R6`bnDb+kY3m$tbE-?>e9 z*0u=5oPP3UWr=fGWM}rx9sUpQT|QAMr!LsLY2lK-tJd!GS*FyVSt9;=)9;&RZCn8} zLKmlq|6Q}C?Pk!Fz^}4%qj~lp4|=gyFtDXZRO)rHZML63~L5YS3j3^P6?=I`D)A?NbU3{WBhsL4BR$^ba zp6}2&HsQLAzu;vKlWtnRvRwc@O{7i(fgdqGOdkYbY8Jv XU1+6Z^_|TO=vxL)S3j3^P6N!sfnSPsSyyF zn;BbLm{?hwQjRRljV;VgfTmemfK0QtGPkidx3w|1v$b+^vU7H_cX4)bb#d_WboKFe z3k>uQ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Z^Q0MHWCy+Z`sW((6a zi3k|Pj?EaGn7Fuc*!cJpL_|ckW5iS^&KQe5B38a_ly*gH9oKF9Hrz5TjU=pOuqNV` z8y<@M-m#Nk{nuN+9{bWamIfYP^lt7r&Oo>h5!>7rVHhfq7)V5FjA~2>cKL+7Thf!!Tlu02t?Nokz5XArb(^&(OxT){L`g zt%+c_uVK~6tHB?C|Hv1<_R*i-PP!xJ@V@rp9r`WCX!Cd>rJR_UxSRFAc=4hTVq<#{ zgp9FTt*$l3F~ax#AP9mW2*WV0`2L#KN-L!`*6UuZd?)UCjTl!-1GGc$%`gl=N@=B( z*64W+fDSwi7_eyODk4UjB28g+(tqb?pZ(@{*<)Wk^z9ed-u*=|b1CjZ#Hf6Y0Wa?a=G=6&C9 z9|W8+sno}pE+c+|+qQe)z-N$i@9VF&@|n=~@zzvte0 z84-1OOny)b%N?_3gMatwbi3;^lt_4<1y^@dETh(gbnw zLTW{189X7qu6KW8$Z&e*`n}jfYklFug;S?az468ycX(fJG+OztZ2Zz;+X>UO+E&mS zV{omtRxX#d*7dqKQ?7K*b`$5kR*P}7!;Bh{06-9_~>vBk6ov`b(+_BM3Be!jA=9WL~`{2!!QbiecJhp_ERSk zi9&yGHk)x>$FeLTWEh5?*H~D*tGw2xc-?C(F5XpME0IX_^%ruPypwb-%a$SvgP`u! y*5$SC%YE6@0f%<(`Tx@@$^EUmu3WEd)%9Njlx!JuV>t2v0000 Date: Fri, 31 Aug 2012 16:53:53 -0500 Subject: [PATCH 2/5] small info update. --- README.md | 7 ++++--- screenshot.png | Bin 5768 -> 10194 bytes 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0af6990..2e015fa 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,17 @@ Supports custom button layouts and css theming! Screenshot - Current (14/Aug/2012) themes, top-to-bottom: default, Ambiance, Radiance, Zukwito, Zukwito-Dark + Current (31/Aug/2012) themes, top-to-bottom: default, Ambiance, Ambiance-Blue, Radiance, Zukwito, Zukwito-Dark Configure with `gnome-shell-extension-prefs` (GNOME 3.4) or by editing `extension.js` (GNOME 3.2). Author: biox (Josiah Messiah) -Maintainer: mathematical.coffee +Maintainers: mathematical.coffee + arkan duthrey -Note - the [mathematicalcoffee fork](https://github.com/mathematicalcoffee/Gnome-Shell-Window-Buttons-Extension) of this extension is where development happens, and it all then gets pushed to the original [biox repository](https://github.com/biox/Gnome-Shell-Window-Buttons-Extension). +Note - This is a fork of the original repository, hopefully later on I'll push my changes to [biox repository](https://github.com/biox/Gnome-Shell-Window-Buttons-Extension) Installation ------------ diff --git a/screenshot.png b/screenshot.png index c578c03fe2a659dff482a1e4bbcbc3d99838477e..0c01ebaf2cf6efd79a6e56e0fa1503923f157abf 100644 GIT binary patch literal 10194 zcmcJVbx<2o`|l}*B8B2oio3gOaf(}tyOkCw?rudBTmuw`K%qdPI7L&uKp{|^0Kuif z^``GT_c!&^5fztxZ})6iy9Fl^reK9oGey4o2aWLZzK*kXkwJ1yr6iQgK{)-l~aS?>>CdrFr> z6r>|_PP*%zr%D?T?Nk)vJLY6$8NhP662u1p07yi$(uP{C`Qs)L`4`#9>tKwiUX2ah z!VzaQuD7*00zvI{B#DFmYY|w+J)t3|k49D@A_OvLgs4Y%+8;)stzzhZ78e8dsw;=? z58C(Z?AH5YgdF#$ROz$9y{@zk-{q z+#WGe;Ii2A<)8q^{jeGKcULE@UEHD_HME5mSF@>rqPtBtHXqAjk`w)ZqwzqFi`kjX zX5aaq#DMDKW|i1>Lq5@tL=#jEs!DZ2E2oebKkh-{RVYGR%g#+x^YC z^vRE>sF5@-a3A|ar5xqN7rH~FklW*2&e~_DN)8SzA7FJ|>@A#}oImXarSDGq?O4|) zWpB9`TU_BQLB}k_@tP}5Vig132_d;Oot2_qoLn+OXU|aWXke0oxfqT z#EHtMxA#}~vbdNe{rqa>f@cJH)+VC*BSy(2OUhF>H>Mk>luvq!UjG2ukn-b2*$XOL zJTQ|Uuq769$DtS*`T?{+v00SxKGo~_NU zre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+aPK{XD)@n`u{Bz%>K%en#$QcJbq%QFOBUD#{uMTwn!+NUR)9HSHUkmrkqtlEmPm><->L}t!xRDvR57!#Ow*vnKiTqf ztnEJ{0*utl^5*<2LU?9)Prgp`y-7jWPKtSW;Fm%c`0j2oFOX|-7%sp_!O zp`P|oe}4dZ6a5!yE`TS0aZ{Xis`m7*&vK1F%u_nZ=9b+3!2O(|x|7qt zn6Oh%MRgaBVX(~-qU}#81CN;JrjM~)gQzKfs81v=lfjK%77}+DN$Hs9_^}`sNAAWD zujI=c-IF~$n8843S}&{T7Qfu8VJZe~xP)hKA2yE-1b2~UqJ(!!&=Ez@vAYMm?WW=v z;*r$QCKI3p`^z~1W6%?v7p1CD!!d(;yNib3NjZ1yy1Me~>+kmU<+0l9(7p`De=W@% z-m`>&B+ykz#;@Rc&dUzi2y~8atcueRDK}5db?Y z8#^;A4>KF5Ix8<97dsyZJ0lw_A1mvU_LtrNC149OwKDhkKLVT_d|Yh*3D{5Sw!s8Q v{_da#GIw?}b~FQ6*nw=#n4Msonb|p6f}GD0x?nY906^x8qC}OLQNaHI&|U)` From 38bde6cb9f53de1baa96fa79df6cf79d9a5824d7 Mon Sep 17 00:00:00 2001 From: carlos ferney clavijo Date: Sat, 1 Sep 2012 14:37:26 -0500 Subject: [PATCH 3/5] - Refactor the way it determines when to hide on overview, fix a bug when switch to a void workspace showing the buttons. --- window_buttons@biox.github.com/extension.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/window_buttons@biox.github.com/extension.js b/window_buttons@biox.github.com/extension.js index 51dc89c..96c9b34 100644 --- a/window_buttons@biox.github.com/extension.js +++ b/window_buttons@biox.github.com/extension.js @@ -362,6 +362,11 @@ WindowButtons.prototype = { break; } + // if overview is active won't show the buttons + if(Main.overview.visible){ + show = false; + } + // if the actors already match `show` don't do anything. if (show === this.leftActor.visible && show === this.rightActor.visible) { @@ -530,14 +535,8 @@ WindowButtons.prototype = { _connectSignals: function () { let showbuttons = this._settings.get_enum(WA_SHOWBUTTONS); - this._ID_overviewShowing = Main.overview.connect('shown', Lang.bind(this, Lang.bind(this, function() { - this.leftActor.hide(); - this.rightActor.hide(); - }))); - this._ID_overviewHiding = Main.overview.connect('hidden', Lang.bind(this, Lang.bind(this, function() { - this.leftActor.show(); - this.rightActor.show(); - }))); + this.overviewShowing = Main.overview.connect('shown', Lang.bind(this, this._windowChanged)); + this.overviewHiding = Main.overview.connect('hidden', Lang.bind(this, this._windowChanged)); // if we are always showing the buttons then we don't have to listen // to window events @@ -591,8 +590,8 @@ WindowButtons.prototype = { }, _disconnectSignals: function () { - Main.overview.disconnect(this._ID_overviewShowing); - Main.overview.disconnect(this._ID_overviewHiding); + Main.overview.disconnect(this.overviewShowing); + Main.overview.disconnect(this.overviewHiding); if (this._windowTrackerSignal) { Shell.WindowTracker.get_default().disconnect(this._windowTrackerSignal); From 1992b34386c7f9a29e5217eeec0f6b15a1b1b209 Mon Sep 17 00:00:00 2001 From: cfclavijo Date: Sat, 1 Sep 2012 14:43:22 -0500 Subject: [PATCH 4/5] Update README.md Changed the screenshot image, showing the extra theme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e015fa..d9e79b3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Supports custom button layouts and css theming! - + From bc9fe72a9abdfe119172db659f03ece53c75d785 Mon Sep 17 00:00:00 2001 From: cfclavijo Date: Sat, 1 Sep 2012 14:45:07 -0500 Subject: [PATCH 5/5] Update README.md what a mistake haha --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9e79b3..715aad0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Supports custom button layouts and css theming!
ScreenshotScreenshot
Current (31/Aug/2012) themes, top-to-bottom: default, Ambiance, Ambiance-Blue, Radiance, Zukwito, Zukwito-Dark
- +
ScreenshotScreenshot
Current (31/Aug/2012) themes, top-to-bottom: default, Ambiance, Ambiance-Blue, Radiance, Zukwito, Zukwito-Dark