Re: Another documentation inconsistency

2015-08-10 Thread Emmanuele Bassi
Hi; On 8 August 2015 at 05:29, Igor Korot wrote: > Hi, ALL, > > The documentation states: > > [quote] > Adds an activatable widget to the action area of a GtkDialog, > connecting a signal handler that will emit the “response” signal on > the dialog when the widget is activated. The widget is appe

Re: gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Ben
You can use gtk_stack_set_visible_child() https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis ible-child On Wed, 2015-07-29 at 19:43 +0200, Alfredo Pons wrote: > The transtions between GtkStacks are very beautifuls. > Can I change pages from the source code without user intera

Re: [gnome-desktop-testing] enchant and gtk

2015-08-10 Thread Vadim Rutkovsky
Hey, On Sat, Aug 1, 2015 at 12:33 AM, James Stortz wrote: > When trying to build myself, make freezes at "Scanning dependencies of > target WebCore" > > Any help would be appreciated! On Continuous we often rebuild WebKit and it requires setting CFLAGS and CXXFLAGS [1] to make sure the linking c

Re: gtk-3.16: GtkStackSideBar & GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Alfredo Pons
Hi Ben, Thank you. This works for me. I attach two examples (gtk & gtkmm) with a button that do this. 2015-07-30 16:13 GMT+02:00 Ben : > > You can use gtk_stack_set_visible_child() > > https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis > ible-child > > On Wed, 2015-07-29

Re: WHere is the icons

2015-08-10 Thread Igor Korot
Hi, On Mon, Aug 10, 2015 at 1:54 AM, Fan, Chun-wei (范君維) wrote: > Hi Igor, > > Igor Korot 於 2015/8/10 下午 01:28 寫道: >> >> So my question is: are the icons for GTK+3 in a different package that is >> not >> installed by default. > > You will need to get the adwaita-icon-theme package and install it

Re: Another documentation inconsistency

2015-08-10 Thread Igor Korot
Emmanuele, On Mon, Aug 10, 2015 at 4:11 AM, Emmanuele Bassi wrote: > Hi; > > On 8 August 2015 at 05:29, Igor Korot wrote: >> Hi, ALL, >> >> The documentation states: >> >> [quote] >> Adds an activatable widget to the action area of a GtkDialog, >> connecting a signal handler that will emit the “

Re: WHere is the icons

2015-08-10 Thread Stefan Salewski
On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote: > Hi, > I'm trying to run the modified GTK+3 application. Sorry, no idea what "the modified GTK+3 application" is... > > I have KDE4 as my WM and trying to run the application I see that my button > does not have a stock images. > However my a

Re: WHere is the icons

2015-08-10 Thread Igor Korot
Stefan, On Mon, Aug 10, 2015 at 9:36 AM, Stefan Salewski wrote: > On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote: >> Hi, >> I'm trying to run the modified GTK+3 application. > > Sorry, no idea what "the modified GTK+3 application" is... > >> >> I have KDE4 as my WM and trying to run the appl

Re: Desktop as transient window

2015-08-10 Thread Igor Korot
Jasper, On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre wrote: > The desktop is not a window. It could be in some desktop environments, > but is not always. In fact, in some desktop environments, there is no > desktop window or desktop concept at all. There is no standard > protocol to fetch th

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:31 PM, Igor Korot wrote: > Jasper, > > On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre > wrote: >> The desktop is not a window. It could be in some desktop environments, >> but is not always. In fact, in some desktop environments, there is no >> desktop window or des

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
You can either ignore the warning, or simply use a window that isn't marked as a dialog as that first window. On Mon, Aug 10, 2015 at 9:31 AM, Igor Korot wrote: > Jasper, > > On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre > wrote: >> The desktop is not a window. It could be in some desktop e

Re: Desktop as transient window

2015-08-10 Thread Igor Korot
Paul, On Mon, Aug 10, 2015 at 12:33 PM, Paul Davis wrote: > On Mon, Aug 10, 2015 at 12:31 PM, Igor Korot wrote: >> Jasper, >> >> On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre >> wrote: >>> The desktop is not a window. It could be in some desktop environments, >>> but is not always. In fact

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:40 PM, Igor Korot wrote: > IIUC, in this specific case I should create the main frame, hide it and then > set the parent for my options dialog to be this main frame. you do not need to set the parent, and in almost all cases you should not set the parent. _

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:42 PM, Paul Davis wrote: > On Mon, Aug 10, 2015 at 12:40 PM, Igor Korot wrote: > >> IIUC, in this specific case I should create the main frame, hide it and then >> set the parent for my options dialog to be this main frame. > > you do not need to set the parent, and in

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
Hi Paul, In recent GTK+ versions, GtkDialog emits a warning when it is mapped without a parent, saying that it is discouraged. See https://git.gnome.org/browse/gtk+/tree/gtk/gtkdialog.c#n776 On Mon, Aug 10, 2015 at 9:43 AM, Paul Davis wrote: > On Mon, Aug 10, 2015 at 12:42 PM, Paul Davis > wro

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:57 PM, Jasper St. Pierre wrote: > Hi Paul, > > In recent GTK+ versions, GtkDialog emits a warning when it is mapped > without a parent, saying that it is discouraged. See > https://git.gnome.org/browse/gtk+/tree/gtk/gtkdialog.c#n776 I should my mouth/fingers closed/stil

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
The important thing is that we can tie a dialog back to context for the user -- we really want it on DEs like GNOME, and I've heard that KDE wants to get rid of transient-less dialogs as well, since they can just randomly show up to the user. When it's attached to a transient, then we raise the app

Re: Desktop as transient window

2015-08-10 Thread Igor Korot
Guys, On Mon, Aug 10, 2015 at 1:01 PM, Paul Davis wrote: > On Mon, Aug 10, 2015 at 12:57 PM, Jasper St. Pierre > wrote: >> Hi Paul, >> >> In recent GTK+ versions, GtkDialog emits a warning when it is mapped >> without a parent, saying that it is discouraged. See >> https://git.gnome.org/browse/g

Re: Desktop as transient window

2015-08-10 Thread richard boaz
hi, i think this is a case when the warning, (which can be ignored), is meant for the developer, and not the end-user. i would trap the error, ignore it, and definitely not forward to the end-user; following the dictum "avoid confusing them as much as possible..." richard On Mon, Aug 10, 2015 a

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 1:04 PM, Jasper St. Pierre wrote: > The important thing is that we can tie a dialog back to context for > the user -- we really want it on DEs like GNOME, and I've heard that > KDE wants to get rid of transient-less dialogs as well, since they can > just randomly show up to

Re: WHere is the icons

2015-08-10 Thread Stefan Salewski
On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote: > But then how do I set the label for such button? > It looks like this function can be used for bitmap buttons only (no > labels). Of course you can continue using the deprecated stock item, as long as that still works... My impression is, tha

Re: Desktop as transient window

2015-08-10 Thread Chris Vine
On Mon, 10 Aug 2015 12:17:58 -0500 richard boaz wrote: > hi, > > i think this is a case when the warning, (which can be ignored), is > meant for the developer, and not the end-user. > > i would trap the error, ignore it, and definitely not forward to the > end-user; following the dictum "avoid c

Re: WHere is the icons

2015-08-10 Thread Igor Korot
Stefan et al, On Mon, Aug 10, 2015 at 2:23 PM, Stefan Salewski wrote: > On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote: >> But then how do I set the label for such button? >> It looks like this function can be used for bitmap buttons only (no >> labels). > > Of course you can continue using

Re: WHere is the icons

2015-08-10 Thread Daniel Kasak
I posted on this topic a little while back ( a month or 2 from memory ). The icon theme you're using has to have icons of the same name that you're trying to use. If you're using a 'default' ( eg adwaita ) icon theme in conjunction with icon names that *used* to work a couple of years ago, you're l