[prev in list] [next in list] [prev in thread] [next in thread]
List: enlightenment-devel
Subject: Re: [E-devel] patches...
From: Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date: 2001-09-25 16:33:30
[Download RAW message or body]
On Tue, 25 Sep 2001 16:14:11 +0200 Olivier Derpierre <budsan@free.fr> babbled
profusely:
> Hi,
>
> I just found a little bug in the e_scrollbar stuff: the scrollbar don't stop
> scrolling up when scrolling
> up using the arrow keys. Here is a little patch that fixes it (Let's hope I
> generated it correctly :-):
thanks! tho the directory for the menu thing isn't really the right way - as now
it changes e's whole current dir.. so if it wants to output to its own current
dir (ie where e was launched from) it can't - this should be done firther down
inthe exec handler... :) well imho its where it should go :)
> --- scrollbar.c Thu Sep 6 15:20:35 2001
> +++ scrollbar_no_page_up_bug.c Tue Sep 25 16:06:11 2001
> @@ -353,6 +353,7 @@
> {
> if (sb->val == val) return;
> if (val > sb->max - sb->range) val = sb->max - sb->range;
> + if (val < 0 ) val = 0;
> sb->val = val;
> e_scrollbar_recalc(sb);
> if (sb->bar) ebits_move(sb->bar, sb->bar_pos.x, sb->bar_pos.y);
>
> I also have a "patch" (one line is not much of a patch...) to start apps in a
> view's directory when starting
> an app from that view's menu:
>
> --- view.c Mon Sep 24 23:21:25 2001
> +++ view_exec_in_dir.c Tue Sep 25 16:03:20 2001
> @@ -343,7 +343,10 @@
> static E_Menu *menu = NULL;
> menu = buildmenu->menu;
> if (menu)
> - e_menu_show_at_mouse(menu, ev->rx, ev->ry, ev->time);
> + {
> + chdir(v->dir);
> + e_menu_show_at_mouse(menu, ev->rx, ev->ry,
> ev->time);
> + }
> }
> }
> }
>
> hope this helps.
>
> cheers,
>
> Olivier Derpierre
>
> --
> Now may you code in the power of the Source; may the Kernel, the Libraries
> and the Utilities be with you, throughout all Distributions, until the end
> of the Epoch. Amen.
>
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler) raster@rasterman.com
Unemployed raster@deephackmode.org
Mobile Phone: +61 (0)408 363 984 Work Phone: I don't anymore.
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic