1. === modified file 'src/ui/previewholder.cpp'
  2. --- src/ui/previewholder.cpp 2016-05-18 11:47:57 +0000
  3. +++ src/ui/previewholder.cpp 2016-10-01 17:18:16 +0000
  4. @@ -303,7 +303,7 @@
  5. // g_message(" anchor:%d", _anchor);
  6. Gtk::VBox::on_size_allocate( allocation );
  7. - if ( _insides && !_wrap && (_view != VIEW_TYPE_LIST) && (_anchor == SP_ANCHOR_NORTH || _anchor == SP_ANCHOR_SOUTH) ) {
  8. +/* if ( _insides && !_wrap && (_view != VIEW_TYPE_LIST) && (_anchor == SP_ANCHOR_NORTH || _anchor == SP_ANCHOR_SOUTH) ) {
  9. Gtk::Requisition req;
  10. #if GTK_CHECK_VERSION(3,0,0)
  11. Gtk::Requisition req_natural;
  12. @@ -318,7 +318,7 @@
  13. } else {
  14. dynamic_cast<Gtk::ScrolledWindow*>(_scroller)->set_policy( Gtk::POLICY_AUTOMATIC, Gtk::POLICY_NEVER );
  15. }
  16. - }
  17. + }*/
  18. }
  19. //void PreviewHolder::on_size_request( Gtk::Requisition* requisition )
  20. === modified file 'src/widgets/button.cpp'
  21. --- src/widgets/button.cpp 2016-05-04 08:10:42 +0000
  22. +++ src/widgets/button.cpp 2016-10-01 17:21:03 +0000
  23. @@ -51,10 +51,10 @@
  24. object_class->dispose = sp_button_dispose;
  25. #if GTK_CHECK_VERSION(3, 0, 0)
  26. - widget_class->get_preferred_width = sp_button_get_preferred_width;
  27. - widget_class->get_preferred_height = sp_button_get_preferred_height;
  28. + //widget_class->get_preferred_width = sp_button_get_preferred_width;
  29. + //widget_class->get_preferred_height = sp_button_get_preferred_height;
  30. #else
  31. - widget_class->size_request = sp_button_size_request;
  32. + //widget_class->size_request = sp_button_size_request;
  33. #endif
  34. button_class->clicked = sp_button_clicked;
  35. }
 
 

31

 

1126

LiamW code to fix croped buttons 0.92.x

-

PasteBin

Lines
39
Words
148
Dimensione
1,9 KB
Creato
Tipo
text/plain
General Public License v2 (GPLv2)
Per favore accedi per lasciare un commento!