Re: [Ekiga-devel-list] Incoming Call Notifier



Sorry, in my answer below you need to replace /home/gnome/ek2/ekiga by /home/gnome/ek2/ekiga/ekiga (and inside you change src/gui/main_window.cpp).

On 27/12/11 18:07, uahmed wrote:
ok but in which file should i do changes in this directory
"/home/gnome/ek2/ekiga" so i can do changes in incoming call alert window .

On Tue, Dec 27, 2011 at 9:46 PM, Eugen Dedu<Eugen Dedu pu-pm univ-fcomte fr
wrote:

On 27/12/11 16:12, uahmed wrote:

i am compilin it on linux , i followed all the instructions like this

http://wiki.ekiga.org/index.**php/Building_Ekiga_for_Windows<http://wiki.ekiga.org/index.php/Building_Ekiga_for_Windows>

i make a new folder name "ek2" and run all the instructions

i do changes at this file

/home/gnome/ek2/src/ekiga/src/**gui/main_window.cpp


You need to type make in /home/gnome/ek2 so that it creates a first
executable.

Afterwards, you make changes in /home/gnome/ek2/ekiga (not in src
directory!)

cd /home/gnome/ek2/ekiga
make
cd ..
make

The executable is in /home/gnome/ek2/dist.

Note: make the modification you made in src/ back again, so that it is the
same as the original.

  later i come to this path

/home/gnome/ek2

and run "sudo make"

it create an executable file of ekiga at this path

/home/gnome/ek2/dist

but changes are not made when i run the new executable file of ekiga . Can
you please tell me where i am wrong .

and for making focus of ekiaga incoming call alert i think we can do it by
creating new gtk window irrespect of poping up dialouge what you say ?

On Tue, Dec 27, 2011 at 2:42 PM, Eugen Dedu<Eugen Dedu pu-pm univ-**
fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>

wrote:


  On 27/12/11 01:56, uahmed wrote:

  Thanks for the reply . Agree from the code it shows that it should give
focus one more thing when i compile ekiga and see the source code at
particular line it has one more function called which is "
gtk_window_set_focus_on_map"


   gtk_window_set_transient_for (GTK_WINDOW (incoming_call_popup),
                                 GTK_WINDOW (mw));
   // do not steal the focus, to avoid that user take the call by
inadvertently pressing enter in another application
   gtk_window_set_focus_on_map (GTK_WINDOW (incoming_call_popup), FALSE);

   gtk_widget_show_all (incoming_call_popup);

where as we can not find it here
http://git.gnome.org/browse/****ekiga/tree/src/gui/main.cpp?h=****<http://git.gnome.org/browse/**ekiga/tree/src/gui/main.cpp?h=**>
gnome-2-26#n2738<http://git.**gnome.org/browse/ekiga/tree/**
src/gui/main.cpp?h=gnome-2-26#**n2738<http://git.gnome.org/browse/ekiga/tree/src/gui/main.cpp?h=gnome-2-26#n2738>



This is because you look for ekiga master (development) branch, while I
wrote you the address of gnome-2-26 branch, where ekiga 3.2.7 lies.
gtk_window_set_focus_on_map was introduced recently, and is not found on
3.2.7.  Anyway, the function you wrote about is about the focus, and has
nothing to do with raising the window or not.


  and please correct me if i do any changes in code then to recompile it i

only need to run "make" at the directory where i have all files ?


If you make modifications in ekiga code in Windows, you need to:
- go to ekiga directory and run make
- go to parent directory of ekiga directory (cd ..) and run make

  On Wed, Dec 21, 2011 at 12:55 AM, Eugen Dedu<

Eugen Dedu pu-pm univ-fcomte.****fr<Eugen Dedu pu-pm univ-**fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>


  wrote:

  I fear that this is a problem in gtk or even not a bug at all (if
Windows

does not take that into account).  Ekiga requests that window to be
risen,
but operating systems are not obliged to take it into account.

Ekiga does that with:
  gtk_window_set_keep_above (GTK_WINDOW (incoming_call_popup), TRUE);
  gtk_window_set_urgency_hint (GTK_WINDOW (mw), TRUE);
(found at http://git.gnome.org/browse/****
**ekiga/tree/src/gui/main.cpp?**h=<http://git.gnome.org/browse/****ekiga/tree/src/gui/main.cpp?h=>
****<http://git.gnome.org/**browse/**ekiga/tree/src/gui/**
main.cpp?h=**<http://git.gnome.org/browse/**ekiga/tree/src/gui/main.cpp?h=**>

gnome-2-26#n2736<http://git.****gnome.org/browse/ekiga/tree/**<http://gnome.org/browse/ekiga/tree/**>
src/gui/main.cpp?h=gnome-2-26#****n2736<http://git.gnome.org/**
browse/ekiga/tree/src/gui/**main.cpp?h=gnome-2-26#n2736<http://git.gnome.org/browse/ekiga/tree/src/gui/main.cpp?h=gnome-2-26#n2736>



  )
For help on these functions, look at http://developer.gnome.org/**
gtk/unstable/GtkWindow.html<**ht**tp://developer.gnome.org/**gtk/**<http://developer.gnome.org/gtk/**>

unstable/GtkWindow.html<http:/**/developer.gnome.org/gtk/**
unstable/GtkWindow.html<http://developer.gnome.org/gtk/unstable/GtkWindow.html>






On 15/12/11 20:08, uahmed wrote:

  Yes its like that


On Thu, Dec 15, 2011 at 11:07 AM, Eugen Dedu<
Eugen Dedu pu-pm univ-fcomte.******fr<Eugen Dedu pu-pm univ-****
fcomte.fr<http://fcomte.fr><Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>




  wrote:

  On 15/12/11 19:59, uahmed wrote:


  Ok let me explain in detail .


When i get the call on ekiga . I do get a new window but it is not
focused
and dont come above of the other windows .Like if i get a call on
skype
i
can see a small pop up window at the right side and its visible and
stay
above of all the windows where as in ekiga i dont get the incoming
call
alert window as focused and do not come above of all the active
windows
.


  So sometimes (not always) the window is not raised (appears above

all the
other windows), is that right?

  On Thu, Dec 15, 2011 at 10:33 AM, Eugen Dedu<

  Eugen Dedu pu-pm univ-fcomte.********fr<Eugen Dedu pu-pm univ-**
****

fcomte.fr<http://fcomte.fr><**Eugen.Dedu@pu-pm.**univ-**fcomte.fr<http://univ-fcomte.fr>
<Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>






   wrote:

  On 13/12/11 16:25, uahmed wrote:


   Ok is there any other way like i compile the source code at my end
and

  do

changes and then make executable file ? I find some parameters of
windows
like size of message,vidoe call window in linux and i can change
the
size
through gconf editor in linux but there too i dont find the
incoming
call
alert window parameters . any help on this will be grateful


  I do not understand very well what you say.  Are you able to
compile

  or
not?

Could you also explain better what you wish?  Maybe it is a bug...

  On Tue, Dec 13, 2011 at 5:59 AM, Eugen Dedu<Eugen Dedu pu-pm univ-

**

  fcomte.fr<Eugen.Dedu@pu-pm.******u**niv-fcomte.fr<http://univ-**
**
fcomte.fr<http://univ-fcomte.**fr<http://univ-fcomte.fr>>>

  <Eugen.Dedu@pu-**pm.univ-**fco**mte.fr<http://fcomte.fr><
http://pm.univ-fcomte.**fr<http://pm.univ-fcomte.fr>><
Eugen.Dedu@pu-pm.**univ-**fcomte.fr<http://univ-fcomte.fr><
Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>






    wrote:




   On 13/12/11 14:56, uahmed wrote:



   sometime the incoming call window dont raise and its position is

also

  not

  fixed , and what i want that i make the incoming call notifier
as
centralize with increased window size and focused it . Can i do
that
for
Windows Ekiga?


  Not for the moment, sorry.



  On Tue, Dec 13, 2011 at 5:45 AM, Eugen
Dedu<Eugen Dedu pu-pm univ-
**

  fcomte.fr<Eugen.Dedu@pu-pm.********u**niv-fcomte.fr<http://**
univ-<http://univ->**
**
fcomte.fr<http://univ-fcomte.****fr<http://univ-fcomte.fr>>>

  <Eugen.Dedu@pu-**pm.univ-****fco**mte.fr<http://fcomte.fr><

http://pm.univ-fcomte.**fr<htt**p://pm.univ-fcomte.fr<http://pm.univ-fcomte.fr>
<
Eugen.Dedu@pu-pm.**univ-**fcom**te.fr<http://fcomte.fr><
http://univ-fcomte.fr><

Eugen.Dedu@pu-pm.**univ-**fcomte.fr<http://univ-fcomte.fr><
Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>










    wrote:




    On 12/12/11 09:53, uahmed wrote:



   Hi ,



  Can i change the font and size of incoming call notifier
window
?

  I
will
be


  No.


  Generally, it is not possible to change the font of one one

window
of
an
application.  The size could be modified if it would be taken
into
account
in ekiga, which is not actually the case.  Why do you need
that?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]