Changeset 7487


Ignore:
Timestamp:
Jun 20, 2018, 9:10:13 AM (16 months ago)
Author:
jrpelegrina
Message:

WIP in allow resize the window

Location:
bell-scheduler/trunk/fuentes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bell-scheduler/trunk/fuentes/bell-scheduler/python3-bellscheduler/MainWindow.py

    r7252 r7487  
    5858                self.main_window=builder.get_object("main_window")
    5959                self.main_window.set_title("Bell Scheduler")
     60                self.main_window.resize(930,690)
    6061                self.main_box=builder.get_object("main_box")
    6162                self.login=N4dGtkLogin()
  • bell-scheduler/trunk/fuentes/bell-scheduler/python3-bellscheduler/rsrc/bell-scheduler.ui

    r7252 r7487  
    594594  </object>
    595595  <object class="GtkWindow" id="main_window">
    596     <property name="width_request">925</property>
    597     <property name="height_request">685</property>
    598596    <property name="can_focus">False</property>
    599597    <property name="window_position">center</property>
    600598    <child>
    601       <object class="GtkBox" id="main_box">
     599      <object class="GtkScrolledWindow" id="scrolledwindow1">
    602600        <property name="visible">True</property>
    603         <property name="can_focus">False</property>
    604         <property name="orientation">vertical</property>
    605         <child>
    606           <placeholder/>
     601        <property name="can_focus">True</property>
     602        <property name="shadow_type">in</property>
     603        <child>
     604          <object class="GtkViewport" id="viewport1">
     605            <property name="visible">True</property>
     606            <property name="can_focus">False</property>
     607            <child>
     608              <object class="GtkBox" id="main_box">
     609                <property name="visible">True</property>
     610                <property name="can_focus">False</property>
     611                <property name="orientation">vertical</property>
     612                <child>
     613                  <placeholder/>
     614                </child>
     615              </object>
     616            </child>
     617          </object>
    607618        </child>
    608619      </object>
  • bell-scheduler/trunk/fuentes/debian/control

    r7483 r7487  
    1616Architecture: all
    1717Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, n4d-bellscheduler (= ${binary:Version}),youtube-dl, python3-n4dgtklogin (>=0.4), python3-holidaymanager
    18 Recommends=bell-scheduler-indicator (= ${binary:Version})
     18Recommends: bell-scheduler-indicator (= ${binary:Version})
    1919Description:Bell Schededuler GUI package
    2020  Provides the gui to program alarms
  • bell-scheduler/trunk/fuentes/n4d-bellscheduler.install/usr/share/n4d/python-plugins/BellSchedulerManager.py

    r7483 r7487  
    511511                        self._write_conf(tasks_cron,"CronList")
    512512                        self.n4d.process_tasks(self.n4dkey,'SchedulerClient')
    513                         result={"status":True,"msg":"Cron file updated to use indicator","code":37}
     513                        result={"status":True,"msg":"Cron file updated to use indicator","code":""}
    514514                else:
    515515                        result={"status":True,"msg":"Cron file dosn't exists","code":37}                       
     
    550550                                        os.system(cmd_kill)
    551551                                               
    552                                         result={"status":True,"msg":"Alarm stoppped:"+bell_pid,"code":0}
     552                                        result={"status":True,"msg":"Alarm stoppped:"+bell_pid,"code":""}
    553553                                        return result   
    554554
Note: See TracChangeset for help on using the changeset viewer.