Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
releng:4.14:roadmap:xfce4-weather-plugin [2018/09/16 19:21] skunnykreleng:4.14:roadmap:xfce4-weather-plugin [2019/01/13 17:14] (current) – Delete this page andreldm
Line 1: Line 1:
-====== xfce4-weather-plugin ====== 
  
-=== WIP Repository === 
-https://git.xfce.org/users/andre/xfce4-weather-plugin/ + https://git.xfce.org/users/bluesabre/xfce4-weather-plugin/ 
- 
-=== What works === 
-  * Properties dialog 
-  * Weather tooltip 
-  * Weather report dialog 
-  * Plugin button/display (partially) 
- 
-=== What needs to be worked === 
-  * There is unwanted space between the icon and scrollbox label, so part of the text is not visible 
-    * It's possible to pass a hard-coded value (e.g. 20) as width to gtk_render_layout in weather-scrollbox.c, the results looks ok, but it's a hack prone to side effects. It's necessary to compare how the width was calculated in gtk2 and now, probably values from allocation are different; 
-    * Also the label seems to be a bit off the horizontal center 
-  * Scrollbox is not working correctly in vertical and deskbar modes 
-  * When there are more lines than the scrollbox can display, its labels are not centered 
-  * More test & release a development version 
- 
-**Hint:** Follow the instructions provided in https://wiki.xfce.org/dev/howto/panel_plugins#testing_and_releasing_the_plugin to have both versions of this plugin running at the same time. 
- 
-=== Deprecations & Warnings === 
-<code> 
-$ make clean && make 2> build.log 
- 
-$ grep "warning:" build.log | wc -l 
-205 
- 
-$ grep "warning:" build.log | cut -d: -f5 | sort | uniq -c | sort -n -r 
-29  comparison of integer expressions of different signedness 
-24  ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 
-24  ‘gtk_misc_get_type’ is deprecated [-Wdeprecated-declarations] 
-18  ‘gtk_table_get_type’ is deprecated [-Wdeprecated-declarations] 
-16  ‘gtk_table_attach_defaults’ is deprecated 
-10  ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 
-  ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations] 
-  ‘symbol_names’ defined but not used [-Wunused-variable] 
-  ‘gtk_hseparator_new’ is deprecated 
-  declaration of ‘msg’ shadows a parameter [-Wshadow] 
-  this statement may fall through [-Wimplicit-fallthrough=] 
-  suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 
-  ‘gtk_widget_modify_fg’ is deprecated 
-  ‘gtk_table_new’ is deprecated 
-  ‘gtk_image_new_from_stock’ is deprecated 
-  ‘gdk_cursor_unref’ is deprecated 
-  ‘gdk_cursor_new’ is deprecated [-Wdeprecated-declarations] 
-  ‘gdk_color_to_string’ is deprecated 
-  ‘gdk_color_parse’ is deprecated 
-  declaration of ‘daytime’ shadows a global declaration [-Wshadow] 
-  comparison between ‘GtkOrientation’ {aka ‘enum <anonymous>’} and ‘enum <anonymous>’ [-Wenum-compare] 
-  cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 
-  zero-length gnu_printf format string [-Wformat-zero-length] 
-  ‘weather_dummy_log_handler’ defined but not used [-Wunused-function] 
-  variable ‘menu’ set but not used [-Wunused-but-set-variable] 
-  suggest parentheses around assignment used as truth value [-Wparentheses] 
-  ‘soup_session_async_new’ is deprecated 
-  no previous declaration for ‘setup_notebook_signals’ [-Wmissing-declarations] 
-  no previous declaration for ‘replace_symbol_id’ [-Wmissing-declarations] 
-  ‘gtk_widget_modify_bg’ is deprecated 
-  ‘gtk_widget_get_requisition’ is deprecated 
-  ‘gtk_table_set_row_spacings’ is deprecated 
-  ‘gtk_table_set_col_spacings’ is deprecated 
-  ‘gtk_scrolled_window_add_with_viewport’ is deprecated 
-  ‘gtk_image_set_from_stock’ is deprecated 
-  ‘gtk_image_menu_item_set_image’ is deprecated [-Wdeprecated-declarations] 
-  ‘gtk_image_menu_item_new_with_mnemonic’ is deprecated 
-  ‘gtk_image_menu_item_get_type’ is deprecated 
-  ‘gtk_font_selection_dialog_set_font_name’ is deprecated 
-  ‘gtk_font_selection_dialog_new’ is deprecated 
-  ‘gtk_font_selection_dialog_get_type’ is deprecated [-Wdeprecated-declarations] 
-  ‘gtk_font_selection_dialog_get_font_name’ is deprecated 
-  ‘gtk_color_button_new_with_color’ is deprecated 
-  ‘gtk_color_button_get_color’ is deprecated 
-  ‘gtk_button_new_from_stock’ is deprecated 
-  ‘gdk_screen_get_monitor_geometry’ is deprecated 
-  ‘gdk_screen_get_monitor_at_window’ is deprecated 
-  ‘find_largest_interval’ defined but not used [-Wunused-function] 
-  ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] 
-  declaration of ‘debug_mode’ shadows a global declaration [-Wshadow] 
-  ‘alt’ may be used uninitialized in this function [-Wmaybe-uninitialized] 
-</code>