~ztefn/haguichi/1.4

« back to all changes in this revision

Viewing changes to src/headerbar.vala

  • Committer: Stephen Brandt
  • Date: 2023-10-21 16:47:20 UTC
  • Revision ID: git-v1:58aa13c43fa59da1ba0fa57203fcd309fd0b56a1
Fix styles for popovers in elementary stylesheet

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
using Gtk;
12
12
 
13
 
#if USE_LIBHANDY
14
 
public class Headerbar : Hdy.HeaderBar
15
 
#else
16
13
public class Headerbar : HeaderBar
17
 
#endif
18
14
{
19
15
    private string mode;
20
16
    
193
189
        box.add (network_but);
194
190
        box.add (refresh_but);
195
191
        
196
 
#if USE_LIBHANDY
197
 
    }
198
 
    
199
 
    public void populate ()
200
 
    {
201
 
#endif
 
192
        
202
193
        pack_start (connect_but);
203
194
        pack_start (client_but);
204
195
        pack_start (box);
289
280
            
290
281
            if (Gtk.check_version (3, 18, 0) == null) // Add 50 pixels for GTK+ version 3.18 and later
291
282
            {
292
 
#if !USE_LIBHANDY
293
283
                minimum_width += 50;
294
 
#endif
295
284
            }
296
285
        }
297
286
        else